/external/clang/test/Lexer/ |
digraph.c | 10 void copy(char d<::>, const char s<::>, int len) 12 while (len-- >= 0) 14 d<:len:> = s<:len:>; variable
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcsnlen.c | 35 size_t len; local 37 for (len = 0; len < maxlen; len++, s++) { 41 return (len);
|
wcsdup.c | 37 size_t len; local 39 len = wcslen(s) + 1; 40 if ((copy = malloc(len * sizeof(wchar_t))) == NULL) 42 return (wmemcpy(copy, s, len));
|
/frameworks/rs/ |
rsCompatibilityLib.cpp | 23 int len; local 25 len = __system_property_get(key, value); 26 if (len > 0) { 27 return len; 31 len = strlen(default_value); 32 memcpy(value, default_value, len + 1); 34 return len;
|
/bionic/libc/bionic/ |
__cmsg_nxthdr.cpp | 34 size_t len = reinterpret_cast<char*>(ptr+1) - reinterpret_cast<char*>(msg->msg_control); local 35 if (len > msg->msg_controllen) {
|
/bionic/libc/upstream-netbsd/lib/libc/string/ |
strcasestr.c | 52 size_t len; local 59 len = strlen(find); 65 } while (strncasecmp(s, find, len) != 0);
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
strndup.c | 29 size_t len; local 31 len = strnlen(str, maxlen); 32 copy = malloc(len + 1); 34 (void)memcpy(copy, str, len); 35 copy[len] = '\0';
|
strstr.c | 43 size_t len; local 46 len = strlen(find); 52 } while (strncmp(s, find, len) != 0);
|
/external/bison/lib/ |
strdup.c | 41 size_t len = strlen (s) + 1; local 42 void *new = malloc (len); 47 return (char *) memcpy (new, s, len);
|
strndup.c | 28 size_t len = strnlen (s, n); local 29 char *new = malloc (len + 1); 34 new[len] = '\0'; 35 return memcpy (new, s, len);
|
/external/chromium_org/base/process/ |
process_info_mac.cc | 20 size_t len = 0; local 21 if (sysctl(mib, arraysize(mib), NULL, &len, NULL, 0) < 0) 25 proc(static_cast<struct kinfo_proc*>(malloc(len))); 26 if (sysctl(mib, arraysize(mib), proc.get(), &len, NULL, 0) < 0)
|
/external/chromium_org/native_client_sdk/src/examples/tutorial/dlopen/ |
reverse.cc | 10 size_t len = strlen(s); local 11 char* reversed = static_cast<char*>(malloc(len + 1)); 12 for (int i = len - 1; i >= 0; --i) 13 reversed[len - i - 1] = s[i]; 14 reversed[len] = 0;
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
Input.cpp | 27 int len = length ? length[i] : -1; local 28 mLength.push_back(len < 0 ? std::strlen(mString[i]) : len);
|
/external/chromium_org/third_party/icu/source/test/perf/usetperf/ |
bitset.h | 18 uint32_t len; member in class:BitSet
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/examples/rexx/ |
scanio.c | 6 unsigned len = s->eot - s->tok; local 7 memcpy(s->bot, s->tok, len); 8 s->eot = &s->bot[len]; 9 if((len = s->lim - cursor) != 0) 10 memcpy(s->eot, cursor, len); 12 s->lim = &cursor[len];
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
dll_intercept_strlen.cc | 18 int len = strlen(str); local 27 return len > 42;
|
intercept_strlen.cc | 17 int len = strlen(str); local 26 return len < 6;
|
/external/e2fsprogs/lib/et/ |
vfprintf.c | 32 int len; local 38 len = _doprnt(fmt, ap, iop); 45 len = _doprnt(fmt, ap, iop); 47 return (ferror(iop) ? EOF : len);
|
/external/elfutils/0.153/lib/ |
xstrndup.c | 41 size_t len = strnlen (string, n); local 42 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
|
/external/icu/icu4c/source/test/perf/usetperf/ |
bitset.h | 18 uint32_t len; member in class:BitSet
|
/external/libedit/src/ |
wcsdup.c | 30 size_t len; local 34 len = wcslen(str) + 1; 35 copy = malloc(len * sizeof (wchar_t)); 40 return wmemcpy(copy, str, len);
|
/external/lzma/CPP/7zip/Common/ |
MethodId.cpp | 16 int len = 32;
local 17 s[--len] = 0;
20 s[--len] = GetHex((Byte)id & 0xF);
22 s[--len] = GetHex((Byte)id & 0xF);
26 return s + len;
|
/external/qemu/android/utils/ |
host_bitness.c | 26 unsigned len = GetSystemWow64Directory(directory, sizeof(directory)); local 27 if (len == 0) {
|
/external/tcpdump/missing/ |
strdup.c | 49 size_t len; local 52 len = strlen(str) + 1; 53 if ((copy = malloc(len)) == NULL) 55 memcpy(copy, str, len);
|
/external/valgrind/main/none/tests/ |
coolo_strlen.c | 7 int len = strlen(b2); local 8 if (len < 12)
|