HomeSort by relevance Sort by last modified time
    Searched defs:len (Results 1 - 25 of 4353) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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);
  /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/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--) {
  /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/bionic-fixup/
getline.c 33 size_t len = n[0] + 1; local
36 n[0] = len;
39 *lineptr = malloc(len);
42 memcpy(*lineptr, ptr, len-1);
45 (*lineptr)[len-1] = '\0';
48 return len;
  /external/elfutils/host-darwin-fixup/
getline.c 33 size_t len = n[0] + 1; local
36 n[0] = len;
39 *lineptr = malloc(len);
42 memcpy(*lineptr, ptr, len-1);
45 (*lineptr)[len-1] = '\0';
48 return len;
  /external/elfutils/lib/
xstrndup.c 41 size_t len = strnlen (string, n); local
42 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
  /external/icu4c/test/perf/usetperf/
bitset.h 18 uint32_t len; member in class:BitSet
  /external/openssh/openbsd-compat/
bsd-getpeereid.c 31 socklen_t len = sizeof(cred); local
33 if (getsockopt(s, SOL_SOCKET, SO_PEERCRED, &cred, &len) < 0)

Completed in 1275 milliseconds

1 2 3 4 5 6 7 8 91011>>