/system/media/alsa_utils/ |
D | alsa_logging.c | 39 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/ |
D | version_policy.c | 35 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/ |
D | qemu_pipe.cpp | 71 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/ |
D | qemu_pipe.h | 51 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/ |
D | socketTag.cpp | 69 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/ |
D | aslr_test.cpp | 69 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/ |
D | ssid.cc | 26 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/ |
D | ssid.h | 43 void SetData(const uint8_t *buff, size_t len);
|
/system/tools/hidl/c2hal/test/ |
D | simple.h | 66 void (*doDump)(int foo, char *buff, int buff_len);
|
D | test.h | 230 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/ |
D | btif_pan_internal.h | 102 uint16_t protocol, const char* buff, uint16_t size, bool ext,
|
/system/vold/ |
D | EncryptInplace.cpp | 39 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()
|
D | cryptfs.cpp | 576 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/ |
D | gatt_utils.cc | 766 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/ |
D | res_cache.cpp | 303 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/ |
D | libllkd.cpp | 132 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/ |
D | rw_i93.cc | 2162 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/ |
D | btm_inq.cc | 2357 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/ |
D | nfa_dm_act.cc | 547 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/ |
D | nfa_hci_utils.cc | 310 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()
|
D | nfa_hci_main.cc | 702 char buff[100]; in nfa_hci_conn_cback() local 793 buff), in nfa_hci_conn_cback()
|
/system/nfc/src/nfa/ee/ |
D | nfa_ee_act.cc | 125 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()
|