/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));
|
wcsstr.c | 50 size_t len; local 53 len = wcslen(find); 59 } while (wcsncmp(s, find, len) != 0);
|
/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/ |
ptsname_r.c | 39 int len; local 51 len = snprintf( buff, sizeof(buff), "/dev/pts/%u", pty_num ); 52 if (len+1 > (int)buflen) { 56 memcpy( buf, buff, len+1 );
|
/bionic/libc/string/ |
strstr.c | 43 size_t len; local 46 len = strlen(find); 52 } while (strncmp(s, find, len) != 0);
|
/bionic/libc/upstream-netbsd/libc/string/ |
strcasestr.c | 52 size_t len; local 59 len = strlen(find); 65 } while (strncasecmp(s, find, len) != 0);
|
/bionic/libc/wchar/ |
wcswidth.c | 47 int len, l; local 49 len = 0; 53 len += l; 55 return (len);
|
/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/dropbear/ |
cli-service.c | 52 unsigned int len; local 56 servicename = buf_getstring(ses.payload, &len); 60 && len == SSH_SERVICE_USERAUTH_LEN 61 && strncmp(SSH_SERVICE_USERAUTH, servicename, len) == 0) { 71 && len == SSH_SERVICE_CONNECTION_LEN 72 && strncmp(SSH_SERVICE_CONNECTION, servicename, len) == 0) {
|
svr-service.c | 33 static void send_msg_service_accept(unsigned char *name, int len); 40 unsigned int len; local 44 name = buf_getstring(ses.payload, &len); 47 if (len == SSH_SERVICE_USERAUTH_LEN && 48 strncmp(SSH_SERVICE_USERAUTH, name, len) == 0) { 50 send_msg_service_accept(name, len); 57 if (len == SSH_SERVICE_CONNECTION_LEN && 58 (strncmp(SSH_SERVICE_CONNECTION, name, len) == 0)) { 63 send_msg_service_accept(name, len); 76 static void send_msg_service_accept(unsigned char *name, int len) { [all...] |
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/ |
der_length_integer.c | 28 unsigned long z, len; local 45 z = len = leading_zero + mp_unsigned_bin_size(num); 53 len = z = z >> 3; 59 ++len; 62 ++len; 65 ++len; 71 ++len; 74 *outlen = len;
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/octet/ |
der_decode_octet_string.c | 32 unsigned long x, y, len; local 58 len = 0; 61 len = (len << 8) | in[x++]; 64 len = in[x++] & 0x7F; 68 if (len > *outlen) { 69 *outlen = len; 73 if (len + x > inlen) { 78 for (y = 0; y < len; y++) {
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/short_integer/ |
der_decode_short_integer.c | 30 unsigned long len, x, y; local 46 /* get the packet len */ 47 len = in[x++]; 49 if (x + len > inlen) { 55 while (len--) {
|
der_length_short_integer.c | 28 unsigned long z, y, len; local 49 len = 1; 52 ++len; 55 len += z; 58 len += (num&(1UL<<((z<<3) - 1))) ? 1 : 0; 61 *outlen = len;
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/utf8/ |
der_encode_utf8_string.c | 32 unsigned long x, y, len; local 39 for (x = len = 0; x < inlen; x++) { 43 len += der_utf8_charsize(in[x]); 46 if (len < 128) { 47 y = 2 + len; 48 } else if (len < 256) { 49 y = 3 + len; 50 } else if (len < 65536UL) { 51 y = 4 + len; 52 } else if (len < 16777216UL) [all...] |
der_length_utf8_string.c | 46 unsigned long x, len; local 51 len = 0; 56 len += der_utf8_charsize(in[x]); 59 if (len < 128) { 61 *outlen = 2 + len; 62 } else if (len < 256) { 64 *outlen = 3 + len; 65 } else if (len < 65536UL) { 67 *outlen = 4 + len; 68 } else if (len < 16777216UL) [all...] |
/external/dropbear/libtommath/ |
bn_mp_clear.c | 23 int len; local 28 len = a->alloc; 30 while (len--) {
|