Home
last modified time | relevance | path

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

12345678

/arkcompiler/runtime_core/libziparchive/
H A Dzip_archive.cpp58 int err = unzClose(handle); in CloseArchive() local
59 if (err != UNZ_OK) { in CloseArchive()
60 LOG(ERROR, ZIPARCHIVE) << "unzClose with error: " << err; in CloseArchive()
72 int err = unzCloseFile(handle); in CloseArchiveFile() local
73 if (err != UNZ_OK) { in CloseArchiveFile()
74 LOG(ERROR, ZIPARCHIVE) << "unzCloseFile with error: " << err; in CloseArchiveFile()
82 int err = unzGetGlobalInfo(handle, &gstat->ginfo); in GetGlobalFileInfo() local
83 if (err != UNZ_OK) { in GetGlobalFileInfo()
84 LOG(ERROR, ZIPARCHIVE) << "GetGlobalFileInfo with error: " << err; in GetGlobalFileInfo()
92 int err in GoToNextFile() local
102 int err = unzLocateFile2(handle, filename, 0); LocateFile() local
112 int err = unzGetCurrentFileInfo(handle, &entry->file_stat, nullptr, 0, nullptr, 0, nullptr, 0); GetCurrentFileInfo() local
122 int err = unzOpenCurrentFile(handle); OpenCurrentFile() local
137 int err = unzCloseCurrentFile(handle); CloseCurrentFile() local
166 int err = zipOpenNewFileInZip(zfile, filename, nullptr, nullptr, 0, nullptr, 0, nullptr, CreateOrAddFileIntoZip() local
[all...]
/arkcompiler/runtime_core/static_core/libziparchive/
H A Dzip_archive.cpp58 int err = unzClose(handle); in CloseArchive() local
59 if (err != UNZ_OK) { in CloseArchive()
60 LOG(ERROR, ZIPARCHIVE) << "unzClose with error: " << err; in CloseArchive()
72 int err = unzCloseFile(handle); in CloseArchiveFile() local
73 if (err != UNZ_OK) { in CloseArchiveFile()
74 LOG(ERROR, ZIPARCHIVE) << "unzCloseFile with error: " << err; in CloseArchiveFile()
82 int err = unzGetGlobalInfo(handle, &gstat->ginfo); in GetGlobalFileInfo() local
83 if (err != UNZ_OK) { in GetGlobalFileInfo()
84 LOG(ERROR, ZIPARCHIVE) << "GetGlobalFileInfo with error: " << err; in GetGlobalFileInfo()
92 int err in GoToNextFile() local
102 int err = unzLocateFile2(handle, filename, 0); LocateFile() local
112 int err = unzGetCurrentFileInfo(handle, &entry->fileStat, nullptr, 0, nullptr, 0, nullptr, 0); GetCurrentFileInfo() local
122 int err = unzOpenCurrentFile(handle); OpenCurrentFile() local
137 int err = unzCloseCurrentFile(handle); CloseCurrentFile() local
165 int err = zipOpenNewFileInZip(zfile, filename, nullptr, nullptr, 0, nullptr, 0, nullptr, CreateOrAddFileIntoZip() local
[all...]
/arkcompiler/ets_runtime/test/moduletest/decodeuricomponent/
H A Ddecodeuricomponent.js33 } catch(err) {
34 print(err.name);
40 } catch(err) {
41 print(err);
47 } catch(err) {
48 print(err);
55 } catch (err) {
56 print(err.name);
62 } catch (err) {
63 print(err
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/
H A Dcl_ut_test.cpp68 RetCode err = maplecl::RetCode::noError; in Parse() local
83 err = maplecl::RetCode::noError; in Parse()
86 err = maplecl::RetCode::valueEmpty; in Parse()
89 return err; in Parse()
165 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); in TEST() local
166 ASSERT_EQ(err, maplecl::RetCode::noError); in TEST()
185 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); in TEST() local
186 ASSERT_EQ(err, maplecl::RetCode::noError); in TEST()
219 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); in TEST() local
220 ASSERT_EQ(err, maplec in TEST()
247 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
282 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
300 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
318 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
332 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
350 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
371 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
389 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
415 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
433 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
454 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
468 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
485 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
511 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
525 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
543 auto err = cl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
557 auto err = cl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
590 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
610 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
627 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
647 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
664 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
683 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
697 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
711 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
725 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
741 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
756 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
773 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
789 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
806 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv, testopts::defaultCategory); TEST() local
822 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv, testopts::testCategory1); TEST() local
839 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv, testopts::testCategory2); TEST() local
858 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
879 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
902 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
942 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
984 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
1011 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
1039 auto err = maplecl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
1072 auto err = cl::CommandLine::GetCommandLine().Parse(argc, (char **)argv); TEST() local
[all...]
/arkcompiler/runtime_core/assembler/
H A Dassembly-parser.cpp42 context_.err = GetError("Expected keyword.", Error::ErrorType::ERR_BAD_KEYWORD); in ParseRecordFields()
66 if (context_.err.err != Error::ErrorType::ERR_NONE) { in ParseRecordFields()
75 context_.err = GetError("Expected a new field on the next line.", Error::ErrorType::ERR_BAD_KEYWORD); in ParseRecordFields()
92 context_.err = in ParseFieldName()
110 context_.err = GetError("Invalid name of field.", Error::ErrorType::ERR_BAD_OPERATION_NAME); in ParseFieldName()
127 context_.err = GetError("Expected ']'.", Error::ErrorType::ERR_BAD_ARRAY_TYPE_BOUND); in ParseType()
149 context_.err = GetError("Not a correct type.", Error::ErrorType::ERR_BAD_FIELD_VALUE_TYPE); in ParseFieldType()
171 context_.err = GetError("Expected field name.", Error::ErrorType::ERR_BAD_FIELD_MISSING_NAME, +1); in ParseRecordField()
230 context_.err in ParseAsArray()
2243 SetMetadataContextError(const Metadata::Error &err, bool has_value) SetMetadataContextError() argument
2375 auto err = res.value(); BuildMetaListAttr() local
2430 auto err = res.value(); ParseMetaList() local
[all...]
/arkcompiler/ets_runtime/test/moduletest/class/
H A Dclass.js63 } catch (err) {
110 } catch (err) {
111 print(err.name);
115 } catch (err) {
116 print(err.name);
185 } catch (err) {
186 print(err.name);
212 } catch (err) {
213 print(err.name);
236 } catch (err) {
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/
H A Dcl_parser.cpp61 RetCode err = option->Parse(argsIndex, args, keyArg); in ParseJoinedOption() local
62 if (err != RetCode::noError) { in ParseJoinedOption()
63 return err; in ParseJoinedOption()
80 RetCode err = opt->Parse(argsIndex, args, keyArg); in ParseOption() local
81 if (err != RetCode::noError) { in ParseOption()
82 return err; in ParseOption()
135 RetCode err = RetCode::noError; in HandleInputArgs() local
157 err = ParseEqualOption(argsIndex, args, keyArg, optCategory, optCategory.options, pos); in HandleInputArgs()
158 if (err != RetCode::noError) { in HandleInputArgs()
159 badCLArgs.emplace_back(args[argsIndex], err); in HandleInputArgs()
[all...]
/arkcompiler/runtime_core/static_core/abc2program/
H A Dabc_file_entity_processor.h35 auto err = entity.metadata->SetAttribute(attribute); in SetEntityAttribute() local
36 if (err.has_value()) { in SetEntityAttribute()
37 LOG(DEBUG, ABC2PROGRAM) << err.value().GetMessage(); in SetEntityAttribute()
48 auto err = entity.metadata->SetAttributeValue(attribute, value); in SetEntityAttributeValue() local
49 if (err.has_value()) { in SetEntityAttributeValue()
50 LOG(DEBUG, ABC2PROGRAM) << err.value().GetMessage(); in SetEntityAttributeValue()
/arkcompiler/runtime_core/static_core/assembler/tests/
H A Dlexer_test.cpp37 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
47 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
61 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
71 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
83 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
94 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
103 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
112 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
129 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
140 ASSERT_EQ(tok.second.err, Erro in TEST()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic_types/
H A Dcheck_compat_objects.js21 function checkErrorMessage(err, errMsg) {
22 checkGenericValue(err);
24 let etsErrorHandle = new EtsGenericErrorHandle(err);
29 let genError = etsGetGenericErrorIdentity(err);
30 ASSERT_EQ(err, genError);
/arkcompiler/runtime_core/libpandabase/tests/
H A Dlogger_test.cpp52 std::string err = testing::internal::GetCapturedStderr(); in HWTEST_F() local
53 EXPECT_EQ(err, ""); in HWTEST_F()
66 err = testing::internal::GetCapturedStderr(); in HWTEST_F()
75 EXPECT_EQ(err, res); in HWTEST_F()
88 err = testing::internal::GetCapturedStderr(); in HWTEST_F()
89 EXPECT_EQ(err, ""); in HWTEST_F()
119 std::string err = testing::internal::GetCapturedStderr(); in HWTEST_F() local
120 EXPECT_EQ(err, ""); in HWTEST_F()
150 std::string err = testing::internal::GetCapturedStderr(); in HWTEST_F() local
153 EXPECT_EQ(err, re in HWTEST_F()
169 std::string err = testing::internal::GetCapturedStderr(); HWTEST_F() local
192 std::string err = testing::internal::GetCapturedStderr(); HWTEST_F() local
212 std::string err = testing::internal::GetCapturedStderr(); HWTEST_F() local
237 std::string err = testing::internal::GetCapturedStderr(); HWTEST_F() local
302 std::string err = testing::internal::GetCapturedStderr(); HWTEST_F() local
328 std::string err = testing::internal::GetCapturedStderr(); HWTEST_F() local
350 std::string err = testing::internal::GetCapturedStderr(); HWTEST_F() local
[all...]
/arkcompiler/ets_runtime/test/moduletest/container/
H A Dcontainer_plainarray.js132 } catch(err) {
133 res = (err =="BusinessError: Container is empty")
138 } catch(err) {
139 res = (err =="BusinessError: Container is empty")
144 } catch(err) {
145 res = (err =="BusinessError: Container is empty")
153 } catch(err) {
154 let overFlowTest = (err == "BusinessError: The type of \"index\" must be small integer.");
172 } catch(err) {
173 if (err
[all...]
H A Dcontainer_lightweightmap.js96 } catch(err) {
97 res.set("test GetKeyAt exception when arraylist is empty:", err == "BusinessError: Container is empty")
101 } catch(err) {
102 res.set("test GetValueAt exception when arraylist is empty:", err == "BusinessError: Container is empty")
106 } catch(err) {
107 res.set("test SetValueAt exception when arraylist is empty:", err == "BusinessError: Container is empty")
131 } catch(err) {
132 if (err.name != "BusinessError") {
/arkcompiler/runtime_core/static_core/libpandabase/tests/
H A Dlogger_test.cpp44 std::string err = testing::internal::GetCapturedStderr(); in DEATH_TEST() local
45 EXPECT_EQ(err, ""); in DEATH_TEST()
58 err = testing::internal::GetCapturedStderr(); in DEATH_TEST()
67 EXPECT_EQ(err, res); in DEATH_TEST()
80 err = testing::internal::GetCapturedStderr(); in DEATH_TEST()
81 EXPECT_EQ(err, ""); in DEATH_TEST()
111 std::string err = testing::internal::GetCapturedStderr(); in DEATH_TEST() local
112 EXPECT_EQ(err, ""); in DEATH_TEST()
142 std::string err = testing::internal::GetCapturedStderr(); in DEATH_TEST() local
145 EXPECT_EQ(err, re in DEATH_TEST()
161 std::string err = testing::internal::GetCapturedStderr(); TEST() local
184 std::string err = testing::internal::GetCapturedStderr(); TEST() local
204 std::string err = testing::internal::GetCapturedStderr(); TEST() local
229 std::string err = testing::internal::GetCapturedStderr(); TEST() local
290 std::string err = testing::internal::GetCapturedStderr(); TEST() local
321 std::string err = testing::internal::GetCapturedStderr(); TEST() local
343 std::string err = testing::internal::GetCapturedStderr(); TEST() local
366 std::string err = testing::internal::GetCapturedStderr(); TEST() local
394 std::string err = testing::internal::GetCapturedStderr(); TEST() local
[all...]
/arkcompiler/runtime_core/assembler/tests/
H A Dassembler_lexer_test.cpp45 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
61 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
81 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
97 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
115 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
132 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
147 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
162 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
185 EXPECT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in HWTEST_F()
202 EXPECT_EQ(tok.second.err, Erro in HWTEST_F()
[all...]
H A Dlexer_test.cpp34 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
44 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
58 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
68 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
80 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
91 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
100 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
109 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
126 ASSERT_EQ(tok.second.err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
137 ASSERT_EQ(tok.second.err, Erro in TEST()
[all...]
/arkcompiler/runtime_core/compiler/tests/amd64/
H A Dasmjit_test.cpp68 Error err = rt.add(&fn, &code); in TEST_F() local
69 ASSERT_FALSE(err); in TEST_F()
111 Error err = rt.add(&fn, &code); in TEST_F() local
112 ASSERT_FALSE(err); in TEST_F()
136 Error err = rt.add(&fn, &code); in TEST_F() local
137 ASSERT_FALSE(err); in TEST_F()
160 Error err = rt.add(&fn, &code); in TEST_F() local
161 ASSERT_FALSE(err); in TEST_F()
204 Error err = allocator.alloc(&ro_ptr, &rw_ptr, estimated_size); in TEST_F() local
205 ASSERT_FALSE(err); in TEST_F()
[all...]
/arkcompiler/runtime_core/static_core/compiler/tests/amd64/
H A Dasmjit_test.cpp72 Error err = rt.add(&fn, &code); in TEST_F() local
73 ASSERT_FALSE(err); in TEST_F()
115 Error err = rt.add(&fn, &code); in TEST_F() local
116 ASSERT_FALSE(err); in TEST_F()
140 Error err = rt.add(&fn, &code); in TEST_F() local
141 ASSERT_FALSE(err); in TEST_F()
164 Error err = rt.add(&fn, &code); in TEST_F() local
165 ASSERT_FALSE(err); in TEST_F()
208 Error err = allocator.alloc(&roPtr, &rwPtr, estimatedSize); in TEST_F() local
209 ASSERT_FALSE(err); in TEST_F()
[all...]
/arkcompiler/ets_runtime/test/moduletest/bigint/
H A Dbigint.js39 } catch (err) {
40 print(err.name);
47 } catch (err) {
48 print(err.name);
54 } catch (err) {
55 print(err.name)
65 } catch (err) {
66 print(err);
/arkcompiler/runtime_core/tests/fuzztest/gotonextfile_fuzzer/
H A Dgotonextfile_fuzzer.cpp39 int err = 0; in GenerateZipfile() local
42 err = sprintf_s(archive_filename, MAX_DIR_SIZE, "%d.txt", i); in GenerateZipfile()
43 if (err != 0) { in GenerateZipfile()
46 err = sprintf_s(buf, MAX_BUFFER_SIZE, "%d %s %d", (n - 1) - i, data, i); in GenerateZipfile()
47 if (err != 0) { in GenerateZipfile()
64 if (p.ShowError().err != panda::pandasm::Error::ErrorType::ERR_NONE) { in MakePfData()
89 int err = MakePfData(pf_data); in GoToNextFileFuzzTest() local
90 if (err != 0) { in GoToNextFileFuzzTest()
/arkcompiler/runtime_core/static_core/assembler/
H A Dassembly-parser.cpp43 context_.err = GetError("Expected keyword.", Error::ErrorType::ERR_BAD_KEYWORD); in ParseRecordFields()
67 if (context_.err.err != Error::ErrorType::ERR_NONE) { in ParseRecordFields()
76 context_.err = GetError("Expected a new field on the next line.", Error::ErrorType::ERR_BAD_KEYWORD); in ParseRecordFields()
93 context_.err = in ParseFieldName()
111 context_.err = GetError("Invalid name of field.", Error::ErrorType::ERR_BAD_OPERATION_NAME); in ParseFieldName()
128 context_.err = GetError("Expected ']'.", Error::ErrorType::ERR_BAD_ARRAY_TYPE_BOUND); in ParseType()
150 context_.err = GetError("Not a correct type.", Error::ErrorType::ERR_BAD_FIELD_VALUE_TYPE); in ParseFieldType()
172 context_.err = GetError("Expected field name.", Error::ErrorType::ERR_BAD_FIELD_MISSING_NAME, +1); in ParseRecordField()
227 context_.err in ParseAsArray()
2347 SetMetadataContextError(const Metadata::Error &err, bool hasValue) SetMetadataContextError() argument
2479 auto err = res.value(); BuildMetaListAttr() local
2534 auto err = res.value(); ParseMetaList() local
[all...]
/arkcompiler/ets_runtime/test/moduletest/jsonparser/
H A Djsonparser.js91 } catch (err) {
92 print(err.name)
99 } catch (err) {
100 print(err.name)
107 } catch (err) {
108 print(err.name)
/arkcompiler/runtime_core/compiler/tests/x86/
H A Dasmjit_test.cpp44 Error err = rt.add(&fn, &code); in TEST_F() local
45 ASSERT_FALSE(err); in TEST_F()
87 Error err = rt.add(&fn, &code); in TEST_F() local
88 ASSERT_FALSE(err); in TEST_F()
131 Error err = allocator.alloc(&ro_ptr, &rw_ptr, estimated_size); in TEST_F() local
132 ASSERT_FALSE(err); in TEST_F()
147 err = allocator.release(ro_ptr); in TEST_F()
148 ASSERT_FALSE(err); in TEST_F()
/arkcompiler/runtime_core/static_core/compiler/tests/x86/
H A Dasmjit_test.cpp43 Error err = rt.add(&fn, &code); in TEST_F() local
44 ASSERT_FALSE(err); in TEST_F()
86 Error err = rt.add(&fn, &code); in TEST_F() local
87 ASSERT_FALSE(err); in TEST_F()
130 Error err = allocator.alloc(&ro_ptr, &rw_ptr, estimated_size); in TEST_F() local
131 ASSERT_FALSE(err); in TEST_F()
146 err = allocator.release(ro_ptr); in TEST_F()
147 ASSERT_FALSE(err); in TEST_F()
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/
H A Dtest_unit.py55 def set_unit(out: str, err: str) -> BenchUnit:
56 res = ShellResult(out=out, err=err)
65 bu = set_unit(out=OUT_1, err=ERR_1)
82 bu = set_unit(out=OUT_2, err=ERR_2)

Completed in 12 milliseconds

12345678