Home
last modified time | relevance | path

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

12

/art/libartbase/base/
Dcasts.h101 constexpr Dest dchecked_integral_cast(Source source) { in dchecked_integral_cast() function
127 dchecked_integral_cast<typename std::underlying_type<Dest>::type>(value)); in enum_cast()
140 return dchecked_integral_cast<return_type>( in enum_cast()
187 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()
Dbit_struct.h162 ConversionType to_convert = dchecked_integral_cast<ConversionType>(extracted); in Get()
168 ExtractionType extracted = dchecked_integral_cast<ExtractionType>(converted); in Set()
Dbit_table.h57 column_offset_[i + 1] = dchecked_integral_cast<uint16_t>(column_end); in Decode()
446 dchecked_integral_cast<uint32_t>(size()), in Encode()
447 dchecked_integral_cast<uint32_t>(max_num_bits_), in Encode()
Darray_slice.h54 size_(dchecked_integral_cast<uint32_t>(length)), in array_()
Dmem_map_test.cc839 /*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.h367 dchecked_integral_cast<uint16_t>(idx))); in DecodeDebugLocalInfo()
/art/compiler/debug/
Delf_debug_frame_writer.h198 binary_search_table.push_back(dchecked_integral_cast<uint32_t>(code_address)); in WriteCFISection()
223 header.PushUint32(dchecked_integral_cast<uint32_t>(binary_search_table.size()/2)); in WriteCFISection()
Delf_debug_loc_writer.h109 const uint32_t low_pc = dchecked_integral_cast<uint32_t>( in GetVariableLocations()
/art/runtime/mirror/
Darray-inl.h247 return (T) dchecked_integral_cast<ConversionType>(value); in GetElementPtrSizeUnchecked()
251 return (T) dchecked_integral_cast<ConversionType>(value); in GetElementPtrSizeUnchecked()
269 uint32_t element32 = dchecked_integral_cast<uint32_t>(element); in SetElementPtrSize()
Ddex_cache-inl.h314 dchecked_integral_cast<size_t>(value.second)); in GetNativePairPtrSize()
334 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.h266 dchecked_integral_cast<uint16_t>(num_direct + num_virtual)); in SetMethodsPtrUnchecked()
268 dchecked_integral_cast<uint16_t>(num_direct)); in SetMethodsPtrUnchecked()
/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/runtime/
Dstring_builder_append.cc166 size_t length = dchecked_integral_cast<size_t>(str->GetLength()); in AppendString()
177 data[i] = dchecked_integral_cast<CharType>(value[i]); in AppendString()
Dart_method.h873 return reinterpret_cast<T>(dchecked_integral_cast<uintptr_t>(v)); in GetNativePointer()
884 *reinterpret_cast<uint32_t*>(addr) = dchecked_integral_cast<uint32_t>(ptr); in SetNativePointer()
Dtrace.cc848 if (dchecked_integral_cast<size_t>(new_offset) > buffer_size_) { in WriteToBuf()
/art/compiler/optimizing/
Dintrinsics.cc305 info.length = dchecked_integral_cast<uint32_t>(high - info.low + 1); in ComputeIntegerValueOfInfo()
340 info.length = dchecked_integral_cast<uint32_t>( in ComputeIntegerValueOfInfo()
/art/compiler/
Dcommon_compiler_test.cc84 size_t offset = dchecked_integral_cast<size_t>(reinterpret_cast<uintptr_t>(unaligned_code_ptr)); in MakeExecutable()
/art/dex2oat/linker/
Doat_writer_test.cc304 ASSERT_EQ(dchecked_integral_cast<uint64_t>(actual_vdex_size), in CheckOatWriteResult()

12