/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ctrl_iface_ap.c | 29 static size_t hostapd_write_ht_mcs_bitmask(char *buf, size_t buflen, in hostapd_write_ht_mcs_bitmask() argument 35 ret = os_snprintf(buf + len, buflen - len, in hostapd_write_ht_mcs_bitmask() 37 if (os_snprintf_error(buflen - len, ret)) in hostapd_write_ht_mcs_bitmask() 42 len += wpa_snprintf_hex(buf + len, buflen - len, mcs_set, 10); in hostapd_write_ht_mcs_bitmask() 44 ret = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_write_ht_mcs_bitmask() 45 if (os_snprintf_error(buflen - len, ret)) in hostapd_write_ht_mcs_bitmask() 55 char *buf, size_t buflen) in hostapd_get_sta_conn_time() 72 ret = os_snprintf(buf, buflen, "connected_time=%lu\n", secs); in hostapd_get_sta_conn_time() 73 if (os_snprintf_error(buflen, ret)) in hostapd_get_sta_conn_time() 81 char *buf, size_t buflen) in hostapd_get_sta_info() 53 hostapd_get_sta_conn_time(struct sta_info *sta, struct hostap_sta_driver_data *data, char *buf, size_t buflen) hostapd_get_sta_conn_time() argument 79 hostapd_get_sta_info(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) hostapd_get_sta_info() argument 214 hostapd_ctrl_iface_sta_mib(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) hostapd_ctrl_iface_sta_mib() argument 392 hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd, char *buf, size_t buflen) hostapd_ctrl_iface_sta_first() argument 399 hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) hostapd_ctrl_iface_sta() argument 441 hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) hostapd_ctrl_iface_sta_next() argument 642 hostapd_ctrl_iface_signature(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) hostapd_ctrl_iface_signature() argument 684 hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf, size_t buflen) hostapd_ctrl_iface_status() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | ctrl_iface_ap.c | 29 static size_t hostapd_write_ht_mcs_bitmask(char *buf, size_t buflen, in hostapd_write_ht_mcs_bitmask() argument 35 ret = os_snprintf(buf + len, buflen - len, in hostapd_write_ht_mcs_bitmask() 37 if (os_snprintf_error(buflen - len, ret)) in hostapd_write_ht_mcs_bitmask() 42 len += wpa_snprintf_hex(buf + len, buflen - len, mcs_set, 10); in hostapd_write_ht_mcs_bitmask() 44 ret = os_snprintf(buf + len, buflen - len, "\n"); in hostapd_write_ht_mcs_bitmask() 45 if (os_snprintf_error(buflen - len, ret)) in hostapd_write_ht_mcs_bitmask() 55 char *buf, size_t buflen) in hostapd_get_sta_tx_rx() 64 ret = os_snprintf(buf, buflen, "rx_packets=%lu\ntx_packets=%lu\n" in hostapd_get_sta_tx_rx() 70 if (os_snprintf_error(buflen, ret)) in hostapd_get_sta_tx_rx() 74 ret = os_snprintf(buf + len, buflen in hostapd_get_sta_tx_rx() 53 hostapd_get_sta_tx_rx(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) hostapd_get_sta_tx_rx() argument 167 hostapd_get_sta_conn_time(struct sta_info *sta, char *buf, size_t buflen) hostapd_get_sta_conn_time() argument 205 hostapd_ctrl_iface_sta_mib(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) hostapd_ctrl_iface_sta_mib() argument 356 hostapd_ctrl_iface_sta_first(struct hostapd_data *hapd, char *buf, size_t buflen) hostapd_ctrl_iface_sta_first() argument 363 hostapd_ctrl_iface_sta(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) hostapd_ctrl_iface_sta() argument 405 hostapd_ctrl_iface_sta_next(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) hostapd_ctrl_iface_sta_next() argument 607 hostapd_ctrl_iface_signature(struct hostapd_data *hapd, const char *txtaddr, char *buf, size_t buflen) hostapd_ctrl_iface_signature() argument 649 hostapd_ctrl_iface_status(struct hostapd_data *hapd, char *buf, size_t buflen) hostapd_ctrl_iface_status() argument [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon_block.c | 43 * buflen: contains the amount of data already in buf on entry. Updated with the 44 * amount of data in buf at the end. On entry *buflen must always be 51 * *buflen is updated containing the amount of data in buf. *in is updated to 56 size_t ossl_cipher_fillblock(unsigned char *buf, size_t *buflen, in ossl_cipher_fillblock() argument 61 size_t bufremain = blocksize - *buflen; in ossl_cipher_fillblock() 63 assert(*buflen <= blocksize); in ossl_cipher_fillblock() 68 memcpy(buf + *buflen, *in, bufremain); in ossl_cipher_fillblock() 71 *buflen += bufremain; in ossl_cipher_fillblock() 80 int ossl_cipher_trailingdata(unsigned char *buf, size_t *buflen, size_t blocksize, in ossl_cipher_trailingdata() argument 86 if (*buflen in ossl_cipher_trailingdata() 99 ossl_cipher_padblock(unsigned char *buf, size_t *buflen, size_t blocksize) ossl_cipher_padblock() argument 108 ossl_cipher_unpadblock(unsigned char *buf, size_t *buflen, size_t blocksize) ossl_cipher_unpadblock() argument 158 ossl_cipher_tlsunpadblock(OSSL_LIB_CTX *libctx, unsigned int tlsversion, unsigned char *buf, size_t *buflen, size_t blocksize, unsigned char **mac, int *alloced, size_t macsize, int aead) ossl_cipher_tlsunpadblock() argument [all...] |
/third_party/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon_block.c | 43 * buflen: contains the amount of data already in buf on entry. Updated with the 44 * amount of data in buf at the end. On entry *buflen must always be 51 * *buflen is updated containing the amount of data in buf. *in is updated to 56 size_t ossl_cipher_fillblock(unsigned char *buf, size_t *buflen, in ossl_cipher_fillblock() argument 61 size_t bufremain = blocksize - *buflen; in ossl_cipher_fillblock() 63 assert(*buflen <= blocksize); in ossl_cipher_fillblock() 68 memcpy(buf + *buflen, *in, bufremain); in ossl_cipher_fillblock() 71 *buflen += bufremain; in ossl_cipher_fillblock() 80 int ossl_cipher_trailingdata(unsigned char *buf, size_t *buflen, size_t blocksize, in ossl_cipher_trailingdata() argument 86 if (*buflen in ossl_cipher_trailingdata() 99 ossl_cipher_padblock(unsigned char *buf, size_t *buflen, size_t blocksize) ossl_cipher_padblock() argument 108 ossl_cipher_unpadblock(unsigned char *buf, size_t *buflen, size_t blocksize) ossl_cipher_unpadblock() argument 158 ossl_cipher_tlsunpadblock(OSSL_LIB_CTX *libctx, unsigned int tlsversion, unsigned char *buf, size_t *buflen, size_t blocksize, unsigned char **mac, int *alloced, size_t macsize, int aead) ossl_cipher_tlsunpadblock() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/ |
H A D | fst_ctrl_iface.c | 171 static int session_get(const char *session_id, char *buf, size_t buflen) in session_get() argument 183 return os_snprintf(buf, buflen, "FAIL\n"); in session_get() 191 return os_snprintf(buf, buflen, in session_get() 210 static int session_set(const char *session_id, char *buf, size_t buflen) in session_set() argument 222 return os_snprintf(buf, buflen, "FAIL\n"); in session_set() 226 return os_snprintf(buf, buflen, "FAIL\n"); in session_set() 241 return os_snprintf(buf, buflen, "FAIL\n"); in session_set() 244 return os_snprintf(buf, buflen, "%s\n", ret ? "FAIL" : "OK"); in session_set() 249 static int session_add(const char *group_id, char *buf, size_t buflen) in session_add() argument 258 return os_snprintf(buf, buflen, "FAI in session_add() 273 session_remove(const char *session_id, char *buf, size_t buflen) session_remove() argument 297 session_initiate(const char *session_id, char *buf, size_t buflen) session_initiate() argument 320 session_respond(const char *session_id, char *buf, size_t buflen) session_respond() argument 363 session_transfer(const char *session_id, char *buf, size_t buflen) session_transfer() argument 387 session_teardown(const char *session_id, char *buf, size_t buflen) session_teardown() argument 412 test_request(const char *request, char *buf, size_t buflen) test_request() argument 464 size_t buflen; global() member 483 list_sessions(const char *group_id, char *buf, size_t buflen) list_sessions() argument 508 iface_peers(const char *group_id, char *buf, size_t buflen) iface_peers() argument 557 get_peer_mbies(const char *params, char *buf, size_t buflen) get_peer_mbies() argument 596 list_ifaces(const char *group_id, char *buf, size_t buflen) list_ifaces() argument 629 list_groups(const char *cmd, char *buf, size_t buflen) list_groups() argument 660 print_band(unsigned num, struct fst_iface *iface, const u8 *addr, char *buf, size_t buflen) print_band() argument 743 fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen) fst_ctrl_iface_mb_info() argument 839 fst_read_next_text_param(const char *params, char *buf, size_t buflen, char **endp) fst_read_next_text_param() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/ |
H A D | fst_ctrl_iface.c | 171 static int session_get(const char *session_id, char *buf, size_t buflen) in session_get() argument 183 return os_snprintf(buf, buflen, "FAIL\n"); in session_get() 191 return os_snprintf(buf, buflen, in session_get() 210 static int session_set(const char *session_id, char *buf, size_t buflen) in session_set() argument 222 return os_snprintf(buf, buflen, "FAIL\n"); in session_set() 226 return os_snprintf(buf, buflen, "FAIL\n"); in session_set() 241 return os_snprintf(buf, buflen, "FAIL\n"); in session_set() 244 return os_snprintf(buf, buflen, "%s\n", ret ? "FAIL" : "OK"); in session_set() 249 static int session_add(const char *group_id, char *buf, size_t buflen) in session_add() argument 258 return os_snprintf(buf, buflen, "FAI in session_add() 273 session_remove(const char *session_id, char *buf, size_t buflen) session_remove() argument 297 session_initiate(const char *session_id, char *buf, size_t buflen) session_initiate() argument 320 session_respond(const char *session_id, char *buf, size_t buflen) session_respond() argument 363 session_transfer(const char *session_id, char *buf, size_t buflen) session_transfer() argument 387 session_teardown(const char *session_id, char *buf, size_t buflen) session_teardown() argument 412 test_request(const char *request, char *buf, size_t buflen) test_request() argument 464 size_t buflen; global() member 483 list_sessions(const char *group_id, char *buf, size_t buflen) list_sessions() argument 508 iface_peers(const char *group_id, char *buf, size_t buflen) iface_peers() argument 557 get_peer_mbies(const char *params, char *buf, size_t buflen) get_peer_mbies() argument 596 list_ifaces(const char *group_id, char *buf, size_t buflen) list_ifaces() argument 629 list_groups(const char *cmd, char *buf, size_t buflen) list_groups() argument 660 print_band(unsigned num, struct fst_iface *iface, const u8 *addr, char *buf, size_t buflen) print_band() argument 743 fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen) fst_ctrl_iface_mb_info() argument 839 fst_read_next_text_param(const char *params, char *buf, size_t buflen, char **endp) fst_read_next_text_param() argument [all...] |
/third_party/libcoap/tests/ |
H A D | test_wellknown.c | 37 size_t buflen, offset, ofs; in t_wellknown1() local 55 buflen = sizeof(buf); in t_wellknown1() 57 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown1() 60 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown1() 66 buflen = sizeof(buf); in t_wellknown1() 67 result = coap_print_link(r, buf, &buflen, &ofs); in t_wellknown1() 70 CU_ASSERT(buflen == sizeof(teststr)); in t_wellknown1() 73 buflen = sizeof(buf); in t_wellknown1() 74 ofs = buflen; in t_wellknown1() 75 result = coap_print_link(r, buf, &buflen, in t_wellknown1() 86 size_t buflen, offset, ofs; t_wellknown2() local 142 size_t buflen = sizeof(buf); t_wellknown3() local 171 size_t buflen = sizeof(buf); t_wellknown4() local [all...] |
H A D | test_uri.c | 147 size_t buflen = sizeof(buf); in t_parse_uri7() local 173 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen); in t_parse_uri7() 175 CU_ASSERT(buflen == sizeof(checkbuf)); in t_parse_uri7() 176 CU_ASSERT_NSTRING_EQUAL(buf, checkbuf, buflen); in t_parse_uri7() 246 size_t buflen = sizeof(buf); in t_parse_uri11() local 272 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen); in t_parse_uri11() 274 CU_ASSERT(buflen == sizeof(checkbuf)); in t_parse_uri11() 275 CU_ASSERT_NSTRING_EQUAL(buf, checkbuf, buflen); in t_parse_uri11() 287 size_t buflen = sizeof(buf); in t_parse_uri12() local 309 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen); in t_parse_uri12() 364 size_t buflen = sizeof(buf); t_parse_uri14() local 387 size_t buflen = sizeof(buf); t_parse_uri15() local 402 size_t buflen = sizeof(buf); t_parse_uri16() local 423 size_t buflen = sizeof(buf); t_parse_uri17() local 576 size_t buflen = sizeof(buf); t_parse_uri24() local [all...] |
/third_party/openssl/crypto/ |
H A D | o_str.c | 138 static int hexstr2buf_sep(unsigned char *buf, size_t buf_n, size_t *buflen, in hexstr2buf_sep() argument 173 if (buflen != NULL) in hexstr2buf_sep() 174 *buflen = cnt; in hexstr2buf_sep() 181 int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen, in OPENSSL_hexstr2buf_ex() argument 184 return hexstr2buf_sep(buf, buf_n, buflen, str, sep); in OPENSSL_hexstr2buf_ex() 187 unsigned char *ossl_hexstr2buf_sep(const char *str, long *buflen, in ossl_hexstr2buf_sep() argument 204 if (buflen != NULL) in ossl_hexstr2buf_sep() 205 *buflen = 0; in ossl_hexstr2buf_sep() 208 if (buflen != NULL) in ossl_hexstr2buf_sep() 209 *buflen in ossl_hexstr2buf_sep() 216 OPENSSL_hexstr2buf(const char *str, long *buflen) OPENSSL_hexstr2buf() argument 221 buf2hexstr_sep(char *str, size_t str_n, size_t *strlength, const unsigned char *buf, size_t buflen, const char sep) buf2hexstr_sep() argument 261 OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength, const unsigned char *buf, size_t buflen, const char sep) OPENSSL_buf2hexstr_ex() argument 268 ossl_buf2hexstr_sep(const unsigned char *buf, long buflen, char sep) ossl_buf2hexstr_sep() argument 294 OPENSSL_buf2hexstr(const unsigned char *buf, long buflen) OPENSSL_buf2hexstr() argument 299 openssl_strerror_r(int errnum, char *buf, size_t buflen) openssl_strerror_r() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | o_str.c | 138 static int hexstr2buf_sep(unsigned char *buf, size_t buf_n, size_t *buflen, in hexstr2buf_sep() argument 173 if (buflen != NULL) in hexstr2buf_sep() 174 *buflen = cnt; in hexstr2buf_sep() 181 int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen, in OPENSSL_hexstr2buf_ex() argument 184 return hexstr2buf_sep(buf, buf_n, buflen, str, sep); in OPENSSL_hexstr2buf_ex() 187 unsigned char *ossl_hexstr2buf_sep(const char *str, long *buflen, in ossl_hexstr2buf_sep() argument 204 if (buflen != NULL) in ossl_hexstr2buf_sep() 205 *buflen = 0; in ossl_hexstr2buf_sep() 208 if (buflen != NULL) in ossl_hexstr2buf_sep() 209 *buflen in ossl_hexstr2buf_sep() 216 OPENSSL_hexstr2buf(const char *str, long *buflen) OPENSSL_hexstr2buf() argument 221 buf2hexstr_sep(char *str, size_t str_n, size_t *strlength, const unsigned char *buf, size_t buflen, const char sep) buf2hexstr_sep() argument 259 OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength, const unsigned char *buf, size_t buflen, const char sep) OPENSSL_buf2hexstr_ex() argument 266 ossl_buf2hexstr_sep(const unsigned char *buf, long buflen, char sep) ossl_buf2hexstr_sep() argument 292 OPENSSL_buf2hexstr(const unsigned char *buf, long buflen) OPENSSL_buf2hexstr() argument 297 openssl_strerror_r(int errnum, char *buf, size_t buflen) openssl_strerror_r() argument [all...] |
/third_party/backends/backend/ |
H A D | sceptre.h | 100 #define MKSCSI_GET_STATUS(cdb, buflen) \ 105 cdb.data[4] = buflen; \ 109 #define MKSCSI_INQUIRY(cdb, buflen) \ 114 cdb.data[4] = buflen; \ 118 #define MKSCSI_MODE_SELECT(cdb, pf, sp, buflen) \ 123 cdb.data[4] = buflen; \ 127 #define MKSCSI_MODE_SENSE(cdb, pc, page_code, buflen) \ 132 cdb.data[4] = buflen; \ 145 #define MKSCSI_RECEIVE_DIAG(cdb, pc, buflen) \ 149 cdb.data[3] = (((buflen) >> [all...] |
H A D | teco1.h | 91 #define MKSCSI_GET_DATA_BUFFER_STATUS(cdb, wait, buflen) \ 99 cdb.data[7] = (((buflen) >> 8) & 0xff); \ 100 cdb.data[8] = (((buflen) >> 0) & 0xff); \ 104 #define MKSCSI_INQUIRY(cdb, buflen) \ 109 cdb.data[4] = buflen; \ 113 #define MKSCSI_MODE_SELECT(cdb, pf, sp, buflen) \ 118 cdb.data[4] = buflen; \ 122 #define MKSCSI_SET_WINDOW(cdb, buflen) \ 129 cdb.data[6] = (((buflen) >> 16) & 0xff); \ 130 cdb.data[7] = (((buflen) >> [all...] |
H A D | teco2.h | 94 #define MKSCSI_GET_DATA_BUFFER_STATUS(cdb, wait, buflen) \ 102 cdb.data[7] = (((buflen) >> 8) & 0xff); \ 103 cdb.data[8] = (((buflen) >> 0) & 0xff); \ 107 #define MKSCSI_INQUIRY(cdb, buflen) \ 112 cdb.data[4] = buflen; \ 116 #define MKSCSI_MODE_SELECT(cdb, pf, sp, buflen) \ 121 cdb.data[4] = buflen; \ 138 #define MKSCSI_SET_WINDOW(cdb, buflen) \ 145 cdb.data[6] = (((buflen) >> 16) & 0xff); \ 146 cdb.data[7] = (((buflen) >> [all...] |
H A D | teco3.h | 92 #define MKSCSI_GET_DATA_BUFFER_STATUS(cdb, wait, buflen) \ 100 cdb.data[7] = (((buflen) >> 8) & 0xff); \ 101 cdb.data[8] = (((buflen) >> 0) & 0xff); \ 105 #define MKSCSI_INQUIRY(cdb, buflen) \ 110 cdb.data[4] = buflen; \ 114 #define MKSCSI_MODE_SELECT(cdb, pf, sp, buflen) \ 119 cdb.data[4] = buflen; \ 136 #define MKSCSI_SET_WINDOW(cdb, buflen) \ 143 cdb.data[6] = (((buflen) >> 16) & 0xff); \ 144 cdb.data[7] = (((buflen) >> [all...] |
/third_party/libuv/src/ |
H A D | random.c | 31 static int uv__random(void* buf, size_t buflen) { in uv__random() argument 35 rc = uv__random_readpath("/dev/urandom", buf, buflen); in uv__random() 37 rc = uv__random_readpath("/dev/random", buf, buflen); in uv__random() 40 rc = uv__random_getentropy(buf, buflen); in uv__random() 42 rc = uv__random_devurandom(buf, buflen); in uv__random() 44 rc = uv__random_sysctl(buf, buflen); in uv__random() 46 rc = uv__random_getrandom(buf, buflen); in uv__random() 48 rc = uv__random_devurandom(buf, buflen); in uv__random() 58 rc = uv__random_sysctl(buf, buflen); in uv__random() 64 rc = uv__random_rtlgenrandom(buf, buflen); in uv__random() 94 uv_random(uv_loop_t* loop, uv_random_t* req, void *buf, size_t buflen, unsigned flags, uv_random_cb cb) uv_random() argument [all...] |
/third_party/node/deps/uv/src/ |
H A D | random.c | 31 static int uv__random(void* buf, size_t buflen) { in uv__random() argument 35 rc = uv__random_readpath("/dev/urandom", buf, buflen); in uv__random() 37 rc = uv__random_readpath("/dev/random", buf, buflen); in uv__random() 40 rc = uv__random_getentropy(buf, buflen); in uv__random() 42 rc = uv__random_devurandom(buf, buflen); in uv__random() 44 rc = uv__random_sysctl(buf, buflen); in uv__random() 46 rc = uv__random_getrandom(buf, buflen); in uv__random() 48 rc = uv__random_devurandom(buf, buflen); in uv__random() 58 rc = uv__random_sysctl(buf, buflen); in uv__random() 64 rc = uv__random_rtlgenrandom(buf, buflen); in uv__random() 94 uv_random(uv_loop_t* loop, uv_random_t* req, void *buf, size_t buflen, unsigned flags, uv_random_cb cb) uv_random() argument [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | usergroup.c | 131 size_t buflen, getgr_buflen; in pa_getgrgid_malloc() local 137 buflen = starting_getgr_buflen(); in pa_getgrgid_malloc() 138 buf = pa_xmalloc(buflen); in pa_getgrgid_malloc() 140 getgr_buflen = buflen - sizeof(struct group); in pa_getgrgid_malloc() 144 if (expand_buffer_trashcontents(&buf, &buflen)) in pa_getgrgid_malloc() 147 getgr_buflen = buflen - sizeof(struct group); in pa_getgrgid_malloc() 190 size_t buflen, getgr_buflen; in pa_getgrnam_malloc() local 196 buflen = starting_getgr_buflen(); in pa_getgrnam_malloc() 197 buf = pa_xmalloc(buflen); in pa_getgrnam_malloc() 199 getgr_buflen = buflen in pa_getgrnam_malloc() 253 size_t buflen, getpw_buflen; pa_getpwnam_malloc() local 312 size_t buflen, getpw_buflen; pa_getpwuid_malloc() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | main_winsvc.c | 67 DWORD buflen, val; in read_interface() local 81 buflen = sizeof(ctrl_interface); in read_interface() 83 (LPBYTE) ctrl_interface, &buflen); in read_interface() 88 (int) buflen, (char *) ctrl_interface); in read_interface() 92 buflen = sizeof(adapter); in read_interface() 94 (LPBYTE) adapter, &buflen); in read_interface() 99 (int) buflen, (char *) adapter); in read_interface() 103 buflen = sizeof(config); in read_interface() 105 (LPBYTE) config, &buflen); in read_interface() 110 (int) buflen, (cha in read_interface() 140 DWORD val, buflen, i; wpa_supplicant_thread() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | main_winsvc.c | 67 DWORD buflen, val; in read_interface() local 81 buflen = sizeof(ctrl_interface); in read_interface() 83 (LPBYTE) ctrl_interface, &buflen); in read_interface() 88 (int) buflen, (char *) ctrl_interface); in read_interface() 92 buflen = sizeof(adapter); in read_interface() 94 (LPBYTE) adapter, &buflen); in read_interface() 99 (int) buflen, (char *) adapter); in read_interface() 103 buflen = sizeof(config); in read_interface() 105 (LPBYTE) config, &buflen); in read_interface() 110 (int) buflen, (cha in read_interface() 140 DWORD val, buflen, i; wpa_supplicant_thread() local [all...] |
/third_party/libwebsockets/lib/misc/ |
H A D | lws-ring.c | 36 ring->buflen = (uint32_t)(count * element_len); in lws_ring_create() 42 ring->buf = lws_malloc(ring->buflen, "ring buf"); in lws_ring_create() 61 ring->buflen; in lws_ring_destroy() 84 f = (int)(ring->buflen - ring->element_len); in lws_ring_get_count_free_elements() 90 f = (int)((ring->buflen - ring->head) + ring->oldest_tail - in lws_ring_get_count_free_elements() 120 f = (int)((ring->buflen - *tail) + ring->head); in lws_ring_get_count_waiting_elements() 137 if (ring->head + (unsigned int)n > ring->buflen) { in lws_ring_next_linear_insert_range() 139 *bytes = ring->buflen - ring->head; in lws_ring_next_linear_insert_range() 153 ring->head = (ring->head + (uint32_t)bytes) % ring->buflen; in lws_ring_bump_head() 174 if (ring->head + (unsigned int)n > ring->buflen) { in lws_ring_insert() [all...] |
/third_party/node/src/ |
H A D | string_bytes.cc | 265 Isolate* isolate, char* buf, size_t buflen, Local<String> str, int flags) { in WriteUCS2() 268 size_t max_chars = buflen / sizeof(*dst); in WriteUCS2() 304 size_t buflen, in Write() 322 nbytes = std::min(buflen, ext->length()); in Write() 326 nbytes = str->WriteOneByte(isolate, dst, 0, buflen, flags); in Write() 332 nbytes = str->WriteUtf8(isolate, buf, buflen, nullptr, flags); in Write() 336 nbytes = WriteUCS2(isolate, buf, buflen, str, flags); in Write() 353 nbytes = base64_decode(buf, buflen, ext->data(), ext->length()); in Write() 356 nbytes = base64_decode(buf, buflen, *value, value.length()); in Write() 363 nbytes = hex_decode(buf, buflen, ex in Write() 264 WriteUCS2( Isolate* isolate, char* buf, size_t buflen, Local<String> str, int flags) WriteUCS2() argument 302 Write(Isolate* isolate, char* buf, size_t buflen, Local<Value> val, enum encoding encoding) Write() argument 557 Encode(Isolate* isolate, const char* buf, size_t buflen, enum encoding encoding, Local<Value>* error) Encode() argument 690 Encode(Isolate* isolate, const uint16_t* buf, size_t buflen, Local<Value>* error) Encode() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | wpa_debug.c | 132 ssize_t buflen; in wpa_debug_open_linux_tracing() local 141 buflen = read(mounts, buf, sizeof(buf) - 1); in wpa_debug_open_linux_tracing() 143 if (buflen < 0) { in wpa_debug_open_linux_tracing() 147 buf[buflen] = '\0'; in wpa_debug_open_linux_tracing() 763 int buflen; in wpa_msg() local 768 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in wpa_msg() 771 buf = os_malloc(buflen); in wpa_msg() 788 len = vsnprintf(buf, buflen, fmt, ap); in wpa_msg() 793 bin_clear_free(buf, buflen); in wpa_msg() 801 int buflen; in wpa_msg_ctrl() local 829 int buflen; wpa_msg_global() local 856 int buflen; wpa_msg_global_ctrl() local 884 int buflen; wpa_msg_no_global() local 911 int buflen; wpa_msg_global_only() local 950 int buflen; hostapd_logger() local [all...] |
/third_party/ltp/utils/sctp/func_tests/ |
H A D | test_sctp_sendrecvmsg.c | 88 size_t buflen; in main() local 179 buflen = REALLY_BIG; in main() 180 big_buffer = test_malloc(buflen); in main() 183 error = test_sctp_recvmsg(sk2, big_buffer, buflen, in main() 203 buflen = REALLY_BIG; in main() 206 error = test_sctp_recvmsg(sk1, big_buffer, buflen, in main() 217 buflen = REALLY_BIG; in main() 220 error = test_sctp_recvmsg(sk2, big_buffer, buflen, in main() 279 buflen = REALLY_BIG; in main() 282 test_sctp_recvmsg(sk2, big_buffer, buflen, in main() [all...] |
/third_party/curl/lib/ |
H A D | strerror.c | 779 get_winapi_error(int err, char *buf, size_t buflen) in get_winapi_error() argument 784 if(!buflen) in get_winapi_error() 797 size_t written = wcstombs(buf, wbuf, buflen - 1); in get_winapi_error() 836 const char *Curl_strerror(int err, char *buf, size_t buflen) in Curl_strerror() argument 844 if(!buflen) in Curl_strerror() 857 msnprintf(buf, buflen, "%s", sys_errlist[err]); in Curl_strerror() 863 !get_winsock_error(err, buf, buflen) && in Curl_strerror() 865 !get_winapi_error((DWORD)err, buf, buflen)) in Curl_strerror() 866 msnprintf(buf, buflen, "Unknown error %d (%#x)", err, err); in Curl_strerror() 873 * storage is supplied via 'strerrbuf' and 'buflen' t in Curl_strerror() 931 Curl_winapi_strerror(DWORD err, char *buf, size_t buflen) Curl_winapi_strerror() argument 972 Curl_sspi_strerror(int err, char *buf, size_t buflen) Curl_sspi_strerror() argument [all...] |
/third_party/mbedtls/library/ |
H A D | x509write.c | 49 size_t buflen = 0; in mbedtls_x509_write_set_san_common() local 63 CHECK_OVERFLOW_ADD(buflen, cur->node.san.unstructured_name.len); in mbedtls_x509_write_set_san_common() 64 CHECK_OVERFLOW_ADD(buflen, 4 + 1); in mbedtls_x509_write_set_san_common() 73 CHECK_OVERFLOW_ADD(buflen, 4 + 1 + 4 + 1); in mbedtls_x509_write_set_san_common() 74 CHECK_OVERFLOW_ADD(buflen, chunk->oid.len); in mbedtls_x509_write_set_san_common() 75 CHECK_OVERFLOW_ADD(buflen, chunk->val.len); in mbedtls_x509_write_set_san_common() 78 CHECK_OVERFLOW_ADD(buflen, 4 + 1); in mbedtls_x509_write_set_san_common() 88 CHECK_OVERFLOW_ADD(buflen, 4 + 1); in mbedtls_x509_write_set_san_common() 91 buf = mbedtls_calloc(1, buflen); in mbedtls_x509_write_set_san_common() 95 p = buf + buflen; in mbedtls_x509_write_set_san_common() [all...] |