/external/chromium_org/ipc/ |
ipc_channel_reader.cc | 77 int len = static_cast<int>(message_tail - p); local 78 Message m(p, len);
|
/external/chromium_org/jingle/glue/ |
utils.cc | 23 socklen_t len = sizeof(addr); local 24 return ip_endpoint.ToSockAddr(reinterpret_cast<sockaddr*>(&addr), &len) &&
|
/external/chromium_org/net/quic/crypto/ |
aes_128_gcm_12_decrypter_openssl.cc | 96 int len; local 98 ctx_.get(), output, &len, 103 output += len; 105 if (EVP_DecryptFinal_ex(ctx_.get(), output, &len) == 0) { 108 output += len;
|
null_encrypter.cc | 41 const size_t len = plaintext.size() + GetHashLength(); local 42 uint8* buffer = new uint8[len]; 44 return new QuicData(reinterpret_cast<char*>(buffer), len, true);
|
/external/chromium_org/net/quic/ |
quic_crypto_server_stream.cc | 144 size_t len = output->size(); local 145 if (len >= 2) { 146 if ((*output)[len - 1] == '=') { 147 len--; 148 if ((*output)[len - 1] == '=') { 149 len--; 151 output->resize(len);
|
quic_fec_group_test.cc | 108 size_t len = group.Revive(&header, recovered, arraysize(recovered)); local 109 ASSERT_NE(0u, len) 116 ASSERT_GE(len, strlen(kData[lost_packet])) << "Incorrect length";
|
/external/chromium_org/net/quic/test_tools/ |
crypto_test_utils_openssl.cc | 153 int len = i2d_PublicKey(key, NULL); local 154 if (len != kExpectedKeyLength) {
|
/external/chromium_org/ppapi/native_client/tests/nacl_browser/manifest_file/ |
irt_manifest_file_test.cc | 74 int len = strlen(buffer); local 75 if (len >= 2 && buffer[len-1] == '\n' && buffer[len-2] == '\r') { 76 buffer[len-2] = '\n'; 77 buffer[len-1] = '\0';
|
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AXInlineTextBox.cpp | 93 unsigned len = m_inlineTextBox->len(); local 96 ASSERT(widths.size() == len); 97 offsets.resize(len); 100 for (unsigned i = 0; i < len; i++) {
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
PlainTextRange.cpp | 94 int len = it.length(); local 97 bool foundStart = start() >= docTextPosition && start() <= docTextPosition + len; 98 bool foundEnd = end() >= docTextPosition && end() <= docTextPosition + len; 105 if (len == 1 && it.characterAt(0) == '\n') { 143 docTextPosition += len; 146 docTextPosition += len;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
AbstractInlineTextBox.cpp | 101 unsigned AbstractInlineTextBox::len() const function in class:WebCore::AbstractInlineTextBox 106 return m_inlineTextBox->len(); 133 int len = text.length(); local 134 TextBreakIterator* iterator = wordBreakIterator(text, 0, len); 136 while (pos >= 0 && pos < len) { 150 unsigned len = m_inlineTextBox->len(); local 154 range->setEnd(node, start + len, IGNORE_EXCEPTION); 158 String result = m_renderText->text().substring(start, len).simplifyWhiteSpace(WTF::DoNotStripWhiteSpace);
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
StringConcatenate.h | 183 size_t len = 0; local 184 while (m_buffer[len] != UChar(0)) 185 ++len; 187 RELEASE_ASSERT(len <= std::numeric_limits<unsigned>::max()); 189 m_length = len;
|
/external/chromium_org/third_party/freetype/src/base/ |
ftdebug.c | 189 FT_Int n, i, len = (FT_Int)( p - q ); local 198 for ( i = 0; i < len; i++ ) 204 if ( i == len && toggle[i] == 0 )
|
ftstream.c | 759 FT_UInt len = fields->size; local 762 if ( cursor + len > stream->limit ) 771 FT_MEM_COPY( p, cursor, len ); 773 cursor += len;
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
main.cc | 51 int len = 0; local 56 len = g_mapped_file_get_length (mf); 60 len = ftell (f); 62 font_data = (const char *) malloc (len); 63 len = fread ((char *) font_data, 1, len, f); 66 printf ("Opened font file %s: %d bytes long\n", argv[1], len);
|
test-buffer-serialize.cc | 58 unsigned int len; local 66 len = g_mapped_file_get_length (mf); 73 len = ftell (f); 75 font_data = (const char *) malloc (len); 76 if (!font_data) len = 0; 77 len = fread ((char *) font_data, 1, len, f); 84 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
|
test.cc | 59 unsigned int len; local 67 len = g_mapped_file_get_length (mf); 74 len = ftell (f); 76 font_data = (const char *) malloc (len); 77 if (!font_data) len = 0; 78 len = fread ((char *) font_data, 1, len, f); 85 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
|
/external/chromium_org/third_party/icu/source/common/ |
locresdata.cpp | 118 int32_t len = 0; local 123 fallbackLocale = ures_getStringByKeyWithFallback(&table, "Fallback", &len, &errorCode); 129 u_UCharsToChars(fallbackLocale, explicitFallbackName, len);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cg7coll.c | 192 int32_t len=(int32_t)strlen(rules); local 199 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH,NULL, &status); 223 int32_t len=(int32_t)strlen(rules); local 230 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); 252 int32_t len=(int32_t)strlen(rules); local 259 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); 282 int32_t len=(int32_t)strlen(rules); local 289 myCollation = ucol_openRules(temp, len, UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status);
|
utexttst.c | 89 int64_t len; local 100 len = utext_nativeLength(uta); 101 TEST_ASSERT(len == u_strlen(uString)); 111 int64_t len; local 121 len = utext_nativeLength(uta); 122 TEST_ASSERT(len == u_strlen(uString));
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
dbgutil.cpp | 119 int32_t len = s.length(); local 120 u_UCharsToChars(u, ch, len); 121 ch[len] = 0; /* include terminating \0 */ 131 int32_t len = s.length(); local 132 u_UCharsToChars(u, ch, len); 133 ch[len] = 0; /* include terminating \0 */
|
/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...] |