Home
last modified time | relevance | path

Searched refs:data_size (Results 1 – 25 of 33) sorted by relevance

12

/art/runtime/native/
Djava_lang_StringFactory.cc42 int32_t data_size = byte_array->GetLength(); in StringFactory_newStringFromBytes() local
43 if ((offset | byte_count) < 0 || byte_count > data_size - offset) { in StringFactory_newStringFromBytes()
45 "length=%d; regionStart=%d; regionLength=%d", data_size, in StringFactory_newStringFromBytes()
68 int32_t data_size = byte_array->GetLength(); in StringFactory_newStringFromUtf16Bytes() local
69 DCHECK_GE(data_size, 0); in StringFactory_newStringFromUtf16Bytes()
71 offset > data_size || in StringFactory_newStringFromUtf16Bytes()
72 static_cast<uint32_t>(char_count) > (static_cast<uint32_t>(data_size - offset) >> 1)) { in StringFactory_newStringFromUtf16Bytes()
75 data_size, in StringFactory_newStringFromUtf16Bytes()
143 int32_t data_size = byte_array->GetLength(); in StringFactory_newStringFromUtf8Bytes() local
144 if ((offset | byte_count) < 0 || byte_count > data_size - offset) { in StringFactory_newStringFromUtf8Bytes()
[all …]
/art/libartbase/base/
Dleb128_test.cc176 size_t data_size = static_cast<size_t>(end - encoded_data); in TEST() local
177 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), data_size); in TEST()
180 if (j < data_size) { in TEST()
195 size_t data_size = static_cast<size_t>(end - encoded_data); in TEST() local
196 EXPECT_EQ(UnsignedLeb128Size(uleb128_64bit_tests[i].decoded), data_size); in TEST()
199 if (j < data_size) { in TEST()
238 size_t data_size = static_cast<size_t>(end - encoded_data); in TEST() local
250 EXPECT_EQ(data_size, static_cast<size_t>(encoded_data_ptr - encoded_data)); in TEST()
260 size_t data_size = static_cast<size_t>(end - encoded_data); in TEST() local
273 EXPECT_EQ(data_size, static_cast<size_t>(encoded_data_ptr - encoded_data)); in TEST()
[all …]
/art/libdexfile/dex/
Dcompact_dex_file.cc65 size_t data_size) { in CalculateChecksum() argument
76 checksum = (checksum * 31) ^ ChecksumMemoryRange(data_begin, data_size); in CalculateChecksum()
Ddex_file_loader.cc617 size_t data_size, in OpenCommon() argument
627 CHECK(data_size == size || data_size == 0); in OpenCommon()
Dcompact_dex_file.h304 size_t data_size);
Ddex_file_loader.h303 size_t data_size,
/art/runtime/oat/
Dimage.cc290 size_t data_size = 0; in CompressData() local
292 data_size = LZ4_compress_default( in CompressData()
299 data_size = LZ4_compress_HC( in CompressData()
307 if (data_size == 0) { in CompressData()
310 storage->resize(data_size); in CompressData()
Dimage.h95 uint32_t data_size, in Block() argument
100 data_size_(data_size), in Block()
/art/runtime/mirror/
Darray-alloc-inl.h41 size_t data_size = static_cast<size_t>(component_count) << component_size_shift; in ComputeArraySize() local
42 size_t size = header_size + data_size; in ComputeArraySize()
Darray-inl.h54 size_t data_size = component_count << component_size_shift; in SizeOf() local
55 return header_size + data_size; in SizeOf()
Dstring-alloc-inl.h205 size_t data_size = block_size * length; in Alloc() local
206 size_t size = header_size + data_size; in Alloc()
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DClassDefItem.java22 public static int data_size = 0x20; field in ClassDefItem
/art/tools/jvmti-agents/list-extensions/
DREADME.md37 …clients can use. The agent is given the 'type' of the ddms chunk and a 'data_size' byte-buffer in …
41 dalvikvm64 I 07-30 10:47:37 154719 154719 list-extensions.cc:139] data_size (IN, JINT)
/art/test/dexdump/
Dstaticfields.txt23 data_size : 836
Dquoting.txt23 data_size : 540
Dinvoke-polymorphic.txt23 data_size : 740
Dvalues.txt23 data_size : 924
Dconst-method-handle.txt23 data_size : 1588
/art/runtime/jit/
Djit_memory_region.cc482 const uint8_t* JitMemoryRegion::AllocateData(size_t data_size) { in AllocateData() argument
483 void* result = mspace_malloc(data_mspace_, data_size); in AllocateData()
Djit_memory_region.h84 const uint8_t* AllocateData(size_t data_size) REQUIRES(Locks::jit_lock_);
Djit_code_cache.cc966 size_t data_size = RoundUp(ComputeRootTableSize(number_of_roots) + stack_map_size, sizeof(void*)); in Reserve() local
977 data = region->AllocateData(data_size); in Reserve()
988 << PrettySize(data_size); in Reserve()
996 *reserved_data = ArrayRef<const uint8_t>(data, data_size); in Reserve()
1006 histogram_stack_map_memory_use_.AddValue(data_size); in Reserve()
1007 if (data_size > kStackMapSizeLogThreshold) { in Reserve()
1009 << PrettySize(data_size) in Reserve()
/art/libprofile/profile/
Dprofile_compilation_info.cc471 bool CompareAndAdvance(const uint8_t* data, size_t data_size) { in CompareAndAdvance() argument
472 if (data_size > GetAvailableBytes()) { in CompareAndAdvance()
475 if (memcmp(ptr_current_, data, data_size) == 0) { in CompareAndAdvance()
476 ptr_current_ += data_size; in CompareAndAdvance()
482 void WriteAndAdvance(const void* data, size_t data_size) { in WriteAndAdvance() argument
483 DCHECK_LE(data_size, GetAvailableBytes()); in WriteAndAdvance()
484 memcpy(ptr_current_, data, data_size); in WriteAndAdvance()
485 ptr_current_ += data_size; in WriteAndAdvance()
527 void Advance(size_t data_size) { in Advance() argument
528 DCHECK_LE(data_size, GetAvailableBytes()); in Advance()
[all …]
/art/adbconnection/
Dadbconnection.cc884 size_t data_size = full_len - kPacketHeaderLen; in HandleDataWithoutAgent() local
885 if (data_size < (sizeof(uint32_t) * 2)) { in HandleDataWithoutAgent()
893 if (ddm_len > data_size - (2 * sizeof(uint32_t))) { in HandleDataWithoutAgent()
/art/compiler/optimizing/
Dintrinsics_riscv64.cc3793 size_t data_size = DataType::Size(value_type); in CreateVarHandleCompareAndSetOrExchangeLocations() local
3794 bool is_small = (data_size < 4u); in CreateVarHandleCompareAndSetOrExchangeLocations()
3796 (expected_index == 3u) && (value_type != DataType::Type::kReference && data_size != 1u); in CreateVarHandleCompareAndSetOrExchangeLocations()
3952 size_t data_size = DataType::Size(value_type); in GenerateVarHandleCompareAndSetOrExchange() local
3953 bool is_small = (data_size < 4u); in GenerateVarHandleCompareAndSetOrExchange()
3963 __ Li(mask, (1 << (data_size * kBitsPerByte)) - 1); in GenerateVarHandleCompareAndSetOrExchange()
4086 bool has_byte_swap = (expected_index == 3u) && (!is_reference && data_size != 1u); in GenerateVarHandleCompareAndSetOrExchange()
4205 size_t data_size = DataType::Size(value_type); in CreateVarHandleGetAndUpdateLocations() local
4207 (arg_index == 3u) && (value_type != DataType::Type::kReference && data_size != 1u); in CreateVarHandleGetAndUpdateLocations()
4209 bool is_small = (data_size < 4u); in CreateVarHandleGetAndUpdateLocations()
[all …]
/art/openjdkjvmti/
Dti_redefine.h113 jint data_size);

12