/arkcompiler/runtime_core/static_core/disassembler/tests/ |
H A D | test_debug_info.cpp | 26 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 D | records_test.cpp | 25 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 D | labels_test.cpp | 25 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 D | functions_test.cpp | 25 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 D | literals_test.cpp | 25 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 D | instructions_test.cpp | 129 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 D | metadata_test.cpp | 26 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 D | lexer.cpp | 197 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 D | lexer.h | 111 Token::Type LexGetType(size_t beg, size_t end) const;
|
/arkcompiler/runtime_core/static_core/assembler/ |
H A D | lexer.cpp | 194 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 D | lexer.h | 119 Token::Type LexGetType(size_t beg, size_t end) const;
|
/arkcompiler/runtime_core/static_core/static_linker/ |
H A D | linker_context_misc.cpp | 308 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 D | linker_context.cpp | 350 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 D | pgo_proto_transition_type_pool.h | 64 stream.seekp(secInfoPos, std::ofstream::beg); 66 stream.seekp(tail, std::ofstream::beg);
|
H A D | pgo_record_pool.h | 156 stream.seekp(secInfoPos, std::ofstream::beg); 158 stream.seekp(tail, std::ofstream::beg);
|
H A D | pool_template.h | 136 stream.seekp(secInfoPos, std::ofstream::beg); 138 stream.seekp(tail, std::ofstream::beg);
|
/arkcompiler/ets_runtime/test/fuzztest/parsefromtext_fuzzer/ |
H A D | parsefromtext_fuzzer.cpp | 50 inputFile.seekg(0, std::ios::beg); in ParseFromTextFuzzTest()
|
/arkcompiler/runtime_core/static_core/tools/ark_js_napi_cli/utils/ |
H A D | utils.cpp | 44 fs.seekg(0, std::ios::beg); in GetAsset()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
H A D | pgo_profiler_encoder.cpp | 287 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 D | pgo_profiler_info.cpp | 878 stream.seekp(layoutBeginPosition, std::ofstream::beg) in ProcessToBinaryForLayout()
|
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/ |
H A D | sample_reader-inl.h | 57 binFile.seekg(0, std::ios::beg); in SampleReader()
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
H A D | elf_checker.cpp | 104 file.seekg(0, std::ios::beg); in ElfChecker()
|