/system/core/qemu_pipe/include/ |
H A D | qemu_pipe.h | 48 // Send a framed message |buff| of |len| bytes through the |fd| descriptor. 51 int qemu_pipe_frame_send(int fd, const void* buff, size_t len); 53 // Read a frame message from |fd|, and store it into |buff| of |len| bytes. 58 int qemu_pipe_frame_recv(int fd, void* buff, size_t len);
|
/system/core/qemu_pipe/ |
H A D | qemu_pipe.cpp | 71 int qemu_pipe_frame_send(int fd, const void* buff, size_t len) { argument 78 if (!WriteFully(fd, buff, len)) { 85 int qemu_pipe_frame_recv(int fd, void* buff, size_t len) { argument 102 if (!ReadFully(fd, buff, size)) {
|
/system/media/alsa_utils/ |
H A D | alsa_logging.c | 39 char buff[BUFF_SIZE]; local 40 buff[0] = '\0'; 43 strcat(buff, "["); 47 strcat(buff, (mask->bits[slot_index] & bit_mask) != 0 ? "1" : "0"); 51 strcat(buff, ","); 54 strcat(buff, "]"); 56 ALOGV("%s: mask:%s", mask_name, buff);
|
/system/sepolicy/tools/ |
H A D | version_policy.c | 35 char *buff = NULL; local 49 buff = malloc(file_size); 50 if (buff == NULL) { 55 rc = fread(buff, file_size, 1, file); 65 rc = cil_add_file(*db, path, buff, file_size); 70 free(buff); 74 free(buff);
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
H A D | ssid.h | 43 void SetData(const uint8_t *buff, size_t len);
|
/system/chre/apps/wifi_offload/ |
H A D | ssid.cc | 26 void Ssid::SetData(const uint8_t *buff, size_t len) { argument 36 ssid_vec_.push_back(buff[i]);
|
/system/tools/hidl/c2hal/test/ |
H A D | simple.h | 66 void (*doDump)(int foo, char *buff, int buff_len);
|
H A 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/extras/tests/iptables/qtaguid/ |
H A D | socketTag.cpp | 69 char *buff; local 76 vasprintf(&buff, fmt, argp); 78 res = write(ctrl, buff, strlen(buff)); 79 testPrintI("cmd: '%s' res=%d %d/%s", buff, res, errno, strerror(errno)); 81 free(buff); 152 std::string buff = android::base::StringPrintf(" tag=0x%" PRIx64 " (uid=%u)", full_tag, uid); local 154 buff = android::base::StringPrintf("sock=%" PRIxPTR, (uintptr_t)addr) + buff; 157 testPrintI("looking for '%s'", buff [all...] |
/system/extras/tests/kernel.config/ |
H A D | aslr_test.cpp | 69 char buff[MAX_ADDR_LEN]; local 90 len = read(fd[0], buff, MAX_ADDR_LEN - 1); 96 buff[len] = '\0'; 112 return std::string(buff, strlen(buff));
|
/system/bt/btif/include/ |
H A D | btif_pan_internal.h | 102 uint16_t protocol, const char* buff, uint16_t size, bool ext,
|
/system/core/adb/ |
H A D | transport.cpp | 148 char buff[8]; local 150 snprintf(buff, sizeof buff, "fd=%d", fd); 151 name = buff; 172 char buff[8]; local 174 snprintf(buff, sizeof buff, "fd=%d", fd); 175 name = buff;
|
/system/vold/ |
H A D | EncryptInplace.cpp | 39 static inline int unix_read(int fd, void* buff, int len) argument 41 return TEMP_FAILURE_RETRY(read(fd, buff, len)); 44 static inline int unix_write(int fd, const void* buff, int len) argument 46 return TEMP_FAILURE_RETRY(write(fd, buff, len));
|
H A D | cryptfs.cpp | 573 static inline int unix_read(int fd, void* buff, int len) argument 575 return TEMP_FAILURE_RETRY(read(fd, buff, len)); 578 static inline int unix_write(int fd, const void* buff, int len) argument 580 return TEMP_FAILURE_RETRY(write(fd, buff, len));
|
/system/bt/stack/gatt/ |
H A D | gatt_utils.cc | 755 uint8_t buff[60]; local 756 uint8_t* p = buff; 776 DATA_ELE_SEQ_DESC_TYPE, (uint32_t)(p - buff), buff); 784 DATA_ELE_SEQ_DESC_TYPE, (uint32_t)(p - buff), buff);
|
/system/nfc/src/nfa/dm/ |
H A D | nfa_dm_act.cc | 547 uint8_t buff[255]; local 548 uint8_t* p = buff; 560 buff, true);
|
/system/bt/stack/btm/ |
H A D | btm_inq.cc | 2357 char buff[Uuid::kNumBytes128 * 2 + 1]; local 2388 snprintf(buff + xx * 2, sizeof(buff) - xx * 2, "%02X", 2390 BTM_TRACE_DEBUG(" 0x%s", buff);
|
/system/nfc/src/nfa/hci/ |
H A D | nfa_hci_main.cc | 703 char buff[100]; local 796 buff),
|
H A D | nfa_hci_utils.cc | 307 char buff[100]; local 311 nfa_hciu_get_type_inst_names(pipe_id, type, instruction, buff), msg_len);
|
/system/nfc/src/nfc/tags/ |
H A D | rw_i93.cc | 2073 uint8_t flags, xx, length_offset, buff[I93_MAX_BLOCK_LENGH]; local 2159 memset(buff, I93_ICODE_TLV_TYPE_NULL, p_i93->block_size); 2160 memcpy(buff, p, xx); 2161 p = buff; 2166 buff[xx] = I93_ICODE_TLV_TYPE_TERM; 2184 memset(buff, I93_ICODE_TLV_TYPE_NULL, p_i93->block_size); 2185 buff[0] = I93_ICODE_TLV_TYPE_TERM; 2186 p = buff;
|
/system/nfc/src/nfa/ee/ |
H A D | nfa_ee_act.cc | 122 char buff[100]; local 124 buff[0] = 0; 131 yy += sprintf(&buff[yy], "%02x ", *p); 135 "%s id:0x%x len=%d aid:%s", p_str.c_str(), id, aid_len, buff);
|