/external/chromium_org/third_party/leveldatabase/src/util/ |
bloom.cc | 64 const size_t len = bloom_filter.size(); local 65 if (len < 2) return false; 68 const size_t bits = (len - 1) * 8; 72 const size_t k = array[len-1];
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
rtpdump_unittest.cc | 197 size_t len = 0; local 198 packet.GetRtpHeaderLen(&len); 199 EXPECT_EQ(len, packet.data.size());
|
rtputils_unittest.cc | 127 size_t len; local 128 EXPECT_TRUE(GetRtpHeaderLen(packet, sizeof(packet), &len)); 129 EXPECT_EQ(12U, len); 145 EXPECT_TRUE(GetRtpHeaderLen(packet2, sizeof(packet2), &len)); 146 EXPECT_EQ(12U, len); 155 size_t len; local 156 EXPECT_TRUE(GetRtpHeaderLen(kPcmuFrame, sizeof(kPcmuFrame), &len)); 157 EXPECT_EQ(12U, len); 161 &len)); 162 EXPECT_EQ(sizeof(kRtpPacketWithMarkerAndCsrcAndExtension), len); local [all...] |
/external/chromium_org/third_party/libxml/src/ |
testAutomata.c | 33 int len; local 71 len = strlen(expr); 72 len--; 73 while ((len >= 0) && 74 ((expr[len] == '\n') || (expr[len] == '\t') || 75 (expr[len] == '\r') || (expr[len] == ' '))) len--; 76 expr[len + 1] = 0; [all...] |
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/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/skia/samplecode/ |
SampleDash.cpp | 68 size_t len = SkMin32(strlen(gStr[i]), SK_ARRAY_COUNT(interval)); local 69 for (size_t j = 0; j < len; j++) { 73 SkDashPathEffect dash(interval, len, 0);
|
/external/chromium_org/third_party/skia/tests/ |
RecordOptsTest.cpp | 69 const size_t len = strlen(text); local 70 SkAutoTMalloc<SkPoint> pos(len); 71 for (size_t i = 0; i < len; i++) { 75 canvas->drawPosText(text, len, pos, SkPaint());
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/test/ |
iLBC_test.c | 49 int len; local 166 len=WebRtcIlbcfix_Encode(Enc_Inst, data, (int16_t)frameLen, encoded_data); 172 ((len+1)/sizeof(int16_t)), efileid) != 173 (size_t)(((len+1)/sizeof(int16_t)))) { 202 len=WebRtcIlbcfix_Decode(Dec_Inst, encoded_data, 203 (int16_t)len, decoded_data,&speechType); 205 len=WebRtcIlbcfix_DecodePlc(Dec_Inst, decoded_data, 1); 211 if (fwrite(decoded_data, sizeof(int16_t), len, 212 ofileid) != (size_t)len) {
|
iLBC_testLib.c | 44 short len, mode, pli; local 137 len=WebRtcIlbcfix_Encode(Enc_Inst, data, 80, encoded_data); 139 len=WebRtcIlbcfix_Encode(Enc_Inst, data, (short)(mode<<3), encoded_data); 144 for ( i = 0; i < len; i++) { 149 if(len != 0){ //len may be 0 in 10ms split case 150 fwrite(encoded_data,1,len,efileid); 153 if(len != 0){ //len may be 0 in 10ms split case 176 len=WebRtcIlbcfix_Decode(Dec_Inst, encoded_data, len, data, &speechType) [all...] |
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
rtp_packet_history_unittest.cc | 69 uint16_t len = 0; local 71 CreateRtpPacket(kSeqNum, kSsrc, kPayload, kTimestamp, packet_, &len); 72 EXPECT_EQ(0, hist_->PutRTPPacket(packet_, len, kMaxPacketLength, 75 len = kMaxPacketLength; 77 EXPECT_FALSE(hist_->GetPacketAndSetSendTime(kSeqNum, 0, false, packet_, &len, 83 uint16_t len = 0; local 85 CreateRtpPacket(kSeqNum, kSsrc, kPayload, kTimestamp, packet_, &len); 86 EXPECT_EQ(0, hist_->PutRTPPacket(packet_, len, kMaxPacketLength, 90 len = kMaxPacketLength; 92 EXPECT_FALSE(hist_->GetPacketAndSetSendTime(kSeqNum, 0, false, packet_, &len, 108 uint16_t len = kMaxPacketLength; local 116 uint16_t len = 0; local 128 uint16_t len = 0; local 147 uint16_t len = 0; local 167 uint16_t len = 0; local 183 uint16_t len = 0; local [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
trace_posix.cc | 100 int32_t len = static_cast<int32_t>(strlen(trace_message)); local 102 if ('\n' == trace_message[len - 1]) { 103 trace_message[len - 1] = '\0'; 104 --len; 108 return len + 1;
|