Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 21 of 21) sorted by relevance

/system/media/alsa_utils/
Dalsa_logging.c39 char buff[BUFF_SIZE]; in log_pcm_mask() local
40 buff[0] = '\0'; in log_pcm_mask()
43 strcat(buff, "["); in log_pcm_mask()
47 strcat(buff, (mask->bits[slot_index] & bit_mask) != 0 ? "1" : "0"); in log_pcm_mask()
51 strcat(buff, ","); in log_pcm_mask()
54 strcat(buff, "]"); in log_pcm_mask()
56 ALOGV("%s: mask:%s", mask_name, buff); in log_pcm_mask()
/system/sepolicy/tools/
Dversion_policy.c35 char *buff = NULL; in read_cil_file() local
49 buff = malloc(file_size); in read_cil_file()
50 if (buff == NULL) { in read_cil_file()
55 rc = fread(buff, file_size, 1, file); in read_cil_file()
65 rc = cil_add_file(*db, path, buff, file_size); in read_cil_file()
70 free(buff); in read_cil_file()
76 free(buff); in read_cil_file()
/system/core/qemu_pipe/
Dqemu_pipe.cpp70 int qemu_pipe_frame_send(int fd, const void* buff, size_t len) { in qemu_pipe_frame_send() argument
77 if (!WriteFully(fd, buff, len)) { in qemu_pipe_frame_send()
84 int qemu_pipe_frame_recv(int fd, void* buff, size_t len) { in qemu_pipe_frame_recv() argument
101 if (!ReadFully(fd, buff, size)) { in qemu_pipe_frame_recv()
/system/core/qemu_pipe/include/
Dqemu_pipe.h51 int qemu_pipe_frame_send(int fd, const void* buff, size_t len);
58 int qemu_pipe_frame_recv(int fd, void* buff, size_t len);
/system/extras/tests/iptables/qtaguid/
DsocketTag.cpp69 char *buff; in doCtrlCommand() local
76 vasprintf(&buff, fmt, argp); in doCtrlCommand()
78 res = write(ctrl, buff, strlen(buff)); in doCtrlCommand()
79 testPrintI("cmd: '%s' res=%d %d/%s", buff, res, errno, strerror(errno)); in doCtrlCommand()
81 free(buff); in doCtrlCommand()
152 std::string buff = android::base::StringPrintf(" tag=0x%" PRIx64 " (uid=%u)", full_tag, uid); in checkTag() local
154 buff = android::base::StringPrintf("sock=%" PRIxPTR, (uintptr_t)addr) + buff; in checkTag()
157 testPrintI("looking for '%s'", buff.c_str()); in checkTag()
162 pos = ctrl_data.find(buff); in checkTag()
/system/extras/tests/kernel.config/
Daslr_test.cpp69 char buff[MAX_ADDR_LEN]; in scrape_addr() local
90 len = read(fd[0], buff, MAX_ADDR_LEN - 1); in scrape_addr()
96 buff[len] = '\0'; in scrape_addr()
112 return std::string(buff, strlen(buff)); in scrape_addr()
/system/chre/apps/wifi_offload/
Dssid.cc26 void Ssid::SetData(const uint8_t *buff, size_t len) { in SetData() argument
36 ssid_vec_.push_back(buff[i]); in SetData()
/system/tools/hidl/c2hal/test/
Dsimple.h66 void (*doDump)(int foo, char *buff, int buff_len);
Dtest.h230 void (*dump)(struct framebuffer_device_t* dev, char *buff, int buff_len);
280 void (*p2)(struct framebuffer_device_t* dev, char *buff, int buff_len);
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dssid.h43 void SetData(const uint8_t *buff, size_t len);
/system/bt/btif/include/
Dbtif_pan_internal.h102 uint16_t protocol, const char* buff, uint16_t size, bool ext,
/system/vold/
DEncryptInplace.cpp39 static inline int unix_read(int fd, void* buff, int len) { in unix_read() argument
40 return TEMP_FAILURE_RETRY(read(fd, buff, len)); in unix_read()
43 static inline int unix_write(int fd, const void* buff, int len) { in unix_write() argument
44 return TEMP_FAILURE_RETRY(write(fd, buff, len)); in unix_write()
Dcryptfs.cpp647 static inline int unix_read(int fd, void* buff, int len) { in unix_read() argument
648 return TEMP_FAILURE_RETRY(read(fd, buff, len)); in unix_read()
651 static inline int unix_write(int fd, const void* buff, int len) { in unix_write() argument
652 return TEMP_FAILURE_RETRY(write(fd, buff, len)); in unix_write()
/system/bt/stack/gatt/
Dgatt_utils.cc766 uint8_t buff[60]; in gatt_add_sdp_record() local
767 uint8_t* p = buff; in gatt_add_sdp_record()
787 DATA_ELE_SEQ_DESC_TYPE, (uint32_t)(p - buff), buff); in gatt_add_sdp_record()
795 DATA_ELE_SEQ_DESC_TYPE, (uint32_t)(p - buff), buff); in gatt_add_sdp_record()
/system/core/llkd/
Dlibllkd.cpp133 static dirent buff[numLevels][buffEntries]; member in __anon9bb54f900111::dir
140 auto rc = TEMP_FAILURE_RETRY(syscall(__NR_getdents64, fd, buff[index], sizeof(buff[0]), 0)); in fill()
143 next = buff[index]; in fill()
214 dirent dir::buff[dir::numLevels][dir::buffEntries]; member in __anon9bb54f900111::dir
/system/nfc/src/nfc/tags/
Drw_i93.cc2249 uint8_t flags, xx, length_offset, buff[I93_MAX_BLOCK_LENGH]; in rw_i93_sm_update_ndef() local
2355 memset(buff, I93_ICODE_TLV_TYPE_NULL, p_i93->block_size); in rw_i93_sm_update_ndef()
2356 memcpy(buff, p, xx); in rw_i93_sm_update_ndef()
2357 p = buff; in rw_i93_sm_update_ndef()
2362 buff[xx] = I93_ICODE_TLV_TYPE_TERM; in rw_i93_sm_update_ndef()
2380 memset(buff, I93_ICODE_TLV_TYPE_NULL, p_i93->block_size); in rw_i93_sm_update_ndef()
2381 buff[0] = I93_ICODE_TLV_TYPE_TERM; in rw_i93_sm_update_ndef()
2382 p = buff; in rw_i93_sm_update_ndef()
/system/bt/stack/btm/
Dbtm_inq.cc2270 char buff[Uuid::kNumBytes128 * 2 + 1]; in BTM_GetEirUuidList() local
2301 snprintf(buff + xx * 2, sizeof(buff) - xx * 2, "%02X", in BTM_GetEirUuidList()
2303 BTM_TRACE_DEBUG(" 0x%s", buff); in BTM_GetEirUuidList()
/system/nfc/src/nfa/dm/
Dnfa_dm_act.cc548 uint8_t buff[255]; in nfa_dm_set_config() local
549 uint8_t* p = buff; in nfa_dm_set_config()
561 buff, true); in nfa_dm_set_config()
/system/nfc/src/nfa/hci/
Dnfa_hci_utils.cc317 char buff[MAX_BUFF_SIZE]; in nfa_hciu_send_msg() local
322 buff, MAX_BUFF_SIZE), in nfa_hciu_send_msg()
Dnfa_hci_main.cc703 char buff[MAX_BUFF_SIZE]; in nfa_hci_conn_cback() local
808 nfa_hciu_get_type_inst_names(pipe, nfa_hci_cb.type, nfa_hci_cb.inst, buff, in nfa_hci_conn_cback()
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc126 char buff[MAX_BUFF_SIZE]; in nfa_ee_trace_aid() local
128 buff[0] = 0; in nfa_ee_trace_aid()
135 yy += snprintf(&buff[yy], MAX_BUFF_SIZE - yy, "%02x ", *p); in nfa_ee_trace_aid()
139 "%s id:0x%x len=%d aid:%s", p_str.c_str(), id, aid_len, buff); in nfa_ee_trace_aid()