/system/core/libutils/include/utils/ |
D | Flattenable.h | 41 static size_t align(void const*& buffer) { in align() 49 static size_t align(void*& buffer) { in align() 58 static void advance(void*& buffer, size_t& size, size_t offset) { in advance() 63 static void advance(void const*& buffer, size_t& size, size_t offset) { in advance() 70 static void write(void*& buffer, size_t& size, const T& value) { in write() 79 static void read(void const*& buffer, size_t& size, T& value) { in read() 130 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten() 135 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten() 171 inline status_t LightFlattenable<T>::flatten(void* buffer, size_t size) const { in flatten() 175 inline status_t LightFlattenable<T>::unflatten(void const* buffer, size_t size) { in unflatten() [all …]
|
/system/chre/apps/wifi_offload/ |
D | flatbuffers_serialization.cc | 23 size_t Serialize(const wifi_offload::ScanStats &stats, uint8_t *buffer, in Serialize() 28 bool Deserialize(const uint8_t *buffer, size_t buffer_len, in Deserialize() 34 size_t Serialize(const wifi_offload::ScanConfig &config, uint8_t *buffer, in Serialize() 39 bool Deserialize(const uint8_t *buffer, size_t buffer_len, in Deserialize() 46 uint8_t *buffer, size_t buffer_len) { in Serialize() 52 bool Deserialize(const uint8_t *buffer, size_t buffer_len, in Deserialize()
|
/system/core/debuggerd/libdebuggerd/test/ |
D | dump_memory_test.cpp | 149 uint8_t buffer[256]; in TEST_F() local 168 uint8_t buffer[256]; in TEST_F() local 188 uint8_t buffer[256]; in TEST_F() local 257 uint8_t buffer[104]; in TEST_F() local 276 uint8_t buffer[104]; in TEST_F() local 301 uint8_t buffer[106]; in TEST_F() local 330 uint8_t buffer[256]; in TEST_F() local 384 uint8_t buffer[256]; in TEST_F() local 401 uint8_t buffer[256]; in TEST_F() local 426 uint8_t buffer[256]; in TEST_F() local [all …]
|
/system/core/libunwindstack/tests/ |
D | MemoryBufferTest.cpp | 38 std::vector<uint8_t> buffer(1024); in TEST_F() local 57 std::vector<uint8_t> buffer(memory_->Size()); in TEST_F() local 66 std::vector<uint8_t> buffer(200); in TEST_F() local 76 std::vector<uint8_t> buffer(200); in TEST_F() local
|
D | MemoryFileTest.cpp | 51 std::vector<char> buffer(11); in TEST_F() local 61 std::vector<char> buffer(11); in TEST_F() local 77 std::vector<char> buffer(9); in TEST_F() local 93 std::vector<char> buffer(11); in TEST_F() local 114 std::vector<char> buffer(11); in TEST_F() local 149 std::vector<char> buffer(100); in TEST_F() local 171 std::vector<uint8_t> buffer(pagesize - 100); in TEST_F() local 187 std::vector<uint8_t> buffer(pagesize * 10); in TEST_F() local 211 std::vector<uint8_t> buffer(pagesize * 10); in TEST_F() local 238 std::vector<uint8_t> buffer(pagesize * 10); in TEST_F() local [all …]
|
D | MapInfoCreateMemoryTest.cpp | 42 std::vector<uint8_t> buffer(1024); in SetUpTestCase() local 93 std::vector<uint8_t> buffer(1024); in TEST_F() local 113 std::vector<uint8_t> buffer(0x100); in TEST_F() local 127 std::vector<uint8_t> buffer(1024); in TEST_F() local 142 std::vector<uint8_t> buffer(1024); in TEST_F() local 166 std::vector<uint8_t> buffer(1024); in TEST_F() local
|
/system/connectivity/wifilogd/tests/ |
D | memory_reader_unittest.cpp | 31 constexpr std::array<uint8_t, 1> buffer{}; in TEST() local 37 constexpr std::array<uint8_t, 0> buffer{}; in TEST() local 48 constexpr std::array<uint8_t, 3> buffer{{1, 2, 3}}; in TEST() local 62 constexpr std::array<uint8_t, 3> buffer{{1, 2, 3}}; in TEST() local 110 constexpr std::array<uint8_t, 1024> buffer{}; in TEST() local 116 constexpr std::array<uint8_t, 1024> buffer{}; in TEST() local 122 constexpr std::array<uint8_t, 1024> buffer{}; in TEST() local 131 constexpr std::array<uint8_t, 1> buffer{}; in TEST() local 137 constexpr std::array<uint8_t, 0> buffer{}; in TEST() local 143 constexpr std::array<uint8_t, 1024> buffer{}; in TEST() local [all …]
|
D | os_unittest.cpp | 195 std::array<uint8_t, 8192> buffer{}; in TEST_F() local 208 std::array<uint8_t, kReadBufferSize> buffer{}; in TEST_F() local 221 std::array<uint8_t, kReadBufferSize> buffer{}; in TEST_F() local 232 std::array<uint8_t, 8192> buffer{}; in TEST_F() local 244 std::array<uint8_t, 8192> buffer{}; in TEST_F() local 255 constexpr std::array<uint8_t, 8192> buffer{}; in TEST_F() local 266 constexpr std::array<uint8_t, 8192> buffer{}; in TEST_F() local 276 constexpr std::array<uint8_t, 0> buffer{}; in TEST_F() local 286 constexpr std::array<uint8_t, 8192> buffer{}; in TEST_F() local 297 constexpr std::array<uint8_t, 0> buffer{}; in TEST_F() local [all …]
|
/system/extras/memory_replay/tests/ |
D | LineBufferTest.cpp | 46 char buffer[100]; in TEST_F() local 65 char buffer[100]; in TEST_F() local 86 char buffer[100]; in TEST_F() local 115 char buffer[100]; in TEST_F() local 145 char buffer[24]; in TEST_F() local 180 char buffer[60]; in TEST_F() local 215 char buffer[25]; in TEST_F() local
|
/system/core/adb/ |
D | commandline.h | 43 static void OnStream(std::string* string, FILE* stream, const char* buffer, int length) { in OnStream() 67 void OnStdout(const char* buffer, int length) { in OnStdout() 71 void OnStderr(const char* buffer, int length) { in OnStderr()
|
D | file_sync_service.cpp | 202 mode_t mode, std::vector<char>& buffer, bool do_unlink) { in handle_send_file() 316 static bool handle_send_link(int s, const std::string& path, std::vector<char>& buffer) { in handle_send_link() 363 static bool do_send(int s, const std::string& spec, std::vector<char>& buffer) { in do_send() 407 static bool do_recv(int s, const char* path, std::vector<char>& buffer) { in do_recv() 461 static bool handle_sync_command(int fd, std::vector<char>& buffer) { in handle_sync_command() 515 std::vector<char> buffer(SYNC_DATA_MAX); in file_sync_service() local
|
/system/core/storaged/ |
D | storaged_info.cpp | 44 struct stat buffer; in FileExists() local 89 string buffer; in report_sysfs() local 133 string buffer; in report_debugfs() local 170 string buffer; in report() local
|
/system/core/libappfuse/ |
D | FuseAppLoop.cc | 32 bool HandleLookUp(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleLookUp() 57 bool HandleGetAttr(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleGetAttr() 67 bool HandleRead(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleRead() 77 bool HandleWrite(FuseAppLoop* loop, FuseBuffer* buffer, FuseAppLoopCallback* callback) { in HandleWrite() 88 bool HandleMessage(FuseAppLoop* loop, FuseBuffer* buffer, int fd, FuseAppLoopCallback* callback) { in HandleMessage() 226 FuseBuffer buffer; in Start() local
|
/system/core/logcat/tests/ |
D | logcat_benchmark.cpp | 46 void init(const char* buffer) { in BM_logcat_sorted_order() 54 explicit timestamp(const char* buffer) { in BM_logcat_sorted_order() 78 char buffer[5120]; in BM_logcat_sorted_order() local
|
/system/connectivity/wificond/tests/ |
D | nl80211_attribute_unittest.cpp | 203 std::vector<uint8_t> buffer; in TEST() local 209 std::vector<uint8_t> buffer( in TEST() local 217 std::vector<uint8_t> buffer( in TEST() local 227 std::vector<uint8_t> buffer( in TEST() local 236 std::vector<uint8_t> buffer( in TEST() local 245 std::vector<uint8_t> buffer( in TEST() local 254 std::vector<uint8_t> buffer( in TEST() local 266 std::vector<uint8_t> buffer( in TEST() local
|
/system/core/fastboot/ |
D | tcp.cpp | 41 static uint64_t ExtractMessageLength(const void* buffer) { in ExtractMessageLength() 50 static void EncodeMessageLength(uint64_t length, void* buffer) { in EncodeMessageLength() 102 char buffer[kHandshakeLength + 1]; in InitializeProtocol() local 134 char buffer[8]; in Read() local
|
/system/netd/tests/dns_responder/ |
D | dns_responder.cpp | 48 std::string str2hex(const char* buffer, size_t len) { in str2hex() 157 const char* DNSName::read(const char* buffer, const char* buffer_end) { in read() 170 char* DNSName::write(char* buffer, const char* buffer_end) const { in write() 200 const char* DNSName::parseField(const char* buffer, const char* buffer_end, in parseField() 239 const char* DNSQuestion::read(const char* buffer, const char* buffer_end) { in read() 254 char* DNSQuestion::write(char* buffer, const char* buffer_end) const { in write() 268 char buffer[4096]; in toString() local 297 const char* DNSRecord::read(const char* buffer, const char* buffer_end) { in read() 317 char* DNSRecord::write(char* buffer, const char* buffer_end) const { in write() 330 char buffer[4096]; in toString() local [all …]
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.cc | 792 char* buffer) { in bta_hf_client_parse_ok() 802 char* buffer) { in bta_hf_client_parse_error() 812 char* buffer) { in bta_hf_client_parse_ring() 823 tBTA_HF_CLIENT_CB* client_cb, char* buffer, in bta_hf_client_parse_uint32() 843 char* buffer) { in bta_hf_client_parse_brsf() 851 char* buffer) { in bta_hf_client_parse_cind_values() 883 char* buffer) { in bta_hf_client_parse_cind_list() 917 char* buffer) { in bta_hf_client_parse_cind() 926 char* buffer) { in bta_hf_client_parse_chld() 980 char* buffer) { in bta_hf_client_parse_ciev() [all …]
|
/system/core/libcutils/ |
D | uevent.c | 32 ssize_t uevent_kernel_multicast_recv(int socket, void *buffer, size_t length) in uevent_kernel_multicast_recv() 47 ssize_t uevent_kernel_multicast_uid_recv(int socket, void *buffer, size_t length, uid_t *uid) in uevent_kernel_multicast_uid_recv() 52 ssize_t uevent_kernel_recv(int socket, void *buffer, size_t length, bool require_group, uid_t *uid) in uevent_kernel_recv()
|
/system/vold/ |
D | Devmapper.cpp | 43 char *buffer = (char *) malloc(1024 * 64); in dumpState() local 134 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); in lookupActive() local 168 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); in create() local 265 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); in destroy() local
|
/system/tpm/trunks/ |
D | tpm_generated.cc | 487 TPM_RC Serialize_uint8_t(const uint8_t& value, std::string* buffer) { in Serialize_uint8_t() 508 TPM_RC Parse_uint8_t(std::string* buffer, in Parse_uint8_t() 536 TPM_RC Serialize_int8_t(const int8_t& value, std::string* buffer) { in Serialize_int8_t() 557 TPM_RC Parse_int8_t(std::string* buffer, in Parse_int8_t() 585 TPM_RC Serialize_int(const int& value, std::string* buffer) { in Serialize_int() 606 TPM_RC Parse_int(std::string* buffer, int* value, std::string* value_bytes) { in Parse_int() 632 TPM_RC Serialize_uint16_t(const uint16_t& value, std::string* buffer) { in Serialize_uint16_t() 653 TPM_RC Parse_uint16_t(std::string* buffer, in Parse_uint16_t() 681 TPM_RC Serialize_int16_t(const int16_t& value, std::string* buffer) { in Serialize_int16_t() 702 TPM_RC Parse_int16_t(std::string* buffer, in Parse_int16_t() [all …]
|
/system/chre/util/nanoapp/ |
D | wifi.cc | 26 bool parseSsidToStr(char *buffer, size_t bufferLen, in parseSsidToStr() 52 char *buffer, size_t bufferLen) { in parseBssidToStr()
|
/system/nfc/src/adaptation/ |
D | CrcChecksum.cpp | 71 unsigned short crcChecksumCompute(const unsigned char* buffer, int bufferLen) { in crcChecksumCompute() 101 char buffer[1024]; in crcChecksumVerifyIntegrity() local
|
/system/media/audio_utils/spdif/ |
D | SPDIFEncoder.cpp | 104 void SPDIFEncoder::writeBurstBufferShorts(const uint16_t *buffer, size_t numShorts) in writeBurstBufferShorts() 127 void SPDIFEncoder::writeBurstBufferBytes(const uint8_t *buffer, size_t numBytes) in writeBurstBufferBytes() 228 ssize_t SPDIFEncoder::write( const void *buffer, size_t numBytes ) in write()
|
/system/core/libappfuse/tests/ |
D | FuseBufferTest.cc | 44 char buffer[std::max(headerSize, sizeof(FuseRequest))]; in TestReadInvalidLength() local 57 char buffer[std::max(size, sizeof(FuseRequest))]; in TestWriteInvalidLength() local 160 FuseBuffer buffer; in TEST() local 181 FuseBuffer buffer; in TEST() local
|