Home
last modified time | relevance | path

Searched refs:beg (Results 1 - 22 of 22) sorted by relevance

/arkcompiler/runtime_core/static_core/disassembler/tests/
H A Dtest_debug_info.cpp26 auto beg = text.find(header); in ExtractFuncBody() local
27 auto end = text.find('}', beg); in ExtractFuncBody()
29 ASSERT(beg != std::string::npos); in ExtractFuncBody()
32 return text.substr(beg + header.length(), end - (beg + header.length())); in ExtractFuncBody()
H A Drecords_test.cpp25 auto beg = text.find(header); in ExtractRecordBody() local
26 auto end = text.find('}', beg); in ExtractRecordBody()
28 ASSERT(beg != std::string::npos); in ExtractRecordBody()
31 return text.substr(beg + header.length(), end - (beg + header.length())); in ExtractRecordBody()
H A Dlabels_test.cpp25 auto beg = text.find(header); in ExtractFuncBody() local
26 auto end = text.find('}', beg); in ExtractFuncBody()
28 ASSERT(beg != std::string::npos); in ExtractFuncBody()
31 return text.substr(beg + header.length(), end - (beg + header.length())); in ExtractFuncBody()
H A Dfunctions_test.cpp25 auto beg = text.find(header); in ExtractFuncBody() local
26 auto end = text.find('}', beg); in ExtractFuncBody()
28 ASSERT(beg != std::string::npos); in ExtractFuncBody()
31 return text.substr(beg + header.length(), end - (beg + header.length())); in ExtractFuncBody()
H A Dliterals_test.cpp25 auto beg = text.find(header); in ExtractArrayBody() local
26 auto end = text.find('}', beg); in ExtractArrayBody()
28 ASSERT(beg != std::string::npos); in ExtractArrayBody()
31 return text.substr(beg + header.length(), end - (beg + header.length())); in ExtractArrayBody()
H A Dinstructions_test.cpp129 auto beg = text.find(header); in ExtractFuncBody() local
130 auto end = text.find('}', beg); in ExtractFuncBody()
132 ASSERT(beg != std::string::npos); in ExtractFuncBody()
135 return text.substr(beg + header.length(), end - (beg + header.length())); in ExtractFuncBody()
H A Dmetadata_test.cpp26 auto beg = text.find(header); in ExtractFuncBody() local
27 auto end = text.find('}', beg); in ExtractFuncBody()
29 ASSERT(beg != std::string::npos); in ExtractFuncBody()
32 return text.substr(beg + header.length(), end - (beg + header.length())); in ExtractFuncBody()
/arkcompiler/runtime_core/assembler/
H A Dlexer.cpp197 Token::Type Lexer::LexGetType(size_t beg, size_t end) const in LexGetType() argument
199 if (FindDelim(curr_line_->buffer[beg]) != Token::Type::ID_BAD) { /* delimiter */ in LexGetType()
200 return FindDelim(curr_line_->buffer[beg]); in LexGetType()
203 std::string_view p(&*(curr_line_->buffer.begin() + beg), end - beg); in LexGetType()
217 if (IsQuote(curr_line_->buffer[beg])) { in LexGetType()
H A Dlexer.h111 Token::Type LexGetType(size_t beg, size_t end) const;
/arkcompiler/runtime_core/static_core/assembler/
H A Dlexer.cpp194 Token::Type Lexer::LexGetType(size_t beg, size_t end) const in LexGetType() argument
196 if (FindDelim(currLine_->buffer[beg]) != Token::Type::ID_BAD) { /* delimiter */ in LexGetType()
197 return FindDelim(currLine_->buffer[beg]); in LexGetType()
200 std::string_view p(&*(currLine_->buffer.begin() + beg), end - beg); in LexGetType()
212 if (IsQuote(currLine_->buffer[beg])) { in LexGetType()
H A Dlexer.h119 Token::Type LexGetType(size_t beg, size_t end) const;
/arkcompiler/runtime_core/static_core/static_linker/
H A Dlinker_context_misc.cpp308 for (auto [beg, end] = self.ctx_->cameFrom_.equal_range(v); beg != end; ++beg) { in operator <<()
311 o << "declared at `" << beg->second->GetFilePtr()->GetFilename() << "`"; in operator <<()
H A Dlinker_context.cpp350 for (auto beg = new_meth_beg; beg != new_meth_end; ++beg) { in TryFindMethod()
351 auto nm = beg->get(); in TryFindMethod()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/
H A Dpgo_proto_transition_type_pool.h64 stream.seekp(secInfoPos, std::ofstream::beg);
66 stream.seekp(tail, std::ofstream::beg);
H A Dpgo_record_pool.h156 stream.seekp(secInfoPos, std::ofstream::beg);
158 stream.seekp(tail, std::ofstream::beg);
H A Dpool_template.h136 stream.seekp(secInfoPos, std::ofstream::beg);
138 stream.seekp(tail, std::ofstream::beg);
/arkcompiler/ets_runtime/test/fuzztest/parsefromtext_fuzzer/
H A Dparsefromtext_fuzzer.cpp50 inputFile.seekg(0, std::ios::beg); in ParseFromTextFuzzTest()
/arkcompiler/runtime_core/static_core/tools/ark_js_napi_cli/utils/
H A Dutils.cpp44 fs.seekg(0, std::ios::beg); in GetAsset()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
H A Dpgo_profiler_encoder.cpp287 fileStream.seekg(PGOProfilerHeader::MAGIC_SIZE, std::fstream::beg) in AddChecksum()
300 fileStream.seekp(PGOProfilerHeader::MAGIC_SIZE + PGOProfilerHeader::VERSION_SIZE, std::fstream::beg); in AddChecksum()
H A Dpgo_profiler_info.cpp878 stream.seekp(layoutBeginPosition, std::ofstream::beg) in ProcessToBinaryForLayout()
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
H A Dsample_reader-inl.h57 binFile.seekg(0, std::ios::beg); in SampleReader()
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Delf_checker.cpp104 file.seekg(0, std::ios::beg); in ElfChecker()

Completed in 12 milliseconds