/arkcompiler/runtime_core/platforms/windows/libpandabase/ |
H A D | library_loader.cpp | 29 std::to_string(GetLastError()))); in Load() 40 std::to_string(GetLastError()))); in ResolveSymbol()
|
H A D | thread.cpp | 44 LOG(FATAL, COMMON) << "OpenThread failed, error code " << GetLastError(); in SetPriority() 56 LOG(FATAL, COMMON) << "OpenThread failed, error code " << GetLastError(); in GetPriority()
|
H A D | file.cpp | 70 return Unexpected(Error(GetLastError())); in GetTmpPath() 81 return Unexpected(Error(GetLastError())); in GetExecutablePath()
|
H A D | mem.cpp | 124 errno = mem_errno(GetLastError(), EPERM); in mmap() 134 errno = mem_errno(GetLastError(), EPERM); in mmap() 147 errno = mem_errno(GetLastError(), EPERM); in munmap() 190 return Error(GetLastError()); in MakeMemWithProtFlag()
|
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/ |
H A D | library_loader.cpp | 29 std::to_string(GetLastError()))); in Load() 40 std::to_string(GetLastError()))); in ResolveSymbol()
|
H A D | file.cpp | 70 return Unexpected(Error(GetLastError())); in GetTmpPath() 81 return Unexpected(Error(GetLastError())); in GetExecutablePath()
|
H A D | thread.cpp | 80 LOG(FATAL, COMMON) << "OpenThread failed, error code " << GetLastError(); in SetPriority() 92 LOG(FATAL, COMMON) << "OpenThread failed, error code " << GetLastError(); in GetPriority()
|
H A D | mem.cpp | 127 errno = mem_errno(GetLastError(), EPERM); in mmap() 137 errno = mem_errno(GetLastError(), EPERM); in mmap() 150 errno = mem_errno(GetLastError(), EPERM); in munmap() 194 return Error(GetLastError()); in MakeMemWithProtFlag()
|
/arkcompiler/toolchain/inspector/ |
H A D | library_loader.cpp | 44 std::to_string(GetLastError()).c_str()); in Load() 56 std::to_string(GetLastError()).c_str()); in ResolveSymbol()
|
/arkcompiler/ets_runtime/ecmascript/platform/windows/ |
H A D | map.cpp | 46 int errCode = GetLastError(); in PageMap() 63 int errCode = GetLastError(); in PageUnmap() 105 int errCode = GetLastError(); in PageProtect()
|
H A D | file.cpp | 107 LOG_ECMA(ERROR) << "GetFileSize failed with error code:" << GetLastError(); in FileMap() 121 LOG_ECMA(ERROR) << "CreateFileMapping failed with error code:" << GetLastError(); in FileMap() 129 LOG_ECMA(ERROR) << "MapViewOfFile failed with error code:" << GetLastError(); in FileMap()
|
/arkcompiler/ets_frontend/ets2panda/util/ |
H A D | generateBin.cpp | 46 reporter("Failed to emit binary data: " + ark::pandasm::AsmEmitter::GetLastError()); in OptimizeBytecode() 75 reporter("Failed to emit binary data: " + ark::pandasm::AsmEmitter::GetLastError()); in GenerateProgramImpl()
|
/arkcompiler/ets_frontend/es2panda/aot/ |
H A D | emitFiles.cpp | 89 panda::pandasm::AsmEmitter::GetLastError()); in Run() 117 panda::pandasm::AsmEmitter::GetLastError() + in Run()
|
/arkcompiler/runtime_core/assembler/tests/ |
H A D | emitter_test.cpp | 366 ASSERT_EQ(AsmEmitter::GetLastError(), "Field A.b has undefined type"); in TEST() 380 ASSERT_EQ(AsmEmitter::GetLastError(), "Function A.b is bound to undefined record A"); in TEST() 394 ASSERT_EQ(AsmEmitter::GetLastError(), "Function b has undefined return type"); in TEST() 408 ASSERT_EQ(AsmEmitter::GetLastError(), "Argument 0 of function a has undefined type"); in TEST() 423 ASSERT_EQ(AsmEmitter::GetLastError(), "Non-external function A.x is bound to external record"); in TEST()
|
H A D | assembler_emitter_test.cpp | 407 * @tc.desc: Verify the AsmEmitter::GetLastError() function. 426 EXPECT_EQ(AsmEmitter::GetLastError(), "Field A.b has undefined type"); in HWTEST_F() 440 EXPECT_EQ(AsmEmitter::GetLastError(), "Function A.b is bound to undefined record A"); in HWTEST_F() 454 EXPECT_EQ(AsmEmitter::GetLastError(), "Function b has undefined return type"); in HWTEST_F() 468 EXPECT_EQ(AsmEmitter::GetLastError(), "Argument 0 of function a has undefined type"); in HWTEST_F() 483 EXPECT_EQ(AsmEmitter::GetLastError(), "Non-external function A.x is bound to external record"); in HWTEST_F() 1444 EXPECT_EQ(AsmEmitter::GetLastError(), "Field {Rec.rec} has different value."); in HWTEST_F()
|
/arkcompiler/runtime_core/static_core/assembler/ |
H A D | pandasm.cpp | 170 std::cerr << "Failed to emit binary data: " << ark::pandasm::AsmEmitter::GetLastError() << std::endl; in EmitProgramInBinary() 178 std::cerr << "Failed to emit binary data: " << ark::pandasm::AsmEmitter::GetLastError() << std::endl; in EmitProgramInBinary()
|
H A D | assembly-emitter.cpp | 335 SetLastError("Incorrect array's component type: " + GetLastError()); in CheckValueArrayCase() 341 SetLastError("Incorrect array's element: " + GetLastError()); in CheckValueArrayCase() 354 SetLastError("Incorrect type: " + GetLastError()); in CheckValue() 627 SetLastError("Incorrect annotation element " + functionName + ": " + GetLastError()); in CreateAnnotationItem() 633 SetLastError("Cannot create value item for annotation element " + functionName + ": " + GetLastError()); in CreateAnnotationItem() 1246 SetLastError("Cannot emit annotations for record " + record.name + ": " + GetLastError()); in MakeRecordAnnotations() 1258 SetLastError("Cannot emit annotations for field " + fieldName + ": " + GetLastError()); in MakeRecordAnnotations() 1326 SetLastError("Cannot emit annotations for function " + func.name + ": " + GetLastError()); in AddMethodAndParamsAnnotations() 1338 func.name + ": " + GetLastError()); in AddMethodAndParamsAnnotations()
|
H A D | assembly-emitter.h | 74 PANDA_PUBLIC_API static std::string GetLastError() in GetLastError() function in ark::pandasm::AsmEmitter
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | getmethod_test.cpp | 87 ASSERT_NE(pf, nullptr) << pandasm::AsmEmitter::GetLastError(); in TEST_F()
|
H A D | method_test.cpp | 530 ASSERT_NE(pf, nullptr) << pandasm::AsmEmitter::GetLastError(); in TEST_F()
|
/arkcompiler/runtime_core/static_core/assembler/tests/ |
H A D | emitter_test.cpp | 372 ASSERT_EQ(AsmEmitter::GetLastError(), "Field A.b has undefined type"); in TEST() 386 ASSERT_EQ(AsmEmitter::GetLastError(), "Function A.b is bound to undefined record A"); in TEST() 400 ASSERT_EQ(AsmEmitter::GetLastError(), "Function b has undefined return type"); in TEST() 414 ASSERT_EQ(AsmEmitter::GetLastError(), "Argument 0 of function a has undefined type"); in TEST() 429 ASSERT_EQ(AsmEmitter::GetLastError(), "Non-external function A.x is bound to external record"); in TEST() 954 ASSERT_EQ(AsmEmitter::GetLastError(), "Base record B is not defined for record A"); in TEST()
|
/arkcompiler/runtime_core/assembler/ |
H A D | pandasm.cpp | 169 std::cerr << "Failed to emit binary data: " << panda::pandasm::AsmEmitter::GetLastError() << std::endl; in EmitProgramInBinary()
|
H A D | assembly-emitter.cpp | 451 SetLastError("Cannot create value item for annotation element " + name + ": " + GetLastError()); in CreateAnnotationItem() 1110 SetLastError("Cannot emit annotations for field " + field_name + ": " + GetLastError()); in FillFields() 1138 SetLastError("Cannot emit annotations for record " + record.name + ": " + GetLastError()); in MakeRecordAnnotations() 1185 SetLastError("Cannot emit annotations for function " + func.name + ": " + GetLastError()); in AddMethodAndParamsAnnotations() 1196 func.name + ": " + GetLastError()); in AddMethodAndParamsAnnotations()
|
H A D | assembly-emitter.h | 73 static std::string GetLastError() in GetLastError() function in panda::pandasm::AsmEmitter
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
H A D | std_core_TypeCreator.cpp | 180 return EtsString::CreateFromMUtf8(("can't write file in memory" + pandasm::AsmEmitter::GetLastError()).c_str()); in TypeAPITypeCreatorCtxCommit()
|