/external/chromium_org/third_party/libxml/src/ |
testC14N.c | 195 int len; local 201 len = xmlStrlen(str); 202 if((str[0] == '\'') && (str[len - 1] == '\'')) { 203 str[len - 1] = '\0';
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rbug/ |
rbug_core.c | 48 LEN(8); /* header */ 83 LEN(8); /* header */ 119 LEN(8); /* header */ 120 LEN(4); /* error */ 157 LEN(8); /* header */ 158 LEN(4); /* serial */ 196 LEN(8); /* header */ 197 LEN(4); /* serial */ 198 LEN(4); /* error */ 267 uint32_t len = 0 local 294 uint32_t len = 0; local 321 uint32_t len = 0; local [all...] |
rbug_shader.c | 49 LEN(8); /* header */ 50 LEN(8); /* context */ 88 LEN(8); /* header */ 89 LEN(8); /* context */ 90 LEN(8); /* shader */ 130 LEN(8); /* header */ 131 LEN(8); /* context */ 132 LEN(8); /* shader */ 133 LEN(1); /* disable */ 175 LEN(8); /* header * 301 uint32_t len = 0; local 328 uint32_t len = 0; local 356 uint32_t len = 0; local 385 uint32_t len = 0; local 414 uint32_t len = 0; local 442 uint32_t len = 0; local [all...] |
/external/chromium_org/third_party/mesa/src/src/glx/ |
glx_query.c | 58 uint32_t len = xcb_glx_query_server_string_string_length(reply); local 59 char *buf = Xmalloc(len); 60 memcpy(buf, xcb_glx_query_server_string_string(reply), len); 82 uint32_t len = xcb_glx_get_string_string_length(reply); local 83 char *buf = Xmalloc(len); 84 memcpy(buf, xcb_glx_get_string_string(reply), len);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
shader_query.cpp | 230 const size_t len = strlen(var->name); local 231 if (len >= longest) 232 longest = len + 1;
|
/external/chromium_org/third_party/mesa/src/src/mesa/x86/ |
common_x86.c | 125 unsigned int len; local 126 len = sizeof(enabled); 127 ret = sysctlbyname("hw.instruction_sse", &enabled, &len, NULL, 0); 134 size_t len = sizeof(enabled); 135 ret = sysctlbyname("machdep.sse", &enabled, &len, (void *)NULL, 0); 143 size_t len = sizeof(enabled); 148 ret = sysctl(mib, 2, &enabled, &len, NULL, 0);
|
/external/chromium_org/third_party/openssl/openssl/crypto/aes/ |
aes_ige.c | 84 size_t len = length; local 90 len = length / AES_BLOCK_SIZE; 100 while (len) 112 --len; 128 while (len) 139 --len; 155 while (len) 168 --len; 184 while (len) 196 --len; 219 size_t len = length; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
a_bitstr.c | 63 int ASN1_BIT_STRING_set(ASN1_BIT_STRING *x, unsigned char *d, int len) 64 { return M_ASN1_BIT_STRING_set(x, d, len); } 68 int ret,j,bits,len; local 73 len=a->length; 75 if (len > 0) 83 for ( ; len > 0; len--) 85 if (a->data[len-1]) break; 87 j=a->data[len-1]; 102 ret=1+len; [all...] |
a_bytes.c | 72 long len; local 77 inf=ASN1_get_object(&p,&len,&tag,&xclass,length); 102 if (len != 0) 104 s=(unsigned char *)OPENSSL_malloc((int)len+1); 110 memcpy(s,p,(int)len); 111 s[len]='\0'; 112 p+=len; 118 ret->length=(int)len; 163 long len; local 175 inf=ASN1_get_object(&p,&len,&tag,&xclass,length) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/pem/ |
pem_pkey.c | 80 long len; local 84 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_EVP_PKEY, bp, cb, u)) 90 p8inf=d2i_PKCS8_PRIV_KEY_INFO(NULL, &p, len); 103 p8 = d2i_X509_SIG(NULL, &p, len); 128 ret=d2i_PrivateKey(ameth->pkey_id,x,&p,len); 135 OPENSSL_cleanse(data, len); 160 long len; local 164 if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_PARAMETERS, 176 || !ret->ameth->param_decode(ret, &p, len))
|
/external/chromium_org/third_party/openssl/openssl/crypto/rand/ |
rand_egd.c | 140 int len, num, numbytes; local 150 len = offsetof(struct sockaddr_un, sun_path) + strlen(path); 156 if (connect(fd, (struct sockaddr *)&addr, len) == 0)
|
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
v3_prn.c | 90 int len; local 92 len = strlen(nval->value)+1; 93 tmp = OPENSSL_malloc(len); 96 ascii2ebcdic(tmp, nval->value, len); 134 int len; local 136 len = strlen(value)+1; 137 tmp = OPENSSL_malloc(len); 140 ascii2ebcdic(tmp, value, len);
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
s2_enc.c | 156 unsigned int len; local 162 len=s->s2->wact_data_length; 169 len=s->s2->ract_data_length; 181 EVP_DigestUpdate(&c,act,len);
|
/external/chromium_org/third_party/opus/src/src/ |
repacketizer.c | 61 int opus_repacketizer_cat(OpusRepacketizer *rp, const unsigned char *data, opus_int32 len) 66 if (len<1) return OPUS_INVALID_PACKET; 76 curr_nb_frames = opus_packet_get_nb_frames(data, len); 85 ret=opus_packet_parse(data, len, &tmp_toc, &rp->frames[rp->nb_frames], &rp->len[rp->nb_frames], NULL); 101 opus_int16 *len; local 111 len = rp->len+begin; 114 tot_size = 1 + (len[count-1]>=252); 123 tot_size += len[0]+1 [all...] |
/external/chromium_org/third_party/re2/util/ |
stringpiece.cc | 16 int len = x.size(); local 17 if (len != y.size()) { 23 if ((len > 0) && (p[len-1] != p2[len-1])) return false; 24 const char* p_limit = p + len;
|
/external/chromium_org/third_party/sfntly/cpp/src/test/tinyxml/ |
tinystr.h | 85 TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(0) 87 init(len); 88 memcpy(start(), str, len); local 193 TiXmlString& assign (const char* str, size_type len); 195 TiXmlString& append (const char* str, size_type len);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
bc-align.c | 143 bc->len = 0; 153 bc->len = end - (unsigned long)new_val; 158 if (bc->len > maxskip) { 160 bc->len = 0; 173 unsigned long len; local 183 len = end - bc->offset; 184 if (len == 0) 189 if (len > maxskip) 197 memset(*bufp, (int)v, len); 198 *bufp += len; [all...] |
genmodule.c | 51 size_t len; local 74 len = strlen(argv[2]); 76 inc->filename = malloc(len+1); 80 isam = argv[2][len-2] == 'a' && argv[2][len-1] == 'm'; 95 len = strlen(str); 96 if (len > 0) { 97 strp = &str[len-1]; 98 while (len > 0 && isspace(*strp)) { 100 len-- [all...] |
phash.c | 70 len : the length of the key, counting by bytes 74 About 6len+35 instructions. 83 for (i=0, h=0; i<n; ++i) h = lookup( k[i], len[i], h); 101 register size_t len; local 105 len = length; 110 while (len >= 12) 119 k += 12; len -= 12; 124 switch(len) /* all the case statements fall through */ 173 len : the length of the key, counting by bytes 176 the state. There are no funnels. About 112+6.875len instructions [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/ |
uncstring_test.c | 84 size_t len; local 89 len = test->in_len; 91 yasm_unescape_cstring((unsigned char *)str, &len); 92 if (len != test->result_len) { 94 "unescape_cstring(\"%s\", %lu) bad output len: expected %lu, got %lu!", 96 (unsigned long)test->result_len, (unsigned long)len); 100 if (strncmp(str, test->result, len) != 0) {
|
/external/chromium_org/v8/test/cctest/ |
test-dtoa.cc | 47 int len = StrLength(representation.start()); local 49 for (i = len - 1; i >= 0; --i) {
|
/external/clang/tools/diagtool/ |
DiagTool.cpp | 48 unsigned len = it->getKey().size(); local 49 if (len > maxName) 50 maxName = len;
|
/external/doclava/src/com/google/doclava/ |
ParamTagInfo.java | 38 int len = mParameterName.length(); local 40 len > 2 && mParameterName.charAt(0) == '<' && mParameterName.charAt(len - 1) == '>';
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
ltc_ecc_mul2add.c | 43 unsigned bitbufA, bitbufB, lenA, lenB, len, x, y, nA, nB, nibble; local 70 len = MAX(lenA, lenB); 79 mp_to_unsigned_bin(kA, (len - lenA) + tA); 82 mp_to_unsigned_bin(kB, (len - lenB) + tB); 140 ++x; if (x == len) break;
|
/external/dropbear/libtomcrypt/testprof/ |
katja_test.c | 10 unsigned long kat_msgsize, len, len2, cnt; local 28 len = mp_unsigned_bin_size(key.N); 31 for (cnt = 0; cnt < len; ) { 36 len = mp_unsigned_bin_size(key.p); 39 for (cnt = 0; cnt < len; ) { 44 len = mp_unsigned_bin_size(key.q); 47 for (cnt = 0; cnt < len; ) { 66 len = sizeof(out); 69 DO(katja_encrypt_key(in, kat_msgsize, out, &len, NULL, 0, &yarrow_prng, prng_idx, hash_idx, &key)); 72 DO(katja_decrypt_key(out, len, tmp, &len2, NULL, 0, hash_idx, &stat2, &key)) [all...] |