Home
last modified time | relevance | path

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

1234567891011

/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/extras/memcpy-perf/
Dtest-funcs.cpp3 void __attribute__((noinline)) memcpy_noinline(void *dst, void *src, size_t size) in memcpy_noinline()
8 void __attribute__((noinline)) memset_noinline(void *dst, int value, size_t size) in memset_noinline()
13 uint64_t __attribute__((noinline)) sum(volatile void *src, size_t size) in sum()
/system/bt/osi/src/
Dallocator.c28 size_t size = strlen(str) + 1; // + 1 for the null terminator in osi_strdup() local
45 size_t size = strlen(str); in osi_strndup() local
65 void *osi_malloc(size_t size) { in osi_malloc()
72 void *osi_calloc(size_t size) { in osi_calloc()
/system/core/bootstat/
Devent_log_list_builder_test.cpp35 size_t size; in TEST() local
57 size_t size; in TEST() local
80 size_t size; in TEST() local
106 size_t size; in TEST() local
Devent_log_list_builder.cpp77 size_t* size) { in Release()
86 void EventLogListBuilder::AppendData(const void* data, size_t size) { in AppendData()
/system/core/fastboot/
Dprotocol.cpp51 static int check_response(Transport* transport, uint32_t size, char* response) { in check_response()
108 static int _command_start(Transport* transport, const char* cmd, uint32_t size, char* response) { in _command_start()
128 static int _command_data(Transport* transport, const void* data, uint32_t size) { in _command_data()
147 static int _command_send(Transport* transport, const char* cmd, const void* data, uint32_t size, in _command_send()
183 int fb_download_data(Transport* transport, const void* data, uint32_t size) { in fb_download_data()
254 int size = sparse_file_len(s, true, false); in fb_download_data_sparse() local
/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/libcutils/arch-mips/
Dandroid_memset.c36 void android_memset16(uint16_t* dst, uint16_t value, size_t size) in android_memset16()
63 void android_memset32(uint32_t* dst, uint32_t value, size_t size) in android_memset32()
/system/extras/simpleperf/nonlinux_support/include/linux/
Dioctl.h18 #define __IOR(type, nr, size) argument
19 #define __IOW(type, nr, size) argument
/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()
/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/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/webservd/webservd/
Drequest.cc47 size_t size) { in PostDataIterator()
176 const int size = data.size(); in Complete() local
210 bool Request::AddRequestData(const void* data, size_t* size) { in AddRequestData()
270 size_t size) { in ProcessPostData()
278 bool Request::AddRawRequestData(const void* data, size_t* size) { in AddRawRequestData()
363 size_t size) { in AddPostFieldData()
388 size_t size) { in AppendPostFieldData()
/system/update_engine/common/
Dhttp_fetcher.cc35 void HttpFetcher::SetPostData(const void* data, size_t size, in SetPostData()
44 void HttpFetcher::SetPostData(const void* data, size_t size) { in SetPostData()
/system/core/libutils/
DJenkinsHash.cpp37 uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size_t size) { in JenkinsHashMixBytes()
56 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size) { in JenkinsHashMixShorts()
/system/security/keystore/
Dkeystore_utils.cpp30 size_t readFully(int fd, uint8_t* data, size_t size) { in readFully()
43 size_t writeFully(int fd, uint8_t* data, size_t size) { in writeFully()
/system/core/logd/
DLogStatistics.cpp66 unsigned short size = element->getMsgLen(); in add() local
101 unsigned short size = element->getMsgLen(); in subtract() local
138 unsigned short size = element->getMsgLen(); in drop() local
227 std::string size = android::base::StringPrintf("%zu", getSizes()); in format() local
349 std::string size = android::base::StringPrintf("%zu", in format() local
389 std::string size = android::base::StringPrintf("%zu", in format() local
428 std::string size = android::base::StringPrintf("%zu", in format() local
/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

1234567891011