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

1234567891011>>

/external/curl/src/
H A Dtool_getpass.h33 char *getpass_r(const char *prompt, char *buffer, size_t buflen);
/external/dtc/tests/
H A Dget_path.c32 static void check_path_buf(void *fdt, const char *path, int pathlen, int buflen) argument
35 char buf[buflen+1];
44 len = fdt_get_path(fdt, offset, buf, buflen);
47 if (buflen <= pathlen) {
50 "insufficient buffer space", buflen, len);
53 FAIL("fdt_get_path([%d bytes]): %s", buflen,
57 "instead of 0", buflen, len);
60 "instead of \"%s\"", buflen, buf, path);
63 if (buf[buflen] != POISON)
64 FAIL("fdt_get_path([%d bytes]) overran buffer", buflen);
[all...]
/external/dhcpcd-6.8.2/compat/
H A Dgetline.c41 getline(char ** __restrict buf, size_t * __restrict buflen, argument
47 if (buf == NULL || buflen == NULL) {
52 *buflen = 0;
58 if (*buf == NULL || bytes != 0 || *buflen < BUFSIZ) {
59 newlen = *buflen + BUFSIZ;
64 *buflen = newlen;
H A Dgetline.h34 ssize_t getline(char ** __restrict buf, size_t * __restrict buflen,
/external/wpa_supplicant_8/hostapd/src/fst/
H A Dfst_ctrl_iface.h17 int fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen);
19 int fst_ctrl_iface_receive(const char *txtaddr, char *buf, size_t buflen);
26 fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen) argument
34 int fst_read_next_text_param(const char *params, char *buf, size_t buflen,
/external/wpa_supplicant_8/src/fst/
H A Dfst_ctrl_iface.h17 int fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen);
19 int fst_ctrl_iface_receive(const char *txtaddr, char *buf, size_t buflen);
26 fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen) argument
34 int fst_read_next_text_param(const char *params, char *buf, size_t buflen,
/external/wpa_supplicant_8/wpa_supplicant/src/fst/
H A Dfst_ctrl_iface.h17 int fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen);
19 int fst_ctrl_iface_receive(const char *txtaddr, char *buf, size_t buflen);
26 fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen) argument
34 int fst_read_next_text_param(const char *params, char *buf, size_t buflen,
/external/fio/lib/
H A Doutput_buffer.c14 out->buflen = 0;
25 if (out->max_buflen - out->buflen < len) {
26 size_t need = len - (out->max_buflen - out->buflen);
33 old_max = max(old_max, out->buflen + len);
39 memcpy(&out->buf[out->buflen], buf, len);
40 out->buflen += len;
48 if (out->buflen) {
49 ret = log_info_buf(out->buf, out->buflen);
51 out->buflen = 0;
/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);
24 char *buf, size_t buflen);
28 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.c31 char *buf, size_t buflen)
40 ret = os_snprintf(buf, buflen, "rx_packets=%lu\ntx_packets=%lu\n"
46 if (os_snprintf_error(buflen, ret))
50 ret = os_snprintf(buf + len, buflen - len, "rx_rate_info=%lu",
52 if (os_snprintf_error(buflen - len, ret))
56 ret = os_snprintf(buf + len, buflen - len, " mcs %u",
58 if (!os_snprintf_error(buflen - len, ret))
62 ret = os_snprintf(buf + len, buflen - len, " vhtmcs %u",
64 if (!os_snprintf_error(buflen - len, ret))
68 ret = os_snprintf(buf + len, buflen
29 hostapd_get_sta_tx_rx(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
118 hostapd_get_sta_conn_time(struct sta_info *sta, char *buf, size_t buflen) argument
156 hostapd_ctrl_iface_sta_mib(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) argument
252 hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd, char *buf, size_t buflen) argument
259 hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument
301 hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument
503 hostapd_ctrl_iface_signature(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) argument
545 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);
24 char *buf, size_t buflen);
28 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
/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);
24 char *buf, size_t buflen);
28 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
/external/webrtc/webrtc/base/
H A Dstringencode.cc26 size_t escape(char * buffer, size_t buflen, argument
30 if (buflen <= 0)
34 while ((srcpos < srclen) && (bufpos + 1 < buflen)) {
37 if (bufpos + 2 >= buflen)
48 size_t unescape(char * buffer, size_t buflen, argument
52 if (buflen <= 0)
56 while ((srcpos < srclen) && (bufpos + 1 < buflen)) {
67 size_t encode(char * buffer, size_t buflen, argument
71 if (buflen <= 0)
75 while ((srcpos < srclen) && (bufpos + 1 < buflen)) {
92 decode(char * buffer, size_t buflen, const char * source, size_t srclen, char escape) argument
143 url_encode(char * buffer, size_t buflen, const char * source, size_t srclen) argument
169 url_decode(char * buffer, size_t buflen, const char * source, size_t srclen) argument
232 utf8_encode(char* buffer, size_t buflen, unsigned long value) argument
258 html_encode(char * buffer, size_t buflen, const char * source, size_t srclen) argument
311 html_decode(char * buffer, size_t buflen, const char * source, size_t srclen) argument
317 xml_encode(char * buffer, size_t buflen, const char * source, size_t srclen) argument
350 xml_decode(char * buffer, size_t buflen, const char * source, size_t srclen) argument
431 hex_encode(char* buffer, size_t buflen, const char* csource, size_t srclen) argument
436 hex_encode_with_delimiter(char* buffer, size_t buflen, const char* csource, size_t srclen, char delimiter) argument
487 hex_decode(char * cbuffer, size_t buflen, const char * source, size_t srclen) argument
492 hex_decode_with_delimiter(char* cbuffer, size_t buflen, const char* source, size_t srclen, char delimiter) argument
531 hex_decode(char* buffer, size_t buflen, const std::string& source) argument
534 hex_decode_with_delimiter(char* buffer, size_t buflen, const std::string& source, char delimiter) argument
[all...]
/external/jemalloc/test/src/
H A Dtimer.c30 timer_ratio(timedelta_t *a, timedelta_t *b, char *buf, size_t buflen) argument
39 n = malloc_snprintf(&buf[i], buflen-i, "%"FMTu64, t0 / t1);
41 if (i >= buflen)
48 n = malloc_snprintf(&buf[i], buflen-i, ".");
52 while (i < buflen-1) {
53 uint64_t round = (i+1 == buflen-1 && ((t0 * mult * 10 / t1) % 10
55 n = malloc_snprintf(&buf[i], buflen-i,
/external/iproute2/lib/
H A Dmpls_ntop.c9 static const char *mpls_ntop1(const struct mpls_label *addr, char *buf, size_t buflen) argument
11 size_t destlen = buflen;
39 const char *mpls_ntop(int af, const void *addr, char *buf, size_t buflen) argument
44 return mpls_ntop1((struct mpls_label *)addr, buf, buflen);
/external/toybox/lib/
H A Dpending.h5 int read_password(char * buff, int buflen, char* mesg);
/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
/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
/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
/external/linux-kselftest/tools/testing/selftests/android/ion/
H A Dionutils.h15 unsigned long buflen; member in struct:socket_info
24 unsigned long buflen; member in struct:ion_buffer_info
/external/boringssl/src/crypto/ecdh/
H A Decdh.c97 size_t buflen = 0; local
123 buflen = (EC_GROUP_get_degree(group) + 7) / 8;
124 buf = OPENSSL_malloc(buflen);
130 if (!BN_bn2bin_padded(buf, buflen, x)) {
136 if (kdf(buf, buflen, out, &outlen) == NULL) {
142 if (buflen < outlen) {
143 outlen = buflen;

Completed in 578 milliseconds

1234567891011>>