Searched refs:buf (Results 1 - 25 of 532) sorted by last modified time

1234567891011>>

/hardware/ril/include/telephony/
H A Dril.h1652 char buf[CDMA_NUMBER_INFO_BUFFER_LENGTH]; member in struct:__anon5866
/hardware/ril/libril/
H A Dril_service.cpp7596 memcpy(string8, infoRec->rec.number.buf, infoRec->rec.number.len);
7635 memcpy(string8, infoRec->rec.redir.redirectingNumber.buf,
/hardware/ril/reference-ril/
H A Dril.h1652 char buf[CDMA_NUMBER_INFO_BUFFER_LENGTH]; member in struct:__anon6085
/hardware/qcom/wlan/qcwcn/wcnss-service/
H A Dwcnss_service.c101 char buf[WCNSS_CAL_CHUNK]; local
133 rcount = read(fd_file, (void *)buf, sizeof(buf));
144 wcount = write(fd_dev, buf, rcount);
177 char buf[WCNSS_CAL_CHUNK]; local
183 rcount = read(fd_dev, (void *)buf, sizeof(buf));
209 wcount = write(fd_file, buf, rcount);
/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dcommon.cpp197 void hexdump(void *buf, u16 len) argument
200 char *bytes = (char *)buf;
H A Dcpp_bindings.cpp42 void appendFmt(char *buf, size_t buf_len, int &offset, const char *fmt, ...) argument
46 offset += vsnprintf(buf + offset, buf_len - offset, fmt, params);
H A Dgscan.cpp1249 char buf[256]; local
1251 for (i = 0; i < *mNumChannelsPtr && len < sizeof(buf); i++) {
1252 len += snprintf(buf + len, sizeof(buf) - len, "%u ",
1256 __FUNCTION__, *mNumChannelsPtr, buf);
H A Drb_wrapper.cpp88 wifi_error ring_buffer_write(struct rb_info *rb_info, u8 *buf, size_t length, argument
93 status = rb_write(rb_info->rb_ctx, buf, length, 0, record_length);
97 status = rb_write(rb_info->rb_ctx, buf, length, 0, record_length);
122 u8 *buf; local
124 buf = rb_get_read_buf(rb_info->rb_ctx, &length);
125 if (buf == NULL) {
133 handler.on_ring_buffer_data(rb_info->name, (char *)buf,
136 free(buf);
H A Drb_wrapper.h54 wifi_error ring_buffer_write(struct rb_info *rb_info, u8 *buf, size_t length,
H A Dring_buffer.cpp154 enum rb_status rb_write (void *ctx, u8 *buf, size_t length, int overwrite, argument
228 * buffer @wr_buf_no will be copied from input buf */
232 /* Allocate a buffer if no buf available @ wr_buf_no */
242 * from buf and the maximum length that can be written into current
287 (buf + bytes_written),
343 size_t rb_read (void *ctx, u8 *buf, size_t max_length) argument
392 memcpy((buf + bytes_read),
442 u8 *buf; local
494 buf = rbc->bufs[rbc->rd_buf_no].data;
508 buf
[all...]
H A Dring_buffer.h56 /* Writes writes length of bytes from buf to ring buffer */
57 enum rb_status rb_write(void *ctx, u8 *buf, size_t length, int overwrite,
60 /* Tries to read max_length of bytes from ring buffer to buf
63 size_t rb_read(void *ctx, u8 *buf, size_t max_length);
H A Dwifilogger_diag.cpp125 u8* buf, int length)
146 pScanCapabilities = (wlan_ext_scan_capabilities_payload_type *)buf;
225 u32 id, u8* buf, int length)
246 pBtScanStart = (wlan_bt_coex_bt_scan_start_payload_type *)buf;
261 pBtScanStop = (wlan_bt_coex_bt_scan_stop_payload_type *)buf;
279 u8* buf, int length)
300 pBtCoexStartPL = (wlan_bt_coex_bt_sco_start_payload_type *)buf;
315 pBtCoexStopPL = (wlan_bt_coex_bt_sco_stop_payload_type *)buf;
330 pBtCoexHidStartPL = (wlan_bt_coex_bt_hid_start_payload_type *)buf;
344 pBtCoexHidStopPL = (wlan_bt_coex_bt_hid_stop_payload_type *)buf;
124 process_log_extscan_capabilities(hal_info *info, u8* buf, int length) argument
224 process_bt_coex_scan_event(hal_info *info, u32 id, u8* buf, int length) argument
278 process_bt_coex_event(hal_info *info, u32 id, u8* buf, int length) argument
398 process_extscan_event(hal_info *info, u32 id, u8* buf, int length) argument
540 process_addba_success_event(hal_info *info, u8* buf, int length) argument
584 process_addba_failed_event(hal_info *info, u8* buf, int length) argument
628 process_roam_event(hal_info *info, u32 id, u8* buf, int length) argument
773 process_firmware_prints(hal_info *info, u8 *buf, u16 length) argument
810 process_beacon_received_event(hal_info *info, u8* buf, int length) argument
849 process_fw_diag_msg(hal_info *info, u8* buf, u16 length) argument
1049 process_wlan_pe_event(hal_info *info, u8* buf, int length) argument
1099 process_wlan_eapol_event(hal_info *info, u8* buf, int length) argument
1152 process_wakelock_event(hal_info *info, u8* buf, int length) argument
1224 process_wlan_log_complete_event(hal_info *info, u8* buf, int length) argument
1242 process_wlan_low_resource_failure(hal_info *info, u8* buf, u16 length) argument
1419 parse_rx_stats(hal_info *info, u8 *buf, u16 size) argument
[all...]
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
H A Ddriver_cmd_nl80211.c39 char *buf; member in struct:android_wifi_priv_cmd
67 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, argument
87 ret = os_snprintf(buf, buf_len,
92 os_memcpy(buf, cmd, strlen(cmd) + 1);
95 priv_cmd.buf = buf;
113 ret = strlen(buf);
116 __func__, MAC2STR(buf));
118 wpa_printf(MSG_DEBUG, "%s: P2P: %s ", __func__, buf);
120 wpa_printf(MSG_DEBUG, "%s: P2P: %s ", __func__, buf);
138 char buf[MAX_DRV_CMD_SIZE]; local
146 wpa_driver_get_p2p_noa(void *priv, u8 *buf, size_t len) argument
155 char buf[MAX_DRV_CMD_SIZE]; local
[all...]
/hardware/qcom/msm8x84/kernel-headers/linux/
H A Dmsm_vidc_enc.h442 struct venc_buffer buf; member in struct:venc_msg
/hardware/qcom/msm8x84/kernel-headers/sound/
H A Dasound.h444 void __user *buf; member in struct:snd_xferi
/hardware/qcom/msm8x84/original-kernel-headers/linux/
H A Dmsm_vidc_enc.h665 struct venc_buffer buf; member in struct:venc_msg
/hardware/qcom/msm8x84/original-kernel-headers/sound/
H A Dasound.h450 void __user *buf; member in struct:snd_xferi
/hardware/qcom/neuralnetworks/hvxservice/1.0/
H A DHexagonController.cpp110 int Controller::getlog(hexagon_nn_nn_id id, unsigned char* buf, uint32_t length) { argument
111 CONTROLLER_CHECK(getlog, id, buf, length);
114 int Controller::snpprint(hexagon_nn_nn_id id, unsigned char* buf, uint32_t length) { argument
115 CONTROLLER_CHECK(snpprint, id, buf, length);
H A DHexagonController.h61 int getlog(hexagon_nn_nn_id id, unsigned char* buf, uint32_t length);
63 int snpprint(hexagon_nn_nn_id id, unsigned char* buf, uint32_t length);
/hardware/qcom/neuralnetworks/hvxservice/1.0/hexagon_nn_controller/
H A Dhexagon_nn_controller.h76 typedef int (*hexagon_nn_controller_getlog_fn)(hexagon_nn_nn_id id, unsigned char* buf,
79 typedef int (*hexagon_nn_controller_snpprint_fn)(hexagon_nn_nn_id id, unsigned char* buf,
/hardware/qcom/msm8998/gpt-utils/
H A Dgpt-utils.cpp138 * \param [in] buf Pointer to the buffer containing the data
145 static int blk_rw(int fd, int rw, int64_t offset, uint8_t *buf, unsigned len) argument
156 r = write(fd, buf, len);
158 r = read(fd, buf, len);
982 char buf[PATH_MAX] = {0}; local
983 //Holds the resolved path of the symlink stored in buf
1009 snprintf(buf, sizeof(buf),
1013 if (stat(buf, &ufs_dir_stat)) {
1016 if (readlink(buf, real_pat
1058 get_dev_path_from_partition_name(const char *partname, char *buf, size_t buflen) argument
[all...]
/hardware/qcom/msm8998/json-c/
H A Djson_object.c289 return jso->_pb->buf;
597 char buf[128], *p, *q; local
604 size = snprintf(buf, sizeof(buf), "NaN");
607 size = snprintf(buf, sizeof(buf), "Infinity");
609 size = snprintf(buf, sizeof(buf), "-Infinity");
611 size = snprintf(buf, sizeof(buf), "
[all...]
H A Djson_tokener.c361 char *infbuf = tok->pb->buf;
394 strncasecmp(json_null_str, tok->pb->buf, size) == 0)
395 || (strncmp(json_null_str, tok->pb->buf, size) == 0)
405 strncasecmp(json_nan_str, tok->pb->buf, size_nan) == 0) ||
406 (strncmp(json_nan_str, tok->pb->buf, size_nan) == 0)
462 MC_DEBUG("json_tokener_comment: %s\n", tok->pb->buf);
470 MC_DEBUG("json_tokener_comment: %s\n", tok->pb->buf);
484 current = json_object_new_string_len(tok->pb->buf, tok->pb->bpos);
640 strncasecmp(json_true_str, tok->pb->buf, size1) == 0)
641 || (strncmp(json_true_str, tok->pb->buf, size
[all...]
H A Djson_util.c71 char buf[JSON_FILE_BUF_SIZE]; local
84 while((ret = read(fd, buf, JSON_FILE_BUF_SIZE)) > 0) {
85 printbuf_memappend(pb, buf, ret);
94 obj = json_tokener_parse(pb->buf);
148 int json_parse_double(const char *buf, double *retval) argument
150 return (sscanf(buf, "%lf", retval)==1 ? 0 : 1);
179 int json_parse_int64(const char *buf, int64_t *retval) argument
193 while (isspace((int)*buf) && *buf)
194 buf
[all...]
H A Djson_util.h36 extern int json_parse_int64(const char *buf, int64_t *retval);
37 extern int json_parse_double(const char *buf, double *retval);

Completed in 637 milliseconds

1234567891011>>