| /developtools/hdc/hdc_rust/src/cffi/ |
| D | mount.cpp | 42 char dir[BUF_SIZE_SMALL] = ""; in FindMountDeviceByPath() local 47 dir, sizeof(dir), &freq, &passnno); in FindMountDeviceByPath() 50 dir[BUF_SIZE_SMALL - 1] = '\0'; in FindMountDeviceByPath() 51 if (res == 4 && (strcmp(toQuery, dir) == 0)) { // 4 : The correct number of parameters in FindMountDeviceByPath() 59 bool RemountPartition(const char *dir) in RemountPartition() argument 65 if (!FindMountDeviceByPath(dir, dev) || strlen(dev) < 4) { // 4 : file count in RemountPartition() 75 if (mount(dev, dir, "none", MS_REMOUNT, nullptr) < 0) { in RemountPartition()
|
| D | usb_util.cpp | 21 DIR *dir = ::opendir(path.c_str()); in GetDevPath() local 22 if (dir == nullptr) { in GetDevPath() 31 while ((entry = ::readdir(dir))) { in GetDevPath() 43 ::closedir(dir); in GetDevPath()
|
| D | mount.h | 22 bool RemountPartition(const char *dir);
|
| /developtools/profiler/protos/types/plugins/ftrace_data/default/ |
| D | BUILD.gn | 32 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/ |
| D | build_kitConfigs_file.js | 98 function readFile(dir, fileDir) { argument 99 const files = fs.readdirSync(dir); 101 const filePath = path.join(dir, element); 111 function readSystemApis(dir, fileDir) { argument 112 const files = fs.readdirSync(dir); 114 const filePath = path.join(dir, file);
|
| D | build_declarations_file.js | 89 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/ |
| D | BUILD.gn | 31 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/ |
| D | quickstart_parsing_ability.md | 20 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/ |
| D | daemon_unity.cpp | 110 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/ |
| D | README.md | 5 ## 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/ |
| D | get_newer_or_fail.go | 35 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 {
|
| D | common.go | 140 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/ |
| D | Temperature.cpp | 37 for (auto dir : dirs) { in ItemData() local 38 std::string dirType = dir + "/type"; in ItemData() 40 std::string dirTemp = dir + "/temp"; in ItemData()
|
| D | sp_utils.cpp | 110 DIR *dir = opendir(path.c_str()); in ForDirFiles() local 111 if (dir == nullptr) { in ForDirFiles() 116 struct dirent *ptr = readdir(dir); in ForDirFiles() 131 closedir(dir); in ForDirFiles() 272 DIR *dir = opendir(basePath.c_str()); in GetCpuInfo() local 273 if (dir == nullptr) { in GetCpuInfo() 277 struct dirent *ptr = readdir(dir); in GetCpuInfo()
|
| /developtools/integration_verification/tools/startup_guard/config_parser_mgr/param/ |
| D | system_parameter_parser.py | 127 def _scan_parameter_file(self, dir): argument 128 if not os.path.exists(dir): 130 with os.scandir(dir) as files: 135 def scan_parameter_file(self, dir): argument 144 self._scan_parameter_file("{}/packages/phone{}".format(dir, path))
|
| /developtools/profiler/device/plugins/api/src/ |
| D | plugin_watcher.cpp | 60 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/ |
| D | process_utils_test.cpp | 36 for (auto& dir : dirs) { in FindCmd() local 37 std::string path = dir + cmd; in FindCmd()
|
| /developtools/profiler/device/plugins/ftrace_plugin/src/ |
| D | file_utils.cpp | 109 DIR* dir = opendir(dirPath.c_str()); in ListDir() local 110 if (dir == nullptr) { in ListDir() 115 while ((ent = readdir(dir)) != nullptr) { in ListDir() 122 closedir(dir); in ListDir()
|
| /developtools/ace_js2bundle/ace-loader/src/ |
| D | resource-plugin.js | 47 const indexPath = pathInfo.dir + path.sep + pathInfo.name + '.hml?entry'; 53 if (pathInfo.ext === '.json' && (pathInfo.dir === shareThemePath || 54 pathInfo.dir === internalThemePath)) {
|
| /developtools/ace_ets2bundle/ |
| D | BUILD.gn | 97 "--ets-loader-src-dir", 103 "--output-dir", 105 "--declarations-file-dir", 109 "--output-declarations-dir", 115 "--kit-configs-file-dir", 119 "--output-kit-configs-dir", 121 "--kit-apis-file-dir",
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/base/ |
| D | BaseProfilerUtils.ets | 80 let dir 88 dir = fileio.opendirSync(path); 90 var dirent = dir.readSync() 107 dir.closeSync();
|
| /developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/item/ |
| D | Thermal.ets | 45 var dir 46 dir = fileio.opendirSync(THERMAL_CONFIG.THERMAL_BASE); 48 var dirent = dir.readSync()
|
| /developtools/smartperf_host/ide/src/hdc/transmission/ |
| D | UsbTransmissionChannel.ts | 141 dir: 'in' | 'out', 145 return element.direction === dir && element.type === type;
|
| /developtools/smartperf_host/trace_streamer/doc/ |
| D | cloc.md | 4 cloc . --exclude-dir=protos,third_party,emsdk,prebuilts,out,tmp
|
| /developtools/hiperf/demo/js/entry/ |
| D | build.gradle | 18 implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
|