| /arkcompiler/ets_frontend/ets2panda/test/unit/plugin/ |
| D | e2p_test_plugin_is-expected.txt | 5 Found Expression: 12 Found Expression: 19 Found Expression: 32 Found Expression: 42 Found Expression: 49 Found Expression: 56 Found Expression: 61 Found Expression: 68 Found Expression: 92 Found Expression: [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/utils/ |
| D | asm_test.cpp | 76 ASSERT_FALSE(recordTable.empty()) << "No records found in the program."; in CheckAnnoDecl() 77 auto found = recordTable.find(annoName); in CheckAnnoDecl() local 78 ASSERT_NE(found, recordTable.end()); in CheckAnnoDecl() 81 auto scalarValue = found->second.fieldList[i].metadata->GetValue(); in CheckAnnoDecl() 83 …CompareActualWithExpected(expectedAnnotations[i].second, &*scalarValue, found->second.fieldList[i]… in CheckAnnoDecl() 95 auto found = literalarrayTable.find(literalArray.first); in CheckLiteralArrayTable() local 96 ASSERT_NE(found, literalarrayTable.end()); in CheckLiteralArrayTable() 100 … ASSERT_EQ(value, found->second.literals[i].value) << "Value mismatch for " + literalArray.first; in CheckLiteralArrayTable() 122 ASSERT_FALSE(recordTable.empty()) << "No records found in the program."; in CheckRecordAnnotations() 123 auto found = recordTable.find(recordName); in CheckRecordAnnotations() local [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/optional_reference_type/ |
| D | index.js | 17 return arr ? arr[0] : 'Argument not found'; 21 return arr ? arr[0] : 'Argument not found'; 25 return arr ? arr[0] : 'Argument not found'; 29 return obj.address ? obj.address.city : 'Address not found'; 33 return obj.address ? obj.address.city : 'Address not found'; 37 return obj.address ? obj.address.city : 'Address not found'; 47 return 'Argument not found';
|
| D | optional_reference_type.ts | 17 return arr ? arr[0] : 'Argument not found'; 23 return arr ? arr[0] : 'Argument not found'; 27 return arr ? arr[0] : 'Argument not found'; 47 return obj.address ? obj.address.city : 'Adress not found'; 51 return obj.address ? obj.address.city : 'Adress not found'; 55 return obj.address ? obj.address.city : 'Adress not found'; 68 return 'Argument not found'; 70 return 'Argument not found';
|
| D | optional_reference_type.ets | 26 return fnWithAnyParams() == 'Argument not found' 34 return fnWithLiteralParam() == 'Argument not found'; 42 return fnWithExtraSetParam() == 'Argument not found'; 61 return fnWithSubsetPick(testObj) == 'Address not found'; 80 return fnWithSubsetPick(testObj) == 'Address not found'; 99 return fnWithSubsetPick(testObj) == 'Address not found'; 116 return fnWithUnionParam() == 'Argument not found';
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/intrinsics/ |
| D | string_compare_to.ets | 28 let found = strs.find(finder); 29 arktest.assertEQ(found, what, 'The string should be found'); 82 let found = strs.find(mixed_finder); 83 arktest.assertEQ(found, undefined, 'The string should not be found'); 98 let found = strs.find(finder); 99 arktest.assertEQ(found, what, 'The string should be found');
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | intrusive_gc_test_api_test.cpp | 68 bool found = false; in TEST_P() local 69 vm->IterateOverMarkQueue([&count, &found, object](ObjectHeader *obj) { in TEST_P() 72 found = true; in TEST_P() 76 ASSERT_TRUE(found); in TEST_P() 87 found = false; in TEST_P() 88 vm->IterateOverMarkQueue([&found, object](ObjectHeader *obj) { in TEST_P() 90 found = true; in TEST_P() 93 ASSERT_TRUE(found); in TEST_P()
|
| /arkcompiler/runtime_core/disassembler/tests/ |
| D | labels_test.cpp.in | 39 ASSERT_TRUE(beg_g != std::string::npos && end_g != std::string::npos) << "function g not found"; 40 …ASSERT_TRUE(beg_gg != std::string::npos && end_gg != std::string::npos) << "function gg not found"; 62 ASSERT_TRUE(beg_g != std::string::npos && end_g != std::string::npos) << "function g not found"; 66 …RUE(body_g.find("jump_label_0:\n\tmovi v0, 0x0") != std::string::npos) << "jump_label_0 not found"; 67 …RUE(body_g.find("jump_label_2:\n\tmovi v0, 0x1") != std::string::npos) << "jump_label_1 not found"; 68 …RUE(body_g.find("jump_label_4:\n\tmovi v0, 0x2") != std::string::npos) << "jump_label_2 not found"; 69 …RUE(body_g.find("jump_label_6:\n\tmovi v0, 0x3") != std::string::npos) << "jump_label_3 not found"; 70 …RUE(body_g.find("jump_label_7:\n\tmovi v0, 0x4") != std::string::npos) << "jump_label_4 not found"; 71 …RUE(body_g.find("jump_label_5:\n\tmovi v0, 0x5") != std::string::npos) << "jump_label_5 not found"; 72 …RUE(body_g.find("jump_label_3:\n\tmovi v0, 0x6") != std::string::npos) << "jump_label_6 not found"; [all …]
|
| /arkcompiler/ets_frontend/ets2panda/ir/ |
| D | astNode.cpp | 172 void AnyChildHelper(bool *found, const NodePredicate &cb, AstNode *ast) in AnyChildHelper() argument 174 if (*found) { in AnyChildHelper() 179 *found = true; in AnyChildHelper() 183 ast->Iterate([=](AstNode *child) { AnyChildHelper(found, cb, child); }); in AnyChildHelper() 188 bool found = false; in IsAnyChild() local 189 Iterate([&found, cb](AstNode *child) { AnyChildHelper(&found, cb, child); }); in IsAnyChild() 190 return found; in IsAnyChild() 193 void FindChildHelper(AstNode *&found, const NodePredicate &cb, AstNode *ast) in FindChildHelper() argument 195 if (found != nullptr) { in FindChildHelper() 200 found = ast; in FindChildHelper() [all …]
|
| D | astNodeHistory.cpp | 75 auto found = FindLessOrEquals(phaseId); in Get() local 76 if (LIKELY(found != nullptr)) { in Get() 77 item_ = found; in Get() 84 …d node state at phase with a given ID and set its new value, insert new history record if not found 92 } else if (auto found = FindLessOrEquals(phaseId); found != nullptr) { in Set() local 93 if (found->data.phaseId == phaseId) { in Set() 94 item_ = found; in Set() 97 item_ = list_.Insert(found, record); in Set()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Json.ets | 320 * @throws {RangeError} If the key is not found in the object 327 throw new RangeError(`The key '${key}' was not found in the JSON object.`) 337 * @throws {RangeError} If the key is not found in the object 345 * Returns undefined if the key is not found or if this element is not an object. 347 * @returns {JsonElement | undefined} The JSON element if found, undefined otherwise 372 * @throws {RangeError} If the key is not found in the object 384 * Returns an empty array if the key is not found or if the value is not an array. 386 * @returns {Array<JsonElement>} The JSON element if found, an empty array otherwise 424 * @throws {RangeError} If the key is not found 432 * Returns the fallback value if the key is not found or if the value is not a double. [all …]
|
| D | BuiltinArrayAlgorithms.ets | 32 …of a first element, where (element < key) is false. If no such element is found than lower bound i… 42 * @returns index such (arr[index] < key) is false. If no such index is found than endIndex 70 …of a first element, where (element < key) is false. If no such element is found than lower bound i… 76 * @returns index such (arr[index] < key) is false. If no such index is found than arr.length 85 … of a first element, where (key < element) is true. If no such element is found than upper bound i… 95 * @returns index such (key < arr[index]) is true. If no such index is found than endIndex 123 … of a first element, where (key < element) is true. If no such element is found than upper bound i… 129 * @returns index such (key < arr[index]) is true. If no such index is found than arr.length 198 …of a first element, where (element < key) is false. If no such element is found than lower bound i… 208 * @returns index such (arr[index] < key) is false. If no such index is found than endIndex [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/unit/lsp/ |
| D | get_compiler_options_diagnostics_test.cpp | 196 bool found = false; in TEST_F() local 199 found = true; in TEST_F() 203 ASSERT_TRUE(found); in TEST_F() 226 bool found = false; in TEST_F() local 229 found = true; in TEST_F() 233 ASSERT_TRUE(found); in TEST_F() 257 bool found = false; in TEST_F() local 260 found = true; in TEST_F() 264 ASSERT_TRUE(found); in TEST_F() 295 bool found = false; in TEST_F() local [all …]
|
| D | quick_info_test_1.cpp | 37 auto found = ast->FindChild(checkFunc); in TEST_F() local 38 auto enumDecl = found->AsClassDefinition()->OrigEnumDecl()->AsTSEnumDeclaration(); in TEST_F() 63 auto found = ast->FindChild(checkFunc); in TEST_F() local 64 std::vector<SymbolDisplayPart> display = ark::es2panda::lsp::CreateDisplayForClass(found); in TEST_F() 87 auto found = ast->FindChild(checkFunc); in TEST_F() local 88 std::vector<SymbolDisplayPart> display = ark::es2panda::lsp::CreateDisplayForTypeAlias(found); in TEST_F() 112 auto found = ast->FindChild(checkFunc); in TEST_F() local 113 std::vector<SymbolDisplayPart> display = ark::es2panda::lsp::CreateDisplayForTypeAlias(found); in TEST_F() 138 auto found = ast->FindChild(checkFunc); in TEST_F() local 139 std::vector<SymbolDisplayPart> display = ark::es2panda::lsp::CreateDisplayForInterface(found); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/libpandafile/external/ |
| D | file_ext.cpp | 61 ark::panda_file::ext::MethodSymEntry *found = nullptr; in QueryMethodSymByOffset() local 63 auto callBack = [this, offset, &found](ark::panda_file::MethodDataAccessor &mda) -> void { in QueryMethodSymByOffset() 74 found = &ret.first->second; in QueryMethodSymByOffset() 87 return found; in QueryMethodSymByOffset() 91 … ark::panda_file::ext::MethodSymEntry *found) in EnumerateAllMethods() 94 …cda.EnumerateMethods([this, &cda, &offset, &found](ark::panda_file::MethodDataAccessor &mda) -> vo… in EnumerateAllMethods() 106 found = &ret.first->second; in EnumerateAllMethods() 109 found->id = idNew; in EnumerateAllMethods() 110 …found->name = ark::os::native_stack::ChangeJaveStackFormat(reinterpret_cast<const char *>(nameId))… in EnumerateAllMethods() 111 "." + found->name; in EnumerateAllMethods() [all …]
|
| /arkcompiler/runtime_core/libabckit/tests/clean_scenarios/cpp_api/dynamic/replace_call_site/ |
| D | replace_call_site_test.cpp | 71 bool found = false; in HasTargetMethod() local 74 found |= target.className == user.GetString(); in HasTargetMethod() 76 return !found; in HasTargetMethod() 79 return found; in HasTargetMethod() 84 bool found = false; in HasTargetMethod() local 88 … for (abckit::Instruction inst = bb.GetFirstInst(); !!inst && !found; inst = inst.GetNext()) { in HasTargetMethod() 89 found |= HasTargetMethod(inst, target); in HasTargetMethod() 91 return !found; in HasTargetMethod() 94 return found; in HasTargetMethod() 99 std::optional<abckit::Instruction> found; in FindFirstInst() local [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/icnotfoundtest/ |
| D | icnotfoundtest.js | 18 // Test1: test not found ic 42 // Test2: test not found ic 68 // Test3: test not found ic 97 // Test4: test not found ic 127 // Test5: test not found ic 155 // Test6: test not found ic (method on itself) 177 // Test7: test not found ic (method on prototype) 199 // Test8: test not found ic (method on Object's prototype) 221 // Test9: test not found ic (global object) 245 // Test10: test not found ic (ldobjbyvalue)
|
| /arkcompiler/ets_runtime/test/aottest/icnotfound/ |
| D | icnotfound.js | 18 // Test1: test not found ic 42 // Test2: test not found ic 68 // Test3: test not found ic 97 // Test4: test not found ic 127 // Test5: test not found ic 155 // Test6: test not found ic (method on itself) 177 // Test7: test not found ic (method on prototype) 199 // Test8: test not found ic (method on Object's prototype) 221 // Test9: test not found ic (global object) 245 // Test10: test not found ic (Deopt)
|
| /arkcompiler/runtime_core/taihe/runtime/include/taihe/platform/ |
| D | ani.hpp | 133 std::cerr << "Module not found: " << descriptor << std::endl; in ani_find_module() 148 std::cerr << "Namespace not found: " << descriptor << std::endl; in ani_find_namespace() 163 std::cerr << "Class not found: " << descriptor << std::endl; in ani_find_class() 184 …std::cerr << "Function not found: " << descriptor << "::" << name << " with signature: " << signat… in ani_find_module_function() 206 …std::cerr << "Function not found: " << descriptor << "::" << name << " with signature: " << signat… in ani_find_namespace_function() 228 …std::cerr << "Method not found: " << descriptor << "::" << name << " with signature: " << signature in ani_find_class_method() 250 …std::cerr << "Static method not found: " << descriptor << "::" << name << " with signature: " << s… in ani_find_class_static_method() 271 std::cerr << "Variable not found: " << descriptor << "::" << name << std::endl; in ani_find_module_variable() 291 std::cerr << "Variable not found: " << descriptor << "::" << name << std::endl; in ani_find_namespace_variable() 311 std::cerr << "Field not found: " << descriptor << "::" << name << std::endl; in ani_find_class_field() [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/patch/11/hotfix/hotfix-throwerror/add-two-anon-function/ |
| D | expected.txt | 14 [Patch] Found new anonymous, special(containing '.' or '\') or duplicate name function .#2883375060… 15 [Patch] Found new anonymous, special(containing '.' or '\') or duplicate name function .#3272928923… 16 [Patch] Found unsupported change in file, will not generate patch!
|
| /arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/ |
| D | Array_builtin_algorithms.ets.j2 | 36 …of a first element, where (element < key) is false. If no such element is found than lower bound i… 46 * @returns index such (arr[index] < key) is false. If no such index is found than endIndex 74 …of a first element, where (element < key) is false. If no such element is found than lower bound i… 80 * @returns index such (arr[index] < key) is false. If no such index is found than arr.length 89 … of a first element, where (key < element) is true. If no such element is found than upper bound i… 99 * @returns index such (key < arr[index]) is true. If no such index is found than endIndex 127 … of a first element, where (key < element) is true. If no such element is found than upper bound i… 133 * @returns index such (key < arr[index]) is true. If no such index is found than arr.length 142 …of a first element, where (element < key) is false. If no such element is found than lower bound i… 152 * @returns index such (arr[index] < key) is false. If no such index is found than endIndex [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/patch/currentVersion/hotfix/hotfix-throwerror/add-two-anon-function/ |
| D | expected.txt | 14 [Patch] Found new anonymous, special(containing '.' or '\') or duplicate name function .#*#^2 not s… 15 [Patch] Found new anonymous, special(containing '.' or '\') or duplicate name function .#*#^1 not s… 16 [Patch] Found unsupported change in file, will not generate patch!
|
| /arkcompiler/ets_frontend/es2panda/test/patch/currentVersion/hotfix/hotfix-throwerror/del-dup-add-anon-function/ |
| D | expected.txt | 14 [Patch] Found new anonymous, special(containing '.' or '\') or duplicate name function .#*#^2 not s… 15 [Patch] Found new anonymous, special(containing '.' or '\') or duplicate name function .#*#^1 not s… 16 [Patch] Found unsupported change in file, will not generate patch!
|
| /arkcompiler/ets_frontend/es2panda/typescript/types/ |
| D | objectType.cpp | 51 binder::LocalVariable *found = otherObj->Desc()->FindProperty(it->Name()); in IsPropertiesIdentical() local 52 if (!found) { in IsPropertiesIdentical() 57 relation->IsIdenticalTo(it->TsType(), found->TsType()); in IsPropertiesIdentical() 63 if (it->Flags() != found->Flags()) { in IsPropertiesIdentical() 129 binder::LocalVariable *found = source->GetProperty(it->Name(), true); in AssignProperties() local 132 if (found) { in AssignProperties() 133 Type *sourceType = relation->GetChecker()->GetTypeOfVariable(found); in AssignProperties() 139 …if (found->HasFlag(binder::VariableFlags::OPTIONAL) && !it->HasFlag(binder::VariableFlags::OPTIONA… in AssignProperties() 213 auto *found = GetProperty(it->Name(), true); in checkExcessProperties() local 215 …if (found || (it->HasFlag(binder::VariableFlags::NUMERIC_NAME) && NumberIndexInfo()) || StringInde… in checkExcessProperties()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/ |
| D | shared_reference_storage_verifier.cpp | 95 …LOG_REF_VERIFIER << "Shared reference corruption found! ETS object address does not alive at " << … in CheckJEtsObjectAlive() 106 …LOG_REF_VERIFIER << "Shared Reference corruption found! JS object address does not alive at " << s… in CheckJsObjectAlive() 133 …LOG_REF_VERIFIER << "Shared Reference corruption found! JS object address cannot reindex at " << s… in CheckJsObjectReindex() 145 …LOG_REF_VERIFIER << "Shared Reference corruption found! Ets object address cannot reindex at " << … in CheckEtsObjectReindex() 163 …LOG_REF_VERIFIER << "Shared Reference corruption found! Js object address is invalid at " << std::… in CheckJsObjectAddress() 175 …LOG_REF_VERIFIER << "Shared Reference corruption found! Ets object address is invalid at " << std:… in CheckEtsObjectAddress() 186 …LOG_REF_VERIFIER << "Shared Reference corruption found! Js Type is not JSType::JS_XREF_OBJECT at "… in CheckJsObjectType() 191 …LOG_REF_VERIFIER << "Shared Reference corruption found! Js Type is not JSType::JS_XREF_OBJECT at "… in CheckJsObjectType() 210 …LOG_REF_VERIFIER << "Shared Reference corruption found! Xgc finished but not marked at " << std::h… in IsAllItemsMarked()
|