/art/runtime/base/ |
H A D | stringprintf_test.cc | 24 size_t size = 0x00107e59; local 25 EXPECT_STREQ("00107e59", StringPrintf("%08zx", size).c_str()); 26 EXPECT_STREQ("0x00107e59", StringPrintf("0x%08zx", size).c_str());
|
H A D | bit_field.h | 34 static constexpr size_t size = kSize; member in class:art::BitField 37 static_assert(size != 0u, "Invalid size."); 38 static_assert(size <= sizeof(uintptr_t) * kBitsPerByte, "Invalid size."); 39 static_assert(size + position <= sizeof(uintptr_t) * kBitsPerByte, "Invalid position + size."); 43 return (static_cast<uintptr_t>(value) & ~((kUintPtrTOne << size) - 1)) == 0; 48 return (kUintPtrTOne << size) - 1; 54 return ((kUintPtrTOne << size) [all...] |
H A D | arena_object.h | 30 // Allocate a new ArenaObject of 'size' bytes in the Arena. 31 void* operator new(size_t size, ArenaAllocator* allocator) { argument 32 return allocator->Alloc(size, kAllocKind); 35 static void* operator new(size_t size, ScopedArenaAllocator* arena) { argument 36 return arena->Alloc(size, kAllocKind); 54 // Allocate a new ArenaObject of 'size' bytes in the Arena. 55 void* operator new(size_t size, ArenaAllocator* allocator) { argument 56 return allocator->Alloc(size, kAllocKind); 59 static void* operator new(size_t size, ScopedArenaAllocator* arena) { argument 60 return arena->Alloc(size, kAllocKin [all...] |
H A D | bounded_fifo.h | 25 // A bounded fifo is a fifo which has a bounded size. The power of two version uses a bit mask to 42 return size() == 0; 45 size_t size() const { function in class:art::BoundedFifoPowerOfTwo
|
H A D | arena_bit_vector.cc | 65 virtual void* Alloc(size_t size) { argument 66 return arena_->Alloc(size, this->Kind());
|
H A D | allocator.cc | 33 void* Alloc(size_t size) { argument 34 return calloc(sizeof(uint8_t), size); 52 void* Alloc(size_t size ATTRIBUTE_UNUSED) {
|
H A D | array_slice.h | 79 DCHECK_LE(start_offset, array->size()); 80 DCHECK_LE(end_offset, array->size()); 120 return size() != 0 ? MakeIterationRange(begin(), end()) 124 size_t size() const { function in class:art::ArraySlice
|
H A D | length_prefixed_array.h | 79 size_t size() const { function in class:art::LengthPrefixedArray
|
/art/compiler/utils/ |
H A D | stack_checks.h | 37 static inline bool FrameNeedsStackCheck(size_t size, InstructionSet isa ATTRIBUTE_UNUSED) { argument 38 return size >= kLargeFrameSize;
|
/art/test/413-regalloc-regression/src/ |
H A D | Main.java | 19 private int size; field in class:Main 23 size = 0; 27 for (int i = index; i < size - 1; i++) { 30 data[--size] = null; 35 main.size++; 37 if (main.size != 0) { 38 throw new Error("Unexpected size");
|
/art/runtime/lambda/ |
H A D | art_lambda_method.cc | 37 // Calculate the static closure size from the captured variables. 38 size_t size = sizeof(ArtLambdaMethod*); // Initial size is just this method. local 42 // Each captured variable also appends to the size. 44 size += shorty_field.GetStaticSize(); 48 closure_size_ = size; 50 // We determine whether or not the size is dynamic by checking for nested lambdas. 52 // This is conservative, since in theory an optimization could determine the size
|
/art/runtime/ |
H A D | linear_alloc.cc | 31 void* LinearAlloc::Alloc(Thread* self, size_t size) { argument 33 return allocator_.Alloc(size);
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
H A D | AnnotationSetItem.java | 22 public int size; field in class:AnnotationSetItem 29 size = file.readUInt(); 30 entries = new AnnotationOffItem[size]; 31 for (int i = 0; i < size; i++) { 40 file.writeUInt(size);
|
H A D | AnnotationSetRefList.java | 22 public int size; field in class:AnnotationSetRefList 29 size = file.readUInt(); 30 list = new AnnotationSetRefItem[size]; 31 for (int i = 0; i < size; i++) { 40 file.writeUInt(size);
|
H A D | DebugInfoItem.java | 21 // Right now we are not parsing debug_info_item, just take the raw size 23 private int size; field in class:DebugInfoItem 26 public DebugInfoItem(int size) { argument 27 this.size = size; 33 data = new byte[size];
|
H A D | EncodedAnnotation.java | 23 public int size; field in class:EncodedAnnotation 29 size = file.readUleb128(); 30 if (size != 0) { 31 elements = new AnnotationElement[size]; 32 for (int i = 0; i < size; i++) { 41 file.writeUleb128(size); 42 if (size != 0) { 54 if (size != 0) {
|
H A D | EncodedArray.java | 22 public int size; field in class:EncodedArray 27 size = file.readUleb128(); 28 if (size != 0) { 29 values = new EncodedValue[size]; 30 for (int i = 0; i < size; i++) { 38 file.writeUleb128(size); 39 if (size != 0) { 48 if (size != 0) {
|
H A D | EncodedCatchHandler.java | 22 public int size; field in class:EncodedCatchHandler 28 size = file.readSleb128(); 29 int absoluteSize = Math.abs(size); 32 for (int i = 0; i < Math.abs(size); i++) { 36 if (size <= 0) { 43 file.writeSleb128(size); 49 if (size <= 0) {
|
H A D | EncodedCatchHandlerList.java | 22 public int size; field in class:EncodedCatchHandlerList 27 size = file.readUleb128(); 28 list = new EncodedCatchHandler[size]; 29 for (int i = 0; i < size; i++) { 36 file.writeUleb128(size);
|
H A D | MapList.java | 29 public int size; field in class:MapList 44 size = file.readUInt(); 47 mapItems = new ArrayList<MapItem>(size); 48 for (int i = 0; i < size; i++) { 69 for (int i = 0; i < mapItem.size; i++) { 76 for (int i = 0; i < mapItem.size; i++) { 83 for (int i = 0; i < mapItem.size; i++) { 90 for (int i = 0; i < mapItem.size; i++) { 97 for (int i = 0; i < mapItem.size; i++) { 104 for (int i = 0; i < mapItem.size; [all...] |
H A D | TypeList.java | 22 public int size; field in class:TypeList 29 size = file.readUInt(); 30 list = new TypeItem[size]; 31 for (int i = 0; i < size; i++) { 40 file.writeUInt(size); 58 int checkSize = Math.min(size, other.size); 66 if (size == other.size) {
|
H A D | StringDataItem.java | 25 private int size; field in class:StringDataItem 33 size = file.readUleb128(); 34 if (size != 0) { 35 dataAsBytes = file.readDexUtf(size); 37 if (size != data.length()) { 51 file.writeUleb128(size); 52 if (size > 0) { 69 public void setSize(int size) { argument 70 this.size = size; [all...] |
/art/runtime/gc/space/ |
H A D | dlmalloc_space-inl.h | 47 size_t size = mspace_usable_size(obj_ptr); local 49 *usable_size = size; 51 return size + kChunkOverhead;
|
/art/tools/ahat/src/ |
H A D | SubsetSelector.java | 49 mLimit = getSelectedLimit(query, id, elements.size()); 60 return mElements.subList(mLimit, mElements.size()); 66 * @param size the total number of elements to select from 69 private static int getSelectedLimit(Query query, String id, int size) { argument 72 int ivalue = Math.min(size, Integer.parseInt(value)); 77 return Math.min(kDefaultShown, size); 84 int all = mElements.size();
|
/art/profman/ |
H A D | profile_assistant.cc | 46 for (size_t i = 0; i < profile_files.size(); i++) { 86 explicit ScopedCollectionFlock(size_t size) : flocks_(size) {} argument 90 for (size_t i = 0; i < filenames.size(); i++) { 101 for (size_t i = 0; i < fds.size(); i++) { 122 ScopedCollectionFlock profile_files_flocks(profile_files_fd.size()); 141 ScopedCollectionFlock profile_files_flocks(profile_files.size());
|