Searched defs:len (Results 426 - 450 of 5037) sorted by relevance

<<11121314151617181920>>

/external/iproute2/ip/
H A Drtm_map.c25 char *rtnl_rtntype_n2a(int id, char *buf, int len) argument
53 snprintf(buf, len, "%d", id);
/external/iproute2/lib/
H A Dipx_ntop.c8 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 Dll_addr.c60 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 Dmpls_ntop.c18 int len = snprintf(dest, destlen, "%u", label); local
25 dest += len;
26 destlen -= len;
/external/ipsec-tools/src/racoon/
H A Dstr2val.c56 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 Dxt_NFLOG.h11 /* 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 Dxt_NFLOG.h11 /* 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 Debt_nflog.h15 __u32 len; member in struct:ebt_nflog_info
/external/kernel-headers/original/uapi/linux/
H A Dudp.h25 __be16 len; member in struct:udphdr
/external/kmod/testsuite/
H A Dpath.c48 size_t len; local
53 len = strlen(path);
55 if (len + rootpathlen > PATH_MAX * 2) {
H A Dtest-blacklist.c44 size_t len = 0; local
77 len++;
81 if (len != 2)
H A Dtest-dependencies.c40 size_t len = 0; local
68 len++;
72 if (len != 3 || !fooa || !foob || !fooc)
/external/ksoap2/kobjects/org/ksoap2/kobjects/base64/
H A DBase64.java36 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 Dopenssl_bio_string.cc14 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 Dprocess_util_linux.c74 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 Dtempfile.c40 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 Dfgetln.c48 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 Dfunc_fixp_ldac.c56 int len; local
58 len = 0;
61 len++;
64 return len;
/external/liblzf/
H A Dlzf_d.c48 # 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 Dsnprintf.c67 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 Dsnprintf_default.c13 __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 Dsnprintf_xml.c53 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 Dnetfilter.c25 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 Dcmp.c35 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 Dnl-list-caches.c21 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);

Completed in 2555 milliseconds

<<11121314151617181920>>