Home
last modified time | relevance | path

Searched refs:size_ (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/bionic/
Dscandir.cpp31 ScandirResult() : names_(nullptr), size_(0), capacity_(0) { in ScandirResult()
35 while (size_ > 0) { in ~ScandirResult()
36 free(names_[--size_]); in ~ScandirResult()
42 return size_; in size()
48 size_ = capacity_ = 0; in release()
53 if (size_ >= capacity_) { in Add()
68 names_[size_++] = copy; in Add()
74 if (size_ > 0 && comparator != nullptr) { in Sort()
75 qsort(names_, size_, sizeof(dirent*), in Sort()
82 size_t size_; member in ScandirResult
Datexit.cpp58 size_t size() const { return size_; } in size()
68 size_t size_; member in __anon0ca2bf2e0111::AtexitArray
89 return round_up_to_page_bytes(size_ - extracted_count_) < round_up_to_page_bytes(size_); in needs_recompaction()
102 if (size_ < capacity_ || expand_capacity()) { in append_entry()
103 array_[size_++] = entry; in append_entry()
131 while (src < size_ && array_[src].fn != nullptr) { in recompact()
137 for (; src < size_; ++src) { in recompact()
146 size_t old_bytes = round_up_to_page_bytes(size_); in recompact()
152 size_ = dst; in recompact()
Dbionic_netlink.cpp44 size_ = 8192; in NetlinkConnection()
45 data_ = new char[size_]; in NetlinkConnection()
79 while ((bytes_read = TEMP_FAILURE_RETRY(recv(fd_.get(), data_, size_, 0))) > 0) { in ReadResponses()
Dbionic_netlink.h51 size_t size_; variable
/bionic/libc/malloc_debug/
DRecordData.cpp57 MallocEntry::MallocEntry(void* pointer, size_t size) : AllocEntry(pointer), size_(size) {} in MallocEntry()
60 return android::base::StringPrintf("%d: malloc %p %zu\n", tid_, pointer_, size_); in GetString()
73 return android::base::StringPrintf("%d: calloc %p %zu %zu\n", tid_, pointer_, nmemb_, size_); in GetString()
80 …return android::base::StringPrintf("%d: realloc %p %p %zu\n", tid_, pointer_, old_pointer_, size_); in GetString()
88 …return android::base::StringPrintf("%d: memalign %p %zu %zu\n", tid_, pointer_, alignment_, size_); in GetString()
DRecordData.h86 size_t size_;
/bionic/linker/
Dlinker_mapped_file_fragment.h43 size_t size() const { return size_; } in size()
48 size_t size_; variable
Dlinker_mapped_file_fragment.cpp39 data_(nullptr), size_ (0) in MappedFileFragment()
72 size_ = size; in Map()