Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 25 of 69) sorted by relevance

123

/developtools/hdc/hdc_rust/src/cffi/
Dmount.cpp40 char dir[BUF_SIZE_SMALL] = ""; in FindMountDeviceByPath() local
46 dir, BUF_SIZE_SMALL - 1, &freq, &passnno); in FindMountDeviceByPath()
49 dir[BUF_SIZE_SMALL - 1] = '\0'; in FindMountDeviceByPath()
50 if (res == 4 && (strcmp(toQuery, dir) == 0)) { // 4 : The correct number of parameters in FindMountDeviceByPath()
51 WRITE_LOG(LOG_DEBUG, "FindMountDeviceByPath dev:%s dir:%s", dev, dir); in FindMountDeviceByPath()
66 bool RemountPartition(const char *dir) in RemountPartition() argument
73 if (!FindMountDeviceByPath(dir, dev) || strlen(dev) < 4) { // 4 : file count in RemountPartition()
74 WRITE_LOG(LOG_FATAL, "FindMountDeviceByPath dir:%s failed", dir); in RemountPartition()
85 ret = mount(dev, dir, "none", MS_REMOUNT, nullptr); in RemountPartition()
Dusb_util.cpp28 DIR *dir = ::opendir(path.c_str()); in GetDevPath() local
29 if (dir == nullptr) { in GetDevPath()
38 while ((entry = ::readdir(dir))) { in GetDevPath()
50 ::closedir(dir); in GetDevPath()
Dmount.h22 bool RemountPartition(const char *dir);
/developtools/profiler/protos/types/plugins/ftrace_data/default/
DBUILD.gn32 dir = get_path_info(proto, "dir")
35 "$proto_out_dir/$dir/$name.pb.h",
36 "$proto_out_dir/$dir/$name.pb.cc",
39 "$proto_out_dir/$dir/${name}_standard.pb.h",
40 "$proto_out_dir/$dir/${name}_standard.pb.cc",
43 "$proto_out_dir/$dir/${name}.pbencoder.h",
44 "$proto_out_dir/$dir/${name}.pbencoder.cc",
57 "$proto_out_dir/$dir/${name}_standard.pb.h",
58 "$proto_out_dir/$dir/${name}_standard.pb.cc",
/developtools/ace_ets2bundle/compiler/
Dbuild_kitConfigs_file.js100 function readFile(dir, fileDir) { argument
101 const files = fs.readdirSync(dir);
103 const filePath = path.join(dir, element);
113 function readSystemApis(dir, fileDir) { argument
114 const files = fs.readdirSync(dir);
116 const filePath = path.join(dir, file);
Dbuild_declarations_file.js89 function readFile(dir, fileDir) { argument
90 const files = fs.readdirSync(dir);
92 const filePath = path.join(dir, element);
221 function generateComponentConfig(dir, buildPublicSDK) { argument
222 const configFile = path.resolve(dir, 'component_map.js');
227 … fs.writeFileSync(path.resolve(dir, '../component_config.json'), JSON.stringify(COMPONENT_MAP));
228 fs.writeFileSync(path.resolve(dir, '../form_config.json'), JSON.stringify(FORM_MAP));
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
DBUILD.gn31 dir = get_path_info(proto, "dir")
34 "$proto_out_dir/$dir/$name.pb.h",
35 "$proto_out_dir/$dir/$name.pb.cc",
37 ftrace_data_codegen_reader += [ "$proto_out_dir/$dir/${name}.pbreader.h" ]
/developtools/smartperf_host/ide/src/doc/md/
Dquickstart_parsing_ability.md20 D:\deskTop\msedge.exe.lnk --user-data-dir=D:\Edgedata
22 --user-data-dir=D:\Edgedata 指定用户目录数据位置,本地除系统盘外的位置都可以,内存尽量大一点
26 错误:D:\desk Top\Microsoft Edge.exe.lnk --user-data-dir=D:\Edgedata
27 正确:D:\deskTop\MicrosoftEdge.exe.lnk --user-data-dir=D:\Edgedata
/developtools/hdc/src/daemon/
Ddaemon_unity.cpp110 char dir[BUF_SIZE_SMALL] = ""; in FindMountDeviceByPath() local
115 dir, BUF_SIZE_SMALL - 1, &freq, &passnno); in FindMountDeviceByPath()
118 dir[BUF_SIZE_SMALL - 1] = '\0'; in FindMountDeviceByPath()
119 if (res == 4 && (strcmp(toQuery, dir) == 0)) { // 4 : The correct number of parameters in FindMountDeviceByPath()
127 bool HdcDaemonUnity::RemountPartition(const char *dir) in RemountPartition() argument
133 if (!FindMountDeviceByPath(dir, dev) || strlen(dev) < 4) { // 4 : file count in RemountPartition()
145 if (mount(dev, dir, "none", MS_REMOUNT, nullptr) < 0) { in RemountPartition()
/developtools/ace_js2bundle/ace-loader/
DREADME.md5 ## Install Dependencies under the ace-loader dir.
9 ## Build built-in sample for Rich devices under the ace-loader dir.
13 ## Build built-in sample for Lite devices under the ace-loader dir.
/developtools/integration_verification/tools/fotff/pkg/gitee_common/
Dget_newer_or_fail.go35 dir := filepath.Join(m.Workspace, dirName)
36 if _, err := os.Stat(dir); err == nil {
39 logrus.Infof("extracting %s to %s...", filepath.Join(m.ArchiveDir, newFile), dir)
40 if err := ex.Extract(filepath.Join(m.ArchiveDir, newFile), dir); err != nil {
Dcommon.go140 dir := filepath.Join(m.Workspace, dirName)
141 if _, err := os.Stat(dir); err == nil {
144 logrus.Infof("extracting %s to %s...", filepath.Join(m.ArchiveDir, newFile), dir)
145 if err := ex.Extract(filepath.Join(m.ArchiveDir, newFile), dir); err != nil {
/developtools/profiler/host/smartperf/client/client_command/
DTemperature.cpp37 for (auto dir : dirs) { in ItemData() local
38 std::string dirType = dir + "/type"; in ItemData()
40 std::string dirTemp = dir + "/temp"; in ItemData()
/developtools/profiler/device/plugins/api/src/
Dplugin_watcher.cpp60 DIR* dir = nullptr; in ScanPlugins() local
65 dir = opendir(fullpath); in ScanPlugins()
66 if (dir == nullptr) { in ScanPlugins()
70 entry = readdir(dir); in ScanPlugins()
83 closedir(dir); in ScanPlugins()
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
Dprocess_utils_test.cpp36 for (auto& dir : dirs) { in FindCmd() local
37 std::string path = dir + cmd; in FindCmd()
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dfile_utils.cpp110 DIR* dir = opendir(dirPath.c_str()); in ListDir() local
111 if (dir == nullptr) { in ListDir()
116 while ((ent = readdir(dir)) != nullptr) { in ListDir()
123 closedir(dir); in ListDir()
/developtools/ace_ets2bundle/
DBUILD.gn99 "--ets-loader-src-dir",
105 "--output-dir",
107 "--declarations-file-dir",
111 "--output-declarations-dir",
117 "--kit-configs-file-dir",
121 "--output-kit-configs-dir",
123 "--kit-apis-file-dir",
125 "--arkts-apis-file-dir",
/developtools/ace_js2bundle/ace-loader/src/
Dresource-plugin.js47 const indexPath = pathInfo.dir + path.sep + pathInfo.name + '.hml?entry';
53 if (pathInfo.ext === '.json' && (pathInfo.dir === shareThemePath ||
54 pathInfo.dir === internalThemePath)) {
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/base/
DBaseProfilerUtils.ets75 let dir;
83 dir = fileio.opendirSync(path);
85 var dirent = dir.readSync();
102 dir.closeSync();
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/item/
DThermal.ets39 var dir;
40 dir = fileio.opendirSync(ThermalConfig.THERMAL_BASE);
42 var dirent = dir.readSync();
/developtools/smartperf_host/trace_streamer/doc/
Dcloc.md4 cloc . --exclude-dir=protos,third_party,emsdk,prebuilts,out,tmp
/developtools/smartperf_host/ide/src/hdc/transmission/
DUsbTransmissionChannel.ts142 dir: 'in' | 'out',
146 return element.direction === dir && element.type === type;
/developtools/hiperf/demo/js/entry/
Dbuild.gradle18 implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
/developtools/smartperf_host/ide/server/
Dmain.go251 dir := path[0:strings.LastIndex(path, string(os.PathSeparator))] //从文件路径获取目录
252 if _, err := os.Stat(dir); err != nil { //如果目录不存在,创建目录
253 os.MkdirAll(dir, os.ModePerm)
471 dir := getExecutePath()
473 if strings.Contains(dir, tmpDir) {
476 return dir
/developtools/packing_tool/adapter/ohos/
DPackageNormalize.java117 private static void rmdir(Path dir) throws IOException { in rmdir() argument
118 Files.walkFileTree(dir, new SimpleFileVisitor<Path>() { in rmdir()
126 public FileVisitResult postVisitDirectory(Path dir, IOException ex) throws IOException { in rmdir()
127 Files.delete(dir); in rmdir()

123