Home
last modified time | relevance | path

Searched refs:buf (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/
Ddriver_cmd_wext.c77 char buf[WEXT_CSCAN_BUF_LEN]; in wpa_driver_wext_combo_scan() local
92 os_memcpy(buf, WEXT_CSCAN_HEADER, bp); in wpa_driver_wext_combo_scan()
94 if ((bp + IW_ESSID_MAX_SIZE + 10) >= (int)sizeof(buf)) in wpa_driver_wext_combo_scan()
97 buf[bp++] = WEXT_CSCAN_SSID_SECTION; in wpa_driver_wext_combo_scan()
98 buf[bp++] = params->ssids[i].ssid_len; in wpa_driver_wext_combo_scan()
99 os_memcpy(&buf[bp], params->ssids[i].ssid, params->ssids[i].ssid_len); in wpa_driver_wext_combo_scan()
104 buf[bp++] = WEXT_CSCAN_CHANNEL_SECTION; in wpa_driver_wext_combo_scan()
105 buf[bp++] = 0; in wpa_driver_wext_combo_scan()
108 buf[bp++] = WEXT_CSCAN_PASV_DWELL_SECTION; in wpa_driver_wext_combo_scan()
109 buf[bp++] = (u8)WEXT_CSCAN_PASV_DWELL_TIME; in wpa_driver_wext_combo_scan()
[all …]
Ddriver_cmd_nl80211.c69 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, in wpa_driver_nl80211_driver_cmd() argument
106 ret = os_snprintf(buf, buf_len, in wpa_driver_nl80211_driver_cmd()
109 os_memcpy(buf, cmd, strlen(cmd) + 1); in wpa_driver_nl80211_driver_cmd()
115 priv_cmd.bufaddr = (u64)(uintptr_t)buf; in wpa_driver_nl80211_driver_cmd()
117 priv_cmd.bufaddr = buf; in wpa_driver_nl80211_driver_cmd()
133 ret = strlen(buf); in wpa_driver_nl80211_driver_cmd()
135 wpa_printf(MSG_DEBUG, "%s %s len = %d, %zu", __func__, buf, ret, strlen(buf)); in wpa_driver_nl80211_driver_cmd()
143 char buf[MAX_DRV_CMD_SIZE]; in wpa_driver_set_p2p_noa() local
145 memset(buf, 0, sizeof(buf)); in wpa_driver_set_p2p_noa()
147 snprintf(buf, sizeof(buf), "P2P_SET_NOA %d %d %d", count, start, duration); in wpa_driver_set_p2p_noa()
[all …]
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c39 char *buf; member
67 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, in wpa_driver_nl80211_driver_cmd() argument
87 ret = os_snprintf(buf, buf_len, in wpa_driver_nl80211_driver_cmd()
92 os_memcpy(buf, cmd, strlen(cmd) + 1); in wpa_driver_nl80211_driver_cmd()
95 priv_cmd.buf = buf; in wpa_driver_nl80211_driver_cmd()
113 ret = strlen(buf); in wpa_driver_nl80211_driver_cmd()
116 __func__, MAC2STR(buf)); in wpa_driver_nl80211_driver_cmd()
118 wpa_printf(MSG_DEBUG, "%s: P2P: %s ", __func__, buf); in wpa_driver_nl80211_driver_cmd()
120 wpa_printf(MSG_DEBUG, "%s: P2P: %s ", __func__, buf); in wpa_driver_nl80211_driver_cmd()
122 wpa_printf(MSG_DEBUG, "%s: %s ", __func__, buf); in wpa_driver_nl80211_driver_cmd()
[all …]
/hardware/libhardware/tests/hwc/
Dcnativewindow.c83 static inline CNativeBuffer *from_abuffer(aBuffer *buf) { in from_abuffer() argument
84 return (CNativeBuffer*) buf; in from_abuffer()
88 CNativeBuffer *buf = queue->next; in get_front() local
89 if (buf == queue) in get_front()
91 buf->next->prev = queue; in get_front()
92 queue->next = buf->next; in get_front()
93 buf->next = buf->prev = 0; in get_front()
94 return buf; in get_front()
98 struct CNativeBuffer *buf = (struct CNativeBuffer *) _buf; in put_front() local
99 buf->prev = queue; in put_front()
[all …]
/hardware/qcom/msm8998/json-c/
Dprintbuf.c41 if(!(p->buf = (char*)malloc(p->size))) { in printbuf_new()
73 if(!(t = (char*)realloc(p->buf, new_size))) in printbuf_extend()
76 p->buf = t; in printbuf_extend()
80 int printbuf_memappend(struct printbuf *p, const char *buf, int size) in printbuf_memappend() argument
86 memcpy(p->buf + p->bpos, buf, size); in printbuf_memappend()
88 p->buf[p->bpos]= '\0'; in printbuf_memappend()
105 memset(pb->buf + offset, charvalue, len); in printbuf_memset()
120 static int vasprintf(char **buf, const char *fmt, va_list ap) in vasprintf() argument
128 if(!buf) { return -1; } in vasprintf()
146 *buf = b; in vasprintf()
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_common_xdr.c11 register int32_t *buf; in xdr_rpc_boolean() local
21 register int32_t *buf; in xdr_rpc_uint32() local
31 register int32_t *buf; in xdr_rpc_uint16() local
41 register int32_t *buf; in xdr_rpc_uint8() local
51 register int32_t *buf; in xdr_rpc_int32() local
61 register int32_t *buf; in xdr_rpc_byte() local
71 register int32_t *buf; in xdr_rpc_uint64() local
81 register int32_t *buf; in xdr_rpc_loc_client_handle_type() local
91 register int32_t *buf; in xdr_rpc_loc_event_mask_type() local
101 register int32_t *buf; in xdr_rpc_loc_position_valid_mask_type() local
[all …]
Dloc_api_xdr.c11 register int32_t *buf; in xdr_rpc_loc_api_api_versions_return_type() local
22 register int32_t *buf; in xdr_rpc_loc_event_cb_f_type() local
32 register int32_t *buf; in xdr_rpc_loc_open_args() local
44 register int32_t *buf; in xdr_rpc_loc_close_args() local
54 register int32_t *buf; in xdr_rpc_loc_start_fix_args() local
64 register int32_t *buf; in xdr_rpc_loc_stop_fix_args() local
74 register int32_t *buf; in xdr_rpc_loc_ioctl_args() local
88 register int32_t *buf; in xdr_rpc_loc_api_api_version_s_args() local
98 register int32_t *buf; in xdr_rpc_loc_api_rpc_glue_code_info_remote_rets() local
114 register int32_t *buf; in xdr_rpc_loc_open_rets() local
[all …]
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_common_xdr.c11 register int32_t *buf; in xdr_rpc_boolean() local
21 register int32_t *buf; in xdr_rpc_uint32() local
31 register int32_t *buf; in xdr_rpc_uint16() local
41 register int32_t *buf; in xdr_rpc_uint8() local
51 register int32_t *buf; in xdr_rpc_int32() local
61 register int32_t *buf; in xdr_rpc_byte() local
71 register int32_t *buf; in xdr_rpc_uint64() local
81 register int32_t *buf; in xdr_rpc_loc_client_handle_type() local
91 register int32_t *buf; in xdr_rpc_loc_event_mask_type() local
101 register int32_t *buf; in xdr_rpc_loc_position_valid_mask_type() local
[all …]
Dloc_api_xdr.c11 register int32_t *buf; in xdr_rpc_loc_api_api_versions_return_type() local
22 register int32_t *buf; in xdr_rpc_loc_event_cb_f_type() local
32 register int32_t *buf; in xdr_rpc_loc_open_args() local
44 register int32_t *buf; in xdr_rpc_loc_close_args() local
54 register int32_t *buf; in xdr_rpc_loc_start_fix_args() local
64 register int32_t *buf; in xdr_rpc_loc_stop_fix_args() local
74 register int32_t *buf; in xdr_rpc_loc_ioctl_args() local
88 register int32_t *buf; in xdr_rpc_loc_api_api_version_s_args() local
98 register int32_t *buf; in xdr_rpc_loc_api_rpc_glue_code_info_remote_rets() local
114 register int32_t *buf; in xdr_rpc_loc_open_rets() local
[all …]
/hardware/qcom/sdm845/gps/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_common_xdr.c11 register int32_t *buf; in xdr_rpc_boolean() local
21 register int32_t *buf; in xdr_rpc_uint32() local
31 register int32_t *buf; in xdr_rpc_uint16() local
41 register int32_t *buf; in xdr_rpc_uint8() local
51 register int32_t *buf; in xdr_rpc_int32() local
61 register int32_t *buf; in xdr_rpc_byte() local
71 register int32_t *buf; in xdr_rpc_uint64() local
81 register int32_t *buf; in xdr_rpc_loc_client_handle_type() local
91 register int32_t *buf; in xdr_rpc_loc_event_mask_type() local
101 register int32_t *buf; in xdr_rpc_loc_position_valid_mask_type() local
[all …]
Dloc_api_xdr.c11 register int32_t *buf; in xdr_rpc_loc_api_api_versions_return_type() local
22 register int32_t *buf; in xdr_rpc_loc_event_cb_f_type() local
32 register int32_t *buf; in xdr_rpc_loc_open_args() local
44 register int32_t *buf; in xdr_rpc_loc_close_args() local
54 register int32_t *buf; in xdr_rpc_loc_start_fix_args() local
64 register int32_t *buf; in xdr_rpc_loc_stop_fix_args() local
74 register int32_t *buf; in xdr_rpc_loc_ioctl_args() local
88 register int32_t *buf; in xdr_rpc_loc_api_api_version_s_args() local
98 register int32_t *buf; in xdr_rpc_loc_api_rpc_glue_code_info_remote_rets() local
114 register int32_t *buf; in xdr_rpc_loc_open_rets() local
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_common_xdr.c11 register int32_t *buf; in xdr_rpc_boolean() local
21 register int32_t *buf; in xdr_rpc_uint32() local
31 register int32_t *buf; in xdr_rpc_uint16() local
41 register int32_t *buf; in xdr_rpc_uint8() local
51 register int32_t *buf; in xdr_rpc_int32() local
61 register int32_t *buf; in xdr_rpc_byte() local
71 register int32_t *buf; in xdr_rpc_uint64() local
81 register int32_t *buf; in xdr_rpc_loc_client_handle_type() local
91 register int32_t *buf; in xdr_rpc_loc_event_mask_type() local
101 register int32_t *buf; in xdr_rpc_loc_position_valid_mask_type() local
[all …]
Dloc_api_xdr.c11 register int32_t *buf; in xdr_rpc_loc_api_api_versions_return_type() local
22 register int32_t *buf; in xdr_rpc_loc_event_cb_f_type() local
32 register int32_t *buf; in xdr_rpc_loc_open_args() local
44 register int32_t *buf; in xdr_rpc_loc_close_args() local
54 register int32_t *buf; in xdr_rpc_loc_start_fix_args() local
64 register int32_t *buf; in xdr_rpc_loc_stop_fix_args() local
74 register int32_t *buf; in xdr_rpc_loc_ioctl_args() local
88 register int32_t *buf; in xdr_rpc_loc_api_api_version_s_args() local
98 register int32_t *buf; in xdr_rpc_loc_api_rpc_glue_code_info_remote_rets() local
114 register int32_t *buf; in xdr_rpc_loc_open_rets() local
[all …]
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_common_xdr.c11 register int32_t *buf; in xdr_rpc_boolean() local
21 register int32_t *buf; in xdr_rpc_uint32() local
31 register int32_t *buf; in xdr_rpc_uint16() local
41 register int32_t *buf; in xdr_rpc_uint8() local
51 register int32_t *buf; in xdr_rpc_int32() local
61 register int32_t *buf; in xdr_rpc_byte() local
71 register int32_t *buf; in xdr_rpc_uint64() local
81 register int32_t *buf; in xdr_rpc_loc_client_handle_type() local
91 register int32_t *buf; in xdr_rpc_loc_event_mask_type() local
101 register int32_t *buf; in xdr_rpc_loc_position_valid_mask_type() local
[all …]
Dloc_api_xdr.c11 register int32_t *buf; in xdr_rpc_loc_api_api_versions_return_type() local
22 register int32_t *buf; in xdr_rpc_loc_event_cb_f_type() local
32 register int32_t *buf; in xdr_rpc_loc_open_args() local
44 register int32_t *buf; in xdr_rpc_loc_close_args() local
54 register int32_t *buf; in xdr_rpc_loc_start_fix_args() local
64 register int32_t *buf; in xdr_rpc_loc_stop_fix_args() local
74 register int32_t *buf; in xdr_rpc_loc_ioctl_args() local
88 register int32_t *buf; in xdr_rpc_loc_api_api_version_s_args() local
98 register int32_t *buf; in xdr_rpc_loc_api_rpc_glue_code_info_remote_rets() local
114 register int32_t *buf; in xdr_rpc_loc_open_rets() local
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_common_xdr.c11 register int32_t *buf; in xdr_rpc_boolean() local
21 register int32_t *buf; in xdr_rpc_uint32() local
31 register int32_t *buf; in xdr_rpc_uint16() local
41 register int32_t *buf; in xdr_rpc_uint8() local
51 register int32_t *buf; in xdr_rpc_int32() local
61 register int32_t *buf; in xdr_rpc_byte() local
71 register int32_t *buf; in xdr_rpc_uint64() local
81 register int32_t *buf; in xdr_rpc_loc_client_handle_type() local
91 register int32_t *buf; in xdr_rpc_loc_event_mask_type() local
101 register int32_t *buf; in xdr_rpc_loc_position_valid_mask_type() local
[all …]
Dloc_api_xdr.c11 register int32_t *buf; in xdr_rpc_loc_api_api_versions_return_type() local
22 register int32_t *buf; in xdr_rpc_loc_event_cb_f_type() local
32 register int32_t *buf; in xdr_rpc_loc_open_args() local
44 register int32_t *buf; in xdr_rpc_loc_close_args() local
54 register int32_t *buf; in xdr_rpc_loc_start_fix_args() local
64 register int32_t *buf; in xdr_rpc_loc_stop_fix_args() local
74 register int32_t *buf; in xdr_rpc_loc_ioctl_args() local
88 register int32_t *buf; in xdr_rpc_loc_api_api_version_s_args() local
98 register int32_t *buf; in xdr_rpc_loc_api_rpc_glue_code_info_remote_rets() local
114 register int32_t *buf; in xdr_rpc_loc_open_rets() local
[all …]
/hardware/qcom/sdm845/gps/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_xdr.c11 register int32_t *buf; in xdr_rpc_loc_api_api_versions_return_type() local
22 register int32_t *buf; in xdr_rpc_loc_event_cb_f_type() local
32 register int32_t *buf; in xdr_rpc_loc_open_args() local
44 register int32_t *buf; in xdr_rpc_loc_close_args() local
54 register int32_t *buf; in xdr_rpc_loc_start_fix_args() local
64 register int32_t *buf; in xdr_rpc_loc_stop_fix_args() local
74 register int32_t *buf; in xdr_rpc_loc_ioctl_args() local
88 register int32_t *buf; in xdr_rpc_loc_api_api_version_s_args() local
98 register int32_t *buf; in xdr_rpc_loc_api_rpc_glue_code_info_remote_rets() local
114 register int32_t *buf; in xdr_rpc_loc_open_rets() local
[all …]
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_xdr.c11 register int32_t *buf; in xdr_rpc_loc_api_api_versions_return_type() local
22 register int32_t *buf; in xdr_rpc_loc_event_cb_f_type() local
32 register int32_t *buf; in xdr_rpc_loc_open_args() local
44 register int32_t *buf; in xdr_rpc_loc_close_args() local
54 register int32_t *buf; in xdr_rpc_loc_start_fix_args() local
64 register int32_t *buf; in xdr_rpc_loc_stop_fix_args() local
74 register int32_t *buf; in xdr_rpc_loc_ioctl_args() local
88 register int32_t *buf; in xdr_rpc_loc_api_api_version_s_args() local
98 register int32_t *buf; in xdr_rpc_loc_api_rpc_glue_code_info_remote_rets() local
114 register int32_t *buf; in xdr_rpc_loc_open_rets() local
[all …]
Dloc_api_common_xdr.c11 register int32_t *buf; in xdr_rpc_boolean() local
21 register int32_t *buf; in xdr_rpc_uint32() local
31 register int32_t *buf; in xdr_rpc_uint16() local
41 register int32_t *buf; in xdr_rpc_uint8() local
51 register int32_t *buf; in xdr_rpc_int32() local
61 register int32_t *buf; in xdr_rpc_byte() local
71 register int32_t *buf; in xdr_rpc_uint64() local
81 register int32_t *buf; in xdr_rpc_loc_client_handle_type() local
91 register int32_t *buf; in xdr_rpc_loc_event_mask_type() local
101 register int32_t *buf; in xdr_rpc_loc_position_valid_mask_type() local
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_xdr.c11 register int32_t *buf; in xdr_rpc_loc_api_api_versions_return_type() local
22 register int32_t *buf; in xdr_rpc_loc_event_cb_f_type() local
32 register int32_t *buf; in xdr_rpc_loc_open_args() local
44 register int32_t *buf; in xdr_rpc_loc_close_args() local
54 register int32_t *buf; in xdr_rpc_loc_start_fix_args() local
64 register int32_t *buf; in xdr_rpc_loc_stop_fix_args() local
74 register int32_t *buf; in xdr_rpc_loc_ioctl_args() local
88 register int32_t *buf; in xdr_rpc_loc_api_api_version_s_args() local
98 register int32_t *buf; in xdr_rpc_loc_api_rpc_glue_code_info_remote_rets() local
114 register int32_t *buf; in xdr_rpc_loc_open_rets() local
[all …]
Dloc_api_common_xdr.c11 register int32_t *buf; in xdr_rpc_boolean() local
21 register int32_t *buf; in xdr_rpc_uint32() local
31 register int32_t *buf; in xdr_rpc_uint16() local
41 register int32_t *buf; in xdr_rpc_uint8() local
51 register int32_t *buf; in xdr_rpc_int32() local
61 register int32_t *buf; in xdr_rpc_byte() local
71 register int32_t *buf; in xdr_rpc_uint64() local
81 register int32_t *buf; in xdr_rpc_loc_client_handle_type() local
91 register int32_t *buf; in xdr_rpc_loc_event_mask_type() local
101 register int32_t *buf; in xdr_rpc_loc_position_valid_mask_type() local
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_xdr.c11 register int32_t *buf; in xdr_rpc_loc_api_api_versions_return_type() local
22 register int32_t *buf; in xdr_rpc_loc_event_cb_f_type() local
32 register int32_t *buf; in xdr_rpc_loc_open_args() local
44 register int32_t *buf; in xdr_rpc_loc_close_args() local
54 register int32_t *buf; in xdr_rpc_loc_start_fix_args() local
64 register int32_t *buf; in xdr_rpc_loc_stop_fix_args() local
74 register int32_t *buf; in xdr_rpc_loc_ioctl_args() local
88 register int32_t *buf; in xdr_rpc_loc_api_api_version_s_args() local
98 register int32_t *buf; in xdr_rpc_loc_api_rpc_glue_code_info_remote_rets() local
114 register int32_t *buf; in xdr_rpc_loc_open_rets() local
[all …]
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_xdr.c11 register int32_t *buf; in xdr_rpc_loc_api_api_versions_return_type() local
22 register int32_t *buf; in xdr_rpc_loc_event_cb_f_type() local
32 register int32_t *buf; in xdr_rpc_loc_open_args() local
44 register int32_t *buf; in xdr_rpc_loc_close_args() local
54 register int32_t *buf; in xdr_rpc_loc_start_fix_args() local
64 register int32_t *buf; in xdr_rpc_loc_stop_fix_args() local
74 register int32_t *buf; in xdr_rpc_loc_ioctl_args() local
88 register int32_t *buf; in xdr_rpc_loc_api_api_version_s_args() local
98 register int32_t *buf; in xdr_rpc_loc_api_rpc_glue_code_info_remote_rets() local
114 register int32_t *buf; in xdr_rpc_loc_open_rets() local
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_xdr.c11 register int32_t *buf; in xdr_rpc_loc_api_api_versions_return_type() local
22 register int32_t *buf; in xdr_rpc_loc_event_cb_f_type() local
32 register int32_t *buf; in xdr_rpc_loc_open_args() local
44 register int32_t *buf; in xdr_rpc_loc_close_args() local
54 register int32_t *buf; in xdr_rpc_loc_start_fix_args() local
64 register int32_t *buf; in xdr_rpc_loc_stop_fix_args() local
74 register int32_t *buf; in xdr_rpc_loc_ioctl_args() local
88 register int32_t *buf; in xdr_rpc_loc_api_api_version_s_args() local
98 register int32_t *buf; in xdr_rpc_loc_api_rpc_glue_code_info_remote_rets() local
114 register int32_t *buf; in xdr_rpc_loc_open_rets() local
[all …]

12345678910>>...19