| /base/sensors/miscdevice/utils/tools/haptic_format_converter/converter/ |
| H A D | converter.py | 27 input Path to the input JSON file or directory. 28 -o, --output Path to the output directory (default: input directory with '_out' suffix). 37 from pathlib import Path namespace 57 def load_schema(file_path: Union[str, Path]) -> JsonData: 62 file_path (Union[str, Path]): Path to the JSON schema file. 67 file_path = Path(file_path) 76 def read_json(file_path: Union[str, Path]) -> JsonData: 81 file_path (Union[str, Path]): Path t [all...] |
| /foundation/bundlemanager/bundle_tool/test/unittest/bm/ |
| H A D | bm_command_install_test.cpp | 316 cmd.ExecCommand(), "error: you must specify a bundle path with '-p' or '--bundle-path'.\n" + HELP_MSG_INSTALL); in HWTEST_F() 322 * @tc.desc: Verify the "bm install -p <bundle-path>" command. 347 * @tc.desc: Verify the "bm install -p <bundle-path> -r" command. 373 * @tc.desc: Verify the "bm install -r -p <bundle-path>" command. 399 * @tc.desc: Verify the "bm install -p <bundle-path> <bundle-path>" command. 425 * @tc.desc: Verify the "bm install -p <bundle-path>" command. 451 * @tc.desc: Verify the "bm install -p <bundle-path>" command. 477 * @tc.desc: Verify the "bm install --bundle-path <bundl [all...] |
| /third_party/python/Lib/distutils/ |
| H A D | _msvccompiler.py | 47 if v and vt == winreg.REG_SZ and os.path.isdir(vc_dir): 57 """Returns "15, path" based on the result of invoking vswhere.exe 61 result. It may be ignored when the path is not None. 71 path = subprocess.check_output([ 72 os.path.join(root, "Microsoft Visual Studio", "Installer", "vswhere.exe"), 82 path = os.path.join(path, "VC", "Auxiliary", "Build") 83 if os.path.isdir(path) [all...] |
| /third_party/skia/third_party/externals/angle2/scripts/ |
| H A D | roll_chromium_deps.py | 28 """Returns the abs path to the root dir of the project.""" 30 return os.path.dirname(os.path.abspath(os.path.join(__file__, '..'))) 103 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 120 CLANG_UPDATE_SCRIPT_LOCAL_PATH = os.path.join(CHECKOUT_SRC_DIR, 'tools', 'clang', 'scripts', 123 DepsEntry = collections.namedtuple('DepsEntry', 'path url revision') 124 ChangedDep = collections.namedtuple('ChangedDep', 'path url current_rev new_rev') 126 CipdDepsEntry = collections.namedtuple('CipdDepsEntry', 'path package [all...] |
| /third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-deaddrop/mount-origin/ |
| H A D | drop.svg | 27 <path transform="matrix(2.9413 0 0 2.9413 -4498.4 -3189.2)" d="m1354 1027.2v5.7964h4.2429v-4.5102l-1.211-1.211-0.075-0.075z" filter="url(#e)" stroke-width=".26458px"/> 28 <path transform="matrix(2.9413 0 0 2.9413 -4498.4 -3189.2)" d="m1353.2 1025.7v5.7964h4.2429v-4.5101l-1.2111-1.2111-0.075-0.075z" filter="url(#d)" stroke-width=".26458px"/> 29 <path d="m-516.24-168.48v17.049h12.479v-13.266l-3.5622-3.5619-0.22056-0.22058z" fill="#ececec" stroke-width=".77821px"/> 32 <path d="m-513.59-164.94h7.2225"/> 33 <path d="m-513.56-162.83h7.2222"/> 34 <path d="m-513.57-160.59h7.2222"/> 35 <path d="m-513.55-158.48h7.2225"/> 36 <path d="m-513.57-156.27h7.2222"/> 37 <path d="m-513.55-154.16h7.2225"/> 39 <path [all...] |
| /third_party/libwebsockets/plugins/deaddrop/assets/ |
| H A D | drop.svg | 27 <path transform="matrix(2.9413 0 0 2.9413 -4498.4 -3189.2)" d="m1354 1027.2v5.7964h4.2429v-4.5102l-1.211-1.211-0.075-0.075z" filter="url(#e)" stroke-width=".26458px"/> 28 <path transform="matrix(2.9413 0 0 2.9413 -4498.4 -3189.2)" d="m1353.2 1025.7v5.7964h4.2429v-4.5101l-1.2111-1.2111-0.075-0.075z" filter="url(#d)" stroke-width=".26458px"/> 29 <path d="m-516.24-168.48v17.049h12.479v-13.266l-3.5622-3.5619-0.22056-0.22058z" fill="#ececec" stroke-width=".77821px"/> 32 <path d="m-513.59-164.94h7.2225"/> 33 <path d="m-513.56-162.83h7.2222"/> 34 <path d="m-513.57-160.59h7.2222"/> 35 <path d="m-513.55-158.48h7.2225"/> 36 <path d="m-513.57-156.27h7.2222"/> 37 <path d="m-513.55-154.16h7.2225"/> 39 <path [all...] |
| /third_party/pulseaudio/src/modules/ |
| H A D | module-rygel-media-server.c | 86 " <arg name=\"path\" type=\"o\"/>" \ 96 " <property name=\"Path\" type=\"s\" access=\"read\"/>" \ 138 " <property name=\"Path\" type=\"s\" access=\"read\"/>" \ 248 static void append_variant_object_array(DBusMessage *m, DBusMessageIter *iter, const char *path[], unsigned n) { in append_variant_object_array() argument 253 pa_assert(path); in append_variant_object_array() 264 pa_assert_se(dbus_message_iter_append_basic(&array, DBUS_TYPE_OBJECT_PATH, path + c)); in append_variant_object_array() 381 static void append_property_dict_entry_object_array(DBusMessage *m, DBusMessageIter *iter, const char *name, const char *path[], unsigned n) { in append_property_dict_entry_object_array() argument 388 append_variant_object_array(m, &sub, path, n); in append_property_dict_entry_object_array() 490 static unsigned get_sinks_or_sources_count(const char *path, const struct userdata *u) { in get_sinks_or_sources_count() argument 497 return pa_streq(path, OBJECT_SINK in get_sinks_or_sources_count() 500 append_sink_or_source_container_mediaobject2_properties(DBusMessage *r, DBusMessageIter *sub, const char *path) append_sink_or_source_container_mediaobject2_properties() argument 510 append_sink_or_source_container_properties( DBusMessage *r, DBusMessageIter *iter, const char *path, const struct userdata *user_data, char * const * filter, int filter_len) append_sink_or_source_container_properties() argument 559 append_sink_or_source_item_mediaobject2_properties(DBusMessage *r, DBusMessageIter *sub, const char *path, pa_sink *sink, pa_source *source) append_sink_or_source_item_mediaobject2_properties() argument 566 append_sink_or_source_item_properties( DBusMessage *r, DBusMessageIter *iter, const char *path, const struct userdata *user_data, pa_sink *sink, pa_source *source, char * const * filter, int filter_len) append_sink_or_source_item_properties() argument 701 const char *path = dbus_message_get_path(m); root_handler() local 712 const char *path = dbus_message_get_path(m); root_handler() local 781 const char *path; sinks_and_sources_handler() local [all...] |
| /third_party/skia/src/gpu/geometry/ |
| H A D | GrStyledShape.cpp | 76 // We don't copy the inherited key since it can contain path effect information that we just in MakeFilled() 91 // If the path is small enough to be keyed from its data this returns key length, otherwise -1. 92 static int path_key_from_data_size(const SkPath& path) { in path_key_from_data_size() argument 93 const int verbCnt = path.countVerbs(); in path_key_from_data_size() 97 const int pointCnt = path.countPoints(); in path_key_from_data_size() 98 const int conicWeightCnt = SkPathPriv::ConicWeightCnt(path); in path_key_from_data_size() 107 // Writes the path data key into the passed pointer. 108 static void write_path_key_from_data(const SkPath& path, uint32_t* origKey) { in write_path_key_from_data() argument 111 const int verbCnt = path.countVerbs(); in write_path_key_from_data() 112 const int pointCnt = path in write_path_key_from_data() [all...] |
| /base/global/resource_management/frameworks/resmgr/include/ |
| H A D | hap_resource.h | 38 * @param path resources.index file path 48 const char *path, std::shared_ptr<ResConfigImpl> &defaultConfig, 54 * @param path hap file path 64 const char *path, std::shared_ptr<ResConfigImpl> &defaultConfig, 70 * @param path hap file path 80 const char* path, std::shared_ptr<ResConfigImpl> &defaultConfig, 85 * @param path th [all...] |
| /base/update/updater/services/fs_manager/ |
| H A D | mount.cpp | 49 MountStatus GetMountStatusForPath(const std::string &path) in GetMountStatusForPath() argument 51 FstabItem *item = FindFstabItemForPath(*g_fstab, path.c_str()); in GetMountStatusForPath() 94 int UmountForPath(const std::string& path) in UmountForPath() argument 101 FstabItem *item = FindFstabItemForPath(*g_fstab, path.c_str()); in UmountForPath() 103 LOG(ERROR) << "Cannot find fstab item for " << path << " to umount."; in UmountForPath() 107 LOG(DEBUG) << "Umount for path " << path; in UmountForPath() 114 if (path == "/data") { in UmountForPath() 166 int MountSdcard(std::string &path, std::string &mountPoint) in MountSdcard() argument 168 if (path in MountSdcard() 193 MountForPath(const std::string &path) MountForPath() argument 254 FormatPartition(const std::string &path, bool isZeroErase) FormatPartition() argument [all...] |
| /foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
| H A D | open.cpp | 127 static int OpenFileByPath(const string &path, unsigned int mode) in OpenFileByPath() argument 135 int ret = uv_fs_open(nullptr, open_req.get(), path.c_str(), mode, S_IRUSR | in OpenFileByPath() 142 static int OpenFileByDatashare(const string &path, unsigned int flags) in OpenFileByDatashare() argument 156 Uri uri(path); in OpenFileByDatashare() 199 static tuple<int, string> OpenFileByUri(const string &path, unsigned int mode) in OpenFileByUri() argument 201 Uri uri(path); in OpenFileByUri() 204 return OpenByFileDataUri(uri, path, mode); in OpenFileByUri() 210 if (RemoteUri::IsRemoteUri(path, fd, mode)) { in OpenFileByUri() 212 return { fd, path }; in OpenFileByUri() 218 return { -EINVAL, path }; in OpenFileByUri() 265 string path; global() member 269 AsyncCbExec(shared_ptr<AsyncOpenFileArg> arg, const string &path, unsigned int mode) AsyncCbExec() argument [all...] |
| /third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/ |
| H A D | Build-Debian9-Clang-arm-Release-Flutter_Android_Docker.json | 26 "/path/to/tmp/json", 97 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 105 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products = ['*.so', 'lib/*.so']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path [all...] |
| /third_party/icu/icu4j/perf-tests/ |
| H A D | .classpath | 3 <classpathentry kind="src" path="src"/> 4 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-charset"/> 5 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-collate"/> 6 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-core"/> 7 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-currdata"/> 8 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-langdata"/> 9 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-regiondata"/> 10 <classpathentry combineaccessrules="false" kind="src" path="/icu4j-tools"/> 11 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> 12 <classpathentry kind="output" path [all...] |
| /third_party/musl/src/stat/ |
| H A D | __xstat.c | 10 int __fxstatat(int ver, int fd, const char *path, struct stat *buf, int flag) in __fxstatat() argument 12 return fstatat(fd, path, buf, flag); in __fxstatat() 15 int __lxstat(int ver, const char *path, struct stat *buf) in __lxstat() argument 17 return lstat(path, buf); in __lxstat() 20 int __xstat(int ver, const char *path, struct stat *buf) in __xstat() argument 22 return stat(path, buf); in __xstat() 32 int __xmknod(int ver, const char *path, mode_t mode, dev_t *dev) in __xmknod() argument 34 return mknod(path, mode, *dev); in __xmknod() 37 int __xmknodat(int ver, int fd, const char *path, mode_t mode, dev_t *dev) in __xmknodat() argument 39 return mknodat(fd, path, mod in __xmknodat() [all...] |
| /third_party/node/deps/npm/node_modules/isexe/ |
| H A D | windows.js | 6 function checkPathExt (path, options) { 20 if (p && path.substr(-p.length).toLowerCase() === p) { 27 function checkStat (stat, path, options) { 31 return checkPathExt(path, options) 34 function isexe (path, options, cb) { 35 fs.stat(path, function (er, stat) { 36 cb(er, er ? false : checkStat(stat, path, options)) 40 function sync (path, options) { 41 return checkStat(fs.statSync(path), path, option [all...] |
| /third_party/skia/docs/examples/ |
| H A D | Path_getVerbs.cpp | 7 auto debugster = [](const char* prefix, const SkPath& path, uint8_t* verbs, int max) -> void { in REG_FIDDLE() 8 int count = path.getVerbs(verbs, max); in REG_FIDDLE() 16 SkPath path; in REG_FIDDLE() local 17 path.lineTo(20, 20); in REG_FIDDLE() 18 path.lineTo(-10, -10); in REG_FIDDLE() 20 debugster("no verbs", path, nullptr, 0); in REG_FIDDLE() 21 debugster("zero max", path, verbs, 0); in REG_FIDDLE() 22 debugster("too small", path, verbs, 2); in REG_FIDDLE() 23 debugster("just right", path, verbs, path in REG_FIDDLE() [all...] |
| H A D | Path_getPoints.cpp | 7 auto debugster = [](const char* prefix, const SkPath& path, SkPoint* points, int max) -> void { in REG_FIDDLE() 8 int count = path.getPoints(points, max); in REG_FIDDLE() 15 SkPath path; in REG_FIDDLE() local 16 path.lineTo(20, 20); in REG_FIDDLE() 17 path.lineTo(-10, -10); in REG_FIDDLE() 19 debugster("no points", path, nullptr, 0); in REG_FIDDLE() 20 debugster("zero max", path, points, 0); in REG_FIDDLE() 21 debugster("too small", path, points, 2); in REG_FIDDLE() 22 debugster("just right", path, points, path in REG_FIDDLE() [all...] |
| /third_party/skia/gm/ |
| H A D | crbug_884166.cpp | 19 SkPathBuilder path; in DEF_SIMPLE_GM() local 20 path.moveTo(153.25, 280.75); in DEF_SIMPLE_GM() 21 path.lineTo(161.75, 281.75); in DEF_SIMPLE_GM() 22 path.lineTo(164.25, 282.00); in DEF_SIMPLE_GM() 23 path.lineTo( 0.00, 276.00); in DEF_SIMPLE_GM() 24 path.lineTo(161.50, 0.00); in DEF_SIMPLE_GM() 25 path.lineTo(286.25, 231.25); in DEF_SIMPLE_GM() 26 path.lineTo(163.75, 282.00); in DEF_SIMPLE_GM() 27 path.lineTo(150.00, 280.00); in DEF_SIMPLE_GM() 28 canvas->drawPath(path in DEF_SIMPLE_GM() [all...] |
| /drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
| H A D | hdf_delete_handler.py | 93 board="", driver=" ", path=file_path). \ 117 path=os.path.join(root, dot_path)) 122 for path, dir_name, _ in os.walk(templates_dir_path): 131 os.path.join( 135 config_path = os.path.join( 145 node_name=device, path=config_path) 162 if not os.path.exists(vendor_hdf_dir): 165 mod_dir = os.path.join(vendor_hdf_dir, module) 166 if os.path [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/ |
| H A D | text_drag_pattern.cpp | 166 std::shared_ptr<RSPath> path = std::make_shared<RSPath>(); in GenerateClipPath() local 176 path->MoveTo(startX, endY); in GenerateClipPath() 177 path->LineTo(endX, endY); in GenerateClipPath() 178 path->LineTo(endX, endY + lineHeight); in GenerateClipPath() 179 path->LineTo(startX, endY + lineHeight); in GenerateClipPath() 180 path->LineTo(startX, endY); in GenerateClipPath() 183 path->MoveTo(startX, startY); in GenerateClipPath() 184 path->LineTo(textEnd, startY); in GenerateClipPath() 185 path->LineTo(textEnd, endY); in GenerateClipPath() 186 path in GenerateClipPath() 198 std::shared_ptr<RSPath> path = std::make_shared<RSPath>(); GenerateBackgroundPath() local 207 std::shared_ptr<RSPath> path = std::make_shared<RSPath>(); GenerateSelBackgroundPath() local 262 CalculateLineAndArc(std::vector<TextPoint>& points, std::shared_ptr<RSPath>& path, float radiusRatio) CalculateLineAndArc() argument 310 CalculateLine(std::vector<TextPoint>& points, std::shared_ptr<RSPath>& path) CalculateLine() argument [all...] |
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_object_test/src/ |
| H A D | medialibrary_object_test.cpp | 67 string path = ""; in HWTEST_F() local 69 dirAsset = MediaLibraryObjectUtils::GetDirAsset(path); in HWTEST_F() 71 path = "system/medialib_GetDirAsset/"; in HWTEST_F() 72 dirAsset = MediaLibraryObjectUtils::GetDirAsset(path); in HWTEST_F() 75 dirAsset = MediaLibraryObjectUtils::GetDirAsset(path); in HWTEST_F() 78 path = "//data/app/el1"; in HWTEST_F() 79 dirAsset = MediaLibraryObjectUtils::GetDirAsset(path); in HWTEST_F() 81 path = "/storage/cloud/files/medialib_GetDirAsset_test_001"; in HWTEST_F() 82 dirAsset = MediaLibraryObjectUtils::GetDirAsset(path); in HWTEST_F() 84 bool ret = MediaFileUtils::DeleteFile(path); in HWTEST_F() 104 string path = "//storage/cloud/files/CreateFileObj_test_001"; HWTEST_F() local 120 string path = "/storage/cloud/files/medialib_CreateDirObj_test_001"; HWTEST_F() local 142 string path = "/storage/media"; HWTEST_F() local 213 string path = ""; HWTEST_F() local 326 string path = ""; HWTEST_F() local 407 string path = "/storage/cloud/files/medialib_DeleteMisc_test_001"; HWTEST_F() local 440 string path = "/storage/cloud/files/"; HWTEST_F() local 452 string path = "/storage/cloud/files/"; HWTEST_F() local 491 string path ="/storage/cloud/files/"; HWTEST_F() local [all...] |
| /third_party/skia/third_party/externals/swiftshader/docs/ |
| H A D | dEQP.md | 19 * Add `<path to python>` to your PATH environment variable
20 * Add `<path to MinGW-W64>\bin` to your PATH environment variable
21 * Add `<path to adb>` to your PATH environment variable
46 Add new variable GOPATH='`<path to cherry>`'
61 Open `<path to dEQP>\build\dEQP-Core-default.sln` in Visual Studio and Build Solution
67 mkdir <path to cherry>\data
68 cd <path t [all...] |
| /third_party/python/Lib/test/test_importlib/ |
| H A D | test_api.py | 7 import os.path namespace 158 # Searching on a path should work. 160 path = 'path to some place' 166 self.assertEqual((name, path), 167 self.init.find_loader(name, path)) 180 def find_spec(name, path=None, target=None): 181 return machinery['Source'].ModuleSpec(name, (name, path)) 193 def find_module(name, path=None): 194 return name, path [all...] |
| /third_party/python/Lib/tkinter/ |
| H A D | filedialog.py | 126 dir_or_file = os.path.expanduser(dir_or_file) 127 if os.path.isdir(dir_or_file): 130 self.directory, default = os.path.split(dir_or_file) 142 directory = os.path.dirname(self.how) 157 dir = os.path.normpath(os.path.join(self.directory, subdir)) 186 fullname = os.path.join(dir, name) 187 if os.path.isdir(fullname): 197 head, tail = os.path.split(self.get_selection()) 203 filter = os.path [all...] |
| /third_party/skia/experimental/tools/ |
| H A D | pdf-comparison.py | 9 It relies on pdfium_test being in the PATH. To build: 81 for path in paths: 82 os.remove(path) 95 if not os.path.isfile(path1) or not os.path.isfile(path2): 96 return os.path.isfile(path1) == os.path.isfile(path2) 109 rp = os.path.normpath(os.path.relpath(dirpath, directory)) 112 yield os.path [all...] |