Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 22 of 22) 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()
74 free(buff); in read_cil_file()
/system/core/qemu_pipe/
Dqemu_pipe.cpp71 int qemu_pipe_frame_send(int fd, const void* buff, size_t len) { in qemu_pipe_frame_send() argument
78 if (!WriteFully(fd, buff, len)) { in qemu_pipe_frame_send()
85 int qemu_pipe_frame_recv(int fd, void* buff, size_t len) { in qemu_pipe_frame_recv() argument
102 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/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dssid.h43 void SetData(const uint8_t *buff, size_t len);
/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/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.cpp576 static inline int unix_read(int fd, void* buff, int len) { in unix_read() argument
577 return TEMP_FAILURE_RETRY(read(fd, buff, len)); in unix_read()
580 static inline int unix_write(int fd, const void* buff, int len) { in unix_write() argument
581 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/netd/resolv/
Dres_cache.cpp303 char buff[1024]; in dump_bytes() local
304 char *p = buff, *end = p + sizeof(buff); in dump_bytes()
307 LOG(INFO) << __func__ << ": " << buff; in dump_bytes()
418 static void _dnsPacket_init(DnsPacket* packet, const uint8_t* buff, int bufflen) { in _dnsPacket_init() argument
419 packet->base = buff; in _dnsPacket_init()
420 packet->end = buff + bufflen; in _dnsPacket_init()
421 packet->cursor = buff; in _dnsPacket_init()
/system/core/llkd/
Dlibllkd.cpp132 static dirent buff[numLevels][buffEntries]; member in __anon19030e590111::dir
139 auto rc = TEMP_FAILURE_RETRY(syscall(__NR_getdents64, fd, buff[index], sizeof(buff[0]), 0)); in fill()
142 next = buff[index]; in fill()
213 dirent dir::buff[dir::numLevels][dir::buffEntries]; member in __anon19030e590111::dir
/system/nfc/src/nfc/tags/
Drw_i93.cc2162 uint8_t flags, xx, length_offset, buff[I93_MAX_BLOCK_LENGH]; in rw_i93_sm_update_ndef() local
2268 memset(buff, I93_ICODE_TLV_TYPE_NULL, p_i93->block_size); in rw_i93_sm_update_ndef()
2269 memcpy(buff, p, xx); in rw_i93_sm_update_ndef()
2270 p = buff; in rw_i93_sm_update_ndef()
2275 buff[xx] = I93_ICODE_TLV_TYPE_TERM; in rw_i93_sm_update_ndef()
2293 memset(buff, I93_ICODE_TLV_TYPE_NULL, p_i93->block_size); in rw_i93_sm_update_ndef()
2294 buff[0] = I93_ICODE_TLV_TYPE_TERM; in rw_i93_sm_update_ndef()
2295 p = buff; in rw_i93_sm_update_ndef()
/system/bt/stack/btm/
Dbtm_inq.cc2357 char buff[Uuid::kNumBytes128 * 2 + 1]; in BTM_GetEirUuidList() local
2388 snprintf(buff + xx * 2, sizeof(buff) - xx * 2, "%02X", in BTM_GetEirUuidList()
2390 BTM_TRACE_DEBUG(" 0x%s", buff); in BTM_GetEirUuidList()
/system/nfc/src/nfa/dm/
Dnfa_dm_act.cc547 uint8_t buff[255]; in nfa_dm_set_config() local
548 uint8_t* p = buff; in nfa_dm_set_config()
560 buff, true); in nfa_dm_set_config()
/system/nfc/src/nfa/hci/
Dnfa_hci_utils.cc310 char buff[100]; in nfa_hciu_send_msg() local
314 nfa_hciu_get_type_inst_names(pipe_id, type, instruction, buff), msg_len); in nfa_hciu_send_msg()
Dnfa_hci_main.cc702 char buff[100]; in nfa_hci_conn_cback() local
793 buff), in nfa_hci_conn_cback()
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc125 char buff[100]; in nfa_ee_trace_aid() local
127 buff[0] = 0; in nfa_ee_trace_aid()
134 yy += sprintf(&buff[yy], "%02x ", *p); in nfa_ee_trace_aid()
138 "%s id:0x%x len=%d aid:%s", p_str.c_str(), id, aid_len, buff); in nfa_ee_trace_aid()