Searched refs:read_size (Results 1 – 7 of 7) sorted by relevance
/system/core/libbacktrace/ |
D | BacktraceOffline.cpp | 61 size_t read_size = std::min(size, static_cast<size_t>(end - addr)); in Read() local 62 memcpy(buffer, data + (addr - start), read_size); in Read() 63 return read_size; in Read() 88 size_t read_size = backtrace->Read(addr, reinterpret_cast<uint8_t*>(value), sizeof(unw_word_t)); in AccessMem() local 92 return (read_size > 0u ? 0 : -UNW_EINVAL); in AccessMem() 202 size_t read_size = eh_frame_hdr_space_.Read(addr, buffer, bytes); in Read() local 203 if (read_size != 0) { in Read() 204 return read_size; in Read() 206 read_size = eh_frame_space_.Read(addr, buffer, bytes); in Read() 207 if (read_size != 0) { in Read() [all …]
|
/system/connectivity/shill/net/ |
D | netlink_socket_unittest.cc | 186 static const size_t read_size = next_read_string.size(); in TEST_F() local 187 ByteString expected_results(next_read_string.c_str(), read_size); in TEST_F() 193 .WillOnce(Return(read_size)); in TEST_F() 197 RecvFrom(kFakeFd, _, read_size, 0, _, _)) in TEST_F()
|
/system/core/metricsd/ |
D | metrics_library.cc | 84 int read_size = read(mounts_fd, buffer, buffer_size); in IsDeviceMounted() local 85 if (read_size <= 0) { in IsDeviceMounted() 90 for (int i = 0; i < read_size; ++i) { in IsDeviceMounted()
|
/system/extras/tests/iptables/qtaguid/ |
D | socketTag.cpp | 137 ssize_t read_size; in checkTag() local 148 read_size = read(ctrl_fd, ctrl_data, sizeof(ctrl_data)); in checkTag() 149 if (read_size < 0) { in checkTag() 153 ctrl_data[read_size] = '\0'; in checkTag()
|
/system/bt/btif/src/ |
D | btif_media_task.c | 2811 UINT32 read_size; in btif_media_aa_read_feeding() local 2845 read_size = bytes_needed - btif_media_cb.media_feeding_state.pcm.aa_feed_residue; in btif_media_aa_read_feeding() 2849 read_size); in btif_media_aa_read_feeding() 2850 if (nb_byte_read == read_size) { in btif_media_aa_read_feeding() 2855 nb_byte_read, read_size); in btif_media_aa_read_feeding() 2857 btif_media_cb.stats.media_read_total_underflow_bytes += (read_size - nb_byte_read); in btif_media_aa_read_feeding() 2905 read_size = src_samples; in btif_media_aa_read_feeding() 2906 read_size *= btif_media_cb.media_feeding.cfg.pcm.num_channel; in btif_media_aa_read_feeding() 2907 read_size *= (btif_media_cb.media_feeding.cfg.pcm.bit_per_sample / 8); in btif_media_aa_read_feeding() 2910 nb_byte_read = UIPC_Read(channel_id, &event, (UINT8 *)read_buffer, read_size); in btif_media_aa_read_feeding() [all …]
|
D | btif_storage.c | 1446 size_t read_size = value_size; in btif_storage_read_hl_apps_cb() local 1448 (uint8_t *)value, &read_size)) { in btif_storage_read_hl_apps_cb() 1451 if (read_size != (size_t)value_size) { in btif_storage_read_hl_apps_cb() 1453 __FUNCTION__, value_size, read_size); in btif_storage_read_hl_apps_cb()
|
/system/core/adf/libadf/ |
D | adf.c | 684 ssize_t read_size = read(fd, &event_ret->data, data_size); in adf_read_event() local 685 if (read_size < 0) { in adf_read_event() 689 if ((size_t)read_size < data_size) { in adf_read_event()
|