/external/dropbear/libtomcrypt/src/pk/asn1/der/octet/ |
der_encode_octet_string.c | 32 unsigned long x, y, len; local 40 if ((err = der_length_octet_string(inlen, &len)) != CRYPT_OK) { 45 if (len > *outlen) { 46 *outlen = len; 50 /* encode the header+len */
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/printable_string/ |
der_decode_printable_string.c | 32 unsigned long x, y, len; local 59 len = 0; 62 len = (len << 8) | in[x++]; 65 len = in[x++] & 0x7F; 69 if (len > *outlen) { 70 *outlen = len; 74 if (len + x > inlen) { 79 for (y = 0; y < len; y++) {
|
der_encode_printable_string.c | 31 unsigned long x, y, len; local 39 if ((err = der_length_printable_string(in, inlen, &len)) != CRYPT_OK) { 44 if (len > *outlen) { 45 *outlen = len; 49 /* encode the header+len */
|
/external/dropbear/libtommath/ |
bn_mp_fwrite.c | 21 int err, len, x; local 23 if ((err = mp_radix_size(a, radix, &len)) != MP_OKAY) { 27 buf = OPT_CAST(char) XMALLOC (len); 37 for (x = 0; x < len; x++) {
|
/external/gtest/samples/ |
sample2.cc | 42 const size_t len = strlen(a_c_string); local 43 char* const clone = new char[ len + 1 ]; 44 memcpy(clone, a_c_string, len + 1);
|
/external/iproute2/include/linux/tc_ematch/ |
tc_em_nbyte.h | 9 __u16 len:12; member in struct:tcf_em_nbyte
|
/external/libnfc-nci/src/adaptation/ |
OverrideLog.cpp | 57 int len = property_get ("nfc.app_log_level", valueStr, ""); local 58 if (len > 0)
|
/external/libppp/src/ |
sync.c | 66 int len; local 74 len = m_length(bp); 75 p->hdlc.lqm.ifInOctets += len + 1; /* plus 1 flag octet! */ 76 p->hdlc.lqm.lqr.InGoodOctets += len + 1; /* plus 1 flag octet! */
|
/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/skia/tests/ |
DiscardableMemoryTest.cpp | 15 const size_t len = sizeof(testString); local 16 SkAutoTDelete<SkDiscardableMemory> dm(SkDiscardableMemory::Create(len)); 31 REPORTER_ASSERT(reporter, 0 == memcmp(ptr, testString, 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...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/Registry/Public/ |
MobiCoreRegistry.h | 49 uint32_t len; member in struct:__anon32622
|
/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] != '/')
|
/ndk/sources/third_party/googletest/googletest/samples/ |
sample2.cc | 42 const size_t len = strlen(a_c_string); local 43 char* const clone = new char[ len + 1 ]; 44 memcpy(clone, a_c_string, 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;
|
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
fgets.c | 54 size_t len; local 69 if ((len = fp->_r) <= 0) { 78 len = fp->_r; 88 if (len > n) 89 len = n; 90 t = memchr((void *)p, '\n', len); 92 len = ++t - p; 93 fp->_r -= len; 95 (void)memcpy((void *)s, (void *)p, len); 96 s[len] = 0 [all...] |
/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;
|