| /system/nvram/messages/tests/ |
| D | io_test.cpp | 80 TestInputStreamBuffer<10> buf; in TEST() local 96 InputStreamBuffer buf(nullptr, nullptr); in TEST() local 103 TestInputStreamBuffer<10> buf; in TEST() local 109 TestInputStreamBuffer<10> buf; in TEST() local 114 TestInputStreamBuffer<1, 1> buf; in TEST() local 127 TestInputStreamBuffer<10, 10, 10> buf; in TEST() local 135 TestInputStreamBuffer<10, 10, 10> buf; in TEST() local 143 TestInputStreamBuffer<10> buf; in TEST() local 149 TestInputStreamBuffer<10> buf; in TEST() local 157 TestInputStreamBuffer<10, 5> buf; in TEST() local [all …]
|
| /system/core/libutils/binder/ |
| D | SharedBuffer_test.cpp | 36 android::SharedBuffer* buf = in TEST() local 47 android::SharedBuffer* buf = android::SharedBuffer::alloc(SIZE_MAX / 2); in TEST() local 55 android::SharedBuffer* buf = android::SharedBuffer::alloc(0); in TEST() local 62 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); in TEST() local 71 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); in TEST() local 82 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); in TEST() local
|
| D | String8.cpp | 41 SharedBuffer* buf = SharedBuffer::alloc(1); in getEmptyString() local 59 SharedBuffer* buf = SharedBuffer::alloc(len+1); in allocFromUTF8() local 83 SharedBuffer* buf = SharedBuffer::alloc(resultStrLen); in allocFromUTF16() local 105 SharedBuffer* buf = SharedBuffer::alloc(resultStrLen); in allocFromUTF32() local 311 char* buf = lockBuffer(oldLength + n); in appendFormatV() local 324 SharedBuffer* buf; in real_append() local 342 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in lockBuffer() local 360 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in unlockBuffer() local 394 char* buf = lockBuffer(size()); in removeAll() local 419 char* buf = lockBuffer(length); in toLower() local
|
| D | String16.cpp | 49 SharedBuffer* buf = SharedBuffer::alloc(size); in alloc() local 65 SharedBuffer* buf = static_cast<SharedBuffer*>(alloc(sizeof(char16_t) * (u16len + 1))); in allocFromUTF8() local 88 SharedBuffer* buf = static_cast<SharedBuffer*>(alloc((u16len + 1) * sizeof(char16_t))); in allocFromUTF16() local 201 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize((len + 1) * sizeof(char16_t))); in setTo() local 228 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize(size)); in append() local 256 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize(size)); in insert() local 315 SharedBuffer* buf; in edit() local 329 SharedBuffer* buf; in editResize() local 388 SharedBuffer* buf = static_cast<SharedBuffer*>(edit()); in replaceAll() local
|
| /system/keymaster/android_keymaster/ |
| D | android_keymaster_messages.cpp | 41 uint8_t* serialize_key_blob(const keymaster_key_blob_t& key_blob, uint8_t* buf, in serialize_key_blob() 70 uint8_t* serialize_blob(const keymaster_blob_t& blob, uint8_t* buf, const uint8_t* end) { in serialize_blob() 98 uint8_t* serialize_chain(const keymaster_cert_chain_t& certificate_chain, uint8_t* buf, in serialize_chain() 172 uint8_t* KeymasterResponse::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() 193 uint8_t* GenerateKeyRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() 216 uint8_t* GenerateKeyResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize() 239 uint8_t* GenerateRkpKeyResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize() 260 uint8_t* GenerateCsrRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() 304 uint8_t* GenerateCsrResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize() 325 uint8_t* GenerateCsrV2Request::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() [all …]
|
| /system/chre/chpp/test/ |
| D | transport_util.cpp | 63 uint8_t validateChppTestResponse(void *buf, uint8_t ackSeq, uint8_t handle, in validateChppTestResponse() 104 void addPreambleToBuf(uint8_t *buf, size_t *location) { in addPreambleToBuf() 120 ChppTransportHeader *addTransportHeaderToBuf(uint8_t *buf, size_t *location) { in addTransportHeaderToBuf() 149 ChppAppHeader *addAppHeaderToBuf(uint8_t *buf, size_t *location) { in addAppHeaderToBuf() 175 void addTransportFooterToBuf(uint8_t *buf, size_t *location) { in addTransportFooterToBuf() 195 void openService(ChppTransportState *transportContext, uint8_t *buf, in openService() 249 void sendCommandToService(ChppTransportState *transportContext, uint8_t *buf, in sendCommandToService()
|
| /system/core/fastboot/fuzzy_fastboot/ |
| D | transport_sniffer.cpp | 26 std::vector<char> buf(err, err + strlen(err)); in Read() local 33 std::vector<char> buf(cdata, cdata + ret); in Read() local 47 std::vector<char> buf(err, err + strlen(err)); in Write() local 54 std::vector<char> buf(cdata, cdata + len); in Write() local 69 std::vector<char> buf; in Reset() local 92 const auto msg = [&ret, no_print](const std::vector<char>& buf) { in CreateTrace() 175 std::vector<char> buf; in ProcessSerial() local
|
| /system/libbase/ |
| D | cmsg_test.cpp | 73 char buf[2]; in TEST_P() local 85 char buf[2]; in TEST_P() local 107 char buf[2]; in TEST_P() local 117 char buf[2]; in TEST_P() local 135 char buf[2]; in TEST_P() local 155 char buf[2]; in TEST_P() local 170 char buf[2]; in TEST_P() local 189 char buf[2]; in TEST_P() local
|
| /system/chre/chpp/clients/ |
| D | wifi.c | 204 uint8_t *buf, in chppDispatchWifiResponse() 290 uint8_t *buf, in chppDispatchWifiNotification() 472 uint8_t *buf, size_t len) { in chppWifiCloseResult() 489 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiGetCapabilitiesResult() 522 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiConfigureScanMonitorResult() 565 uint8_t *buf, size_t len) { in chppWifiRequestScanResult() 599 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiRequestRangingResult() 622 static void chppWifiRequestNanSubscribeResult(uint8_t *buf, size_t len) { in chppWifiRequestNanSubscribeResult() 644 static void chppWifiNanSubscriptionCanceledResult(uint8_t *buf, size_t len) { in chppWifiNanSubscriptionCanceledResult() 668 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiScanEventNotification() [all …]
|
| D | gnss.c | 178 uint8_t *buf, in chppDispatchGnssResponse() 256 uint8_t *buf, in chppDispatchGnssNotification() 370 uint8_t *buf, size_t len) { in chppGnssCloseResult() 387 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssGetCapabilitiesResult() 420 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssControlLocationSessionResult() 453 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssControlMeasurementSessionResult() 486 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssConfigurePassiveLocationListenerResult() 511 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssStateResyncNotification() 535 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssLocationResultNotification() 563 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssMeasurementResultNotification()
|
| /system/logging/liblog/ |
| D | logd_reader.cpp | 83 ssize_t SendLogdControlMessage(char* buf, size_t buf_size) { in SendLogdControlMessage() 138 static int check_log_success(char* buf, ssize_t ret) { in check_log_success() 156 char buf[512]; in android_logger_clear() local 174 char buf[512]; in GetLogSize() local 220 char buf[512]; in android_logger_set_log_size() local 230 ssize_t android_logger_get_statistics(struct logger_list* logger_list, char* buf, size_t len) { in android_logger_get_statistics() 259 ssize_t android_logger_get_prune_list(struct logger_list* logger_list, char* buf, size_t len) { in android_logger_get_prune_list() 268 int android_logger_set_prune_list(struct logger_list* logger_list, const char* buf, size_t len) { in android_logger_set_prune_list()
|
| /system/memory/libmeminfo/libdmabufinfo/tools/ |
| D | dmabuf_dump.cpp | 80 for (auto& buf : bufs) { in PrintDmaBufTable() local 96 for (auto& buf : bufs) { in PrintDmaBufTable() local 149 for (auto& buf : bufs) { in PrintDmaBufPerProcess() local 157 for (auto buf : bufs) { in PrintDmaBufPerProcess() local 169 DmaBuffer& buf = inode_to_dmabuf[inode]; in PrintDmaBufPerProcess() local 209 for (const auto& buf : buffer_stats) { in DumpDmabufSysfsStats() local
|
| /system/extras/ioshark/ |
| D | compile_ioshark.c | 108 get_delta_ts(char *buf, struct timeval *prev) in get_delta_ts() 123 get_tracetype(char *buf, char *trace_type) in get_tracetype() 176 get_pathname(char *buf, char *pathname, enum file_op file_op) in get_pathname() 221 get_syscall(char *buf, char *syscall) in get_syscall() 244 get_mmap_offset_len_prot(char *buf, int *prot, off_t *offset, u_int64_t *len) in get_mmap_offset_len_prot() 293 get_lseek_offset_action(char *buf, enum file_op op, in get_lseek_offset_action() 334 get_rw_len(char *buf, in get_rw_len() 349 get_prw64_offset_len(char *buf, in get_prw64_offset_len() 375 get_ftrace_offset_len(char *buf, in get_ftrace_offset_len() 403 get_openat_flags_mode(char *buf, char *flags, mode_t *mode) in get_openat_flags_mode()
|
| /system/chre/util/tests/ |
| D | buffer_test.cc | 37 float buf[128]; in TEST() local 47 float buf[128]; in TEST() local 67 float buf[128]; in TEST() local 78 float buf[128]; in TEST() local
|
| /system/libufdt/tests/src/ |
| D | util.c | 31 char *buf = malloc(len); in load_file_contents() local 54 char *buf = load_file_contents(fp, len_ptr); in load_file() local 62 const void *buf, size_t buf_size) { in write_buf_to_file()
|
| D | extract_dtb.c | 25 static int find_dtb_header_pos(const char *buf, size_t buf_size) { in find_dtb_header_pos() 46 static int find_and_write_dtb(const char *filename, const char *buf, in find_and_write_dtb() 111 char *buf = NULL; in extract_dtbs() local
|
| /system/keymaster/include/keymaster/ |
| D | serializable.h | 99 inline uint8_t* append_uint32_to_buf(uint8_t* buf, const uint8_t* end, T value) { in append_uint32_to_buf() 107 inline uint8_t* append_uint64_to_buf(uint8_t* buf, const uint8_t* end, uint64_t value) { in append_uint64_to_buf() 117 inline uint8_t* append_size_and_data_to_buf(uint8_t* buf, const uint8_t* end, const void* data, in append_size_and_data_to_buf() 129 uint8_t* append_collection_to_buf(uint8_t* buf, const uint8_t* end, const T& value) { in append_collection_to_buf() 144 inline uint8_t* append_uint32_array_to_buf(uint8_t* buf, const uint8_t* end, const T* data, in append_uint32_array_to_buf() 254 Buffer(const void* buf, size_t size) : buffer_(nullptr) { Reinitialize(buf, size); } in Buffer()
|
| /system/extras/tests/kernel.config/ |
| D | sysvipc_test.cpp | 35 int msgctl(int id, int cmd, msqid_ds* buf) { in msgctl() 48 int semctl(int id, int num, int cmd, semid_ds* buf) { in semctl() 61 int shmctl(int id, int cmd, shmid_ds* buf) { in shmctl()
|
| /system/core/libcutils/ |
| D | ashmem-host.cpp | 42 static bool ashmem_validate_stat(int fd, struct stat* buf) { in ashmem_validate_stat() 66 struct stat buf; in ashmem_valid() local 105 struct stat buf; in ashmem_get_size_region() local
|
| D | partition_utils.cpp | 28 static int only_one_char(uint8_t *buf, int len, uint8_t c) in only_one_char() 43 uint8_t buf[4096]; in partition_wiped() local
|
| /system/extras/simpleperf/ |
| D | record_file_reader.cpp | 175 std::vector<char> buf(header_.attr_size); in ReadAttrSection() local 316 std::vector<char> buf; in ReadRecord() local 407 std::vector<char> buf(header.size - sizeof(header)); in ReadRecordWithDecompression() local 426 bool RecordFileReader::Read(void* buf, size_t len) { in Read() 434 bool RecordFileReader::ReadAtOffset(uint64_t offset, void* buf, size_t len) { in ReadAtOffset() 501 std::vector<char> buf; in ReadCmdlineFeature() local 525 std::vector<char> buf; in ReadBuildIdFeature() local 554 std::vector<char> buf; in ReadFeatureString() local 566 std::vector<char> buf; in ReadAuxTraceFeature() local 640 std::vector<char> buf(size); in ReadFileV1Feature() local [all …]
|
| /system/core/gatekeeperd/ |
| D | GateKeeperResponse.cpp | 44 const uint8_t* buf = reinterpret_cast<const uint8_t*>(in->readInplace(length)); in readFromParcel() local 68 uint8_t* buf = reinterpret_cast<uint8_t*>(out->writeInplace(payload_.size())); in writeToParcel() local
|
| /system/core/debuggerd/crasher/ |
| D | crasher.cpp | 91 char buf[128]; in smash_stack() local 104 void* buf[1]; in overflow_stack() local 149 char buf[16]; in abuse_heap() local 267 char buf[1]; in do_action() local 312 char buf[10]; in do_action() local
|
| /system/core/healthd/ |
| D | BatteryMonitor_v1.cpp | 230 static int readFromFile(const String8& path, std::string* buf) { in readFromFile() 256 std::string buf; in readPowerSupplyType() local 272 std::string buf; in getBooleanField() local 283 std::string buf; in getIntField() local 343 std::string buf; in updateValues() local 468 std::string buf; in getChargeStatus() local 477 std::string buf; in getProperty() local
|
| /system/extras/simpleperf/runtest/ |
| D | autofdo_inline_test.cpp | 24 void cond_branch_example_function(uint16_t* prob, uint8_t* buf) { in cond_branch_example_function() 53 uint8_t buf[256] = {0}; in main() local
|