/external/libnfnetlink/include/libnfnetlink/ |
linux_nfnetlink_compat.h | 35 #define NFA_ALIGN(len) (((len) + NFA_ALIGNTO - 1) & ~(NFA_ALIGNTO - 1)) 36 #define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct nfattr) \ 37 && (nfa)->nfa_len <= (len)) 40 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len)) 41 #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len)) 50 (skb)->len; }) [all...] |
/external/libnl/include/linux-private/linux/netfilter/ |
nfnetlink_compat.h | 37 #define NFA_ALIGN(len) (((len) + NFA_ALIGNTO - 1) & ~(NFA_ALIGNTO - 1)) 38 #define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct nfattr) \ 39 && (nfa)->nfa_len <= (len)) 42 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len)) 43 #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len)) 52 (skb)->len; }) [all...] |
/external/mesa3d/src/mesa/main/ |
streaming-load-memcpy.c | 37 _mesa_streaming_load_memcpy(void *restrict dst, void *restrict src, size_t len) 44 memcpy(d, s, len); 49 * are aligned to a 16-byte boundary or <len> == 0. 55 memcpy(d, s, MIN2(bytes_before_alignment_boundary, len)); 59 len -= MIN2(bytes_before_alignment_boundary, len); 62 if (len >= 64) 65 while (len >= 64) { 81 len -= 64; 85 if (len) { [all...] |
/external/python/cpython2/Python/ |
mysnprintf.c | 56 int len; /* # bytes written, excluding \0 */ local 70 len = -666; 75 len = vsnprintf(str, size, format, va); 80 len = -666; 84 len = vsprintf(buffer, format, va); 85 if (len < 0) 88 else if ((size_t)len >= size + _PyOS_vsnprintf_EXTRA_SPACE) 92 const size_t to_copy = (size_t)len < size ? 93 (size_t)len : size - 1; 103 return len; [all...] |
/external/python/cpython3/Python/ |
mysnprintf.c | 55 int len; /* # bytes written, excluding \0 */ local 69 len = -666; 74 len = vsnprintf(str, size, format, va); 79 len = -666; 83 len = vsprintf(buffer, format, va); 84 if (len < 0) 87 else if ((size_t)len >= size + _PyOS_vsnprintf_EXTRA_SPACE) 91 const size_t to_copy = (size_t)len < size ? 92 (size_t)len : size - 1; 102 return len; [all...] |
/external/speex/ti/speex_C55_test/ |
speex_C55_test.cmd | 43 DARAM: origin = 0x200, len = 0x7e00
44 DARAM_B: origin = 0x8000, len = 0x8000
45 VECT: origin = 0x100, len = 0x100
46 SARAM_A: origin = 0x10000, len = 0x10000
47 SARAM_B: origin = 0x20000, len = 0x20000
|
/external/strace/ |
affinity.c | 65 const unsigned int len) 68 const unsigned int umove_size = len < max_size ? len : max_size; 75 !addr || !len || !(cpu = calloc(size, 1))) { 92 if (size < len) 103 const unsigned int len = tcp->u_arg[1]; local 105 tprintf("%d, %u, ", pid, len); 106 print_affinitylist(tcp, tcp->u_arg[2], len); 114 const unsigned int len = tcp->u_arg[1]; local 117 tprintf("%d, %u, ", pid, len); [all...] |
/external/u-boot/board/atmel/common/ |
video_display.c | 23 u32 len = 0; local 32 len += sprintf(&buf[len], "%s\n", U_BOOT_VERSION); 33 memcpy(&buf[len], corp, strlen(corp)); 34 len += strlen(corp); 35 len += sprintf(&buf[len], "%s CPU at %s MHz\n", get_cpu_name(), 48 len += sprintf(&buf[len], "%ld MB SDRAM, %ld MB NAND\n", 67 for (s = buf, i = 0; i < len; s++, i++ [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_peap_common.c | 25 size_t len[5]; local 28 len[0] = 0; 30 len[1] = label_len; 32 len[2] = seed_len; 36 * PRF+(K, S, LEN) = T1 | T2 | ... | Tn 47 len[3] = 1; 49 len[4] = 2; 52 * PRF (K,S,LEN) = T1 | T2 | T3 | T4 | ... where: 53 * T1 = HMAC-SHA1(K, S | LEN | 0x01) 54 * T2 = HMAC-SHA1 (K, T1 | S | LEN | 0x02 [all...] |
/external/openssh/ |
sshbuf-getput-basic.c | 32 sshbuf_get(struct sshbuf *buf, void *v, size_t len) 37 if ((r = sshbuf_consume(buf, len)) < 0) 39 if (v != NULL && len != 0) 40 memcpy(v, p, len); 100 size_t len; local 107 if ((r = sshbuf_get_string_direct(buf, &val, &len)) < 0) 110 if ((*valp = malloc(len + 1)) == NULL) { 114 if (len != 0) 115 memcpy(*valp, val, len); 116 (*valp)[len] = '\0' 126 size_t len; local 153 u_int32_t len; local 183 size_t len; local 218 u_int32_t len; local 270 int r, len; local 381 size_t len; local 435 size_t len, olen; local [all...] |
/external/dtc/tests/ |
path-references.c | 33 int len; local 35 p = fdt_getprop(fdt, node, "ref", &len); 37 FAIL("fdt_getprop(%d, \"ref\"): %s", node, fdt_strerror(len)); 42 p = fdt_getprop(fdt, node, "lref", &len); 44 FAIL("fdt_getprop(%d, \"lref\"): %s", node, fdt_strerror(len)); 53 int len; local 56 p = fdt_getprop(fdt, 0, "rref", &len); 58 FAIL("fdt_getprop(0, \"rref\"): %s", fdt_strerror(len)); 68 int len, multilen; local 86 p = fdt_getprop(fdt, 0, "multiref", &len); [all...] |
/external/strace/tests/ |
net-accept-connect.c | 54 socklen_t len = strlen(av[1]); local 55 assert(len > 0 && len <= sizeof(addr.sun_path)); 57 if (++len > sizeof(addr.sun_path)) 58 len = sizeof(addr.sun_path); 60 memcpy(addr.sun_path, av[1], len); 61 len += offsetof(struct sockaddr_un, sun_path); 69 if (bind(0, (struct sockaddr *) &addr, len)) 75 assert(getsockname(0, (struct sockaddr *) &addr, &len) == 0); 76 if (len > sizeof(addr) [all...] |
print_quoted_string.c | 27 const size_t len = strnlen(instr, size); local 28 if (len < size) { 29 print_quoted_memory(instr, len); 39 const size_t len = strnlen(instr, size); local 40 if (len < size) { 41 print_quoted_memory(instr, len); 72 print_quoted_memory_ex(const void *const instr, const size_t len, 81 for (i = 0; i < len; ++i) { 111 i < (len - 1) ? str[i + 1] : 0); 123 print_quoted_memory(const void *const instr, const size_t len) [all...] |
net-sockaddr.c | 61 unsigned int len = sizeof(*un); local 62 int ret = connect(-1, (void *) un, len); 65 (int) sizeof(un->sun_path), 0, len, ret); 68 ret = connect(-1, (void *) un, len); 70 " = %d EBADF (%m)\n", 0, len, ret); 74 ret = connect(-1, (void *) un, len); 77 (int) sizeof(un->sun_path) - 3, 0, len, ret); 82 len = sizeof(*un) + 2; 83 ret = connect(-1, (void *) un, len); 86 (int) sizeof(un->sun_path), 0, len, ret) 138 unsigned int len = sizeof(*in); local 176 unsigned int len = sizeof(*in6); local 212 unsigned int len = sizeof(*in6); local 281 unsigned int len = sizeof(c_ipx); local 476 unsigned int len = sizeof(*nl); local 506 unsigned int len = sizeof(c_ll); local 565 unsigned int len = sizeof(*hci); local 580 unsigned int len = sizeof(c_sco); local 600 unsigned int len = sizeof(c_rc); local 626 unsigned int len = sizeof(c_l2); local 708 unsigned int len = sizeof(*u.st) + 8; local [all...] |
/external/strace/tests-m32/ |
net-accept-connect.c | 54 socklen_t len = strlen(av[1]); local 55 assert(len > 0 && len <= sizeof(addr.sun_path)); 57 if (++len > sizeof(addr.sun_path)) 58 len = sizeof(addr.sun_path); 60 memcpy(addr.sun_path, av[1], len); 61 len += offsetof(struct sockaddr_un, sun_path); 69 if (bind(0, (struct sockaddr *) &addr, len)) 75 assert(getsockname(0, (struct sockaddr *) &addr, &len) == 0); 76 if (len > sizeof(addr) [all...] |
print_quoted_string.c | 27 const size_t len = strnlen(instr, size); local 28 if (len < size) { 29 print_quoted_memory(instr, len); 39 const size_t len = strnlen(instr, size); local 40 if (len < size) { 41 print_quoted_memory(instr, len); 72 print_quoted_memory_ex(const void *const instr, const size_t len, 81 for (i = 0; i < len; ++i) { 111 i < (len - 1) ? str[i + 1] : 0); 123 print_quoted_memory(const void *const instr, const size_t len) [all...] |
net-sockaddr.c | 61 unsigned int len = sizeof(*un); local 62 int ret = connect(-1, (void *) un, len); 65 (int) sizeof(un->sun_path), 0, len, ret); 68 ret = connect(-1, (void *) un, len); 70 " = %d EBADF (%m)\n", 0, len, ret); 74 ret = connect(-1, (void *) un, len); 77 (int) sizeof(un->sun_path) - 3, 0, len, ret); 82 len = sizeof(*un) + 2; 83 ret = connect(-1, (void *) un, len); 86 (int) sizeof(un->sun_path), 0, len, ret) 138 unsigned int len = sizeof(*in); local 176 unsigned int len = sizeof(*in6); local 212 unsigned int len = sizeof(*in6); local 281 unsigned int len = sizeof(c_ipx); local 476 unsigned int len = sizeof(*nl); local 506 unsigned int len = sizeof(c_ll); local 565 unsigned int len = sizeof(*hci); local 580 unsigned int len = sizeof(c_sco); local 600 unsigned int len = sizeof(c_rc); local 626 unsigned int len = sizeof(c_l2); local 708 unsigned int len = sizeof(*u.st) + 8; local [all...] |
/external/strace/tests-mx32/ |
net-accept-connect.c | 54 socklen_t len = strlen(av[1]); local 55 assert(len > 0 && len <= sizeof(addr.sun_path)); 57 if (++len > sizeof(addr.sun_path)) 58 len = sizeof(addr.sun_path); 60 memcpy(addr.sun_path, av[1], len); 61 len += offsetof(struct sockaddr_un, sun_path); 69 if (bind(0, (struct sockaddr *) &addr, len)) 75 assert(getsockname(0, (struct sockaddr *) &addr, &len) == 0); 76 if (len > sizeof(addr) [all...] |
print_quoted_string.c | 27 const size_t len = strnlen(instr, size); local 28 if (len < size) { 29 print_quoted_memory(instr, len); 39 const size_t len = strnlen(instr, size); local 40 if (len < size) { 41 print_quoted_memory(instr, len); 72 print_quoted_memory_ex(const void *const instr, const size_t len, 81 for (i = 0; i < len; ++i) { 111 i < (len - 1) ? str[i + 1] : 0); 123 print_quoted_memory(const void *const instr, const size_t len) [all...] |
net-sockaddr.c | 61 unsigned int len = sizeof(*un); local 62 int ret = connect(-1, (void *) un, len); 65 (int) sizeof(un->sun_path), 0, len, ret); 68 ret = connect(-1, (void *) un, len); 70 " = %d EBADF (%m)\n", 0, len, ret); 74 ret = connect(-1, (void *) un, len); 77 (int) sizeof(un->sun_path) - 3, 0, len, ret); 82 len = sizeof(*un) + 2; 83 ret = connect(-1, (void *) un, len); 86 (int) sizeof(un->sun_path), 0, len, ret) 138 unsigned int len = sizeof(*in); local 176 unsigned int len = sizeof(*in6); local 212 unsigned int len = sizeof(*in6); local 281 unsigned int len = sizeof(c_ipx); local 476 unsigned int len = sizeof(*nl); local 506 unsigned int len = sizeof(c_ll); local 565 unsigned int len = sizeof(*hci); local 580 unsigned int len = sizeof(c_sco); local 600 unsigned int len = sizeof(c_rc); local 626 unsigned int len = sizeof(c_l2); local 708 unsigned int len = sizeof(*u.st) + 8; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
inftrees.c | 40 unsigned len; /* a code's length in bits */
local 107 for (len = 0; len <= MAXBITS; len++)
108 count[len] = 0;
132 for (len = 1; len <= MAXBITS; len++) {
134 left -= count[len];
142 for (len = 1; len < MAXBITS; len++) [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/ |
inftrees.c | 40 unsigned len; /* a code's length in bits */ local 107 for (len = 0; len <= MAXBITS; len++) 108 count[len] = 0; 132 for (len = 1; len <= MAXBITS; len++) { 134 left -= count[len]; 142 for (len = 1; len < MAXBITS; len++ [all...] |
/external/python/cpython2/Modules/zlib/ |
inftrees.c | 40 unsigned len; /* a code's length in bits */ local 107 for (len = 0; len <= MAXBITS; len++) 108 count[len] = 0; 132 for (len = 1; len <= MAXBITS; len++) { 134 left -= count[len]; 142 for (len = 1; len < MAXBITS; len++ [all...] |
/external/zlib/src/ |
inftrees.c | 40 unsigned len; /* a code's length in bits */ local 107 for (len = 0; len <= MAXBITS; len++) 108 count[len] = 0; 132 for (len = 1; len <= MAXBITS; len++) { 134 left -= count[len]; 142 for (len = 1; len < MAXBITS; len++ [all...] |
/external/u-boot/net/ |
cdp.c | 48 static ushort cdp_compute_csum(const uchar *buff, ushort len) 56 if (len > 0) { 60 len--; 63 while (len > 1) { 69 len -= 2; 71 if (len) { 112 int len; local 155 len = strlen(buf); 156 if (len & 1) /* make it even */ 157 len++ [all...] |