Searched refs:buflen (Results 1 - 25 of 401) sorted by relevance

1234567891011>>

/external/tcpdump/
H A Ddecode_prefix.h36 extern int decode_prefix4(const u_char *pptr, u_int itemlen, char *buf, u_int buflen);
38 extern int decode_prefix6(const u_char *pd, u_int itemlen, char *buf, u_int buflen);
/external/toybox/lib/
H A Dpending.h5 int read_password(char * buff, int buflen, char* mesg);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dctrl_iface_ap.h13 char *buf, size_t buflen);
15 char *buf, size_t buflen);
17 char *buf, size_t buflen);
23 size_t buflen);
H A Dp2p_hostapd.h15 char *buf, size_t buflen);
26 char *buf, size_t buflen)
24 hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
H A Dctrl_iface_ap.c28 char *buf, size_t buflen)
36 ret = os_snprintf(buf, buflen, "rx_packets=%lu\ntx_packets=%lu\n"
40 if (os_snprintf_error(buflen, ret))
47 char *buf, size_t buflen)
57 ret = os_snprintf(buf, buflen, "connected_time=%u\n",
59 if (os_snprintf_error(buflen, ret))
86 char *buf, size_t buflen)
94 ret = os_snprintf(buf + len, buflen - len, MACSTR "\nflags=",
96 if (os_snprintf_error(buflen - len, ret))
100 ret = ap_sta_flags_txt(sta->flags, buf + len, buflen
26 hostapd_get_sta_tx_rx(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
46 hostapd_get_sta_conn_time(struct sta_info *sta, char *buf, size_t buflen) argument
84 hostapd_ctrl_iface_sta_mib(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
167 hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd, char *buf, size_t buflen) argument
174 hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument
213 hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument
408 hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf, size_t buflen) argument
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dctrl_iface_ap.h13 char *buf, size_t buflen);
15 char *buf, size_t buflen);
17 char *buf, size_t buflen);
23 size_t buflen);
H A Dp2p_hostapd.h15 char *buf, size_t buflen);
26 char *buf, size_t buflen)
24 hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
H A Dctrl_iface_ap.c28 char *buf, size_t buflen)
36 ret = os_snprintf(buf, buflen, "rx_packets=%lu\ntx_packets=%lu\n"
40 if (os_snprintf_error(buflen, ret))
47 char *buf, size_t buflen)
57 ret = os_snprintf(buf, buflen, "connected_time=%u\n",
59 if (os_snprintf_error(buflen, ret))
86 char *buf, size_t buflen)
94 ret = os_snprintf(buf + len, buflen - len, MACSTR "\nflags=",
96 if (os_snprintf_error(buflen - len, ret))
100 ret = ap_sta_flags_txt(sta->flags, buf + len, buflen
26 hostapd_get_sta_tx_rx(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
46 hostapd_get_sta_conn_time(struct sta_info *sta, char *buf, size_t buflen) argument
84 hostapd_ctrl_iface_sta_mib(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
167 hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd, char *buf, size_t buflen) argument
174 hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument
213 hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument
408 hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf, size_t buflen) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dctrl_iface_ap.h13 char *buf, size_t buflen);
15 char *buf, size_t buflen);
17 char *buf, size_t buflen);
23 size_t buflen);
H A Dp2p_hostapd.h15 char *buf, size_t buflen);
26 char *buf, size_t buflen)
24 hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
H A Dctrl_iface_ap.c28 char *buf, size_t buflen)
36 ret = os_snprintf(buf, buflen, "rx_packets=%lu\ntx_packets=%lu\n"
40 if (os_snprintf_error(buflen, ret))
47 char *buf, size_t buflen)
57 ret = os_snprintf(buf, buflen, "connected_time=%u\n",
59 if (os_snprintf_error(buflen, ret))
86 char *buf, size_t buflen)
94 ret = os_snprintf(buf + len, buflen - len, MACSTR "\nflags=",
96 if (os_snprintf_error(buflen - len, ret))
100 ret = ap_sta_flags_txt(sta->flags, buf + len, buflen
26 hostapd_get_sta_tx_rx(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
46 hostapd_get_sta_conn_time(struct sta_info *sta, char *buf, size_t buflen) argument
84 hostapd_ctrl_iface_sta_mib(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
167 hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd, char *buf, size_t buflen) argument
174 hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument
213 hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument
408 hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf, size_t buflen) argument
[all...]
/external/bison/lib/
H A Dstrerror_r.c37 extern int __xpg_strerror_r (int errnum, char *buf, size_t buflen);
96 local_snprintf (char *buf, size_t buflen, const char *format, ...) argument
102 result = _vsnprintf (buf, buflen, format, args);
104 if (buflen > 0 && (result < 0 || result >= buflen))
105 buf[buflen - 1] = '\0';
114 safe_copy (char *buf, size_t buflen, const char *msg) argument
119 if (len < buflen)
128 memcpy (buf, msg, buflen - 1);
129 buf[buflen
137 strerror_r(int errnum, char *buf, size_t buflen) argument
[all...]
/external/vboot_reference/host/lib21/include/
H A Dhost_misc2.h34 char *buf, unsigned int buflen);
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dip_addr.c15 size_t buflen)
17 if (buflen == 0 || addr == NULL)
21 os_strlcpy(buf, inet_ntoa(addr->u.v4), buflen);
27 if (inet_ntop(AF_INET6, &addr->u.v6, buf, buflen) == NULL)
14 hostapd_ip_txt(const struct hostapd_ip_addr *addr, char *buf, size_t buflen) argument
H A Dip_addr.h24 size_t buflen);
H A Dwpa_debug.c128 ssize_t buflen; local
137 buflen = read(mounts, buf, sizeof(buf) - 1);
139 if (buflen < 0) {
609 int buflen; local
614 buflen = vsnprintf(NULL, 0, fmt, ap) + 1;
617 buf = os_malloc(buflen);
634 len = vsnprintf(buf, buflen, fmt, ap);
639 bin_clear_free(buf, buflen);
647 int buflen; local
654 buflen
675 int buflen; local
702 int buflen; local
730 int buflen; local
769 int buflen; local
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dip_addr.c15 size_t buflen)
17 if (buflen == 0 || addr == NULL)
21 os_strlcpy(buf, inet_ntoa(addr->u.v4), buflen);
27 if (inet_ntop(AF_INET6, &addr->u.v6, buf, buflen) == NULL)
14 hostapd_ip_txt(const struct hostapd_ip_addr *addr, char *buf, size_t buflen) argument
H A Dip_addr.h24 size_t buflen);
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dip_addr.c15 size_t buflen)
17 if (buflen == 0 || addr == NULL)
21 os_strlcpy(buf, inet_ntoa(addr->u.v4), buflen);
27 if (inet_ntop(AF_INET6, &addr->u.v6, buf, buflen) == NULL)
14 hostapd_ip_txt(const struct hostapd_ip_addr *addr, char *buf, size_t buflen) argument
H A Dip_addr.h24 size_t buflen);
/external/jemalloc/test/src/
H A Dtimer.c43 timer_ratio(timedelta_t *a, timedelta_t *b, char *buf, size_t buflen) argument
53 n = malloc_snprintf(&buf[i], buflen-i, "%"PRIu64, t0 / t1);
55 if (i >= buflen)
62 n = malloc_snprintf(&buf[i], buflen-i, ".");
66 while (i < buflen-1) {
67 uint64_t round = (i+1 == buflen-1 && ((t0 * mult * 10 / t1) % 10
69 n = malloc_snprintf(&buf[i], buflen-i,
/external/wpa_supplicant_8/wpa_supplicant/
H A Dmain_winsvc.c67 DWORD buflen, val; local
81 buflen = sizeof(ctrl_interface);
83 (LPBYTE) ctrl_interface, &buflen);
88 (int) buflen, (char *) ctrl_interface);
92 buflen = sizeof(adapter);
94 (LPBYTE) adapter, &buflen);
99 (int) buflen, (char *) adapter);
103 buflen = sizeof(config);
105 (LPBYTE) config, &buflen);
110 (int) buflen, (cha
140 DWORD val, buflen, i; local
[all...]
/external/ipsec-tools/src/racoon/
H A Dprivsep.c290 size_t *buflen; local
301 "corrupted privsep message (short buflen)\n");
309 data += combuf->bufs.buflen[i];
310 totallen += combuf->bufs.buflen[i];
345 bufs[0][combuf->bufs.buflen[0] - 1] = '\0';
361 reply->bufs.buflen[0] = privkey->l;
392 bufs[0][combuf->bufs.buflen[0] - 1] = '\0';
398 if (combuf->bufs.buflen[count] == 0)
401 [combuf->bufs.buflen[count] - 1] = '\0';
433 if (combuf->bufs.buflen[coun
[all...]
/external/boringssl/src/crypto/ecdh/
H A Decdh.c86 size_t buflen; local
120 buflen = (EC_GROUP_get_degree(group) + 7) / 8;
121 buf = OPENSSL_malloc(buflen);
127 if (!BN_bn2bin_padded(buf, buflen, x)) {
133 if (KDF(buf, buflen, out, &outlen) == NULL) {
140 if (outlen > buflen) {
141 outlen = buflen;
/external/linux-tools-perf/src/tools/perf/util/
H A Dtarget.c108 char *buf, size_t buflen)
113 BUG_ON(buflen == 0);
116 const char *err = strerror_r(errnum, buf, buflen);
120 memcpy(buf, err, min(buflen - 1, len));
121 *(buf + min(buflen - 1, len)) = '\0';
137 snprintf(buf, buflen, "%s", msg);
142 snprintf(buf, buflen, msg, target->uid_str);
107 perf_target__strerror(struct perf_target *target, int errnum, char *buf, size_t buflen) argument

Completed in 916 milliseconds

1234567891011>>