Home
last modified time | relevance | path

Searched full:err (Results 1 – 25 of 113) sorted by relevance

12345

/arkcompiler/ets_frontend/test262/
Dmodule_tests.txt15 parse-err-export-dflt-const.js
16 parse-err-export-dflt-let.js
17 parse-err-export-dflt-var.js
18 parse-err-return.js
19 parse-err-yield.js
56 eval-export-dflt-expr-err-eval.js
57 eval-export-dflt-expr-err-get-value.js
81 eval-rqstd-abrupt-err-type_FIXTURE.js
82 eval-rqstd-abrupt-err-uri_FIXTURE.js
136 instn-iee-err-ambiguous-1_FIXTURE.js
[all …]
DdynamicImport_tests.txt429 nested-async-function-return-await-instn-iee-err-ambiguous-import.js
442 nested-block-labeled-instn-iee-err-ambiguous-import.js
443 nested-function-import-catch-instn-iee-err-ambiguous-import.js
447 nested-async-arrow-function-return-await-instn-iee-err-ambiguous-import.js
451 nested-block-labeled-instn-iee-err-circular.js
452 nested-while-import-catch-instn-iee-err-ambiguous-import.js
455 nested-else-import-catch-instn-iee-err-circular.js
457 nested-async-function-await-instn-iee-err-ambiguous-import.js
465 nested-do-while-instn-iee-err-ambiguous-import.js
467 nested-async-function-return-await-instn-iee-err-circular.js
[all …]
Des2021_tests.txt95 built-ins/String/prototype/trimStart/this-value-object-toprimitive-call-err.js
96 built-ins/String/prototype/trimStart/this-value-object-toprimitive-meth-err.js
97 built-ins/String/prototype/trimStart/this-value-object-cannot-convert-to-primitive-err.js
99 built-ins/String/prototype/trimStart/this-value-object-toprimitive-returns-object-err.js
100 built-ins/String/prototype/trimStart/this-value-object-tostring-meth-err.js
101 built-ins/String/prototype/trimStart/this-value-object-tostring-call-err.js
103 built-ins/String/prototype/trimStart/this-value-object-tostring-returns-object-err.js
104 built-ins/String/prototype/trimStart/this-value-object-valueof-meth-err.js
106 built-ins/String/prototype/trimStart/this-value-object-valueof-call-err.js
107 built-ins/String/prototype/trimStart/this-value-object-valueof-returns-object-err.js
[all …]
/arkcompiler/runtime_core/libziparchive/
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 = unzGoToNextFile(handle); in GoToNextFile() local
[all …]
/arkcompiler/runtime_core/assembler/
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_KEYWOR… 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()
231 context_.err = in ParseAsArray()
251 context_.err = in ParseAsArray()
[all …]
/arkcompiler/runtime_core/assembler/tests/
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, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
[all …]
Dparser_test.cpp38 ASSERT_EQ(p.ShowError().err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
55 ASSERT_EQ(p.ShowError().err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
66 … ASSERT_EQ(p.ShowError().err, Error::ErrorType::ERR_BAD_LABEL_EXT) << "ERR_BAD_LABEL_EXT expected"; in TEST()
77 …ASSERT_EQ(p.ShowError().err, Error::ErrorType::ERR_BAD_OPERATION_NAME) << "ERR_BAD_OPERATION_NAME … in TEST()
93 ASSERT_EQ(p.ShowError().err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
109 ASSERT_EQ(p.ShowError().err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
120 ASSERT_EQ(p.ShowError().err, Error::ErrorType::ERR_BAD_INTEGER_NAME) << "ERR_NONE expected"; in TEST()
131 …ASSERT_EQ(p.ShowError().err, Error::ErrorType::ERR_BAD_OPERATION_NAME) << "ERR_BAD_OPERATION expec… in TEST()
151 ASSERT_EQ(p.ShowError().err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
171 ASSERT_EQ(p.ShowError().err, Error::ErrorType::ERR_NONE) << "ERR_NONE expected"; in TEST()
[all …]
/arkcompiler/runtime_core/compiler/tests/amd64/
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/libpandabase/tests/
Dlogger_test.cpp49 std::string err = testing::internal::GetCapturedStderr(); variable
50 EXPECT_EQ(err, "");
63 err = testing::internal::GetCapturedStderr();
72 EXPECT_EQ(err, res);
85 err = testing::internal::GetCapturedStderr();
86 EXPECT_EQ(err, "");
116 std::string err = testing::internal::GetCapturedStderr(); variable
117 EXPECT_EQ(err, "");
147 std::string err = testing::internal::GetCapturedStderr(); variable
150 EXPECT_EQ(err, res);
[all …]
/arkcompiler/runtime_core/compiler/tests/x86/
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/assembler/templates/
Dopcode_parsing.h.erb63 … context_.err = GetError("Expected comma.", Error::ErrorType::ERR_BAD_NUMBER_OPERANDS);
77 … context_.err = GetError("Register width mismatch.", Error::ErrorType::ERR_BAD_OPERAND);
79 } else if (context_.err.err == Error::ErrorType::ERR_NONE) {
80 … context_.err = GetError("Invalid name of register.", Error::ErrorType::ERR_BAD_NAME_REG);
120 … context_.err = GetError("Expected more arguments.", Error::ErrorType::ERR_BAD_NUMBER_OPERANDS);
128 … context_.err = GetError("No such operation.", Error::ErrorType::ERR_BAD_NONEXISTING_OPERATION);
/arkcompiler/ets_frontend/ts2panda/src/
Dindex.ts219 } catch(err) {
220 throw err;
300 execSync(createSymlinkCmd, (err, stdout, stderr) => {
301 if (err) {
302 LOGE(err);
349 let errorMsgFileName = watchFilePrefix + ".err";
465 let errorMsgFileName = deamonJSFilePrefix + ".err";
571 } catch (err) {
572 if (err instanceof diag.DiagnosticError) {
573 let diagnostic = diag.getDiagnostic(err.code);
[all …]
/arkcompiler/ets_frontend/es2panda/
Des2panda.cpp184 const auto &err = GetError(); in CompileFile() local
186 if (err.Message().empty() && options.parseOnly) { in CompileFile()
190 std::cerr << err.TypeString() << ": " << err.Message(); in CompileFile()
192 << err.Line() << ":" << err.Col() << "]" << std::endl; in CompileFile()
193 throw err; in CompileFile()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Derror.cpp34 int err = std::get<int>(err_); in ToString() local
40 strerror_r(err, res.data(), res.size()); in ToString()
43 std::string res = strerror_r(err, buf.data(), buf.size()); in ToString()
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dmov.null.yaml41 err:
47 - "#{[*0..255].map do |i| \" jne.obj v#{i}, err\\n\" end .join}"
50 - file-name: "err"
Dlda.const.yaml216 jne v15, err
222 err:
257 jne v15, err
261 err:
319 jnez err
325 err:
362 jnez err
368 err:
404 jnez err
410 err:
[all …]
Dlda.yaml39 err:
80 ].map do |s| \" movi v0, #{s}\\n lda v0\\n jne v0, err\\n\" end .join}"
94 err:
100 ….255].map do |i| \" movi v#{i}, 0xFEDCBA09\\n lda v#{i}\\n jne v#{i}, err\\n\" end .join}"
Dlda.64.yaml35 err:
107 …].map do |s| \" movi.64 v0, #{s}\\n lda.64 v0\\n cmp.64 v0\\n jnez err\\n\" end .join}"
121 err:
127 ….64 v#{i}, 0xDEADBEEFBADC0FFE\\n lda.64 v#{i}\\n cmp.64 v#{i}\\n jnez err\\n\" end .join}"
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-throw-statement.js27 throw err
28 throw err;
/arkcompiler/toolchain/tooling/test/testcases/js/
Dsyntax_exception.js21 catch(err) {
22 print(err);
Dthrow_exception.js23 catch(err) {
24 print("catch: " + err);
/arkcompiler/ets_frontend/es2panda/test/
Drunner.py164 out, err = process.communicate()
165 self.output = out.decode("utf-8", errors="ignore") + err.decode("utf-8", errors="ignore")
177 self.error = err.decode("utf-8", errors="ignore")
231 output_res, err = process.communicate(runner.args.es2panda_timeout)
240 err = err.decode("utf-8", errors="ignore")
242 process.returncode, err, desc, out)
247 out, err, process.returncode)
273 out, err = process.communicate(runner.args.paoc_timeout)
284 self.error = err.decode("utf-8", errors="ignore")
313 out, err = process.communicate(timeout=runner.args.timeout)
[all …]
/arkcompiler/runtime_core/platforms/windows/libpandabase/
Derror.cpp28 int err = std::get<int>(err_); in ToString() local
32 strerror_s(res, BUFSIZE, err); in ToString()
/arkcompiler/runtime_core/libpandabase/os/
Derror.h28 explicit Error(int err) : err_(err) {} in Error() argument
/arkcompiler/runtime_core/plugins/ecmascript/tests/
Decmascript_meta_test.cpp25 pandasm::Metadata::Error err("Attribute 'ecmascript.extends' must have a value", variable
30 ASSERT_EQ(err.GetMessage(), result1->GetMessage());
31 ASSERT_EQ(err.GetType(), result1->GetType());

12345