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

1 23 4 5 6 7 8 91011>>

  /external/openssh/openbsd-compat/
basename.c 30 size_t len; local
57 len = endp - startp + 1;
58 if (len >= sizeof(bname)) {
62 memcpy(bname, startp, len);
63 bname[len] = '\0';
  /external/openssl/crypto/pem/
pem_oth.c 75 long len; local
78 if (!PEM_bytes_read_bio(&data, &len, NULL, name, bp, cb, u))
81 ret=d2i(x,&p,len);
  /external/protobuf/gtest/samples/
sample2.cc 42 const size_t len = strlen(c_string); local
43 char * const clone = new char[ len + 1 ];
44 memcpy(clone, c_string, len + 1);
  /external/qemu/hw/
cdrom.c 44 int len; local
79 len = q - buf;
80 cpu_to_be16wu((uint16_t *)buf, len - 2);
81 return len;
88 int len; local
152 len = q - buf;
153 cpu_to_be16wu((uint16_t *)buf, len - 2);
154 return len;
  /external/tcpdump/
print-msdp.c 41 unsigned int type, len; local
46 len = EXTRACT_16BITS(sp + 1);
47 if (len > 1500 || len < 3 || type == 0 || type > MSDP_TYPE_MAX)
53 len = EXTRACT_16BITS(sp + 1);
54 if (len > 1400 || vflag)
55 printf(" [len %u]", len);
56 if (len < 3)
69 if ((u_int)((*sp * 12) + 8) < len) {
    [all...]
  /external/webkit/Source/WebCore/platform/text/qt/
TextBoundariesQt.cpp 43 int findNextWordFromIndex(UChar const* buffer, int len, int position, bool forward)
45 QString str(reinterpret_cast<QChar const*>(buffer), len); local
47 iterator.setPosition(position >= len ? len - 1 : position);
55 return len;
67 void findWordBoundary(UChar const* buffer, int len, int position, int* start, int* end)
69 QString str(reinterpret_cast<QChar const*>(buffer), len); local
73 *end = position == len ? len : iterator.toNextBoundary();
  /hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/Public/
MobiCoreRegistry.h 49 uint32_t len; member in struct:__anon21572
  /ndk/sources/host-tools/sed-4.2.1/lib/
lstat.c 56 size_t len; local
62 len = strlen (file);
63 if (len == 0 || file[len - 1] != '/')
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/tc_ematch/
tc_em_nbyte.h 9 __u16 len:12; member in struct:tcf_em_nbyte
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/tc_ematch/
tc_em_nbyte.h 9 __u16 len:12; member in struct:tcf_em_nbyte
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/tc_ematch/
tc_em_nbyte.h 9 __u16 len:12; member in struct:tcf_em_nbyte
  /bionic/libc/stdio/
fread.c 136 int len = (*fp->_read)(fp->_cookie, p, resid ); local
138 if (len <= 0) {
139 if (len == 0)
147 p += len;
148 resid -= len;
  /external/bison/lib/
basename-lgpl.c 60 size_t len; local
63 for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--)
66 if (DOUBLE_SLASH_IS_DISTINCT_ROOT && len == 1
71 && len == prefix_len && ISSLASH (name[prefix_len]))
74 return len;
fprintf.c 40 size_t len; local
46 len = lenbuf;
55 if (fwrite (output, 1, len, fp) < len)
69 if (len > INT_MAX)
76 return len;
snprintf.c 40 size_t len; local
46 len = lenbuf;
56 size_t pruned_len = (len < size ? len : size - 1);
64 if (INT_MAX < len)
70 return len;
sprintf.c 43 size_t len; local
59 len = lenbuf;
67 /* len is near SIZE_MAX. */
73 if (len > INT_MAX)
79 return len;
strerror.c 40 size_t len; local
65 len = strlen (msg);
66 if (sizeof buf <= len)
69 return memcpy (buf, msg, len + 1);
vfprintf.c 40 size_t len; local
44 len = lenbuf;
52 if (fwrite (output, 1, len, fp) < len)
66 if (len > INT_MAX)
73 return len;
  /external/dropbear/
buffer.h 34 unsigned int len; /* the used size */ member in struct:buf
47 void buf_setlen(buffer* buf, unsigned int len);
55 unsigned char* buf_getptr(buffer* buf, unsigned int len);
56 unsigned char* buf_getwriteptr(buffer* buf, unsigned int len);
60 void buf_putstring(buffer* buf, const unsigned char* str, unsigned int len);
61 void buf_putbytes(buffer *buf, const unsigned char *bytes, unsigned int len);
  /external/dropbear/libtomcrypt/demos/
multi.c 7 unsigned long len, len2; local
15 len = sizeof(buf[0]);
16 hash_memory(find_hash("sha256"), (unsigned char*)"hello", 5, buf[0], &len); local
19 if (len != len2 || memcmp(buf[0], buf[1], len)) {
20 printf("Failed: %d %lu %lu\n", __LINE__, len, len2);
25 if (len != len2 || memcmp(buf[0], buf[1], len)) {
26 printf("Failed: %d %lu %lu\n", __LINE__, len, len2);
31 if (len != len2 || memcmp(buf[0], buf[1], len))
38 hmac_memory(find_hash("sha256"), key, 16, (unsigned char*)"hello", 5, buf[0], &len); local
60 omac_memory(find_cipher("aes"), key, 16, (unsigned char*)"hello", 5, buf[0], &len); local
82 pmac_memory(find_cipher("aes"), key, 16, (unsigned char*)"hello", 5, buf[0], &len); local
    [all...]
  /external/dropbear/libtomcrypt/src/encauth/eax/
eax_done.c 31 unsigned long x, len; local
52 len = MAXBLOCKSIZE;
53 if ((err = omac_done(&eax->ctomac, ctmac, &len)) != CRYPT_OK) {
59 /* note we specifically don't reset len so the two lens are minimal */
61 if ((err = omac_done(&eax->headeromac, headermac, &len)) != CRYPT_OK) {
71 for (x = 0; x < len && x < *taglen; x++) {
eax_init.c 40 unsigned long len; local
84 len = sizeof(eax->N);
85 if ((err = omac_done(omac, eax->N, &len)) != CRYPT_OK) {
  /external/dropbear/libtomcrypt/src/mac/omac/
omac_init.c 31 int err, x, y, mask, msb, len; local
50 len = 8;
53 len = 16;
76 for (y = 0; y < (len - 1); y++) {
79 omac->Lu[x][len - 1] = ((omac->Lu[x][len - 1] << 1) ^ (msb ? mask : 0)) & 255;
90 omac->blklen = len;
  /external/dropbear/libtomcrypt/src/pk/asn1/der/bit/
der_encode_bit_string.c 32 unsigned long len, x, y; local
41 if ((err = der_length_bit_string(inlen, &len)) != CRYPT_OK) {
45 if (len > *outlen) {
46 *outlen = len;
  /external/dropbear/libtomcrypt/src/pk/asn1/der/short_integer/
der_encode_short_integer.c 30 unsigned long len, x, y, z; local
40 if ((err = der_length_short_integer(num, &len)) != CRYPT_OK) {
44 if (*outlen < len) {
45 *outlen = len;
49 /* get len of output */

Completed in 970 milliseconds

1 23 4 5 6 7 8 91011>>