/external/ipsec-tools/src/libipsec/ |
policy_parse.h | 88 int len; member in struct:YYSTYPE::_val
|
test-policy.c | 157 int len; local 174 len = ipsec_get_policylen(policy); 176 printf("\tsetlen:%d\n", len); 179 if (setsockopt(so, proto, optname, policy, len) < 0) { 187 if (getsockopt(so, proto, optname, getbuf, &len) < 0) { 197 printf("\tgetlen:%d\n", len);
|
/external/ipsec-tools/src/racoon/ |
backupsa.c | 100 int len, l, i; local 104 len = sizeof(buf); 108 l = strftime(p, len, format, tm); 110 len -= l; 111 if (len < 0) 114 l = snprintf(p, len, "%%"); 115 if (l < 0 || l >= len) 118 len -= l; 119 if (len < 0) 122 i = getnameinfo(sa_args->src, sysdep_sa_len(sa_args->src), p, len, NULL, 0, NIFLAGS) 366 int i, len; local [all...] |
evt.h | 38 size_t len; member in struct:evtdump
|
isakmp_frag.c | 96 size_t len; local 114 len = buf->l; 116 while (len > 0) { 119 if (len > max_datalen) 122 datalen = len; 140 fraghdr->len = htons(fraglen - sizeof(*hdr)); 143 if (len == datalen) 158 len -= datalen; 185 size_t len; local 199 * frag->len is the frag payload data plus the frag payload header 271 size_t len = 0; local 337 size_t len; local [all...] |
isakmp_unity.c | 127 int len; local 135 if ((len = read(fd, buf, MAXMOTD)) == -1) { 143 buf[len] = '\0'; 270 size_t len; local 276 len = sizeof(struct unity_network) * count; 277 if ((buffer = vmalloc(sizeof(*attr) + len)) == NULL) { 284 new->lorv = htons(len); 365 int len; local 368 len = 1; 374 len += strlen(tmp1) [all...] |
kmpstat.c | 124 int len; local 126 if ((len = send(so, combuf->v, combuf->l, 0)) == -1) { 141 int len; local 149 if ((len = recv(so, &h, sizeof(h), MSG_PEEK)) == -1) 153 if (len < sizeof(h)) 167 while (l < len) { 168 if ((len = recv(so, p, h.ac_len, 0)) < 0) { 172 l += len; 173 p += len; 199 plogdump(pri, data, len) [all...] |
security.c | 67 int len = 0; local 88 len = sa->l - sizeof(*sab); 90 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_P, (struct isakmp_gen *)bp, len); 103 if (pa->len == 0) { 105 "invalid proposal with length %d\n", pa->len); 115 len = ntohs(prop->h.len) - 117 tbuf = isakmp_parsewoh(ISAKMP_NPTYPE_T, (struct isakmp_gen *)bp, len); 130 len = ntohs(trns->h.len) - sizeof(struct isakmp_pl_t) [all...] |
/external/javassist/sample/evolve/ |
DemoServer.java | 95 int len = fin.read(buf);
local 96 if (len >= 0)
97 fout.write(buf, 0, len);
|
/external/javassist/src/main/javassist/ |
URLClassPath.java | 143 int len = 0; local 145 int n = s.read(b, len, size - len); 150 len += n; 151 } while (len < size);
|
/external/jemalloc/test/unit/ |
mallctl.c | 193 size_t len, miblen; local 195 len = sizeof(nbins); 196 assert_d_eq(mallctl("arenas.nbins", &nbins, &len, NULL, 0), 0, 206 len = sizeof(bin_size); 207 assert_d_eq(mallctlbymib(mib, miblen, &bin_size, &len, NULL, 0),
|
util.c | 143 size_t len; local 145 result = malloc_snprintf(buf, len, __VA_ARGS__); \ 146 assert_d_eq(strncmp(buf, expected_str_untruncated, len-1), 0, \ 153 for (len = 1; len < BUFLEN; len++) {
|
/external/kernel-headers/original/uapi/linux/ |
ashmem.h | 31 __u32 len; /* length forward from offset, in bytes, page-aligned */ member in struct:ashmem_pin
|
auto_fs.h | 55 int len; member in struct:autofs_packet_missing 62 int len; member in struct:autofs_packet_expire
|
/external/kernel-headers/original/uapi/linux/netfilter_bridge/ |
ebt_802_3.h | 48 __be16 len; member in struct:ebt_802_3_hdr
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
pscap.c | 72 int fd, len; local 92 len = read(fd, buf, sizeof buf - 1); 94 if (len < 40) 96 buf[len] = 0; 149 len = read(fd, buf, sizeof buf - 1);
|
/external/libcxxabi/src/Unwind/ |
UnwindLevel1-gcc-ext.c | 132 size_t len; local 134 unwindInfo = decode_eht_entry(unwindInfo, &off, &len); 139 result = _Unwind_VRS_Interpret(context, unwindInfo, off, len);
|
/external/libedit/src/ |
chartype.c | 114 size_t len = 0; local 123 len = ct_mbstowcs(NULL, s, (size_t)0); 124 if (len == (size_t)-1) 126 if (len > conv->wsize) 127 ct_conv_buff_resize(conv, (size_t)0, len + 1); 192 ct_encode_char(char *dst, size_t len, Char c) 195 if (len < ct_enc_width(c)) 289 ct_visual_char(Char *dst, size_t len, Char c) 296 if (len < 2) 305 if (len < 1 [all...] |
/external/liblzf/ |
lzf_c.c | 163 unsigned int len = 2; local 164 unsigned int maxlen = in_end - ip - len; 178 len++; if (ref [len] != ip [len]) break; 179 len++; if (ref [len] != ip [len]) break; 180 len++; if (ref [len] != ip [len]) break [all...] |
/external/liblzf/src/org/liblzf/ |
CLZF.java | 191 int len = 2; local 192 int maxlen = in_len - iidx - len; 199 len++; 200 while (len < maxlen && in_data[reference+len] == in_data[iidx+len]); 211 len -= 2; 214 if (len < 7) 216 out_data[oidx++] = (byte)((off >> 8) + (len << 5)); 221 out_data[oidx++] = (byte)(len - 7) 302 int len = ctrl >> 5; local [all...] |
/external/libnfc-nci/src/nfa/dm/ |
nfa_dm_main.c | 228 UINT8 type, len, *p_value, *p_stored, max_len; local 243 while (tlv_list_len - xx >= 2) /* at least type and len */ 247 len = *(p_tlv_list + xx + 1); 373 if ((p_stored)&&(len <= max_len)) 377 if (*p_cur_len != len) 379 *p_cur_len = len; 382 else if (memcmp (p_value, p_stored, len)) 387 else if (len == max_len) /* fixed length */ 389 if (memcmp (p_value, p_stored, len)) 401 memcpy (p_stored, p_value, len); [all...] |
/external/libnfc-nci/src/nfc/nci/ |
nci_hmsgs.c | 53 p->len = NCI_MSG_HDR_SIZE + NCI_CORE_PARAM_SIZE_RESET; 85 p->len = NCI_MSG_HDR_SIZE + NCI_CORE_PARAM_SIZE_INIT; 116 p->len = NCI_MSG_HDR_SIZE + num_ids + 1; 144 UINT8 num = 0, ulen, len, *pt; local 150 p->len = NCI_MSG_HDR_SIZE + tlv_size + 1; 157 len = tlv_size; 159 while (len > 1) 161 len -= 2; 166 if (len >= ulen) 168 len -= ulen 533 UINT8 num = 0, ulen, len, *pt; local [all...] |
nci_hrcv.c | 49 UINT8 *pp, len, op_code; local 58 len = *pp++; 77 nfc_ncif_set_config_status (pp, len); 81 nfc_ncif_proc_conn_create_rsp (p, p_msg->len, *p_old); 108 UINT8 *pp, len, op_code; local 116 len = *pp++; 138 nfc_ncif_proc_credits(pp, len); 160 UINT8 *pp, len, op_code; local 167 len = *pp++; 226 UINT8 *pp, len, op_code local 294 UINT8 *pp, len, op_code; local 354 UINT8 *pp, len, op_code; local 437 UINT8 *pp, len, op_code; local 464 UINT8 *pp, len, op_code; local [all...] |
/external/libopus/celt/ |
opus_custom_demo.c | 50 int len; local 137 len = opus_custom_encode(enc, in, frame_size, data, bytes_per_packet); 138 if (len <= 0) 139 fprintf (stderr, "opus_custom_encode() failed: %s\n", opus_strerror(len)); 146 for (i=0;i<len*8;i++) 168 ret = opus_custom_decode(dec, NULL, len, out, frame_size); 170 ret = opus_custom_decode(dec, data, len, out, frame_size);
|
/external/libopus/src/ |
opus_private.h | 40 opus_int16 len[48]; member in struct:OpusRepacketizer 89 int optimize_framesize(const opus_val16 *x, int len, int C, opus_int32 Fs, 109 int opus_decode_native(OpusDecoder *st, const unsigned char *data, opus_int32 len, 119 int opus_packet_parse_impl(const unsigned char *data, opus_int32 len, 127 int pad_frame(unsigned char *data, opus_int32 len, opus_int32 new_len);
|