Home
last modified time | relevance | path

Searched refs:GetLastError (Results 1 - 25 of 25) sorted by relevance

/arkcompiler/runtime_core/platforms/windows/libpandabase/
H A Dlibrary_loader.cpp29 std::to_string(GetLastError()))); in Load()
40 std::to_string(GetLastError()))); in ResolveSymbol()
H A Dthread.cpp44 LOG(FATAL, COMMON) << "OpenThread failed, error code " << GetLastError(); in SetPriority()
56 LOG(FATAL, COMMON) << "OpenThread failed, error code " << GetLastError(); in GetPriority()
H A Dfile.cpp70 return Unexpected(Error(GetLastError())); in GetTmpPath()
81 return Unexpected(Error(GetLastError())); in GetExecutablePath()
H A Dmem.cpp124 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 Dlibrary_loader.cpp29 std::to_string(GetLastError()))); in Load()
40 std::to_string(GetLastError()))); in ResolveSymbol()
H A Dfile.cpp70 return Unexpected(Error(GetLastError())); in GetTmpPath()
81 return Unexpected(Error(GetLastError())); in GetExecutablePath()
H A Dthread.cpp80 LOG(FATAL, COMMON) << "OpenThread failed, error code " << GetLastError(); in SetPriority()
92 LOG(FATAL, COMMON) << "OpenThread failed, error code " << GetLastError(); in GetPriority()
H A Dmem.cpp127 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 Dlibrary_loader.cpp44 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 Dmap.cpp46 int errCode = GetLastError(); in PageMap()
63 int errCode = GetLastError(); in PageUnmap()
105 int errCode = GetLastError(); in PageProtect()
H A Dfile.cpp107 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 DgenerateBin.cpp46 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 DemitFiles.cpp89 panda::pandasm::AsmEmitter::GetLastError()); in Run()
117 panda::pandasm::AsmEmitter::GetLastError() + in Run()
/arkcompiler/runtime_core/assembler/tests/
H A Demitter_test.cpp366 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 Dassembler_emitter_test.cpp407 * @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 Dpandasm.cpp170 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 Dassembly-emitter.cpp335 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 Dassembly-emitter.h74 PANDA_PUBLIC_API static std::string GetLastError() in GetLastError() function in ark::pandasm::AsmEmitter
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dgetmethod_test.cpp87 ASSERT_NE(pf, nullptr) << pandasm::AsmEmitter::GetLastError(); in TEST_F()
H A Dmethod_test.cpp530 ASSERT_NE(pf, nullptr) << pandasm::AsmEmitter::GetLastError(); in TEST_F()
/arkcompiler/runtime_core/static_core/assembler/tests/
H A Demitter_test.cpp372 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 Dpandasm.cpp169 std::cerr << "Failed to emit binary data: " << panda::pandasm::AsmEmitter::GetLastError() << std::endl; in EmitProgramInBinary()
H A Dassembly-emitter.cpp451 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 Dassembly-emitter.h73 static std::string GetLastError() in GetLastError() function in panda::pandasm::AsmEmitter
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_TypeCreator.cpp180 return EtsString::CreateFromMUtf8(("can't write file in memory" + pandasm::AsmEmitter::GetLastError()).c_str()); in TypeAPITypeCreatorCtxCommit()

Completed in 20 milliseconds