Home
last modified time | relevance | path

Searched full:read (Results 1 – 25 of 197) sorted by relevance

12345678

/arkcompiler/runtime_core/libpandafile/
Dmodule_data_accessor-inl.h29 auto regular_import_num = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateModuleRecord()
31 … auto local_name_offset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateModuleRecord()
32 … auto import_name_offset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateModuleRecord()
33 … auto module_request_idx = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint16_t)>(&sp)); in EnumerateModuleRecord()
37 auto namespace_import_num = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateModuleRecord()
39 … auto local_name_offset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateModuleRecord()
40 … auto module_request_idx = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint16_t)>(&sp)); in EnumerateModuleRecord()
44 auto local_export_num = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateModuleRecord()
46 … auto local_name_offset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateModuleRecord()
47 … auto export_name_offset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateModuleRecord()
[all …]
Dliteral_data_accessor-inl.h29 return helpers::Read<ID_SIZE>(&sp); in GetLiteralValsNum()
35 …static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(literal_data_sp_.SubSpan(index * ID_SIZE))))… in GetLiteralValsNum()
48 auto literal_vals_num = helpers::Read<LEN_SIZE>(&sp); in EnumerateLiteralVals()
52 auto tag = static_cast<LiteralTag>(helpers::Read<TAG_SIZE>(&sp)); in EnumerateLiteralVals()
56 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateLiteralVals()
60 value = bit_cast<double>(helpers::Read<sizeof(uint64_t)>(&sp)); in EnumerateLiteralVals()
64 value = static_cast<bool>(helpers::Read<sizeof(uint8_t)>(&sp)); in EnumerateLiteralVals()
68 value = static_cast<float>(helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateLiteralVals()
76 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateLiteralVals()
80 value = static_cast<uint16_t>(helpers::Read<sizeof(uint16_t)>(&sp)); in EnumerateLiteralVals()
[all …]
Dproto_data_accessor-inl.h41 uint32_t v = helpers::Read<SHORTY_ELEM_SIZE>(&sp); in EnumerateTypes()
62 v = helpers::Read<SHORTY_ELEM_SIZE>(&sp); in EnumerateTypes()
78 auto v1 = helpers::Read<SHORTY_ELEM_SIZE>(&sp1); in IsEqual()
79 auto v2 = helpers::Read<SHORTY_ELEM_SIZE>(&sp2); in IsEqual()
95 v1 = helpers::Read<SHORTY_ELEM_SIZE>(&sp1); in IsEqual()
96 v2 = helpers::Read<SHORTY_ELEM_SIZE>(&sp2); in IsEqual()
102 auto id1 = panda_file_.ResolveClassIndex(proto_id_, helpers::Read<IDX_SIZE>(&sp1)); in IsEqual()
103 … auto id2 = other->panda_file_.ResolveClassIndex(other->proto_id_, helpers::Read<IDX_SIZE>(&sp2)); in IsEqual()
128 auto class_idx = helpers::Read<IDX_SIZE>(&sp); in GetReferenceType()
141 uint32_t v = helpers::Read<SHORTY_ELEM_SIZE>(&sp); in GetType()
Dfield_data_accessor.cpp27 auto class_idx = helpers::Read<IDX_SIZE>(&sp); in FieldDataAccessor()
28 auto type_idx = helpers::Read<IDX_SIZE>(&sp); in FieldDataAccessor()
33 name_off_ = helpers::Read<ID_SIZE>(&sp); in FieldDataAccessor()
65 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
71 auto offset = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
73 value = static_cast<uint64_t>(helpers::Read<sizeof(uint64_t)>(value_sp)); in GetValueInternal()
77 value = static_cast<uint32_t>(helpers::Read<sizeof(uint32_t)>(&sp)); in GetValueInternal()
Dannotation_data_accessor.cpp25 auto class_idx = helpers::Read<IDX_SIZE>(&sp); in AnnotationDataAccessor()
27 count_ = helpers::Read<COUNT_SIZE>(&sp); in AnnotationDataAccessor()
40 uint32_t name = helpers::Read<ID_SIZE>(&sp); in GetElement()
41 uint32_t value = helpers::Read<VALUE_SIZE>(&sp); in GetElement()
49 auto item = static_cast<char>(helpers::Read<TYPE_TAG_SIZE>(&sp)); in GetTag()
Dhelpers.h63 inline auto Read(Span<const uint8_t> *sp) in Read() function
81 inline auto Read<sizeof(uint16_t)>(Span<const uint8_t> *sp)
96 inline auto Read<sizeof(uint32_t)>(Span<const uint8_t> *sp)
115 inline auto Read(Span<const uint8_t> sp) in Read() function
117 return Read<width>(&sp); in Read()
192 T value = static_cast<T>(Read<sizeof(T)>(&sp)); in GetOptionalTaggedValue()
206 T value(Read<sizeof(T)>(&sp)); in EnumerateTaggedValues()
222 T value(Read<sizeof(T)>(&sp)); in EnumerateTaggedValuesWithEarlyStop()
Dmethod_data_accessor.cpp25 class_idx_ = helpers::Read<IDX_SIZE>(&sp); in MethodDataAccessor()
26 proto_idx_ = helpers::Read<IDX_SIZE>(&sp); in MethodDataAccessor()
31 name_off_ = helpers::Read<ID_SIZE>(&sp); in MethodDataAccessor()
Dparam_annotations_data_accessor.h49 File::EntityId id(helpers::Read<ID_SIZE>(&sp)); in EnumerateAnnotations()
62 count_ = helpers::Read<COUNT_SIZE>(&sp); in ParamAnnotationsDataAccessor()
78 auto count = helpers::Read<COUNT_SIZE>(&sp); in EnumerateAnnotationArrays()
94 auto count = helpers::Read<COUNT_SIZE>(&sp); in GetAnnotationArray()
Dmodule_data_accessor.cpp28 num_module_requests_ = panda_file::helpers::Read<panda_file::ID_SIZE>(&module_sp); in ModuleDataAccessor()
31 auto value = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&module_sp)); in ModuleDataAccessor()
/arkcompiler/ets_runtime/ecmascript/jspandafile/accessor/
Dmodule_data_accessor.cpp27 numModuleRequests_ = panda_file::helpers::Read<panda_file::ID_SIZE>(&moduleSp); in ModuleDataAccessor()
30 auto value = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&moduleSp)); in ModuleDataAccessor()
46 auto regularImportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateImportEntry()
53 … auto localNameOffset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateImportEntry()
54 … auto importNameOffset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateImportEntry()
55 … auto moduleRequestIdx = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint16_t)>(&sp)); in EnumerateImportEntry()
69 auto namespaceImportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateImportEntry()
78 … auto localNameOffset = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint32_t)>(&sp)); in EnumerateImportEntry()
79 … auto moduleRequestIdx = static_cast<uint32_t>(panda_file::helpers::Read<sizeof(uint16_t)>(&sp)); in EnumerateImportEntry()
98 auto localExportNum = panda_file::helpers::Read<panda_file::ID_SIZE>(&sp); in EnumerateLocalExportEntry()
[all …]
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dllvm_stackmap_parser.cpp130 llvmStackMap_.head = dataInfo_->Read<struct Header>(); in CalculateStackMap()
132 numFunctions = dataInfo_->Read<uint32_t>(); in CalculateStackMap()
133 numConstants = dataInfo_->Read<uint32_t>(); in CalculateStackMap()
134 numRecords = dataInfo_->Read<uint32_t>(); in CalculateStackMap()
136 auto stkRecord = dataInfo_->Read<struct StkSizeRecordTy>(); in CalculateStackMap()
141 auto val = dataInfo_->Read<struct ConstantsTy>(); in CalculateStackMap()
146 auto head = dataInfo_->Read<struct StkMapRecordHeadTy>(); in CalculateStackMap()
149 auto location = dataInfo_->Read<struct LocationTy>(); in CalculateStackMap()
153 dataInfo_->Read<uint16_t>(); in CalculateStackMap()
155 uint32_t numLiveOuts = dataInfo_->Read<uint32_t>(); in CalculateStackMap()
[all …]
/arkcompiler/runtime_core/libpandabase/tests/
Dalloc_tracker_test.cpp44 in.read(reinterpret_cast<char *>(&len), sizeof(len)); in SkipString()
59 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
74 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
83 out.read(reinterpret_cast<char *>(&info), sizeof(info)); in TEST()
102 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
112 out.read(reinterpret_cast<char *>(&alloc), sizeof(alloc)); in TEST()
113 out.read(reinterpret_cast<char *>(&free), sizeof(free)); in TEST()
151 out.read(reinterpret_cast<char *>(&hdr), sizeof(hdr)); in TEST()
/arkcompiler/runtime_core/runtime/arch/amd64/
Dshorty.S20 movzwl (\shorty_ptr_reg), \shorty_reg // read new shorty value and advance shorty_ptr
27 movzwl (\shorty_ptr_reg), \shorty_reg // read new shorty value and advance shorty_ptr
39 movzwl (\shorty_ptr_reg), \shorty_reg // read new shorty value and advance shorty_ptr
/arkcompiler/runtime_core/runtime/arch/aarch64/
Dshorty.S22 ldrh \shorty_reg, [\shorty_ptr_reg], #2 // read new shorty value and advance shorty_ptr
28 ldrh \shorty_reg, [\shorty_ptr_reg], #2 // read new shorty value and advance shorty_ptr
38 ldrh \shorty_reg, [\shorty_ptr_reg], #2 // read new shorty value and advance shorty_ptr
/arkcompiler/runtime_core/runtime/arch/arm/
Dshorty.S22 ldrh \shorty_reg, [\shorty_ptr_reg], #2 // read new shorty value and advance shorty_ptr
28 ldrheq \shorty_reg, [\shorty_ptr_reg], #2 // read new shorty value and advance shorty_ptr
37 ldrheq \shorty_reg, [\shorty_ptr_reg], #2 // read new shorty value and advance shorty_ptr
/arkcompiler/runtime_core/runtime/arch/x86/
Dshorty.S20 movzwl (\shorty_ptr_reg), \shorty_reg // read new shorty value and advance shorty_ptr
27 movzwl (\shorty_ptr_reg), \shorty_reg // read new shorty value and advance shorty_ptr
39 movzwl (\shorty_ptr_reg), \shorty_reg // read new shorty value and advance shorty_ptr
/arkcompiler/toolchain/build/prebuilts_download/
Dutil.py22 # Read json file data
36 print("read file '{}' failed.".format(input_file))
41 # Read file by line
53 print("read file '{}' failed".format(input_file))
/arkcompiler/runtime_core/scripts/
Dmemdump.py108 num = struct.unpack('I', file.read(4))[0]
109 return file.read(num).decode('utf-8')
174 num_items, num_stacktraces = struct.unpack('II', file.read(8))
184 tag = struct.unpack_from("I", file.read(4))[0]
187 "IIII", file.read(16))
198 alloc_id = struct.unpack("I", file.read(4))[0]
/arkcompiler/runtime_core/runtime/bridge/arch/arm/
Dhandle_call_v4_v4_v4_imm4_id16_arm.S22 // read the pair of reg indexes into r9 and advance insn_ptr
24 // read reg index and acc position into r3 and advance insn_ptr
42 lsr r3, r3, #0x4 // prepare r3 for next index read
Dhandle_call_v4_v4_v4_imm4_id16_armhf.S27 // read the pair of reg indexes into r9 and advance insn_ptr
29 // read reg index and acc position into r10 and advance insn_ptr
47 lsr r10, r10, #0x4 // prepare r10 for next index read
/arkcompiler/runtime_core/libpandabase/utils/
Dbit_memory_region.h129 bool Read(size_t offset) in Read() function
150 NO_ADDRESS_SANITIZE // Suppress asan since we can read extra bytes
152 Read(size_t offset, size_t length) const in Read() function
180 return Read(0, Size()); in ReadAll()
195 T res = Read(0, length); in Pop()
252 res += panda::Popcount(Read(first + i, BITS_PER_UINT32)); in Popcount()
254 return res + panda::Popcount(Read(first + i, length - i)); in Popcount()
/arkcompiler/runtime_core/runtime/bridge/arch/aarch64/
Dhandle_call_v4_v4_v4_imm4_id16_aarch64.S22 // read the pair of reg indexes into w14 and advance insn_ptr
24 // read reg index and acc_pos into w5 and advance insn_ptr
39 lsr w5, w5, #0x4 // prepare w5 for next index read
/arkcompiler/runtime_core/gn/build/
Dcmake_configure_file.py76 def read(filename): function
78 return file.read()
80 if not os.path.exists(args.output) or read(args.output) != output:
/arkcompiler/ets_frontend/es2panda/util/
DsymbolTable.cpp30 …std::cerr << "Failed to read symbol table: " << symbolTable_ << ". Stop generating patch" << std::… in Initialize()
62 // read function info in ReadSymbolTable()
83 // read module info in ReadSymbolTable()
87 std::cerr << "Failed to read symbol table: Unrecognized format" << std::endl; in ReadSymbolTable()
/arkcompiler/runtime_core/docs/diagrams/
Dstacktrace.pusequence23 StackPrinter -> "~/proc~/self~/maps": ReadVma (read used libraries and associated addresses)
26 StackPrinter -> libdwarf: Read debug info from the library file

12345678