/external/chromium_org/net/quic/crypto/ |
common_cert_set.cc | 50 size_t len = a.size(); local 51 if (len > b_len) { 52 len = b_len; 54 int n = memcmp(a.data(), b, len);
|
/external/chromium_org/net/quic/test_tools/ |
crypto_test_utils_nss.cc | 54 HASH_End(sha256, hash_buf, &hash_item.len, sizeof(hash_buf)); 83 const unsigned int len = public_key->u.ec.publicValue.len; variable 84 if (len != kExpectedKeyLength || data[0] != 0x04) {
|
/external/chromium_org/net/socket/ |
unix_domain_socket_posix.cc | 37 socklen_t len = sizeof(user_cred); local 38 if (getsockopt(socket, SOL_SOCKET, SO_PEERCRED, &user_cred, &len) == -1)
|
/external/chromium_org/net/tools/dump_cache/ |
cache_dumper.cc | 164 size_t len; local 197 len = headers.size(); 200 len = buf_len; 207 if (!WriteFile(entry_, data, len, &bytes, 0)) 212 return fwrite(data, 1, len, entry_);
|
/external/chromium_org/net/tools/quic/ |
quic_spdy_client_stream.cc | 101 size_t len = framer.ParseHeaderBlockInBuffer(data, read_buf_->offset(), local 103 if (len == 0) { 113 size_t delta = read_buf_len - len; 115 data_.append(data + len, delta); 118 return len;
|
/external/chromium_org/net/url_request/ |
view_cache_helper_unittest.cc | 51 int len = static_cast<int>(pickle.size()); local 54 int rv = entry->WriteData(0, 0, buf.get(), len, cb.callback(), true); 55 ASSERT_EQ(len, cb.GetResult(rv)); 62 int len = data.length(); local 63 scoped_refptr<IOBuffer> buf(new IOBuffer(len)); 67 int rv = entry->WriteData(index, 0, buf.get(), len, cb.callback(), true); 68 ASSERT_EQ(len, cb.GetResult(rv));
|
/external/chromium_org/ppapi/c/dev/ |
ppb_url_util_dev.h | 33 * the index into the string of the first character of that component. The len 44 * If the component is not present at all, begin will be 0 and len will be -1. 51 int32_t len; member in struct:PP_URLComponent_Dev
|
/external/chromium_org/ppapi/cpp/ |
var.cc | 47 PP_Var VarFromUtf8Helper(const char* utf8_str, uint32_t len) { 49 return get_interface<PPB_Var_1_2>()->VarFromUtf8(utf8_str, len); 51 return get_interface<PPB_Var_1_1>()->VarFromUtf8(utf8_str, len); 55 len); 128 uint32_t len = utf8_str ? static_cast<uint32_t>(strlen(utf8_str)) : 0; local 129 var_ = VarFromUtf8Helper(utf8_str, len); 256 uint32_t len; local 259 str = get_interface<PPB_Var_1_2>()->VarToUtf8(var_, &len); 261 str = get_interface<PPB_Var_1_1>()->VarToUtf8(var_, &len); 263 str = get_interface<PPB_Var_1_0>()->VarToUtf8(var_, &len); [all...] |
/external/chromium_org/ppapi/native_client/tests/nacl_browser/inbrowser_test_runner/ |
test_runner_ppapi.c | 100 uint32_t len; local 106 data = g_browser_var->VarToUtf8(message, &len); 107 if (len == 0) {
|
/external/chromium_org/ppapi/tests/ |
test_browser_font.cc | 72 int32_t len[kNumChars]; local 73 len[0] = font.PixelOffsetForCharacter(run, 0); 74 len[1] = font.PixelOffsetForCharacter(run, 1); 75 len[2] = font.PixelOffsetForCharacter(run, 2); 76 len[3] = font.PixelOffsetForCharacter(run, 3); 77 len[4] = font.PixelOffsetForCharacter(run, 4); 78 len[5] = font.PixelOffsetForCharacter(run, 5); 81 ASSERT_TRUE(len[0] >= 0); 82 ASSERT_TRUE(len[1] > len[0]) [all...] |
test_var.cc | 52 uint32_t len = 0; local 53 const char* result = var_interface_->VarToUtf8(str, &len); 54 ASSERT_EQ(kStrLen, len); 59 result = var_interface_->VarToUtf8(str, &len); 60 ASSERT_EQ(0, len); 84 uint32_t len = std::numeric_limits<uint32_t>::max(); local 85 const char* result = var_interface_->VarToUtf8(invalid_string, &len); 86 ASSERT_EQ(0, len); 90 len = std::numeric_limits<uint32_t>::max(); 92 result = var_interface_->VarToUtf8(int_var.pp_var(), &len); [all...] |
/external/chromium_org/remoting/host/ |
gnubby_socket.cc | 102 int len = response.size(); local 104 response_len.push_back((len >> 24) & 255); 105 response_len.push_back((len >> 16) & 255); 106 response_len.push_back((len >> 8) & 255); 107 response_len.push_back(len & 255);
|
/external/chromium_org/sandbox/mac/ |
os_compatibility.cc | 62 size_t len = 0; local 63 for (; len < maxlen; ++len, ++str) { 67 return len;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
break_lines.cpp | 149 int len = static_cast<int>(length); local 155 for (int i = pos; i < len; i++) { 182 return len;
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XSLTUnicodeSort.cpp | 106 int len = list->nodeNr; local 129 for (int incr = len / 2; incr > 0; incr /= 2) { 130 for (int i = incr; i < len; ++i) { 268 for (int i = 0; i < len; ++i)
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/android/ |
FFTFrameOpenMAXDLAndroid.cpp | 114 unsigned len = m_FFTSize / 2; local 120 for (unsigned k = 1; k < len; ++k) { 137 unsigned len = m_FFTSize / 2; local 143 for (unsigned k = 1; k < len; ++k) {
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ffmpeg/ |
FFTFrameFFMPEG.cpp | 120 int len = m_FFTSize / 2; local 124 for (int i = 0; i < len; ++i) { 162 int len = m_FFTSize / 2; local 166 for (int i = 0; i < len; ++i) {
|
/external/chromium_org/third_party/angle/tests/deqp_tests/ |
deqp_tests.cpp | 63 int len = vsnprintf(NULL, 0, fmt, vararg); local 66 std::vector<char> buf(len + 1);
|
/external/chromium_org/third_party/angle/tests/gles_conformance_tests/ |
gles_conformance_tests.cpp | 26 int len = vsnprintf(NULL, 0, fmt, vararg); local 29 std::vector<char> buf(len + 1);
|
/external/chromium_org/third_party/cld/encodings/compact_lang_det/ |
ext_lang_enc.cc | 296 size_t len = strlen(src); local 313 if (len >= 3) { 326 if (len <= 3) { 328 } else if (len == 7) { 381 if (memcmp(&src[len - 2], "TW", 2) == 0) {return CHINESE_T;} 382 if (memcmp(&src[len - 2], "HK", 2) == 0) {return CHINESE_T;} 386 if (memcmp(&src[len - 2], "BR", 2) == 0) {return PORTUGUESE;} 390 if (memcmp(&src[len -2], "CA", 2) == 0) {return FRENCH;}
|
/external/chromium_org/third_party/freetype/src/base/ |
ftutil.c | 199 FT_ULong len = str ? (FT_ULong)ft_strlen( str ) + 1 local 203 return ft_mem_dup( memory, str, len, p_error );
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
ttpost.c | 232 FT_UInt len; local 242 if ( FT_READ_BYTE( len ) ) 246 if ( (FT_Int)len > post_limit || 247 FT_STREAM_POS() > post_limit - (FT_Int)len ) 252 len, post_limit - FT_STREAM_POS() )); 253 len = FT_MAX( 0, post_limit - FT_STREAM_POS() ); 256 if ( FT_NEW_ARRAY( name_strings[n], len + 1 ) || 257 FT_STREAM_READ( name_strings[n], len ) ) 260 name_strings[n][len] = '\0';
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-buffer-serialize.cc | 54 * @len: 63 hb_buffer_serialize_format_from_string (const char *str, int len) 66 return (hb_buffer_serialize_format_t) (hb_tag_from_string (str, len) & ~0x20202020); 256 assert (start <= end && end <= buffer->len); 263 assert ((!buffer->len && buffer->content_type == HB_BUFFER_CONTENT_TYPE_INVALID) || 296 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - pp)); local 297 strncpy (buf, pp, len); 298 buf[len] = '\0'; 317 unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - pp)); local 318 strncpy (buf, pp, len); [all...] |
hb-glib.cc | 255 int len; local 258 len = g_unichar_to_utf8 (a, utf8); 259 len += g_unichar_to_utf8 (b, utf8 + len); 260 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFC); 261 len = g_utf8_strlen (normalized, -1); 262 if (unlikely (!len)) 265 if (len == 1) { 292 int len; local 295 len = g_unichar_to_utf8 (ab, utf8) [all...] |
hb-icu.cc | 190 unsigned int len; local 194 len = 0; 196 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), a, err); 198 U16_APPEND (utf16, len, ARRAY_LENGTH (utf16), b, err); 202 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); 205 if (u_countChar32 (normalized, len) == 1) { 225 int len; local 227 len = unorm2_getRawDecomposition (normalizer, ab, decomposed, 229 if (U_FAILURE (icu_err) || len < 0) return false 249 unsigned int len; local 319 unsigned int len; local [all...] |