Searched defs:len (Results 251 - 275 of 5216) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/icu/source/common/
H A Duscript.c35 int32_t len=0; local
57 len =0;
59 const UChar* name = ures_getNextString(resD,&len,NULL,&localErrorCode);
62 u_UCharsToChars(name,cName,len);
72 return len;
93 return len;
/external/chromium_org/third_party/icu/source/i18n/
H A Dremtrans.cpp63 int32_t len = index.limit - index.start; local
64 index.contextLimit -= len;
65 index.limit -= len;
/external/chromium_org/third_party/icu/source/io/
H A Dlocbund.cpp71 int32_t len; local
82 len = (int32_t)strlen(loc);
83 result->fLocale = (char*) uprv_malloc(len + 1);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcposxtst.c75 int32_t len = -1; local
83 ustr = u_catgets(catd, set_num, msg_num, FAIL, &len, &ec);
87 log_verbose("u_catgets(%d, %d) => \"%s\", len=%d, %s\n",
88 set_num, msg_num, str, len, err);
95 if (len != (int32_t) uprv_strlen(DATA[i+2])) {
96 log_err("FAIL: u_catgets => len=%d, exp. %d\n",
97 len, uprv_strlen(DATA[i+2]));
/external/chromium_org/third_party/icu/source/test/intltest/
H A Didnaconf.h30 int len ; member in class:IdnaConfTest
H A Dsfwdchit.cpp42 SimpleFwdCharIterator::SimpleFwdCharIterator(UChar *s, int32_t len, UBool adopt) { argument
46 fLen = len==-1 ? u_strlen(s) : len;
/external/chromium_org/third_party/icu/source/test/iotest/
H A Dtrnstst.c123 int len; local
193 len=fread(ubuf, sizeof(UChar), u_strlen(compare), infile);
194 log_verbose("Read %d UChars\n", len);
195 if(len != u_strlen(compare))
197 log_err("Wanted %d UChars from file, got %d\n", u_strlen(compare), len);
199 ubuf[len]=0;
203 log_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), len);
/external/chromium_org/third_party/leveldatabase/src/util/
H A Dtestutil.cc12 Slice RandomString(Random* rnd, int len, std::string* dst) { argument
13 dst->resize(len);
14 for (int i = 0; i < len; i++) {
20 std::string RandomKey(Random* rnd, int len) { argument
27 for (int i = 0; i < len; i++) {
35 size_t len, std::string* dst) {
36 int raw = static_cast<int>(len * compressed_fraction);
41 // Duplicate the random data until we have filled "len" bytes
43 while (dst->size() < len) {
46 dst->resize(len);
34 CompressibleString(Random* rnd, double compressed_fraction, size_t len, std::string* dst) argument
[all...]
/external/chromium_org/third_party/libevent/sample/
H A Devent-test.c31 int len; local
43 len = ReadFile((HANDLE)fd, buf, sizeof(buf) - 1, &dwBytesRead, NULL);
46 if(len && dwBytesRead == 0) {
54 len = read(fd, buf, sizeof(buf) - 1);
56 if (len == -1) {
59 } else if (len == 0) {
64 buf[len] = '\0';
/external/chromium_org/third_party/libevent/test/
H A Dtest-eof.c40 int len; local
42 len = recv(fd, buf, sizeof(buf), 0);
45 len, len ? "" : " - means EOF");
47 if (len) {
H A Dtest-weof.c42 int len; local
44 len = send(fd, test, strlen(test) + 1, 0);
47 len, len ? "" : " - means EOF");
49 if (len > 0) {
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
H A Dutil_unittest.cc14 void XmppTestHandler::WriteOutput(const char * bytes, size_t len) { argument
15 output_ << std::string(bytes, len);
H A Dxmppstanzaparser.cc75 XmlParseContext * pctx, const char * text, int len) {
77 builder_.CharacterData(pctx, text, len);
74 IncomingCharacterData( XmlParseContext * pctx, const char * text, int len) argument
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dencoding_utils.h32 int len = chartorune(&r, in); local
34 return len;
/external/chromium_org/third_party/libsrtp/srtp/crypto/rng/
H A Dprng.c80 x917_prng_get_octet_string(uint8_t *dest, uint32_t len) { argument
91 if (x917_prng.octet_count > MAX_PRNG_OUT_LEN - len) {
96 x917_prng.octet_count += len;
102 for (i=0; i < len/16; i++) {
143 tail_len = len % 16;
H A Drand_source.c100 rand_source_get_octet_string(void *dest, uint32_t len) { argument
103 * read len octets from /dev/random to dest, and
109 while (len)
111 ssize_t num_read = read(dev_random_fdes, dst, len);
112 if (num_read <= 0 || num_read > len)
114 len -= num_read;
119 while (len)
128 len--;
134 while (len)
141 len
[all...]
/external/chromium_org/third_party/libsrtp/srtp/crypto/test/
H A Daes_calc.c73 int key_len, len; local
101 len = hex_string_to_octet_string((char*)key, argv[1], AES_MAX_KEY_LEN*2);
103 if (len != 32 && len != 48 && len != 64) {
107 len);
110 key_len = len/2;
120 len = hex_string_to_octet_string((char *)(&data), argv[2], 16*2);
122 if (len < 16*2) {
126 16*2, len);
[all...]
H A Ddatatypes_driver.c192 int len; local
194 len = hex_string_to_octet_string(raw, hex1, strlen(hex1));
195 printf("computed length: %d\tstring: %s\n", len,
196 octet_string_hex_string(raw, len/2));
199 len = hex_string_to_octet_string(raw, hex2, strlen(hex2));
200 printf("computed length: %d\tstring: %s\n", len,
201 octet_string_hex_string(raw, len/2));
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_cost.h35 int bits, int len) {
40 const int bit = (bits >> --len) & 1;
43 } while (len);
34 treed_cost(vp9_tree tree, const vp9_prob *probs, int bits, int len) argument
H A Dvp9_treewriter.h26 int len; member in struct:vp9_token
32 const vp9_prob *probs, int bits, int len,
35 const int bit = (bits >> --len) & 1;
38 } while (len);
44 vp9_write_tree(w, tree, probs, token->value, token->len, 0);
31 vp9_write_tree(vp9_writer *w, const vp9_tree_index *tree, const vp9_prob *probs, int bits, int len, vp9_tree_index i) argument
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Dvpxstats.c97 void stats_write(stats_io_t *stats, const void *pkt, size_t len) { argument
99 (void) fwrite(pkt, 1, len, stats->file);
101 if (stats->buf.sz + len > stats->buf_alloc_sz) {
114 memcpy(stats->buf_ptr, pkt, len);
115 stats->buf.sz += len;
116 stats->buf_ptr += len;
/external/chromium_org/third_party/mach_override/libudis86/
H A Dinput.c85 ud_set_input_buffer(register struct ud* u, const uint8_t* buf, size_t len) argument
89 u->inp_buff_end = buf + len;
/external/chromium_org/third_party/mesa/src/src/egl/main/
H A Deglmisc.c52 size_t len = strlen(ext); local
55 memcpy(s, ext, len);
56 s[len++] = ' ';
57 s[len] = '\0';
59 *str += len;
62 len++;
65 return (EGLint) len;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dgen6_multisample_state.c102 int len = intel->gen >= 7 ? 4 : 3; local
103 BEGIN_BATCH(len);
104 OUT_BATCH(_3DSTATE_MULTISAMPLE << 16 | (len - 2));
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Darbprogparse.c68 const GLvoid *str, GLsizei len,
81 if (!_mesa_parse_arb_program(ctx, target, (const GLubyte*) str, len,
164 const GLvoid *str, GLsizei len,
176 if (!_mesa_parse_arb_program(ctx, target, (const GLubyte*) str, len,
67 _mesa_parse_arb_fragment_program(struct gl_context* ctx, GLenum target, const GLvoid *str, GLsizei len, struct gl_fragment_program *program) argument
163 _mesa_parse_arb_vertex_program(struct gl_context *ctx, GLenum target, const GLvoid *str, GLsizei len, struct gl_vertex_program *program) argument

Completed in 476 milliseconds

<<11121314151617181920>>