Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 381) sorted by relevance

12345678910>>...16

/system/nvram/messages/tests/
Dio_test.cpp80 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/
DSharedBuffer_test.cpp38 android::SharedBuffer* buf = in TEST() local
49 android::SharedBuffer* buf = android::SharedBuffer::alloc(SIZE_MAX / 2); in TEST() local
57 android::SharedBuffer* buf = android::SharedBuffer::alloc(0); in TEST() local
64 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); in TEST() local
73 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); in TEST() local
84 android::SharedBuffer* buf = android::SharedBuffer::alloc(10); in TEST() local
DString8.cpp47 SharedBuffer* buf = SharedBuffer::alloc(1); in getEmptyString() local
65 SharedBuffer* buf = SharedBuffer::alloc(len+1); in allocFromUTF8() local
89 SharedBuffer* buf = SharedBuffer::alloc(resultStrLen); in allocFromUTF16() local
111 SharedBuffer* buf = SharedBuffer::alloc(resultStrLen); in allocFromUTF32() local
320 char* buf = lockBuffer(oldLength + n); in appendFormatV() local
333 SharedBuffer* buf; in real_append() local
351 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in lockBuffer() local
369 SharedBuffer* buf = SharedBuffer::bufferFromData(mString) in unlockBuffer() local
398 char* buf = lockBuffer(size()); in removeAll() local
423 char* buf = lockBuffer(length); in toLower() local
[all …]
DString16.cpp36 SharedBuffer* buf = SharedBuffer::alloc(size); in alloc() local
52 SharedBuffer* buf = static_cast<SharedBuffer*>(alloc(sizeof(char16_t) * (u16len + 1))); in allocFromUTF8() local
75 SharedBuffer* buf = static_cast<SharedBuffer*>(alloc((u16len + 1) * sizeof(char16_t))); in allocFromUTF16() local
178 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize((len + 1) * sizeof(char16_t))); in setTo() local
205 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize(size)); in append() local
233 SharedBuffer* buf = static_cast<SharedBuffer*>(editResize(size)); in insert() local
292 SharedBuffer* buf; in edit() local
306 SharedBuffer* buf; in editResize() local
361 SharedBuffer* buf = static_cast<SharedBuffer*>(edit()); in replaceAll() local
/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp38 uint8_t* serialize_key_blob(const keymaster_key_blob_t& key_blob, uint8_t* buf, in serialize_key_blob()
67 uint8_t* serialize_blob(const keymaster_blob_t& blob, uint8_t* buf, const uint8_t* end) { in serialize_blob()
95 uint8_t* serialize_chain(const keymaster_cert_chain_t& certificate_chain, uint8_t* buf, in serialize_chain()
169 uint8_t* KeymasterResponse::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
190 uint8_t* GenerateKeyRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
213 uint8_t* GenerateKeyResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
236 uint8_t* GenerateRkpKeyResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
257 uint8_t* GenerateCsrRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
301 uint8_t* GenerateCsrResponse::NonErrorSerialize(uint8_t* buf, const uint8_t* end) const { in NonErrorSerialize()
325 uint8_t* GetKeyCharacteristicsRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
[all …]
/system/core/fastboot/fuzzy_fastboot/
Dtransport_sniffer.cpp25 std::vector<char> buf(err, err + strlen(err)); in Read() local
32 std::vector<char> buf(cdata, cdata + ret); in Read() local
46 std::vector<char> buf(err, err + strlen(err)); in Write() local
53 std::vector<char> buf(cdata, cdata + len); in Write() local
68 std::vector<char> buf; in Reset() local
91 const auto msg = [&ret, no_print](const std::vector<char>& buf) { in CreateTrace()
174 std::vector<char> buf; in ProcessSerial() local
/system/bt/osi/src/
Dbuffer.cc49 buffer_t* buffer_new_ref(const buffer_t* buf) { in buffer_new_ref()
54 buffer_t* buffer_new_slice(const buffer_t* buf, size_t slice_size) { in buffer_new_slice()
83 void* buffer_ptr(const buffer_t* buf) { in buffer_ptr()
88 size_t buffer_length(const buffer_t* buf) { in buffer_length()
/system/libbase/
Dcmsg_test.cpp73 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/libufdt/tests/src/
Dutil.c31 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()
/system/logging/liblog/
Dlogd_reader.cpp80 ssize_t SendLogdControlMessage(char* buf, size_t buf_size) { in SendLogdControlMessage()
140 static int check_log_success(char* buf, ssize_t ret) { in check_log_success()
158 char buf[512]; in android_logger_clear() local
176 char buf[512]; in GetLogSize() local
222 char buf[512]; in android_logger_set_log_size() local
232 ssize_t android_logger_get_statistics(struct logger_list* logger_list, char* buf, size_t len) { in android_logger_get_statistics()
261 ssize_t android_logger_get_prune_list(struct logger_list* logger_list, char* buf, size_t len) { in android_logger_get_prune_list()
270 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/
Ddmabuf_dump.cpp70 for (auto& buf : bufs) { in PrintDmaBufTable() local
86 for (auto& buf : bufs) { in PrintDmaBufTable() local
140 for (auto& buf : bufs) { in PrintDmaBufPerProcess() local
151 for (auto buf : bufs) { in PrintDmaBufPerProcess() local
163 DmaBuffer& buf = inode_to_dmabuf[inode]; in PrintDmaBufPerProcess() local
234 for (const auto& buf : buffer_stats) { in DumpDmabufSysfsStats() local
/system/chre/util/tests/
Dbuffer_test.cc37 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/chre/chpp/clients/
Dgnss.c172 uint8_t *buf, in chppDispatchGnssResponse()
248 uint8_t *buf, in chppDispatchGnssNotification()
367 uint8_t *buf, size_t len) { in chppGnssCloseResult()
384 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssGetCapabilitiesResult()
416 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssControlLocationSessionResult()
456 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssControlMeasurementSessionResult()
496 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssConfigurePassiveLocationListenerResult()
522 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssStateResyncNotification()
546 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssLocationResultNotification()
574 struct ChppGnssClientState *clientContext, uint8_t *buf, size_t len) { in chppGnssMeasurementResultNotification()
Dwifi.c178 uint8_t *buf, in chppDispatchWifiResponse()
250 uint8_t *buf, in chppDispatchWifiNotification()
384 uint8_t *buf, size_t len) { in chppWifiCloseResult()
401 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiGetCapabilitiesResult()
433 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiConfigureScanMonitorResult()
482 uint8_t *buf, size_t len) { in chppWifiRequestScanResult()
515 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiRequestRangingResult()
541 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiScanEventNotification()
581 struct ChppWifiClientState *clientContext, uint8_t *buf, size_t len) { in chppWifiRangingEventNotification()
/system/extras/ioshark/
Dcompile_ioshark.c108 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/core/gatekeeperd/
DGateKeeperResponse.cpp44 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/libcutils/
Dpartition_utils.cpp28 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
Dashmem-host.cpp37 static bool ashmem_validate_stat(int fd, struct stat* buf) { in ashmem_validate_stat()
56 struct stat buf; in ashmem_valid() local
90 struct stat buf; in ashmem_get_size_region() local
/system/extras/tests/kernel.config/
Dsysvipc_test.cpp35 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/bt/btif/src/
Dbtif_sock_util.cc50 int sock_send_all(int sock_fd, const uint8_t* buf, int len) { in sock_send_all()
65 int sock_recv_all(int sock_fd, uint8_t* buf, int len) { in sock_recv_all()
81 int sock_send_fd(int sock_fd, const uint8_t* buf, int len, int send_fd) { in sock_send_fd()
/system/bt/bta/hf_client/
Dbta_hf_client_at.cc122 tBTA_HF_CLIENT_AT_CMD cmd, const char* buf, in bta_hf_client_queue_at()
170 tBTA_HF_CLIENT_AT_CMD cmd, const char* buf, in bta_hf_client_send_at()
797 #define AT_CHECK_EVENT(buf, event) \ argument
805 #define AT_CHECK_RN(buf) \ argument
815 #define AT_SKIP_REST(buf) \ argument
1600 char* buf = client_cb->at_cb.buf; in bta_hf_client_at_parse_start() local
1671 void bta_hf_client_at_parse(tBTA_HF_CLIENT_CB* client_cb, char* buf, in bta_hf_client_at_parse()
1732 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; in bta_hf_client_send_at_brsf() local
1747 const char* buf; in bta_hf_client_send_at_bac() local
1757 char buf[BTA_HF_CLIENT_AT_MAX_LEN]; in bta_hf_client_send_at_bcs() local
[all …]
/system/chre/chpp/services/
Dtimesync.c41 const uint8_t *buf, size_t len) { in chppTimesyncGetTime()
69 const uint8_t *buf, size_t len) { in chppDispatchTimesyncClientRequest()
/system/extras/simpleperf/
Drecord_file_reader.cpp143 std::vector<char> buf(header_.attr_size); in ReadAttrSection() local
273 std::vector<char> buf; in ReadRecord() local
344 bool RecordFileReader::Read(void* buf, size_t len) { in Read()
352 bool RecordFileReader::ReadAtOffset(uint64_t offset, void* buf, size_t len) { in ReadAtOffset()
410 std::vector<char> buf; in ReadCmdlineFeature() local
431 std::vector<char> buf; in ReadBuildIdFeature() local
454 std::vector<char> buf; in ReadFeatureString() local
467 std::vector<char> buf; in ReadAuxTraceFeature() local
507 std::vector<char> buf(size); in ReadFileFeature() local
556 std::vector<char> buf; in ReadMetaInfoFeature() local
[all …]
/system/core/healthd/
DBatteryMonitor.cpp177 int BatteryMonitor::readFromFile(const String8& path, std::string* buf) { in readFromFile()
201 std::string buf; in readPowerSupplyType() local
216 std::string buf; in getBooleanField() local
227 std::string buf; in getIntField() local
288 std::string buf; in updateValues() local
401 std::string buf; in getChargeStatus() local
410 std::string buf; in getProperty() local
/system/keymaster/include/keymaster/
Dserializable.h89 inline uint8_t* append_uint32_to_buf(uint8_t* buf, const uint8_t* end, T value) { in append_uint32_to_buf()
97 inline uint8_t* append_uint64_to_buf(uint8_t* buf, const uint8_t* end, uint64_t value) { in append_uint64_to_buf()
107 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()
120 inline uint8_t* append_uint32_array_to_buf(uint8_t* buf, const uint8_t* end, const T* data, in append_uint32_array_to_buf()
202 Buffer(const void* buf, size_t size) : buffer_(nullptr) { Reinitialize(buf, size); } in Buffer()

12345678910>>...16