/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() 76 free(buff); in read_cil_file()
|
/system/core/qemu_pipe/ |
D | qemu_pipe.cpp | 70 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/ |
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/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/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | ssid.h | 43 void SetData(const uint8_t *buff, size_t 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 | 647 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/ |
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/core/llkd/ |
D | libllkd.cpp | 133 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/ |
D | rw_i93.cc | 2249 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/ |
D | btm_inq.cc | 2270 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/ |
D | nfa_dm_act.cc | 548 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/ |
D | nfa_hci_utils.cc | 317 char buff[MAX_BUFF_SIZE]; in nfa_hciu_send_msg() local 322 buff, MAX_BUFF_SIZE), in nfa_hciu_send_msg()
|
D | nfa_hci_main.cc | 703 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/ |
D | nfa_ee_act.cc | 126 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()
|