Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 44) sorted by relevance

12

/napi_generator/hdc/gn/gn-gen/src/
Dtool.js15 const path = require('path'); constant
34 return path.join(Tool.CURRENT_TOOL_PATH, respath);
39 return path.join(Tool.CURRENT_TOOL_PATH, "res/win/ohos.toolchain.cmake");
41 return path.join(Tool.CURRENT_TOOL_PATH, "res/linux/ohos.toolchain.cmake");
43 return path.join(Tool.CURRENT_TOOL_PATH, "res/mac/ohos.toolchain.cmake");
52 return path.join(Tool.CURRENT_TOOL_PATH, "res/win/bin/make_raw.exe");
54 return path.join(Tool.CURRENT_TOOL_PATH, "res/linux/bin/make_raw");
56 return path.join(Tool.CURRENT_TOOL_PATH, "res/mac/bin/make_raw");
65 return path.join(Tool.CURRENT_TOOL_PATH, "res/win/bin/make.exe");
67 return path.join(Tool.CURRENT_TOOL_PATH, "res/linux/bin/make");
[all …]
Danalyze_cmake.js15 const path = require("path"); constant
29 buildTmp = path.join(compileFile.dir, "build_tmp");//cmake编译的临时目录
32 … buildTmp = path.join(Tool.OHOS_PROJECT_PATH,Tool.OHOS_PORTING_TO, "build_tmp");//cmake编译的临时目录
41 …if (!fs.existsSync(path.join(Tool.OHOS_PROJECT_PATH, Tool.OHOS_PRODUCT_OUTPUT_PATH, "build.ninja")…
58 ohosToolchainCmake = path.join(buildTmp, "ohos.toolchain.cmake");
78 AnalyzeMake.analyze(path.join(buildTmp, "Makefile")); //调用make生成命令行
Dgenerate_gn.js15 const path = require("path"); constant
26 fs.writeFileSync(path.join(Tool.CURRENT_TOOL_PATH, "mock.json"), ss)
33 if (!path.isAbsolute(r.target)) {
34 r.target = path.join(r.workDir, r.target);
42 if (!path.isAbsolute(r.inputs[i])) {
43 r.inputs[i] = path.join(r.workDir, r.inputs[i]);
49 if (!path.isAbsolute(r.includes[i])) {
50 r.includes[i] = path.join(r.workDir, r.includes[i]);
58 let pn = path.parse(name);
84 … let ss = fs.readFileSync(path.join(Tool.CURRENT_TOOL_PATH, "mock.json"), { encoding: "utf8" });
[all …]
/napi_generator/napi_IntelliJ_plugin/src/com/sk/utils/
DFileInfo.java30 private String path; field in FileInfo
35 path = file.getPath(); in FileInfo()
45 return path; in getPath()
64 && Objects.equals(path, fileInfo.path); in equals()
69 return Objects.hash(name, path, lastModifiedTime); in hashCode()
DFileUtil.java99 public void writeContentToFile(String path, String content) { in writeContentToFile() argument
100 File file = new File(path); in writeContentToFile()
104 LOG.error("Failed to write file [" + path + "], error: " + ioException); in writeContentToFile()
114 public String makeFile(String path) { in makeFile() argument
115 File file = new File(path); in makeFile()
120 LOG.info(String.format("makeFile %s success", path)); in makeFile()
123 LOG.error(String.format("makeFile %s error:%s", path, ioException)); in makeFile()
136 public void writeErrorToTxt(String path, String content) { in writeErrorToTxt() argument
137 File file = new File(path); in writeErrorToTxt()
153 public boolean findStringInFile(String path, String content) throws IOException { in findStringInFile() argument
[all …]
/napi_generator/hdc/api/api_scan_IntelliJ_plugin/src/com/kh/scan/utils/
DFileInfo.java30 private String path; field in FileInfo
35 path = file.getPath(); in FileInfo()
45 return path; in getPath()
64 && Objects.equals(path, fileInfo.path); in equals()
69 return Objects.hash(name, path, lastModifiedTime); in hashCode()
/napi_generator/hdc/ts/ts_IntelliJ_plugin/src/com/sk/ts/utils/
DFileInfo.java30 private String path; field in FileInfo
38 path = file.getPath(); in FileInfo()
48 return path; in getPath()
66 if (Objects.equals(path, info.path)) { in equals()
80 return Objects.hash(name, path, lastModifiedTime); in hashCode()
/napi_generator/test/storytest/
Dtest.py14 if not os.path.isfile("@ohos.test.d.ts"):
16 if not os.path.exists("out"):
35 work_path = os.path.split(sys.argv[0])[0]
40 if os.path.isdir(fn):
48 if os.path.isdir(fn):
/napi_generator/napi_IntelliJ_plugin/src/com/sk/dialog/
DGenResultDialog.java41 private String path; field in GenResultDialog
44 path = directoryPath; in GenResultDialog()
56 List<String> fileList = getDirFileName(path); in initResultDialog()
64 private List<String> getDirFileName(String path) { in getDirFileName() argument
66 File file = new File(path); in getDirFileName()
/napi_generator/hdc/ts/ts_IntelliJ_plugin/src/com/sk/ts/dialog/
DGenResultDialog.java41 private String path; field in GenResultDialog
44 path = directoryPath; in GenResultDialog()
56 List<String> fileList = getDirFileName(path); in initResultDialog()
64 private List<String> getDirFileName(String path) { in getDirFileName() argument
66 File file = new File(path); in getDirFileName()
/napi_generator/hdc/gn/gn_IntelliJ_plugin/src/com/sk/gn/dialog/
DGenResultDialog.java41 private String path; field in GenResultDialog
44 path = directoryPath; in GenResultDialog()
56 List<String> fileList = getDirFileName(path); in initResultDialog()
64 private List<String> getDirFileName(String path) { in getDirFileName() argument
66 File file = new File(path); in getDirFileName()
/napi_generator/src/gen/
Dgenerate.js26 const path = require('path') constant
154 let dumyClangFmtFile = path.join(callPath, clangFmtName)
155 let dumyFmtCfgFile = path.join(callPath, ".clang-format")
164 createFolder(path.resolve("./tmpLocal"))
165 let localClangFmtFile = path.resolve("./tmpLocal/" + clangFmtName) // clang-format可执行程序
166 let localFmtCfgFile = path.resolve("./tmpLocal/.clang-format") // clang-format格式化配置文件
178 …let cmd = "\"" + localClangFmtFile + "\" -style=file -i \"" + path.resolve(path.join(destDir, genF…
187 deleteFolder(path.resolve("./tmpLocal"))
/napi_generator/hdc/gn/gn_IntelliJ_plugin/src/com/sk/gn/utils/
DFileUtil.java50 public void writeErrorToTxt(String path, String content) { in writeErrorToTxt() argument
51 File file = new File(path); in writeErrorToTxt()
65 public String makeFile(String path) { in makeFile() argument
66 File file = new File(path); in makeFile()
71 LOG.info(String.format("makeFile %s success", path)); in makeFile()
74 LOG.error(String.format("makeFile %s error:%s", path, ioException)); in makeFile()
153 public static void writeTmpFile(String path, String oldPath, Project project) { in writeTmpFile() argument
154 File file = new File(path); in writeTmpFile()
/napi_generator/hdc/service/service-gen/src/tools/
Dre.js15 const path = require('path'); constant
51 return path.parse(tpath).base;
55 return path.parse(tpath).dir;
67 return path.join(...args);
/napi_generator/src/gen/tools/
Dre.js15 const path = require('path'); constant
51 return path.parse(tpath).base;
55 return path.parse(tpath).dir;
67 return path.join(...args)
/napi_generator/hdc/gn/gn-gen/
Dmain.js15 const path = require("path"); constant
27 Tool.CURRENT_TOOL_PATH = path.parse(process.execPath).dir;
63 let compileFile = path.parse(path.join(Tool.OHOS_PROJECT_PATH, ops.filename));
/napi_generator/hdc/service/service_vs_plugin/src/gen/tools/
DVsPluginRe.js15 const path = require('path'); constant
43 return path.parse(tpath).base;
47 return path.parse(tpath).dir;
/napi_generator/hdc/gn/gn_vs_plugin/src/gen/tools/
DVsPluginRe.js15 const path = require('path'); constant
43 return path.parse(tpath).base;
47 return path.parse(tpath).dir;
/napi_generator/napi_vs_plugin/src/gen/tools/
DVsPluginRe.js15 const path = require('path'); constant
43 return path.parse(tpath).base;
47 return path.parse(tpath).dir;
/napi_generator/hdc/api/api_scan_vs_plugin/src/gen/tools/
DVsPluginRe.js15 const path = require('path'); constant
43 return path.parse(tpath).base;
47 return path.parse(tpath).dir;
/napi_generator/hdc/ts/ts_vs_plugin/src/gen/tools/
DVsPluginRe.js15 const path = require('path'); constant
43 return path.parse(tpath).base;
47 return path.parse(tpath).dir;
/napi_generator/hdc/api/api_scan_vs_plugin/src/
Dextension.js23 const path = require('path'); constant
125 path: tt ? uri.fsPath : "" property
204 path: filePath.length > 0 ? filePath.substring(0, filePath.length - 1) : filePath property
226 const resourcePath = path.join(context.extensionPath, templatePath);
227 const dirPath = path.dirname(resourcePath);
231 … return $1 + globalPanel.webview.asWebviewUri(vscode.Uri.file(path.resolve(dirPath, $2))) + '"';
/napi_generator/hdc/ts/ts_vs_plugin/src/
Dextension.js23 const path = require('path'); constant
120 path: tt ? uri.fsPath : "" property
208 path: filePath.length > 0 ? filePath.substring(0, filePath.length - 1) : filePath property
230 const resourcePath = path.join(context.extensionPath, templatePath);
231 const dirPath = path.dirname(resourcePath);
235 … return $1 + globalPanel.webview.asWebviewUri(vscode.Uri.file(path.resolve(dirPath, $2))) + '"';
/napi_generator/hdc/gn/gn_IntelliJ_plugin/src/com/sk/gn/action/
DSelectOutDirAction.java67 String path = filepath.substring(0, filepath.lastIndexOf(File.separator)); in actionPerformed() local
68 if (path.contains(File.separator)) { in actionPerformed()
69 fieldShowPath = filepath.substring(path.lastIndexOf(File.separator) + 1); in actionPerformed()
/napi_generator/hdc/service/service_vs_plugin/src/
Dextension.js23 const path = require('path'); constant
124 path: tt ? uri.fsPath : "" property
212 path: filePath.length > 0 ? filePath.substring(0, filePath.length - 1) : filePath property
234 const resourcePath = path.join(context.extensionPath, templatePath);
235 const dirPath = path.dirname(resourcePath);
239 return $1 + globalPanel.webview.asWebviewUri(vscode.Uri.file(path.resolve(dirPath, $2))) + '"';

12