/external/iproute2/ip/ |
H A D | rtm_map.c | 25 char *rtnl_rtntype_n2a(int id, char *buf, int len) argument 53 snprintf(buf, len, "%d", id);
|
/external/iproute2/lib/ |
H A D | ipx_ntop.c | 8 static __inline__ int do_digit(char *str, u_int32_t addr, u_int32_t scale, size_t *pos, size_t len) argument 12 if (*pos == len) 25 static const char *ipx_ntop1(const struct ipx_addr *addr, char *str, size_t len) argument 30 if (len == 0) 34 if (do_digit(str + pos, ntohl(addr->ipx_net), i, &pos, len)) 37 if (pos == len) 44 if (do_digit(str + pos, addr->ipx_node[i], 1, &pos, len)) 46 if (do_digit(str + pos, addr->ipx_node[i], 0, &pos, len)) 50 if (pos == len) 59 const char *ipx_ntop(int af, const void *addr, char *str, size_t len) argument [all...] |
H A D | ll_addr.c | 60 int ll_addr_a2n(char *lladdr, int len, const char *arg) argument 68 if (len < 4) 75 for (i=0; i<len; i++) {
|
H A D | mpls_ntop.c | 18 int len = snprintf(dest, destlen, "%u", label); local 25 dest += len; 26 destlen -= len;
|
/external/ipsec-tools/src/racoon/ |
H A D | str2val.c | 56 size_t len = (mlen * 2) + mlen / 8 + 10; local 59 if ((new = racoon_malloc(len)) == 0) return(0); 62 snprintf(&new[j], len - j, "%02x", (u_char)buf[i]); 78 str2val(str, base, len) 81 size_t *len; 123 *len = i;
|
/external/iptables/include/linux/netfilter/ |
H A D | xt_NFLOG.h | 11 /* This flag indicates that 'len' field in xt_nflog_info is set*/ 15 /* 'len' will be used iff you set XT_NFLOG_F_COPY_LEN in flags */ 16 __u32 len; member in struct:xt_nflog_info
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
H A D | xt_NFLOG.h | 11 /* This flag indicates that 'len' field in xt_nflog_info is set*/ 15 /* 'len' will be used iff you set XT_NFLOG_F_COPY_LEN in flags */ 16 __u32 len; member in struct:xt_nflog_info
|
/external/kernel-headers/original/uapi/linux/netfilter_bridge/ |
H A D | ebt_nflog.h | 15 __u32 len; member in struct:ebt_nflog_info
|
/external/kernel-headers/original/uapi/linux/ |
H A D | udp.h | 25 __be16 len; member in struct:udphdr
|
/external/kmod/testsuite/ |
H A D | path.c | 48 size_t len; local 53 len = strlen(path); 55 if (len + rootpathlen > PATH_MAX * 2) {
|
H A D | test-blacklist.c | 44 size_t len = 0; local 77 len++; 81 if (len != 2)
|
H A D | test-dependencies.c | 40 size_t len = 0; local 68 len++; 72 if (len != 3 || !fooa || !foob || !fooc)
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/base64/ |
H A D | Base64.java | 36 len to the Base64 format. The encoded data is appended to the 44 int len, 50 int end = len - 3; 73 if (i == start + len - 2) { 83 else if (i == start + len - 1) { 133 int len = s.length(); 136 while (i < len && s.charAt(i) <= ' ') 139 if (i == len) 41 encode( byte[] data, int start, int len, StringBuffer buf) argument
|
/external/libchrome/crypto/ |
H A D | openssl_bio_string.cc | 14 int bio_string_write(BIO* bio, const char* data, int len) { argument 15 reinterpret_cast<std::string*>(bio->ptr)->append(data, len); 16 return len;
|
/external/libchrome/sandbox/linux/suid/ |
H A D | process_util_linux.c | 74 size_t len = strlen(buf); local 76 ssize_t bytes_written = write(fd, buf, len); 78 return (bytes_written == (ssize_t)len);
|
/external/libcups/cups/ |
H A D | tempfile.c | 40 int len) /* I - Size of buffer */ 98 snprintf(filename, (size_t)len - 1, "%s/%05lx%08lx", tmpdir, GetCurrentProcessId(), curtime); 110 snprintf(filename, (size_t)len - 1, "%s/%05x%08x", tmpdir, (unsigned)getpid(), (unsigned)(curtime.tv_sec + curtime.tv_usec + tries)); 154 int len) /* I - Size of buffer */ 156 (void)len; 176 int len) /* I - Size of buffer */ 182 if ((fd = cupsTempFd(filename, len)) < 0) 39 cupsTempFd(char *filename, int len) argument 153 cupsTempFile(char *filename, int len) argument 175 cupsTempFile2(char *filename, int len) argument
|
/external/libedit/src/ |
H A D | fgetln.c | 48 fgetln(FILE *fp, size_t *len) argument 64 *len = 0; 65 while ((ptr = strchr(&buf[*len], '\n')) == NULL) { 80 *len = strlen(buf); 84 *len = bufsiz; 88 *len = (ptr - buf) + 1; 99 size_t len; local 101 while ((p = fgetln(stdin, &len)) != NULL) { 102 (void)printf("%zu %s", len, p);
|
/external/libldac/src/ |
H A D | func_fixp_ldac.c | 56 int len; local 58 len = 0; 61 len++; 64 return len;
|
/external/liblzf/ |
H A D | lzf_d.c | 48 # define lzf_movsb(dst, src, len) \ 50 : "=D" (dst), "=S" (src), "=c" (len) \ 51 : "0" (dst), "1" (src), "2" (len)); 104 unsigned int len = ctrl >> 5; local 115 if (len == 7) 117 len += *ip++; 129 if (op + len + 2 > out_end) 142 len += 2; 143 lzf_movsb (op, ref, len); 145 switch (len) [all...] |
/external/libnetfilter_conntrack/src/conntrack/ |
H A D | snprintf.c | 67 unsigned int len, 78 size = __snprintf_conntrack_default(buf, len, ct, type, flags, map); 81 size = __snprintf_conntrack_xml(buf, len, ct, type, flags, map); 89 buf[size+1 > len ? len-1 : size] = '\0'; 66 __snprintf_conntrack(char *buf, unsigned int len, const struct nf_conntrack *ct, unsigned int type, unsigned int msg_output, unsigned int flags, struct nfct_labelmap *map) argument
|
/external/libnetfilter_conntrack/src/expect/ |
H A D | snprintf_default.c | 13 __snprintf_expect_timeout(char *buf, unsigned int len, argument 17 return snprintf(buf, len, "%u ", exp->timeout); 23 __snprintf_expect_class(char *buf, unsigned int len, argument 27 return snprintf(buf, len, "class=%u ", exp->class); 33 unsigned int len, 36 return(snprintf(buf, len, "proto=%d ", 41 unsigned int len, 51 ret = snprintf(buf, len, "%9s ", "[NEW]"); 54 ret = snprintf(buf, len, "%9s ", "[UPDATE]"); 57 ret = snprintf(buf, len, " 32 __snprintf_expect_proto(char *buf, unsigned int len, const struct nf_expect *exp) argument 40 __snprintf_expect_default(char *buf, unsigned int len, const struct nf_expect *exp, unsigned int msg_type, unsigned int flags) argument [all...] |
H A D | snprintf_xml.c | 53 snprintf_expect_meta_xml(char *buf, size_t len, argument 59 ret = snprintf(buf, len, "<meta>"); 60 BUFFER_SIZE(ret, size, len, offset); 63 ret = snprintf(buf+offset, len, 66 BUFFER_SIZE(ret, size, len, offset); 69 ret = snprintf(buf+offset, len, "<timeout>%u</timeout>", 71 BUFFER_SIZE(ret, size, len, offset); 74 ret = snprintf(buf+offset, len, "<class>%u</class>", 76 BUFFER_SIZE(ret, size, len, offset); 79 ret = snprintf(buf+offset, len, "<zon 120 snprintf_expect_layer3_xml(char *buf, size_t len, const struct nf_expect *exp) argument 180 snprintf_expect_layer4_xml(char *buf, size_t len, const struct nf_expect *exp) argument 239 __snprintf_expect_xml(char *buf, unsigned int len, const struct nf_expect *exp, unsigned int msg_type, unsigned int flags) argument [all...] |
/external/libnl/lib/netfilter/ |
H A D | netfilter.c | 25 char *nfnl_verdict2str(unsigned int verdict, char *buf, size_t len) argument 27 return __type2str(verdict, buf, len, nfnl_verdicts, 44 char *nfnl_inet_hook2str(unsigned int hook, char *buf, size_t len) argument 46 return __type2str(hook, buf, len, nfnl_inet_hooks,
|
/external/libnl/lib/route/cls/ematch/ |
H A D | cmp.c | 35 static int cmp_parse(struct rtnl_ematch *e, void *data, size_t len) argument 37 memcpy(rtnl_ematch_data(e), data, len); local
|
/external/libnl/src/ |
H A D | nl-list-caches.c | 21 static char *id_attr_list(struct nl_object_ops *ops, char *buf, size_t len) argument 24 return ops->oo_attrs2str(ops->oo_id_attrs, buf, len); 26 memset(buf, 0, len);
|