Home
last modified time | relevance | path

Searched refs:dchecked_integral_cast (Results 1 – 25 of 40) sorted by relevance

12

/art/libartbase/base/
Dcasts.h102 constexpr Dest dchecked_integral_cast(Source source) { in dchecked_integral_cast() function
128 dchecked_integral_cast<typename std::underlying_type<Dest>::type>(value)); in enum_cast()
141 return dchecked_integral_cast<return_type>( in enum_cast()
188 return static_cast<Dest>(dchecked_integral_cast<uint32_t>(reinterpret_cast<uintptr_t>(ptr))); in reinterpret_cast32()
Dlength_prefixed_array.h34 : size_(dchecked_integral_cast<uint32_t>(length)) {} in LengthPrefixedArray()
85 size_ = dchecked_integral_cast<uint32_t>(length); in SetSize()
Darray_slice.h53 size_(dchecked_integral_cast<uint32_t>(length)), in array_()
Dbit_table.h57 column_offset_[i + 1] = dchecked_integral_cast<uint16_t>(column_end); in Decode()
Dmem_map_test.cc843 /*start=*/ dchecked_integral_cast<size_t>(addr3 - addr1), in TEST_F()
/art/compiler/utils/
Dassembler.cc96 uint32_t pc = dchecked_integral_cast<uint32_t>(assembler_->CodeSize()); in ImplicitlyAdvancePC()
98 uint32_t stream_pos = dchecked_integral_cast<uint32_t>(opcodes_.size()); in ImplicitlyAdvancePC()
/art/test/004-UnsafeTest/
Dunsafe_test.cc42 void* memory = malloc(dchecked_integral_cast<size_t>(size)); in Java_Main_unsafeTestMalloc()
/art/libelffile/dwarf/
Ddebug_abbrev_writer.h86 return dchecked_integral_cast<uint32_t>(1 + abbrev_codes_.size()); in NextAbbrevCode()
Ddebug_info_entry_writer.h103 this->PushUleb128(dchecked_integral_cast<uint32_t>(expr.size())); in WriteExprLoc()
173 this->PushUint32(dchecked_integral_cast<uint32_t>(debug_str_offset)); in WriteStrp()
/art/libdexfile/dex/
Dutf.cc106 *out_p++ = dchecked_integral_cast<uint16_t>(*p++); in ConvertModifiedUtf8ToUtf16()
130 *utf8_out++ = dchecked_integral_cast<char>(*p++); in ConvertUtf16ToModifiedUtf8()
Ddex_file-inl.h366 dchecked_integral_cast<uint16_t>(idx))); in DecodeDebugLocalInfo()
/art/compiler/debug/
Delf_debug_frame_writer.h218 binary_search_table.push_back(dchecked_integral_cast<uint32_t>(code_address)); in WriteCFISection()
243 header.PushUint32(dchecked_integral_cast<uint32_t>(binary_search_table.size()/2)); in WriteCFISection()
Delf_debug_loc_writer.h117 const uint32_t low_pc = dchecked_integral_cast<uint32_t>( in GetVariableLocations()
/art/test/497-inlining-and-class-loader/
Dclear_dex_cache.cc86 index = dchecked_integral_cast<uint32_t>(long_array->Get(2u * i)); in Java_Main_restoreResolvedMethods()
/art/compiler/optimizing/
Dintrinsics.cc306 info.length = dchecked_integral_cast<uint32_t>(high - info.low + 1); in ComputeIntegerValueOfInfo()
341 info.length = dchecked_integral_cast<uint32_t>( in ComputeIntegerValueOfInfo()
Dssa_liveness_analysis.h121 position_(dchecked_integral_cast<uint32_t>(position)) { in UsePosition()
Dcode_generator_arm_vixl.cc7156 __ Lsl(flags_update, temp, temp, dchecked_integral_cast<uint32_t>(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
7166 __ Lsl(flags_update, temp, temp, dchecked_integral_cast<uint32_t>(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
7179 __ Lsl(temp, temp, dchecked_integral_cast<uint32_t>(32u - mask_bits)); in GenerateBitstringTypeCheckCompare()
8930 __ Ldr(reg, DeduplicateBootImageAddressLiteral(dchecked_integral_cast<uint32_t>(address))); in LoadBootImageAddress()
8961 uint32_t add_pc_offset = dchecked_integral_cast<uint32_t>(info.add_pc_label.GetLocation()); in EmitPcRelativeLinkerPatches()
8964 uint32_t movw_offset = dchecked_integral_cast<uint32_t>(info.movw_label.GetLocation()); in EmitPcRelativeLinkerPatches()
8968 uint32_t movt_offset = dchecked_integral_cast<uint32_t>(info.movt_label.GetLocation()); in EmitPcRelativeLinkerPatches()
9269 reinterpret_cast<uint32_t*>(data)[0] = dchecked_integral_cast<uint32_t>(address); in PatchJitRootUse()
/art/runtime/mirror/
Ddex_cache-inl.h313 dchecked_integral_cast<size_t>(value.second)); in GetNativePairPtrSize()
333 dchecked_integral_cast<uint32_t>(pair.index)); in SetNativePairPtrSize()
Dstring.cc98 return dchecked_integral_cast<uint8_t>((old_c != c) ? c : new_c); in DoReplace()
Dclass-inl.h264 dchecked_integral_cast<uint16_t>(num_direct + num_virtual)); in SetMethodsPtrUnchecked()
266 dchecked_integral_cast<uint16_t>(num_direct)); in SetMethodsPtrUnchecked()
/art/compiler/
Dcommon_compiler_test.cc73 size_t offset = dchecked_integral_cast<size_t>(reinterpret_cast<uintptr_t>(unaligned_code_ptr)); in MakeExecutable()
/art/runtime/
Dart_method.h816 return reinterpret_cast<T>(dchecked_integral_cast<uintptr_t>(v)); in GetNativePointer()
826 *reinterpret_cast<uint32_t*>(addr) = dchecked_integral_cast<uint32_t>(ptr); in SetNativePointer()
Dtrace.cc843 if (dchecked_integral_cast<size_t>(new_offset) > buffer_size_) { in WriteToBuf()
/art/profman/
Dprofman.cc216 *out = dchecked_integral_cast<T>(parsed_integer_value); in ParseUintOption()
/art/oatdump/
Doatdump.cc892 uint32_t dex_offset = dchecked_integral_cast<uint32_t>(dex_file_pointer - vdex_file_begin); in DumpOatDexFile()
896 dchecked_integral_cast<uint32_t>(dex_offset + oat_dex_file.FileSize() - 1)); in DumpOatDexFile()
912 uint32_t table_offset = dchecked_integral_cast<uint32_t>( in DumpOatDexFile()

12