/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)
|
/external/e2fsprogs/lib/ext2fs/ |
lookup.c | 23 int len; member in struct:lookup_struct 39 if (ls->len != (dirent->name_len & 0xFF)) 58 ls.len = namelen;
|
/external/e2fsprogs/misc/ |
base_device.c | 45 int len; local 95 len = 0; 97 len = 4; 99 len = 5; 100 if (len) { 101 cp += len; 109 len = strlen(*hier); 110 if (strncmp(cp, *hier, len) != 0) 112 cp += len;
|
/external/elfutils/0.153/libdw/ |
dwarf_getattrs.c | 134 size_t len = __libdw_form_val_len (dbg, die->cu, attr.form, local 137 if (unlikely (len == (size_t) -1l)) 142 die_addr += len;
|
/external/elfutils/0.153/libdwfl/ |
dwfl_module_register_names.c | 84 ssize_t len = ebl_register_info (mod->ebl, regno, name, sizeof name, local 86 if (unlikely (len < 0)) 92 if (likely (len > 0)) 94 assert (len > 1); /* Backend should never yield "". */
|
/external/expat/tests/ |
chardata.c | 26 int len = 0; local 28 while (s[len] != 0) 29 ++len; 30 return len; 45 int len; local 48 len = strlen(s); 51 if ((len + storage->count) > maxchars) { 52 len = (maxchars - storage->count); 54 if (len + storage->count < sizeof(storage->data)) { 55 memcpy(storage->data + storage->count, s, len); 86 int len; local 115 int len = xmlstrlen(expected); local [all...] |
/external/icu/icu4c/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/ipsec-tools/src/racoon/ |
evt.c | 65 size_t len; local 88 len = sizeof(*evtdump); 90 len += optdata->l; 92 if ((evtdump = racoon_malloc(len)) == NULL) { 109 evtdump->len = len; 146 if ((buf = vmalloc(evtdump->len)) == NULL) { 151 memcpy(buf->v, evtdump, evtdump->len);
|
throttle.c | 76 size_t len; local 78 len = sizeof(*te) 82 if ((te = racoon_malloc(len)) == NULL)
|
/external/libcap-ng/libcap-ng-0.7/bindings/python/test/ |
capng-test.py | 25 len = len(text) variable 26 if len < 80 and last > 30:
|
/external/libcap-ng/libcap-ng-0.7/src/test/ |
lib_test.c | 32 int rc, i, len, last = CAP_LAST_CAP; local 50 len = strlen(text); 52 if (len < 80 && last > 30) // The kernel & headers are mismatched
|
/external/libedit/src/ |
fgetln.c | 48 fgetln(FILE *fp, size_t *len) 64 *len = 0; 65 while ((ptr = strchr(&buf[*len], '\n')) == NULL) { 80 *len = strlen(buf); 84 *len = bufsiz; 88 *len = (ptr - buf) + 1; 99 size_t len; local 101 while ((p = fgetln(stdin, &len)) != NULL) { 102 (void)printf("%zu %s", len, p);
|
/external/liblzf/ |
lzf_d.c | 48 # define lzf_movsb(dst, src, len) \ 50 : "=D" (dst), "=S" (src), "=c" (len) \ 51 : "0" (dst), "1" (src), "2" (len)); 104 unsigned int len = ctrl >> 5; local 115 if (len == 7) 117 len += *ip++; 129 if (op + len + 2 > out_end) 142 len += 2; 143 lzf_movsb (op, ref, len); 145 switch (len) [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
help.h | 8 size_t len; /* also used for similarity index in help.c */ member in struct:cmdnames::cmdname 22 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len);
|
strbuf.h | 17 * 2. the ->buf member is a byte array that has at least ->len + 1 bytes 29 * strbuf_setlen(sb, sb->len + SOME_OTHER_SIZE); 46 size_t len; member in struct:strbuf 59 return sb->alloc ? sb->alloc - sb->len - 1 : 0; 64 static inline void strbuf_setlen(struct strbuf *sb, size_t len) { 67 assert(len < sb->alloc); 68 sb->len = len; 69 sb->buf[len] = '\0'; 75 sb->buf[sb->len++] = c [all...] |
/external/lldb/source/Host/macosx/cfcpp/ |
CFCData.cpp | 76 CFIndex len = ::CFPropertyListWriteToStream (plist, stream.get(), format, NULL); local 77 if (len > 0)
|
/external/lldb/source/Interpreter/ |
OptionValueString.cpp | 67 size_t len = strlen(value_cstr); local 68 if (len <= 1 || value_cstr[len-1] != value_cstr[0]) 73 value_str_no_quotes.assign (value_cstr + 1, len - 2);
|
/external/lldb/tools/debugserver/source/MacOSX/ |
CFData.cpp | 79 CFIndex len = ::CFPropertyListWriteToStream (plist, stream.get(), format, NULL); local 80 if (len > 0)
|
/external/llvm/lib/MC/ |
StringTableBuilder.cpp | 18 size_t len = std::min(sizeA, sizeB); local 19 for (size_t i = 0; i < len; ++i) {
|
/external/mesa3d/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/openssl/crypto/asn1/ |
a_bool.c | 82 long len; local 87 inf=ASN1_get_object(&p,&len,&tag,&xclass,length); 100 if (len != 1)
|