Home
last modified time | relevance | path

Searched refs:size_ (Results 1 – 7 of 7) 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
Dbionic_netlink.cpp46 size_ = 8192; in NetlinkConnection()
47 data_ = new char[size_]; in NetlinkConnection()
83 while ((bytes_read = TEMP_FAILURE_RETRY(recv(fd_, data_, size_, 0))) > 0) { in ReadResponses()
Dbionic_netlink.h49 size_t size_; variable
/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()
/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_;