Searched defs:size (Results 1 - 25 of 132) sorted by relevance

123456

/art/runtime/base/
H A Dstringprintf_test.cc24 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 Darena_object.h30 // 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);
51 // Allocate a new ArenaObject of 'size' bytes in the Arena.
52 void* operator new(size_t size, ArenaAllocator* allocator) { argument
53 return allocator->Alloc(size, kAllocKind);
56 static void* operator new(size_t size, ScopedArenaAllocator* arena) { argument
57 return arena->Alloc(size, kAllocKin
[all...]
H A Dbounded_fifo.h25 // 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 Dallocator.cc33 void* Alloc(size_t size) { argument
34 return calloc(sizeof(uint8_t), size);
52 void* Alloc(size_t size) { argument
53 UNUSED(size);
/art/compiler/utils/
H A Dstack_checks.h37 static inline bool FrameNeedsStackCheck(size_t size, InstructionSet isa ATTRIBUTE_UNUSED) { argument
38 return size >= kLargeFrameSize;
H A Darena_bit_vector.cc31 virtual void* Alloc(size_t size) { argument
32 return arena_->Alloc(size, kArenaAllocGrowableBitMap);
/art/test/413-regalloc-regression/src/
H A DMain.java19 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/
H A Dlinear_alloc.cc31 void* LinearAlloc::Alloc(Thread* self, size_t size) { argument
33 return allocator_.Alloc(size);
H A Ddex_file_verifier.h29 static bool Verify(const DexFile* dex_file, const uint8_t* begin, size_t size,
37 DexFileVerifier(const DexFile* dex_file, const uint8_t* begin, size_t size, const char* location) argument
38 : dex_file_(dex_file), begin_(begin), size_(size), location_(location),
46 // Check a list. The head is assumed to be at *ptr, and elements to be of size element_size. If
49 // Checks whether the offset is zero (when size is zero) or that the offset falls within the area
51 bool CheckValidOffsetAndSize(uint32_t offset, uint32_t size, const char* label);
57 uint32_t ReadUnsignedLittleEndian(uint32_t size);
H A Dvmap_table.h38 size_t size = DecodeUnsignedLeb128(&table); local
39 CHECK_LT(n, size);
102 DecodeUnsignedLeb128(&table); // Skip size.
/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DAnnotationSetItem.java22 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 DAnnotationSetRefList.java22 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 DDebugInfoItem.java21 // 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 DEncodedAnnotation.java23 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 DEncodedArray.java22 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 DEncodedCatchHandler.java22 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 DEncodedCatchHandlerList.java22 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 DMapList.java29 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 DTypeList.java22 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 DStringDataItem.java25 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/compiler/dex/
H A Dmir_field_info.cc104 size_t size = OFFSETOF_MEMBER(MirSFieldLoweringInfo, storage_index_) + local
106 DCHECK_EQ(memcmp(&unresolved, &*it, size), 0);
/art/runtime/gc/space/
H A Ddlmalloc_space-inl.h47 size_t size = mspace_usable_size(obj_ptr); local
49 *usable_size = size;
51 return size + kChunkOverhead;
H A Drosalloc_space-inl.h31 // obj is a valid object. Use its class in the header to get the size.
33 size_t size = obj->SizeOf<kVerifyNone>(); local
38 size += 2 * kDefaultValgrindRedZoneBytes;
43 size_t size_by_size = rosalloc_->UsableSize(size);
50 LOG(INFO) << "Found a bad sized obj of size " << size
/art/compiler/optimizing/
H A Doptimizing_cfi_test.cc98 virtual uint8_t* Allocate(size_t size) { argument
99 memory_.resize(size);
/art/runtime/jit/
H A Djit_code_cache.cc37 oss << "Failed to create read write execute cache: " << error_str << " size=" << capacity;
46 VLOG(jit) << "Created jit code cache size=" << PrettySize(mem_map->Size());
75 uint8_t* JitCodeCache::ReserveCode(Thread* self, size_t size) { argument
77 if (size > CodeCacheRemain()) {
81 code_cache_ptr_ += size;
82 return code_cache_ptr_ - size;
87 const size_t size = end - begin; local
88 if (size > DataCacheRemain()) {
92 data_cache_ptr_ += size;
93 return data_cache_ptr_ - size;
[all...]

Completed in 299 milliseconds

123456