HomeSort by relevance Sort by last modified time
    Searched defs:len (Results 126 - 150 of 6966) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/chromium_org/content/browser/service_worker/
service_worker_utils.cc 30 size_t len = scope_spec.size(); local
31 if (len > 0 && scope_spec[len - 1] == '*')
32 return scope_spec.compare(0, len - 1, url_spec, 0, len - 1) == 0;
  /external/chromium_org/native_client_sdk/src/libraries/error_handling/
string_stream.c 23 int len; local
27 len = vsnprintf(NULL, 0, format, args);
29 outstr = malloc(stream->length + len + 1);
37 stream->length += len;
39 return len;
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
packet.h 25 void Copy(const void* buffer, size_t len, PP_Resource addr);
28 void Take(const void* buffer, size_t len, PP_Resource addr);
32 size_t len() { return len_; } function in class:nacl_io::Packet
  /external/chromium_org/net/quic/crypto/
null_decrypter_test.cc 27 size_t len = arraysize(expected); local
30 decrypter.DecryptPacket(0, "hello world!", StringPiece(data, len)));
46 size_t len = arraysize(expected); local
49 decrypter.DecryptPacket(0, "hello world!", StringPiece(data, len)));
61 size_t len = arraysize(expected); local
64 decrypter.DecryptPacket(0, "hello world!", StringPiece(data, len)));
  /external/chromium_org/third_party/libaddressinput/chromium/cpp/test/util/
md5_unittest.cc 129 int len = 4097; // intentionally not 2^k. local
130 if (len > length - total)
131 len = length - total;
134 std::string(reinterpret_cast<char*>(data.get() + total), len));
135 total += len;
  /external/chromium_org/third_party/libaddressinput/src/cpp/test/util/
md5_unittest.cc 130 int len = 4097; // intentionally not 2^k. local
131 if (len > length - total)
132 len = length - total;
135 std::string(reinterpret_cast<char*>(data.get() + total), len));
136 total += len;
  /external/chromium_org/third_party/libevent/sample/
event-test.c 31 int len; local
43 len = ReadFile((HANDLE)fd, buf, sizeof(buf) - 1, &dwBytesRead, NULL);
46 if(len && dwBytesRead == 0) {
54 len = read(fd, buf, sizeof(buf) - 1);
56 if (len == -1) {
59 } else if (len == 0) {
64 buf[len] = '\0';
  /external/chromium_org/third_party/libevent/test/
test-eof.c 40 int len; local
42 len = recv(fd, buf, sizeof(buf), 0);
45 len, len ? "" : " - means EOF");
47 if (len) {
test-weof.c 42 int len; local
44 len = send(fd, test, strlen(test) + 1, 0);
47 len, len ? "" : " - means EOF");
49 if (len > 0) {
  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/
encoding_utils.h 32 int len = chartorune(&r, in); local
34 return len;
normalize_utf8.h 39 int len = it.get_utf8(utf8); local
40 normalized.append(utf8, len);
  /external/chromium_org/third_party/libsrtp/srtp/crypto/test/
aes_calc.c 73 int key_len, len; local
101 len = hex_string_to_octet_string((char*)key, argv[1], AES_MAX_KEY_LEN*2);
103 if (len != 32 && len != 48 && len != 64) {
107 len);
110 key_len = len/2;
120 len = hex_string_to_octet_string((char *)(&data), argv[2], 16*2);
122 if (len < 16*2) {
126 16*2, len);
    [all...]
  /external/chromium_org/third_party/mesa/src/src/egl/main/
eglmisc.c 52 size_t len = strlen(ext); local
55 memcpy(s, ext, len);
56 s[len++] = ' ';
57 s[len] = '\0';
59 *str += len;
62 len++;
65 return (EGLint) len;
  /external/chromium_org/third_party/openssl/openssl/crypto/asn1/
a_bool.c 82 long len; local
87 inf=ASN1_get_object(&p,&len,&tag,&xclass,length);
100 if (len != 1)
  /external/chromium_org/third_party/openssl/openssl/crypto/bn/
bn_mpi.c 93 long len; local
101 len=((long)d[0]<<24)|((long)d[1]<<16)|((int)d[2]<<8)|(int)d[3];
102 if ((len+4) != n)
111 if (len == 0)
120 if (BN_bin2bn(d,(int)len,a) == NULL)
  /external/chromium_org/third_party/skia/tests/
JpegTest.cpp 421 size_t len = sizeof(goodJpegImage) / 2; local
427 static_cast<void *>(goodJpegImage), len, &bm8888);
SHA1Test.cpp 37 size_t len = strlen(test.message); local
41 context.update(reinterpret_cast<const uint8_t*>(test.message), len); local
  /external/chromium_org/third_party/skia/tools/lua/
lua_app.cpp 25 size_t len = stream->getLength(); local
26 void* buffer = sk_malloc_throw(len);
27 stream->read(buffer, len);
28 return SkData::NewFromMalloc(buffer, len);
39 size_t len; local
43 len = strlen(argv[i + 1]);
48 len = data->size();
50 if (!L.runCode(ptr, len)) {
  /external/chromium_org/third_party/yasm/source/patched-yasm/
genstring.c 41 size_t len; local
75 len = strlen(strp);
76 while (len > 0 && (strp[len-1] == ' ' || strp[len-1] == '\t' ||
77 strp[len-1] == '\n')) {
78 strp[len-1] = '\0';
79 len--;
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_printf_test.cc 24 uptr len = internal_snprintf(buf, sizeof(buf), local
30 EXPECT_EQ(len, strlen(buf));
43 uptr len = internal_snprintf(buf, 4, "%s", "abcdef"); // NOLINT local
44 EXPECT_EQ(len, (uptr)6);
114 uptr len = internal_snprintf(buf, sizeof(buf), fmt, arg1, arg2); local
117 EXPECT_EQ(len, strlen(buf));
148 uptr len = internal_snprintf(buf, sizeof(buf), "%.*s", 3, "12345"); local
149 EXPECT_EQ(3U, len);
151 len = internal_snprintf(buf, sizeof(buf), "%.*s", 6, "12345");
152 EXPECT_EQ(5U, len);
    [all...]
  /external/compiler-rt/lib/tsan/benchmarks/
mini_bench_local.cc 7 int len; variable
13 for (int i = 0, n = len; i < n; i++)
30 len = 1000000;
34 len = atoi(argv[2]);
36 printf("%s: n_threads=%d len=%d iter=%d\n",
37 __FILE__, n_threads, len, kNumIter);
38 a = new int[n_threads * len];
mini_bench_shared.cc 7 int len; variable
13 for (int i = 0, n = len; i < n; i++)
30 len = 1000000;
34 len = atoi(argv[2]);
36 printf("%s: n_threads=%d len=%d iter=%d\n",
37 __FILE__, n_threads, len, kNumIter);
38 a = new int[len];
39 for (int i = 0, n = len; i < n; i++)
  /external/compiler-rt/test/tsan/
fd_socket_connect_norace.cc 30 socklen_t len = sizeof(addr); local
31 bind(s, (sockaddr*)&addr, len);
32 getsockname(s, (sockaddr*)&addr, &len);
fd_socket_norace.cc 34 socklen_t len = sizeof(addr); local
35 bind(s, (sockaddr*)&addr, len);
36 getsockname(s, (sockaddr*)&addr, &len);
  /external/dhcpcd/
platform-bsd.c 48 size_t len = sizeof(march); local
51 march, &len, NULL, 0) != 0)

Completed in 1374 milliseconds

1 2 3 4 56 7 8 91011>>