/external/bison/lib/ |
obstack_printf.c | 63 size_t len = obstack_room (obs); local 66 if (len < CUTOFF) 69 len = CUTOFF; 71 str = vasnprintf (base, &len, format, args); 81 obstack_blank_fast (obs, len); 86 obstack_grow (obs, str, len); 90 return len;
|
open.c | 109 size_t len = strlen (filename); local 110 if (len > 0 && filename[len - 1] == '/') 159 /* We know len is positive, since open did not fail with ENOENT. */ 160 size_t len = strlen (filename); local 161 if (filename[len - 1] == '/')
|
stat.c | 88 size_t len = strlen (name); local 89 if (ISSLASH (name[len - 1])) 110 size_t len = strlen (name); local 113 if (PATH_MAX <= len) 115 else if (len) 118 if (ISSLASH (fixed_name[len - 1])) 121 while (len && ISSLASH (fixed_name[len - 1])) 122 fixed_name[--len] = '\0'; 123 if (!len) [all...] |
unsetenv.c | 59 size_t len; local 68 len = strlen (name); 74 if (!strncmp (*ep, name, len) && (*ep)[len] == '=')
|
/external/chromium_org/base/process/ |
process_handle_openbsd.cc | 32 size_t len; local 36 if (sysctl(mib, arraysize(mib), NULL, &len, NULL, 0) == -1) 38 mib[5] = (len / sizeof(struct kinfo_proc)); 39 if (sysctl(mib, arraysize(mib), &kp, &len, NULL, 0) < 0)
|
/external/chromium_org/content/child/webcrypto/openssl/ |
util_openssl.cc | 65 size_t len; local 76 &len, 91 &len, 103 buffer->resize(len);
|
/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 | 24 void Copy(const void* buffer, size_t len, PP_Resource addr); 28 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/boringssl/src/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/icu/source/common/ |
uscript.c | 35 int32_t len=0; local 57 len =0; 59 const UChar* name = ures_getNextString(resD,&len,NULL,&localErrorCode); 62 u_UCharsToChars(name,cName,len); 72 return len; 93 return 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/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 | 36 size_t len; local 40 len = strlen(argv[i + 1]); 45 len = data->size(); 47 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/chromium_org/v8/src/base/ |
sys-info.cc | 35 size_t len = sizeof(ncpu); local 36 if (sysctl(mib, arraysize(mib), &ncpu, &len, NULL, 0) != 0) { 61 size_t len = sizeof(memsize); local 62 if (sysctl(mib, arraysize(mib), &memsize, &len, NULL, 0) != 0) {
|
/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...] |