/external/chromium_org/content/browser/indexed_db/leveldb/ |
leveldb_unittest.cc | 30 size_t len = std::min(a.size(), b.size()); variable 31 return memcmp(a.begin(), b.begin(), len);
|
/external/chromium_org/crypto/ |
ec_private_key_openssl.cc | 42 long len = BIO_get_mem_data(bio.get(), &data); local 43 if (!data || len < 0) 46 output->assign(data, data + len);
|
/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/ |
aead_base_encrypter_openssl.cc | 84 ssize_t len = EVP_AEAD_CTX_seal( local 91 if (len < 0) {
|
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 | 152 size_t len = output->size(); local 153 if (len >= 2) { 154 if ((*output)[len - 1] == '=') { 155 len--; 156 if ((*output)[len - 1] == '=') { 157 len--; 159 output->resize(len);
|
quic_spdy_server_stream.cc | 72 size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), local 74 if (len == 0) { 83 size_t delta = read_buf_len - len; 85 body_.append(data + len, delta); 89 return len;
|
/external/chromium_org/net/quic/test_tools/ |
crypto_test_utils_openssl.cc | 94 int len = i2d_PublicKey(ecdsa_key_.get(), NULL); variable 95 if (len != kExpectedKeyLength) {
|
/external/chromium_org/net/tools/quic/ |
quic_spdy_server_stream.cc | 72 size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), local 74 if (len == 0) { 83 size_t delta = read_buf_len - len; 85 body_.append(data + len, delta); 89 return len;
|
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AXInlineTextBox.cpp | 92 unsigned len = m_inlineTextBox->len(); local 95 ASSERT(widths.size() == len); 96 offsets.resize(len); 99 for (unsigned i = 0; i < len; i++) {
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
PlainTextRange.cpp | 97 int len = it.length(); local 100 bool foundStart = start() >= docTextPosition && start() <= docTextPosition + len; 101 bool foundEnd = end() >= docTextPosition && end() <= docTextPosition + len; 108 if (len == 1 && it.characterAt(0) == '\n') { 146 docTextPosition += len; 149 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/platform/audio/ipp/ |
FFTFrameIPP.cpp | 139 int len = m_FFTSize >> 1; local 144 ippsRealToCplx_32f(realP, imagP, complexP, len);
|
/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/brotli/src/brotli/dec/ |
huffman.c | 31 /* Returns reverse(reverse(key, len) + 1, len), where reverse(key, len) is the 32 bit-wise reversal of the len least significant bits of key. */ 33 static BROTLI_INLINE int GetNextKey(int key, int len) { 34 int step = 1 << (len - 1); 53 of bit lengths for the remaining symbols, len is the code length of the next 56 int len, int root_bits) { 57 int left = 1 << (len - root_bits); 58 while (len < MAX_LENGTH) 73 int len; \/* current code length *\/ local [all...] |
/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 */
|