| /arkcompiler/ets_runtime/test/sharedtest/sharedcollectionsexception/ |
| D | sharedcollectionsexception.ts | 42 } catch (err) { 43 print("call boundAt fail. err: " + err + ", errCode: " + err.code); 51 } catch (err) { 52 print("Call boundConcat fail. err: " + err + ", errCode: " + err.code); 60 } catch (err) { 61 print("Call boundEntries failed. err: " + err + ", errCode: " + err.code); 69 } catch (err) { 70 print("Call boundFill failed. err: " + err + ", errCode: " + err.code); 78 } catch (err) { 79 print("Call boundFilter failed. err: " + err + ", errCode: " + err.code); [all …]
|
| D | expect_output.txt | 15 call boundAt fail. err: BusinessError: The at method cannot be bound., errCode: 10200011 16 Call boundConcat fail. err: BusinessError: The concat method cannot be bound., errCode: 10200011 17 Call boundEntries failed. err: BusinessError: The entries method cannot be bound., errCode: 10200011 18 Call boundFill failed. err: BusinessError: The fill method cannot be bound., errCode: 10200011 19 Call boundFilter failed. err: BusinessError: The filter method cannot be bound., errCode: 10200011 20 Call boundFind failed. err: BusinessError: The find method cannot be bound., errCode: 10200011 21 Call boundFindIndex failed. err: BusinessError: The findIndex method cannot be bound., errCode: 102… 22 Call boundForEach failed. err: BusinessError: The forEach method cannot be bound., errCode: 10200011 23 Call boundIndexOf failed. err: BusinessError: The indexOf method cannot be bound., errCode: 10200011 24 Call boundJoin failed. err: BusinessError: The join method cannot be bound., errCode: 10200011 [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sendable/ |
| D | sendable.ts | 30 } catch (err) { 31 print('sendable inherit from sendable failed. err: ' + err + ', code: ' + err.code); 44 } catch (err) { 45 print('sendable inherit from non-sendable failed. err: ' + err + ', code: ' + err.code); 62 } catch (err) { 63 print('sendable change proto failed. err: ' + err + ', code: ' + err.code); 77 } catch (err) { 78 print('non-sendable inherit from non-sendable failed. err: ' + err + ', code: ' + err.code); 92 } catch (err) { 93 print('non-sendable inherit from sendable failed. err: ' + err + ', code: ' + err.code); [all …]
|
| D | expect_output.txt | 15 sendable inherit from non-sendable failed. err: TypeError: Class not derived from a sendable object… 16 sendable change proto failed. err: TypeError: Cannot set proto with sendable object, code: undefined 18 non-sendable inherit from sendable failed. err: TypeError: The subclass of sendable class must be a… 20 sendable contain non-sendable failed. err: TypeError: Cannot set sendable property with mismatched … 21 sendable contain static non-sendable failed. err: TypeError: Cannot set sendable property with mism… 25 sendable add property failed. err: TypeError: Cannot add property in prevent extensions, code: unde… 26 sendable change property failed. err: TypeError: Cannot set sendable property with mismatched type,… 27 sendable delete property failed. err: TypeError: Cannot delete property, code: undefined 28 sendable can not change attr. err: TypeError: shared obj does not support changing or deleting attr…
|
| /arkcompiler/ets_runtime/test/sharedtest/check/ |
| D | expect_output.txt | 22 Fail to update propNumber to null with stobjbyname. err: TypeError: Cannot set sendable property wi… 23 Fail to update propBool to null with stobjbyname. err: TypeError: Cannot set sendable property with… 24 Fail to update propBigInt1 to null with stobjbyname. err: TypeError: Cannot set sendable property w… 25 Fail to update propBigInt2 to null with stobjbyname. err: TypeError: Cannot set sendable property w… 45 Fail to update subClassPropString with stobjbyname. err: TypeError: Cannot set sendable property wi… 47 Fail to replace accessor. err: TypeError: Cannot define property 49 Fail to set prop through accessor with mismatched type. err: TypeError: Cannot set sendable propert… 51 Fail to replace instance's func. err: TypeError: Cannot assign to read only property 53 Fail to update prototype. err: TypeError: Cannot add property in prevent extensions 54 Fail to extend prop to constructor's prototype. err: TypeError: Cannot add property in prevent exte… [all …]
|
| D | sharedcheck.ts | 149 print("Fail to delete propNumber. err: " + error) 159 print("Fail to extend prop with defineProperty. err: " + error); 166 print("Fail to extend prop1 with defineProperty. err: " + error) 173 print("Fail to extend prop2 with defineProperties. err: " + error) 180 print("Fail to extend prop3 with stobjbyname. err: " + error) 190 print("Fail to replace instance's func. err: " + error); 200 print("Fail to update prototype. err: " + error) 207 print("Fail to extend prop to constructor's prototype. err: " + error); 215 print("Fail to change constructor of instance's prototype. err: " + error); 222 print("Fail to replace instance's prototype. err: " + error); [all …]
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedarray/ |
| D | sharedarray.ts | 226 } catch (err) { 227 print("add element by index access failed. err: " + err + ", code: " + err.code); 232 } catch (err) { 233 print("add element by index access failed. err: " + err + ", code: " + err.code); 238 } catch (err) { 239 print("add element by index access failed. err: " + err + ", code: " + err.code); 257 } catch (err) { 258 print("add element by index access failed. err: " + err + ", code: " + err.code); 273 } catch (err) { 274 print("Create from empty element list failed. err: " + err + ", code: " + err.code); [all …]
|
| D | expect_output.txt | 74 add element by index access failed. err: TypeError: Cannot add property in prevent extensions, code… 75 add element by index access failed. err: TypeError: Cannot add property in prevent extensions, code… 76 add element by index access failed. err: BusinessError: The value of index is out of range., code: … 80 add element by index access failed. err: BusinessError: The value of index is out of range., code: … 90 Create from sendable array. err: BusinessError: Parameter error.Only accept sendable value., code: … 204 Add one element by splice api failed. err: BusinessError: Parameter error.Only accept sendable valu… 205 Add one element by splice api failed. err: BusinessError: Parameter error.Only accept sendable valu… 208 Create with without initialValue failed. err: BusinessError: Parameter error.Not enough parameters.… 209 Create with negative length failed. err: BusinessError: Parameter error.Invalid array length., code… 211 Create with exceed max length failed. err: BusinessError: Parameter error.Invalid array length., co… [all …]
|
| /arkcompiler/runtime_core/libziparchive/ |
| D | zip_archive.cpp | 55 int err = unzClose(handle); in CloseArchive() local 56 if (err != UNZ_OK) { in CloseArchive() 57 LOG(ERROR, ZIPARCHIVE) << "unzClose with error: " << err; in CloseArchive() 69 int err = unzCloseFile(handle); in CloseArchiveFile() local 70 if (err != UNZ_OK) { in CloseArchiveFile() 71 LOG(ERROR, ZIPARCHIVE) << "unzCloseFile with error: " << err; in CloseArchiveFile() 79 int err = unzGetGlobalInfo(handle, &gstat->ginfo); in GetGlobalFileInfo() local 80 if (err != UNZ_OK) { in GetGlobalFileInfo() 81 LOG(ERROR, ZIPARCHIVE) << "GetGlobalFileInfo with error: " << err; in GetGlobalFileInfo() 89 int err = unzGoToNextFile(handle); in GoToNextFile() local [all …]
|
| /arkcompiler/ets_frontend/test262/ |
| D | module_tests.txt | 15 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 …]
|
| /arkcompiler/runtime_core/static_core/libziparchive/ |
| D | zip_archive.cpp | 58 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/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/assembler/ |
| D | operand.h | 136 ERR = 0xFFFF enumerator 144 {{ERR, AL, CL, DL, BL, SPL, BPL, SIL, DIL, R8B, R9B, R10B, R11B, R12B, R13B, R14B, R15B}, 145 {ERR, AH, CH, DH, BH}, 146 {ERR, AX, CX, DX, BX, SP, BP, SI, DI, R8W, R9W, R10W, R11W, R12W, R13W, R14W, R15W}, 147 … {ERR, EAX, ECX, EDX, EBX, ESP, EBP, ESI, EDI, R8D, R9D, R10D, R11D, R12D, R13D, R14D, R15D, ERR, 149 …{ERR, RAX, RCX, RDX, RBX, RSP, RBP, RSI, RDI, R8, R9, R10, R11, R12, R13, R14,… 151 {ERR, ERR, ERR, ERR, ERR, ERR, ERR, ERR, ERR, ERR, ERR, ERR, ERR, ERR, ERR, ERR, ERR, ERR, 174 {GS, "gs"}, {ERR, "err"}}; 187 Reg base = ERR; 188 Reg index = ERR; [all …]
|
| /arkcompiler/runtime_core/assembler/ |
| D | assembly-parser.cpp | 35 context_.err = GetError("Expected keyword.", Error::ErrorType::ERR_BAD_KEYWORD); in ParseRecordFields() 59 if (context_.err.err != Error::ErrorType::ERR_NONE) { in ParseRecordFields() 68 …context_.err = GetError("Expected a new field on the next line.", Error::ErrorType::ERR_BAD_KEYWOR… in ParseRecordFields() 85 context_.err = in ParseFieldName() 103 context_.err = GetError("Invalid name of field.", Error::ErrorType::ERR_BAD_OPERATION_NAME); in ParseFieldName() 120 context_.err = GetError("Expected ']'.", Error::ErrorType::ERR_BAD_ARRAY_TYPE_BOUND); in ParseType() 142 context_.err = GetError("Not a correct type.", Error::ErrorType::ERR_BAD_FIELD_VALUE_TYPE); in ParseFieldType() 164 … context_.err = GetError("Expected field name.", Error::ErrorType::ERR_BAD_FIELD_MISSING_NAME, +1); in ParseRecordField() 223 context_.err = in ParseAsArray() 243 context_.err = in ParseAsArray() [all …]
|
| /arkcompiler/runtime_core/static_core/assembler/ |
| D | assembly-parser.cpp | 43 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_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() 227 context_.err = in ParseAsArray() 247 context_.err = in ParseAsArray() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/08.statements/15.try_statements/01.catch_clauses/ |
| D | catch.params.yaml | 21 let err: Er = new Er(); 23 if (1 == 2) throw err; 34 let err: Er = new Er(); 36 if (1 != 2) throw err; 39 return e === err ? 0 : 1; 54 let err: Er = new Er("msg", new ErrorOptions(cause)); 56 if (1 != 2) throw err; 59 if (e === err) {
|
| /arkcompiler/ets_runtime/test/moduletest/decodeuricomponent/ |
| D | decodeuricomponent.js | 33 } 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.name); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/sts_ts_subset/std/core/ |
| D | PromiseRacePoisonedIterator.sts | 16 constructor(err: Error) { 17 this.error = err; 28 constructor(err: Error) { 29 this.error = err; 42 }, (err: Error): void => { 43 if (err != error) {
|
| D | PromiseAllPoisonedIterator.sts | 16 constructor(err: Error) { 17 this.error = err; 28 constructor(err: Error) { 29 this.error = err; 43 }, (err: Object): void => { 44 if (err != error) {
|
| D | PromiseAnyPoisonedIterator.sts | 17 constructor(err: Error) { 18 this.error = err; 29 constructor(err: Error) { 30 this.error = err; 43 }, (err: Error): void => { 44 if (err != error) {
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | structural_identity.sts | 108 fC(i); // ERR, no inheritance relation 109 fC(ci); // ERR, no inheritance relation 111 fC(ii); // ERR, no inheritance relation 112 fI(c); // ERR, no inheritance relation 115 fI(cc); // ERR, no inheritance relation 138 fC(dc); // ERR, no inheritance relation 139 fC(di); // ERR, no inheritance relation 140 fC(dci); // ERR, no inheritance relation 141 fC(dcc); // ERR, no inheritance relation 142 fC(dii); // ERR, no inheritance relation [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/class/ |
| D | class.js | 63 } 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/test/moduletest/intl/ |
| D | intl.js | 25 } catch (err) { 26 print(err instanceof TypeError); 32 } catch (err) { 33 print(err instanceof TypeError); 65 } catch (err) { 66 print(err instanceof TypeError);
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/ |
| D | cl_ut_test.cpp | 68 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, maplecl::RetCode::parsingErr); in TEST() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic_types/ |
| D | test_generic_types.sts | 33 constructor(err: T) { 34 this.err = err; 37 return this.err.message; 39 public err: T;
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/src/ |
| D | cl_parser.cpp | 52 RetCode err = option->Parse(argsIndex, args, keyArg); in ParseJoinedOption() local 53 if (err != RetCode::noError) { in ParseJoinedOption() 54 return err; in ParseJoinedOption() 71 RetCode err = opt->Parse(argsIndex, args, keyArg); in ParseOption() local 72 if (err != RetCode::noError) { in ParseOption() 73 return err; in ParseOption() 126 RetCode err = RetCode::noError; in HandleInputArgs() local 148 err = ParseEqualOption(argsIndex, args, keyArg, optCategory, optCategory.options, pos); in HandleInputArgs() 149 if (err != RetCode::noError) { in HandleInputArgs() 150 badCLArgs.emplace_back(args[argsIndex], err); in HandleInputArgs() [all …]
|