Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 193) sorted by relevance

12345678

/system/core/include/utils/
DFlattenable.h32 static size_t align(size_t size) { in align()
50 static void advance(void*& buffer, size_t& size, size_t offset) { in advance()
55 static void advance(void const*& buffer, size_t& size, size_t offset) { in advance()
62 static void write(void*& buffer, size_t& size, const T& value) { in write()
69 static void read(void const*& buffer, size_t& size, T& value) { in read()
118 void*& buffer, size_t& size, int*& fds, size_t& count) const { in flatten()
123 void const*& buffer, size_t& size, int const*& fds, size_t& count) { in unflatten()
159 inline status_t LightFlattenable<T>::flatten(void* buffer, size_t size) const { in flatten()
163 inline status_t LightFlattenable<T>::unflatten(void const* buffer, size_t size) { in unflatten()
183 inline status_t flatten(void* buffer, size_t size) const { in flatten()
DKeyedVector.h54 inline size_t size() const { return mVector.size(); } in size() function
60 inline ssize_t setCapacity(size_t size) { return mVector.setCapacity(size); } in setCapacity()
DSortedVector.h65 inline size_t size() const { return VectorImpl::size(); } in size() function
71 inline ssize_t setCapacity(size_t size) { return VectorImpl::setCapacity(size); } in setCapacity()
DVector.h75 inline size_t size() const { return VectorImpl::size(); } in size() function
81 inline ssize_t setCapacity(size_t size) { return VectorImpl::setCapacity(size); } in setCapacity()
87 inline ssize_t resize(size_t size) { return VectorImpl::resize(size); } in resize()
/system/core/libion/tests/
Dexit_test.cpp32 for (size_t size : allocationSizes) { in TEST_F() local
50 for (size_t size : allocationSizes) { in TEST_F() local
68 for (size_t size : allocationSizes) { in TEST_F() local
92 for (size_t size : allocationSizes) { in TEST_F() local
115 for (size_t size : allocationSizes) { in TEST_F() local
139 for (size_t size : allocationSizes) { in TEST_F() local
162 for (size_t size : allocationSizes) { in TEST_F() local
186 for (size_t size : allocationSizes) { in TEST_F() local
209 for (size_t size : allocationSizes) { in TEST_F() local
Dmap_test.cpp32 for (size_t size : allocationSizes) { in TEST_F() local
61 for (size_t size : allocationSizes) { in TEST_F() local
116 for (size_t size : allocationSizes) { in TEST_F() local
142 for (size_t size : allocationSizes) { in TEST_F() local
Dallocate_test.cpp31 for (size_t size : allocationSizes) { in TEST_F() local
46 for (size_t size : allocationSizes) { in TEST_F() local
61 for (size_t size : allocationSizes) { in TEST_F() local
76 for (size_t size : allocationSizes) { in TEST_F() local
/system/core/logd/
DLogStatistics.cpp68 unsigned short size = e->getMsgLen(); in add() local
96 unsigned short size = e->getMsgLen(); in subtract() local
123 unsigned short size = e->getMsgLen(); in drop() local
187 android::String8 &name, android::String8 &size, android::String8 &pruned) { in format_line()
298 android::String8 size("Size"); in format() local
324 android::String8 size(""); in format() local
357 android::String8 size("Size"); in format() local
382 android::String8 size(""); in format() local
411 android::String8 size("Size"); in format() local
439 android::String8 size(""); in format() local
[all …]
/system/bt/osi/src/
Dallocator.c28 size_t size = strlen(str) + 1; // + 1 for the null terminator in osi_strdup() local
42 void *osi_malloc(size_t size) { in osi_malloc()
50 void *osi_calloc(size_t size) { in osi_calloc()
Dallocation_tracker.c37 size_t size; member
175 size_t allocation_tracker_resize_for_canary(size_t size) { in allocation_tracker_resize_for_canary()
189 static void *untracked_calloc(size_t size) { in untracked_calloc()
/system/keymaster/
Dserializable.cpp38 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size) { in copy_from_buf()
49 bool copy_size_and_data_from_buf(const uint8_t** buf_ptr, const uint8_t* end, size_t* size, in copy_size_and_data_from_buf()
70 bool Buffer::reserve(size_t size) { in reserve()
86 bool Buffer::Reinitialize(size_t size) { in Reinitialize()
/system/core/fastboot/
Dprotocol.c50 static int check_response(usb_handle *usb, unsigned int size, char *response) in check_response()
109 static int _command_start(usb_handle *usb, const char *cmd, unsigned size, in _command_start()
132 static int _command_data(usb_handle *usb, const void *data, unsigned size) in _command_data()
162 const void *data, unsigned size, in _command_send()
204 int fb_download_data(usb_handle *usb, const void *data, unsigned size) in fb_download_data()
292 int size = sparse_file_len(s, true, false); in fb_download_data_sparse() local
/system/extras/tests/sdcard/
Dstopwatch.cpp36 #define SNPRINTF_OR_RETURN(str, size, format, ...) { \ argument
106 void StopWatch::sprint(char **str, size_t *size) in sprint()
217 void StopWatch::printAverageMinMax(char **str, size_t *size) in printAverageMinMax()
228 void StopWatch::printThroughput(char **str, size_t *size) in printThroughput()
Dsysutil.cpp77 int readStringFromFile(const char *filename, char *const start, size_t size, bool must_exist=true) in readStringFromFile()
161 size_t size = len; in writeStringToFile() local
235 int kernelVersion(char *str, size_t size) in kernelVersion()
285 int schedFeatures(char *str, size_t size) in schedFeatures()
447 size_t size = sizeof(pid); in writePidAndWaitForReply() local
525 size_t size; in waitForChildrenAndSignal() local
/system/extras/tests/pagingtest/
Dpagingtest.c17 int create_tmp_file(char *filename, off_t size) { in create_tmp_file()
95 unsigned char *alloc_mincore_vec(size_t size) { in alloc_mincore_vec()
106 bool check_caching(void *buf, unsigned char *vec, size_t size, bool is_cached) { in check_caching()
/system/core/libcutils/arch-mips/
Dandroid_memset.c33 void android_memset16(uint16_t* dst, uint16_t value, size_t size) in android_memset16()
57 void android_memset32(uint32_t* dst, uint32_t value, size_t size) in android_memset32()
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/
Dbitops.h19 #define for_each_set_bit(bit, addr, size) \ argument
25 #define for_each_set_bit_from(bit, addr, size) \ argument
94 find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit()
120 find_next_bit(const unsigned long *addr, unsigned long size, unsigned long offset) in find_next_bit()
/system/bt/embdrv/sbc/decoder/include/
Doi_string.h58 #define OI_MemCopy(to, from, size) memcpy((to), (from), (size)) argument
59 #define OI_MemSet(block, val, size) memset((block), (val), (size)) argument
60 #define OI_MemZero(block, size) memset((block), 0, (size)) argument
/system/core/libutils/
DJenkinsHash.cpp33 uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size_t size) { in JenkinsHashMixBytes()
49 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size) { in JenkinsHashMixShorts()
/system/extras/perfprofd/quipper/
Dperf_reader.cc27 size_t size; member
35 size_t size; member
212 size_t size, in ReadDataFromBuffer()
662 bool PerfReader::ReadFromPointer(const char* perf_data, size_t size) { in ReadFromPointer()
1149 size_t offset, size_t size) { in ReadBuildIDMetadata()
1194 size_t offset, size_t size) { in ReadStringMetadata()
1215 size_t offset, size_t size) { in ReadUint32Metadata()
1237 size_t offset, size_t size) { in ReadUint64Metadata()
1329 const ConstBufferWithSize& data, size_t offset, size_t size) { in ReadTracingMetadata()
1358 size_t offset, size_t size) { in ReadAttrEventBlock()
[all …]
Dperf_utils.cc31 event_t* CallocMemoryForEvent(size_t size) { in CallocMemoryForEvent()
37 build_id_event* CallocMemoryForBuildID(size_t size) { in CallocMemoryForBuildID()
71 uint64_t AlignSize(uint64_t size, uint32_t align_size) { in AlignSize()
/system/extras/micro_bench/
Dmicro_bench.cpp113 uint8_t *allocateAlignedMemory(size_t size, int alignment, int or_mask) { in allocateAlignedMemory()
120 void initString(uint8_t *buf, size_t size) { in initString()
127 static inline double computeAverage(uint64_t time_ns, size_t size, size_t copies) { in computeAverage()
143 static inline void printIter(uint64_t time_ns, const char *name, size_t size, size_t copies, double… in printIter()
148 static inline void printSummary(uint64_t /*time_ns*/, const char *name, size_t size, size_t copies,… in printSummary()
157 int getAlignmentIncrement(size_t size, int alignment) { in getAlignmentIncrement()
173 static inline double computeColdAverage(uint64_t time_ns, size_t size, size_t copies, size_t num_bu… in computeColdAverage()
177 static void inline printColdIter(uint64_t time_ns, const char *name, size_t size, size_t copies, si… in printColdIter()
183 uint64_t /*time_ns*/, const char *name, size_t size, size_t copies, size_t num_buffers, in printColdSummary()
220 #define MAINLOOP_DATA(name, cmd_data, size, BENCH) \ argument
[all …]
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/
Dbitops.h33 #define for_each_set_bit(bit,addr,size) for((bit) = find_first_bit((addr), (size)); (bit) < (size);… argument
34 #define for_each_set_bit_from(bit,addr,size) for((bit) = find_next_bit((addr), (size), (bit)); (bit… argument
/system/media/radio/src/
Dradio_metadata.c100 const unsigned int size) in add_metadata()
226 const unsigned int size) in radio_metadata_add_raw()
262 unsigned int size; in radio_metadata_add_metadata() local
349 unsigned int *size) in radio_metadata_get_at_index()
378 unsigned int *size) in radio_metadata_get_from_key()
/system/core/libutils/tests/
DBlobCache_test.cpp274 size_t size = mBC->getFlattenedSize(); in roundTrip() local
322 size_t size = mBC->getFlattenedSize(); in TEST_F() local
344 size_t size = mBC->getFlattenedSize() - 1; in TEST_F() local
354 size_t size = mBC->getFlattenedSize(); in TEST_F() local
371 size_t size = mBC->getFlattenedSize(); in TEST_F() local
390 size_t size = mBC->getFlattenedSize(); in TEST_F() local
409 size_t size = mBC->getFlattenedSize(); in TEST_F() local

12345678