Home
last modified time | relevance | path

Searched refs:buflen (Results 151 - 175 of 802) sorted by relevance

12345678910>>...33

/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Dusbd_generic_ep0.c608 char *buffer, size_t buflen, int max_n) in generic_ep0_read_events()
634 ret = memcpy_s(buffer, buflen, (const void *)events, size); in generic_ep0_read_events()
644 static ssize_t generic_ep0_write_descs(struct generic_dev_s *dev, const char *buffer, size_t buflen) in generic_ep0_write_descs() argument
649 data = usbm_malloc(&dev->obj, buflen + 1); in generic_ep0_write_descs()
656 ret = memcpy_s(data, buflen + 1, buffer, buflen); in generic_ep0_write_descs()
662 ret = generic_got_descs(dev, data, buflen); in generic_ep0_write_descs()
668 return buflen; in generic_ep0_write_descs()
675 static ssize_t generic_ep0_write_strings(struct generic_dev_s *dev, const char *buffer, size_t buflen) in generic_ep0_write_strings() argument
680 data = usbm_malloc(&dev->obj, buflen in generic_ep0_write_strings()
607 generic_ep0_read_events(struct generic_dev_s *dev, char *buffer, size_t buflen, int max_n) generic_ep0_read_events() argument
720 generic_ep0_write_request(struct generic_dev_s *dev, const char *buffer, size_t buflen) generic_ep0_write_request() argument
[all...]
/third_party/backends/backend/
H A Dmagicolor.c611 size_t buflen; in cmd_request_error() local
618 buflen = mc_create_buffer (s, s->hw->cmd->scanner_cmd, s->hw->cmd->request_error, in cmd_request_error()
620 if (buflen <= 0 ) { in cmd_request_error()
626 status = mc_txrx (s, buf, buflen, params, 1); in cmd_request_error()
662 size_t buflen; in cmd_request_status() local
670 buflen = mc_create_buffer (s, s->hw->cmd->scanner_cmd, s->hw->cmd->request_status, in cmd_request_status()
672 if (buflen <= 0 ) { in cmd_request_status()
678 status = mc_txrx (s, buf, buflen, b, 0x0b); in cmd_request_status()
704 size_t buflen; in cmd_start_scan() local
716 buflen in cmd_start_scan()
741 size_t buflen; cmd_cancel_scan() local
769 size_t buflen; cmd_finish_scan() local
801 size_t buflen; cmd_get_scanning_parameters() local
875 size_t buflen; cmd_set_scanning_parameters() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dap_ctrl_iface.c188 struct hostapd_data *hapd, char *cmd, char *buf, size_t buflen) in hostapd_ctrl_iface_wps_check_pin()
217 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n"); in hostapd_ctrl_iface_wps_check_pin()
218 if (os_snprintf_error(buflen, ret)) in hostapd_ctrl_iface_wps_check_pin()
224 ret = os_snprintf(buf, buflen, "%s", pin); in hostapd_ctrl_iface_wps_check_pin()
225 if (os_snprintf_error(buflen, ret)) in hostapd_ctrl_iface_wps_check_pin()
448 char *buf, size_t buflen) in hostapd_ctrl_iface_wps_ap_pin()
460 return os_snprintf(buf, buflen, "OK\n"); in hostapd_ctrl_iface_wps_ap_pin()
469 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
476 return os_snprintf(buf, buflen, "%s", pin_txt); in hostapd_ctrl_iface_wps_ap_pin()
489 if (os_strlen(pin) > buflen) in hostapd_ctrl_iface_wps_ap_pin()
187 hostapd_ctrl_iface_wps_check_pin( struct hostapd_data *hapd, char *cmd, char *buf, size_t buflen) hostapd_ctrl_iface_wps_check_pin() argument
447 hostapd_ctrl_iface_wps_ap_pin(struct hostapd_data *hapd, char *txt, char *buf, size_t buflen) hostapd_ctrl_iface_wps_ap_pin() argument
544 hostapd_ctrl_iface_wps_get_status(struct hostapd_data *hapd, char *buf, size_t buflen) hostapd_ctrl_iface_wps_get_status() argument
1042 hostapd_ctrl_iface_get_key_mgmt(struct hostapd_data *hapd, char *buf, size_t buflen) hostapd_ctrl_iface_get_key_mgmt() argument
1185 hostapd_ctrl_iface_get_config(struct hostapd_data *hapd, char *buf, size_t buflen) hostapd_ctrl_iface_get_config() argument
1586 hostapd_ctrl_iface_get(struct hostapd_data *hapd, char *cmd, char *buf, size_t buflen) hostapd_ctrl_iface_get() argument
2253 hostapd_ctrl_get_alloc_fail(struct hostapd_data *hapd, char *buf, size_t buflen) hostapd_ctrl_get_alloc_fail() argument
2287 hostapd_ctrl_get_fail(struct hostapd_data *hapd, char *buf, size_t buflen) hostapd_ctrl_get_fail() argument
2598 hostapd_ctrl_get_pmksa_pmk(struct hostapd_data *hapd, const u8 *addr, char *buf, size_t buflen) hostapd_ctrl_get_pmksa_pmk() argument
2611 hostapd_ctrl_get_pmk(struct hostapd_data *hapd, const char *cmd, char *buf, size_t buflen) hostapd_ctrl_get_pmk() argument
2872 hostapd_ctrl_iface_vendor(struct hostapd_data *hapd, char *cmd, char *buf, size_t buflen) hostapd_ctrl_iface_vendor() argument
2981 hostapd_ctrl_iface_log_level(struct hostapd_data *hapd, char *cmd, char *buf, size_t buflen) hostapd_ctrl_iface_log_level() argument
3028 hostapd_ctrl_iface_track_sta_list(struct hostapd_data *hapd, char *buf, size_t buflen) hostapd_ctrl_iface_track_sta_list() argument
3177 hostapd_ctrl_iface_show_neighbor(struct hostapd_data *hapd, char *buf, size_t buflen) hostapd_ctrl_iface_show_neighbor() argument
3329 hostapd_ctrl_driver_flags(struct hostapd_iface *iface, char *buf, size_t buflen) hostapd_ctrl_driver_flags() argument
3357 hostapd_ctrl_driver_flags2(struct hostapd_iface *iface, char *buf, size_t buflen) hostapd_ctrl_driver_flags2() argument
3412 hostapd_ctrl_iface_acl_show_mac(struct mac_acl_entry *acl, int num, char *buf, size_t buflen) hostapd_ctrl_iface_acl_show_mac() argument
3459 hostapd_ctrl_iface_get_capability(struct hostapd_data *hapd, const char *field, char *buf, size_t buflen) hostapd_ctrl_iface_get_capability() argument
3490 hostapd_ctrl_iface_driver_cmd(struct hostapd_data *hapd, char *cmd, char *buf, size_t buflen) hostapd_ctrl_iface_driver_cmd() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dp2p_hostapd.h15 char *buf, size_t buflen);
26 char *buf, size_t buflen) in hostapd_p2p_get_mib_sta()
24 hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) hostapd_p2p_get_mib_sta() argument
H A Dmbo_ap.h20 int mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen);
34 size_t buflen) in mbo_ap_get_info()
33 mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen) mbo_ap_get_info() argument
H A Dtaxonomy.c240 struct sta_info *sta, char *buf, size_t buflen) in retrieve_sta_taxonomy()
248 ret = os_snprintf(buf, buflen, "wifi4|probe:"); in retrieve_sta_taxonomy()
249 if (os_snprintf_error(buflen, ret)) in retrieve_sta_taxonomy()
252 end = buf + buflen; in retrieve_sta_taxonomy()
239 retrieve_sta_taxonomy(const struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) retrieve_sta_taxonomy() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dp2p_hostapd.h15 char *buf, size_t buflen);
26 char *buf, size_t buflen) in hostapd_p2p_get_mib_sta()
24 hostapd_p2p_get_mib_sta(struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) hostapd_p2p_get_mib_sta() argument
H A Dmbo_ap.h20 int mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen);
34 size_t buflen) in mbo_ap_get_info()
33 mbo_ap_get_info(struct sta_info *sta, char *buf, size_t buflen) mbo_ap_get_info() argument
H A Dtaxonomy.c240 struct sta_info *sta, char *buf, size_t buflen) in retrieve_sta_taxonomy()
248 ret = os_snprintf(buf, buflen, "wifi4|probe:"); in retrieve_sta_taxonomy()
249 if (os_snprintf_error(buflen, ret)) in retrieve_sta_taxonomy()
252 end = buf + buflen; in retrieve_sta_taxonomy()
239 retrieve_sta_taxonomy(const struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) retrieve_sta_taxonomy() argument
/third_party/curl/include/curl/
H A Dwebsockets.h55 CURL_EXTERN CURLcode curl_ws_recv(CURL *curl, void *buffer, size_t buflen,
71 size_t buflen, size_t *sent,
/third_party/curl/lib/
H A Dc-hyper.h42 uint8_t *buf, size_t buflen);
44 const uint8_t *buf, size_t buflen);
/third_party/mbedtls/library/
H A Dmps_reader.h275 * \param buflen The size in Bytes of \p buffer.
294 mbedtls_mps_size_t buflen);
326 * \param buflen The address to store the actual buffer
330 * address of a buffer of size \c *buflen
331 * (if \c buflen != \c NULL) or \c desired
332 * (if \c buflen == \c NULL). The user has read access
348 * \note Passing \c NULL as \p buflen is a convenient way to
351 * address as buflen and checking \c *buflen == \c desired
357 mbedtls_mps_size_t *buflen);
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/string/
H A Dmemmem.c49 size_t buflen = sizeof(buffer) / sizeof(buffer[0]); in memmem_0200() local
50 size_t errlen = buflen + 1; in memmem_0200()
/third_party/elfutils/libasm/
H A Ddisasm_cb.c48 char **buf, size_t *buflen, void *arg) in default_elf_getsym()
55 int res = symtoken->ctx->symcb (addr, scnndx, value, buf, buflen, in default_elf_getsym()
149 size_t *buflen __attribute__ ((unused)), in null_elf_getsym()
47 default_elf_getsym(GElf_Addr addr, Elf32_Word scnndx, GElf_Addr value, char **buf, size_t *buflen, void *arg) default_elf_getsym() argument
/third_party/lwip/src/core/ipv4/
H A Dip4_addr.c280 * @param buflen length of buf
285 ip4addr_ntoa_r(const ip4_addr_t *addr, char *buf, int buflen) in ip4addr_ntoa_r() argument
308 if (len++ >= buflen) { in ip4addr_ntoa_r()
313 if (len++ >= buflen) { in ip4addr_ntoa_r()
/third_party/libuv/src/unix/
H A Dinternal.h331 int uv__search_path(const char* prog, char* buf, size_t* buflen);
335 int uv__random_devurandom(void* buf, size_t buflen);
336 int uv__random_getrandom(void* buf, size_t buflen);
337 int uv__random_getentropy(void* buf, size_t buflen);
338 int uv__random_readpath(const char* path, void* buf, size_t buflen);
339 int uv__random_sysctl(void* buf, size_t buflen);
451 ssize_t uv__getrandom(void* buf, size_t buflen, unsigned flags);
/third_party/node/deps/cares/src/lib/
H A Dares_getnameinfo.c82 size_t buflen);
85 unsigned int scopeid, char *buf, size_t buflen);
275 size_t buflen) in lookup_service()
336 if (name_len < buflen) { in lookup_service()
351 char *buf, size_t buflen) in append_scopeid()
382 if (bufl + ares_strlen(tmpbuf) < buflen) { in append_scopeid()
384 ares_strcpy(&buf[bufl], tmpbuf, buflen - bufl); in append_scopeid()
274 lookup_service(unsigned short port, unsigned int flags, char *buf, size_t buflen) lookup_service() argument
350 append_scopeid(const struct sockaddr_in6 *addr6, unsigned int flags, char *buf, size_t buflen) append_scopeid() argument
/third_party/ffmpeg/libavformat/
H A Dtls_libtls.c51 static ssize_t tls_read_callback(struct tls *ctx, void *buf, size_t buflen, void *cb_arg) in tls_read_callback() argument
54 int ret = ffurl_read(h, buf, buflen); in tls_read_callback()
62 static ssize_t tls_write_callback(struct tls *ctx, const void *buf, size_t buflen, void *cb_arg) in tls_write_callback() argument
65 int ret = ffurl_write(h, buf, buflen); in tls_write_callback()
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/
H A Dpbkdf1.c139 static int kdf_pbkdf1_set_membuf(unsigned char **buffer, size_t *buflen, in kdf_pbkdf1_set_membuf() argument
142 OPENSSL_clear_free(*buffer, *buflen); in kdf_pbkdf1_set_membuf()
144 *buflen = 0; in kdf_pbkdf1_set_membuf()
152 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in kdf_pbkdf1_set_membuf()
/third_party/openssl/providers/implementations/kdfs/
H A Dpbkdf1.c133 static int kdf_pbkdf1_set_membuf(unsigned char **buffer, size_t *buflen, in kdf_pbkdf1_set_membuf() argument
136 OPENSSL_clear_free(*buffer, *buflen); in kdf_pbkdf1_set_membuf()
138 *buflen = 0; in kdf_pbkdf1_set_membuf()
146 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in kdf_pbkdf1_set_membuf()
/third_party/python/Modules/_blake2/impl/
H A Dblake2.h92 uint32_t buflen; member
118 uint32_t buflen; member
128 uint32_t buflen; member
137 uint32_t buflen; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
H A Deap_methods.c89 * @buflen: Buffer length
93 size_t eap_get_names(char *buf, size_t buflen) in eap_get_names() argument
99 if (buflen == 0) in eap_get_names()
103 end = pos + buflen; in eap_get_names()
112 buf[buflen - 1] = '\0'; in eap_get_names()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Deap_methods.c90 * @buflen: Buffer length
94 size_t eap_get_names(char *buf, size_t buflen) in eap_get_names() argument
100 if (buflen == 0) in eap_get_names()
104 end = pos + buflen; in eap_get_names()
113 buf[buflen - 1] = '\0'; in eap_get_names()
/third_party/libuv/test/
H A Dtest-pipe-getsockname.c187 size_t buflen; in TEST_IMPL() local
189 buflen = sizeof(buf); in TEST_IMPL()
193 ASSERT_OK(uv_pipe_getsockname(&pipe_server, buf, &buflen)); in TEST_IMPL()
194 ASSERT_UINT64_EQ(sizeof(name) - 1, buflen); in TEST_IMPL()
195 ASSERT_MEM_EQ(name, buf, buflen); in TEST_IMPL()
/third_party/mbedtls/include/mbedtls/
H A Decp.h763 * of length \p buflen Bytes.
764 * \param buflen The length of the output buffer \p buf in Bytes.
776 unsigned char *buf, size_t buflen);
1318 * \param buflen The length of the buffer in bytes.
1329 const unsigned char *buf, size_t buflen);
1339 * pass the key's nominal length as \c buflen, after
1341 * See the description of the \p buflen parameter for
1357 * to reach \p buflen bytes.
1360 * null bytes at the end to reach \p buflen bytes.
1361 * \param buflen Th
[all...]

Completed in 27 milliseconds

12345678910>>...33