| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | AbcRuntimeLinker.ets | 25 public constructor(parentLinker: RuntimeLinker | undefined, paths: string[]) { 28 this.abcFiles = new (AbcFile | undefined)[paths.length]; 29 for (let i = 0; i < paths.length; i++) { 30 this.abcFiles[i] = AbcFile.loadAbcFile(this, paths[i]); 37 * @param paths to new ABC files. 41 public addAbcFiles(paths: string[]): void { 42 const newFiles : FixedArray<AbcFile | undefined> = new (AbcFile | undefined)[paths.length]; 43 for (let i = 0; i < paths.length; i++) { 44 newFiles[i] = AbcFile.loadAbcFile(this, paths[i]);
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/ |
| D | not_all_paths_return_value.ets | 20 // error not all code paths return a value. 27 // error not all code paths return a value. 38 /* @@? 16:16 Error TypeError: Not all code paths return a value. */ 39 /* @@? 23:16 Error TypeError: Not all code paths return a value. */
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/modules/spawn/ |
| D | spawn.cpp | 44 const auto paths = SplitString(env, appAbcFiles, ':'); in getAppAbcFiles() local 45 ASSERT(!paths.empty()); in getAppAbcFiles() 51 env->Array_New_Ref(stringClass, paths.size(), paths[0], &pathsArray); in getAppAbcFiles() 52 for (size_t i = 1; i < paths.size(); ++i) { in getAppAbcFiles() 53 env->Array_Set_Ref(pathsArray, i, paths[i]); in getAppAbcFiles()
|
| /arkcompiler/ets_frontend/arkguard/src/utils/ |
| D | UnitTestUtil.ts | 20 …// The paths in mKeepFileSourceCode are relative paths. Join them with the directory where the obf… 28 const processPaths = (paths: Set<string>, targetPaths: Set<string>): void => { 29 paths.forEach(tempPath => {
|
| /arkcompiler/runtime_core/static_core/runtime/profiling/ |
| D | profiling-disasm-inl.h | 29 // NOLINTNEXTLINE(hicpp-multiway-paths-covered) in ReadProfile() 41 // NOLINTNEXTLINE(hicpp-multiway-paths-covered) in DestroyProfile() 54 // NOLINTNEXTLINE(hicpp-multiway-paths-covered) in FindMethodInProfile() 67 // NOLINTNEXTLINE(hicpp-multiway-paths-covered) in DumpProfile()
|
| D | profiling_gen.h.erb | 36 // NOLINTNEXTLINE(hicpp-multiway-paths-covered) 54 // NOLINTNEXTLINE(hicpp-multiway-paths-covered) 67 // NOLINTNEXTLINE(hicpp-multiway-paths-covered)
|
| /arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
| D | FileUtils.2.spec.ts | 105 it('should return true for relative paths starting with ./', () => { 110 it('should return true for relative paths starting with ../', () => { 115 it('should return true for relative paths starting with .\\', () => { 120 it('should return true for relative paths starting with ..\\', () => { 125 it('should return false for absolute paths', () => { 130 it('should return false for Windows absolute paths', () => { 176 join: (...paths: string[]) => paths.join('/') 201 it('should handle empty paths', () => {
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/ |
| D | es2panda.py | 47 paths: dict = {} 52 paths[lib_name] = [path] 57 parsed_template['compilerOptions']['paths'] = { 58 **parsed_template['compilerOptions']['paths'], 59 **paths 70 """Update arktsconfig.json with actual paths.""" 141 j['compilerOptions']['paths'][lib.name] = [str(lib), ]
|
| /arkcompiler/ets_frontend/ets2panda/driver/dependency_analyzer/ |
| D | README.md | 18 The result of the program is std::vector of full file paths. The paths in the array are sorted by i…
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/lib/ts-compiler/ |
| D | ResolveSdks.ts | 279 const paths = [ constant 293 for (const filePath of paths) { 370 function processExternalConfig(externalPath: string): { modules: string[]; paths: string[]; prefix?… 384 paths: [] as string[], constant 392 result.paths.push(absPath); 403 function processExternalPaths(externalPaths: string[]): { modules: string[]; paths: string[]; prefi… 406 paths: [] as string[], constant 417 result.paths.push(...configResult.paths); 429 // Process base SDK paths 436 // Process external SDK paths [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/backend/tests/fixtures/ |
| D | app.py | 33 paths = [ 41 for p in paths: 43 return build_path, *paths
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/05.field_declarations/ |
| D | several_inherited_field_paths_from_superinterface.ets | 17 desc: Several paths by which the same field declaration is inherited from an interface. 18 assert: There might be several paths by which the same field declaration is inherited from an inter…
|
| /arkcompiler/ets_frontend/ets2panda/lsp/include/ |
| D | user_preferences.h | 52 * @brief Determines how module import paths are specified 55 * PROJECT_RELATIVE - Use paths relative to the project root 56 * RELATIVE - Use paths relative to the current file 57 * NON_RELATIVE - Use absolute paths 66 * INDEX - Include '/index' in paths
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/templates/intrinsics/ |
| D | intrinsics_flags.inl.erb | 63 switch (intrinsic) // NOLINT(hicpp-multiway-paths-covered) 76 switch (intrinsic) { // NOLINT(hicpp-multiway-paths-covered) 92 // NOLINTNEXTLINE(hicpp-multiway-paths-covered) 111 // NOLINTNEXTLINE(hicpp-multiway-paths-covered)
|
| D | intrinsics_ir_build.inl.erb | 19 switch (intrinsic) // NOLINT(hicpp-multiway-paths-covered) 38 // NOLINTNEXTLINE(hicpp-multiway-paths-covered) 81 // NOLINTNEXTLINE(hicpp-multiway-paths-covered)
|
| /arkcompiler/ets_frontend/ets2panda/linter/ |
| D | README.md | 53 … which linter walks recurscevely. This option may be repeated in command line with different paths. 59 All other command line arguments are considered as paths to TypeScript files. 61 ….sh @response-file.txt` ). Response file should contain TypeScript source paths (one at each line)…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/testing_varying_arktsconfigs/package_names/test_01/dir/ |
| D | arktsconfig.json | 5 "paths": { object
|
| /arkcompiler/ets_frontend/ets2panda/test/tsconfig/test-config/incorrect-include/ |
| D | arktsconfig.json | 6 "paths": {} object
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/testing_arktsconfig_paths_single_file/dirA/ |
| D | arktsconfig.json | 5 "paths": { object
|
| /arkcompiler/runtime_core/static_core/plugins/ets/playground/backend/docker/ |
| D | arktsconfig.json | 4 "paths": { object
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/testing_arktsconfig_field_dependencies_and_entry/C/ |
| D | arktsconfig.json | 5 "paths": { object
|
| /arkcompiler/ets_frontend/ets2panda/util/ |
| D | arktsconfig.cpp | 201 auto paths = options->get()->GetValue<JsonObject::JsonObjPointer>("paths"); in ParsePaths() local 202 if (paths == nullptr) { in ParsePaths() 206 for (size_t keyIdx = 0; keyIdx < paths->get()->GetSize(); ++keyIdx) { in ParsePaths() 207 auto &key = paths->get()->GetKeyByIndex(keyIdx); in ParsePaths() 212 auto values = paths->get()->GetValue<JsonObject::ArrayT>(key); in ParsePaths() 350 … std::map<std::string, std::vector<std::string>, CompareByLength> &paths, in ResolvePathInDependenciesImpl() argument 353 for (const auto &dependencyPath : arktsConfig->Paths()) { in ResolvePathInDependenciesImpl() 354 paths.emplace(dependencyPath.first, dependencyPath.second); in ResolvePathInDependenciesImpl() 360 ResolvePathInDependenciesImpl(config.second.get(), paths, entries); in ResolvePathInDependenciesImpl() 402 // Parse "paths" in ParseCompilerOptions() [all …]
|
| /arkcompiler/runtime_core/static_core/tools/sampler/ |
| D | options.yaml | 63 … mode aspt_converter retrieves information from .aspt file about necessary modules paths on device 64 and then dump this paths to outfile, that specified in --output
|
| /arkcompiler/ets_frontend/ets2panda/test/tsconfig/test-build/glob-include/ |
| D | tsconfig.json | 9 "paths": {} object
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_esvalue_to_promise/ |
| D | arktsconfig.in.json | 4 "paths": { object
|