/third_party/vk-gl-cts/scripts/android/ |
H A D | install_apk.py | 37 sys.path.append(os.path.join(os.path.dirname(__file__), "..")) 158 return os.path.join(buildRootPath, getBuildRootRelativeAPKPath(package)) 162 manifestPath = os.path.join(DEQP_DIR, "android", package.appDirName, "AndroidManifest.xml") 173 adbInSDK = os.path.join(sdkPath, "platform-tools", "adb") 174 if os.path.isfile(adbInSDK): 183 parser = argparse.ArgumentParser(os.path.basename(__file__), 192 help="ADB binary path", 220 if not os.path [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | main_winsvc.c | 16 * to be registered with 'wpasvc.exe reg <full path to wpasvc.exe>'. After 424 TCHAR *path; in main() local 428 path = os_malloc(MAX_PATH * sizeof(TCHAR)); in main() 429 if (path == NULL) in main() 431 if (!GetModuleFileName(NULL, path, MAX_PATH)) { in main() 434 os_free(path); in main() 438 path = wpa_strdup_tchar(argv[2]); in main() 439 if (path == NULL) in main() 442 ret = register_service(path); in main() 443 os_free(path); in main() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | main_winsvc.c | 16 * to be registered with 'wpasvc.exe reg <full path to wpasvc.exe>'. After 424 TCHAR *path; in main() local 428 path = os_malloc(MAX_PATH * sizeof(TCHAR)); in main() 429 if (path == NULL) in main() 431 if (!GetModuleFileName(NULL, path, MAX_PATH)) { in main() 434 os_free(path); in main() 438 path = wpa_strdup_tchar(argv[2]); in main() 439 if (path == NULL) in main() 442 ret = register_service(path); in main() 443 os_free(path); in main() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_util.h | 42 * @param bundlePath Indicates the HAP file path. 55 * @param fileName Indicates the file path. 62 * @param fileName Indicates the file path. 68 * @param fileName Indicates the file path. 73 * @brief Check whether the disk path memory is available for installing the hap. 74 * @param bundlePath Indicates the file path. 75 * @param diskPath Indicates disk path in the system. 80 static bool CheckSystemFreeSize(const std::string &path, int64_t size); 84 * @param path Indicates the file path [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/typeface_fuzzer/ |
H A D | typeface_fuzzer.cpp | 68 char* path = new char[length]; in TypefaceFuzzTest002() local 70 path[i] = GetObject<char>(); in TypefaceFuzzTest002() 72 path[length - 1] = '\0'; in TypefaceFuzzTest002() 73 std::shared_ptr<Typeface> typeface = Typeface::MakeFromFile(path, length); in TypefaceFuzzTest002() 74 if (path != nullptr) { in TypefaceFuzzTest002() 75 delete [] path; in TypefaceFuzzTest002() 76 path = nullptr; in TypefaceFuzzTest002()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/ |
H A D | ohos_file.h | 43 OhosDirImpl(const BASE_NS::string_view path, std::vector<std::string> fileList) : path_(path), fileList_(fileList) in OhosDirImpl() 88 bool Open(BASE_NS::string_view path); 93 bool IsFile(BASE_NS::string_view path) const; 94 bool IsDir(BASE_NS::string_view path, std::vector<std::string>& fileList) const; 140 std::shared_ptr<OhosFileStorage> Open(BASE_NS::string_view path); 159 bool GetResourceId(const std::string& uri, std::string& path) const;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_typeface.cpp | 108 OH_Drawing_Typeface* OH_Drawing_TypefaceCreateFromFile(const char* path, int index) in OH_Drawing_TypefaceCreateFromFile() argument 110 if (path == nullptr) { in OH_Drawing_TypefaceCreateFromFile() 114 std::shared_ptr<Typeface> typeface = Typeface::MakeFromFile(path, index); in OH_Drawing_TypefaceCreateFromFile() 118 std::string pathStr(path); in OH_Drawing_TypefaceCreateFromFile() 133 OH_Drawing_Typeface* OH_Drawing_TypefaceCreateFromFileWithArguments(const char* path, in OH_Drawing_TypefaceCreateFromFileWithArguments() argument 137 if (path == nullptr || fontArgumentsHelper == nullptr) { in OH_Drawing_TypefaceCreateFromFileWithArguments() 142 return RegisterAndConvertTypeface(Typeface::MakeFromFile(path, fontArguments)); in OH_Drawing_TypefaceCreateFromFileWithArguments()
|
/foundation/multimodalinput/input/service/libinput_adapter/test/ |
H A D | hotplug_detector_test.cpp | 86 bool Exists(const std::string &path) in Exists() argument 88 std::ifstream file{ path }; in Exists() 108 auto add = [&addCalled, &addPath](std::string path) { in HWTEST_F() 110 addPath = std::move(path); in HWTEST_F() 112 auto remove = [&removeCalled, &removePath](std::string path) { in HWTEST_F() 114 removePath = std::move(path); in HWTEST_F() 160 auto dummy = [](std::string path) {}; in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_factory.cpp | 67 ZLOGE("failed! status:%{public}d appId:%{public}s storeId:%{public}s path:%{public}s", dbStatus, in GetOrOpenStore() 78 Status StoreFactory::Delete(const AppId &appId, const StoreId &storeId, const std::string &path) in Delete() argument 81 auto dbManager = GetDBManager(path, appId); in Delete() 83 SecurityManager::GetInstance().DelDBPassword(storeId.storeId, path); in Delete() 110 std::shared_ptr<StoreFactory::DBManager> StoreFactory::GetDBManager(const std::string &path, const AppId &appId) in GetDBManager() argument 113 dbManagers_.Compute(path, [&dbManager, &appId](const auto &path, std::shared_ptr<DBManager> &manager) { in GetDBManager() 118 std::string fullPath = path + "/kvdb"; in GetDBManager()
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/ |
H A D | base_key.h | 69 void WipingActionDir(std::string &path); 87 static bool SaveKeyBlob(const KeyBlob &blob, const std::string &path); 88 static bool LoadKeyBlob(KeyBlob &blob, const std::string &path, const uint32_t size = 0); 101 bool DoRestoreKeyCeEceSece(const UserAuth &auth, const std::string &path, const uint32_t keyType); 102 bool DoRestoreKeyDe(const UserAuth &auth, const std::string &path); 105 static bool GenerateAndSaveKeyBlob(KeyBlob &blob, const std::string &path, const uint32_t size); 107 bool EncryptDe(const UserAuth &auth, const std::string &path);
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | read_lines.cpp | 46 static int GetFileSize(const string &path, int64_t &offset) in GetFileSize() argument 55 int ret = uv_fs_stat(nullptr, stat_req.get(), path.c_str(), nullptr); in GetFileSize() 57 HILOGE("Failed to get file stat by path"); in GetFileSize() 122 auto [succPath, path, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in Async() 124 HILOGE("Invalid path from JS first argument"); in Async() 144 auto cbExec = [arg, pathStr = string(path.get())]() -> NError { in Async() 174 auto [succPath, path, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in Sync() 176 HILOGE("Invalid path from JS first argument"); in Sync() 190 auto iterator = ::ReaderIterator(path.get()); in Sync() 198 int ret = GetFileSize(path in Sync() [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/mtp/src/ |
H A D | mtp_device_monitor.cpp | 89 devInfo.path = MTP_ROOT_PATH + devInfo.id; in MonitorDevice() 160 LOGE("UmountAllMtpDevice: umount mtp device failed, path=%{public}s", (iter->path).c_str()); in UmountAllMtpDevice() 187 if (IsDir(iter->path) && !std::filesystem::is_empty(iter->path) && (res > 0)) { in CheckAndUmountRemovedMtpDevice() 192 LOGI("Mtp device mount path=%{public}s is not exist or removed, umount it.", (iter->path).c_str()); in CheckAndUmountRemovedMtpDevice() 197 LOGE("Umount mtp device failed, path=%{public}s", (iter->path).c_str()); in CheckAndUmountRemovedMtpDevice() 234 LOGE("Umount mtp device failed, path in Umount() [all...] |
/kernel/linux/linux-5.10/tools/testing/kunit/ |
H A D | kunit_kernel.py | 102 linux_bin = os.path.join(build_dir, 'linux') 113 kconfig_path = os.path.join(build_dir, KCONFIG_PATH) 119 kunitconfig_path = os.path.join(build_dir, KUNITCONFIG_PATH) 125 outfile_path = os.path.join(build_dir, OUTFILE_PATH) 145 if not os.path.exists(kunitconfig_path): 169 if build_dir and not os.path.exists(build_dir): 182 if os.path.exists(kconfig_path):
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
H A D | rx.c | 148 u8 path; in rtw_rx_fill_rx_status() local 187 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw_rx_fill_rx_status() 188 rx_status->chains |= BIT(path); in rtw_rx_fill_rx_status() 189 rx_status->chain_signal[path] = pkt_stat->rx_power[path]; in rtw_rx_fill_rx_status()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | locking.c | 219 * This releases any locks held in the path starting at level and going all the 227 void btrfs_unlock_up_safe(struct btrfs_path *path, int level) in btrfs_unlock_up_safe() argument 231 if (path->keep_locks) in btrfs_unlock_up_safe() 235 if (!path->nodes[i]) in btrfs_unlock_up_safe() 237 if (!path->locks[i]) in btrfs_unlock_up_safe() 239 btrfs_tree_unlock_rw(path->nodes[i], path->locks[i]); in btrfs_unlock_up_safe() 240 path->locks[i] = 0; in btrfs_unlock_up_safe()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/ |
H A D | rx.c | 156 u8 path; in rtw_rx_fill_rx_status() local 198 for (path = 0; path < rtwdev->hal.rf_path_num; path++) { in rtw_rx_fill_rx_status() 199 rx_status->chains |= BIT(path); in rtw_rx_fill_rx_status() 200 rx_status->chain_signal[path] = pkt_stat->rx_power[path]; in rtw_rx_fill_rx_status()
|
/third_party/mesa3d/src/amd/common/ |
H A D | gfx10_format_table.py | 33 AMD_REGISTERS = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "../registers")) 34 UTIL_FORMAT = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "../../util/format")) 35 sys.path.extend([AMD_REGISTERS, UTIL_FORMAT])
|
/third_party/node/lib/internal/fs/ |
H A D | watchers.js | 41 const { toNamespacedPath } = require('path'); 125 path: filename, 210 path: filename, 250 path: filename, 305 const path = toNamespacedPath(getValidatedPath(filename)); 344 path: filename, 355 const err = handle.start(path, persistent, recursive, encoding); 360 path: filename,
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | MSVSUtil.py | 22 """Returns the path of the large_pdb_shim.cc file.""" 23 this_dir = os.path.abspath(os.path.dirname(__file__)) 24 src_dir = os.path.abspath(os.path.join(this_dir, "..", "..")) 25 win_data_dir = os.path.join(src_dir, "data", "win") 26 large_pdb_shim_cc = os.path.join(win_data_dir, "large-pdb-shim.cc") 131 """Returns the path to the PDB file that will be generated by a given 135 - Look for an explicit path in the VCLinkerTool configuration block. 146 The path o [all...] |
/third_party/musl/src/process/ |
H A D | posix_spawn.c | 18 const char *path; member 123 fd = __sys_open(op->path, op->oflag, op->mode); in child() 132 ret = __syscall(SYS_chdir, op->path); in child() 155 exec(args->path, args->argv, args->envp); in child() 170 int posix_spawn(pid_t *restrict res, const char *restrict path, in posix_spawn() argument 183 args.path = path; in posix_spawn()
|
/third_party/musl/porting/liteos_a/user/src/process/ |
H A D | posix_spawn.c | 17 const char *path; member 122 fd = __sys_open(op->path, op->oflag, op->mode); in child() 131 ret = __syscall(SYS_chdir, op->path); in child() 154 exec(args->path, args->argv, args->envp); in child() 165 int posix_spawn(pid_t *restrict res, const char *restrict path, in posix_spawn() argument 179 args.path = path; in posix_spawn()
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSUtil.py | 22 """Returns the path of the large_pdb_shim.cc file.""" 23 this_dir = os.path.abspath(os.path.dirname(__file__)) 24 src_dir = os.path.abspath(os.path.join(this_dir, "..", "..")) 25 win_data_dir = os.path.join(src_dir, "data", "win") 26 large_pdb_shim_cc = os.path.join(win_data_dir, "large-pdb-shim.cc") 131 """Returns the path to the PDB file that will be generated by a given 135 - Look for an explicit path in the VCLinkerTool configuration block. 146 The path o [all...] |
/third_party/musl/libc-test/src/functionalext/dlns/ |
H A D | dlns_set_fun.c | 32 dlns_set_namespace_lib_path("dlns_set_namespace_lib_path_0100", path), ENOKEY); in dlns_set_namespace_lib_path_0100() 51 dlns_set_namespace_lib_path("dlns_set_namespace_lib_path_0200", path), EOK); in dlns_set_namespace_lib_path_0200() 65 EXPECT_EQ("dlns_set_namespace_lib_path_0300", dlns_set_namespace_lib_path(NULL, path), EINVAL); in dlns_set_namespace_lib_path_0300() 184 dlns_set_namespace_permitted_paths("dlns_set_namespace_permitted_paths_0200", path), EOK); in dlns_set_namespace_permitted_paths_0200() 212 dlns_set_namespace_permitted_paths("dlns_set_namespace_permitted_paths_0300", path), EOK); in dlns_set_namespace_permitted_paths_0300() 275 dlns_set_namespace_allowed_libs("dlns_set_namespace_allowed_libs_0100", path), ENOKEY); in dlns_set_namespace_allowed_libs_0100() 309 EXPECT_EQ("dlns_set_namespace_allowed_libs_0300", dlns_set_namespace_allowed_libs(NULL, path), EINVAL); in dlns_set_namespace_allowed_libs_0300()
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/ |
H A D | TrailingPathOptimizer.java | 76 // Start with the next path that might be a factor of all the remaining paths. in optimize() 84 // Factor all the remaining paths by the shortest path (where a missing result means it in optimize() 92 // If not all the remaining paths have the shortest path as a common factor, we're done (in in optimize() 98 // Shortest path is a factor of all remaining paths, so add a new path to the graph for it. in optimize() 100 // We're done with this path, but might still be able to find more factors of remaining paths. in optimize() 129 Node node, AnyPath path, MutableValueGraph<Node, SimpleEdge> g, Map<Node, AnyPath> anyPaths) { in recursivelyDetachTrailingPaths() 131 anyPaths.put(node, path); in recursivelyDetachTrailingPaths() 139 AnyPath newPath = path.extend(canTerminate(source, g)); in recursivelyDetachTrailingPaths() 186 Node node, Node end, AnyPath path, Nod in addPath() 128 recursivelyDetachTrailingPaths( Node node, AnyPath path, MutableValueGraph<Node, SimpleEdge> g, Map<Node, AnyPath> anyPaths) recursivelyDetachTrailingPaths() argument 185 addPath( Node node, Node end, AnyPath path, Node lastAdded, MutableValueGraph<Node, SimpleEdge> out) addPath() argument [all...] |
/third_party/rust/crates/cxx/gen/cmd/src/ |
H A D | app.rs | 2 #[path = "test.rs"] 12 use std::path::PathBuf; 82 path: include[1..include.len() - 1].to_owned(), 87 path: include.to_owned(), 95 for path in matches.get_many::<PathBuf>(OUTPUT).unwrap_or_default() { 96 outputs.push(if path.as_os_str() == "-" { 99 Output::File(path.clone()) 174 a path ending in `.h`."; in arg_header()
|