Home
last modified time | relevance | path

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

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_util.cpp29 Assign(other.ptr_, other.size_); in String()
59 size_ = len; in Assign()
65 size_t old_size = size_; in Append()
66 Resize(size_ + len); in Append()
80 if (new_size > size_) in Resize()
81 memset(ptr_ + size_, '\0', new_size - size_); in Resize()
83 size_ = new_size; in Resize()
85 ptr_[size_] = '\0'; in Resize()
95 if (size_ > new_capacity) in Reserve()
96 size_ = new_capacity; in Reserve()
Dcrazy_linker_memory_mapping.h24 MemoryMapping() : map_(NULL), size_(0) {} in MemoryMapping()
29 size_t GetSize() const { return size_; } in GetSize()
42 size_ = size; in Allocate()
43 map_ = ::mmap(address, size_, static_cast<int>(prot), flags, fd, 0); in Allocate()
55 if (!map_ || ::mprotect(map_, size_, static_cast<int>(prot)) < 0) in SetProtection()
63 ::munmap(map_, size_); in Deallocate()
70 size_t size_; variable
Dcrazy_linker_elf_relro.h24 SharedRelro() : start_(0), size_(0), ashmem_() {} in SharedRelro()
29 size_t end() const { return start_ + size_; } in end()
30 size_t size() const { return size_; } in size()
77 size_t size_; variable
Dcrazy_linker_util.h73 size_t size() const { return size_; } in size()
76 bool IsEmpty() const { return size_ == 0; } in IsEmpty()
81 Assign(other.ptr_, other.size_);
116 void Assign(const String& other) { Assign(other.ptr_, other.size_); } in Assign()
122 void Append(const String& other) { Append(other.ptr_, other.size_); } in Append()
129 size_ = 0; in Init()
136 size_t size_; variable
Dcrazy_linker_elf_relro.cpp84 size_ = relro_size; in Allocate()
106 size_ = relro_size; in CopyFrom()
138 size_ = relro_size; in CopyFromRelocated()
224 size_ = relro_size; in InitFrom()
/ndk/sources/third_party/googletest/googletest/samples/
Dsample3-inl.h77 Queue() : head_(NULL), last_(NULL), size_(0) {} in Queue()
84 if (size_ > 0) { in Clear()
97 size_ = 0; in Clear()
102 size_t Size() const { return size_; } in Size()
119 if (size_ == 0) { in Enqueue()
121 size_ = 1; in Enqueue()
125 size_++; in Enqueue()
132 if (size_ == 0) { in Dequeue()
138 size_--; in Dequeue()
139 if (size_ == 0) { in Dequeue()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Daligned_storage.hpp42 std::size_t size_
49 char buf[size_];
70 std::size_t size_
79 detail::aligned_storage::aligned_storage_imp<size_, alignment_>
84 typedef detail::aligned_storage::aligned_storage_imp<size_, alignment_> type;
88 , size = size_
168 template <std::size_t size_, std::size_t alignment_>
169 struct is_pod<boost::detail::aligned_storage::aligned_storage_imp<size_,alignment_> >
/ndk/sources/android/support/tests/minitest/
Dminitest.cc29 size_ = len; in String()
33 size_t old_size = size_; in operator +=()
34 Resize(old_size + other.size_); in operator +=()
35 ::memcpy(str_ + old_size, other.str_, other.size_); in operator +=()
41 size_t old_size = size_; in operator +=()
48 Resize(size_ + 1); in operator +=()
49 str_[size_ - 1] = ch; in operator +=()
101 size_ = 0; in Clear()
114 size_ = new_size; in Resize()
Dminitest.h121 String() : str_(NULL), size_(0), capacity_(0) {}
126 String(const String& other) { String(other.str_, other.size_); }
139 size_t size() const { return size_; }
140 bool empty() const { return size_ == 0; }
189 size_t size_;
/ndk/sources/host-tools/ndk-stack/elff/
Delf_mapped_section.cc24 size_(0) { in ElfMappedSection()
29 mapfile_unmap(mapped_at_, diff_ptr(mapped_at_, data_) + size_); in ~ElfMappedSection()
45 size_ = (Elf_Word)mapped_bytes; in map()
Delf_mapped_section.h65 return size_; in size()
86 Elf_Word size_; variable
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dcxa_vector.cpp62 : dealloc_ ( dealloc ), ptr_ ( ptr ), size_ ( size ), enabled_ ( true ) {} in st_heap_block3()
63 ~st_heap_block3 () { if ( enabled_ ) dealloc_ ( ptr_, size_ ) ; } in ~st_heap_block3()
69 size_t size_; member in __cxxabiv1::__anond83136650111::st_heap_block3
/ndk/sources/cxx-stl/gabi++/src/
Dcxxabi_vec.cc51 : ptr_(ptr), size_(size), dealloc_(dealloc) {} in scoped_block()
55 dealloc_(ptr_, size_); in ~scoped_block()
64 size_t size_; member in __anonc22251360111::scoped_block
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-internal.h967 Init(rhs.array_, rhs.size_, rhs.relation_to_source_);
980 size_t size() const { return size_; }
982 const_iterator end() const { return array_ + size_; }
999 size_ = a_size;
1004 size_t size_;