/third_party/skia/modules/pathkit/ |
H A D | chaining.js | 1 // Adds JS functions to allow for chaining w/o leaking by re-using 'this' path. 10 // Takes 1, 2, 7 or 10 args, where the first arg is always the path. 15 var path = arguments[0]; 17 // Add path, unchanged. Use identity matrix 18 this._addPath(path, 1, 0, 0, 28 this._addPath(path, sm.a, sm.c, sm.e, 34 this._addPath(path, a[1], a[3], a[5], 41 this._addPath(path, a[1], a[2], a[3],
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
H A D | PuckerBloat.cpp | 55 SkPath path; variable 61 path.moveTo(lerp(contour_start, center, fAmount)); 63 path.cubicTo(lerp(c.ctrl0, center, -fAmount), 67 path.close(); 126 return path;
|
/third_party/rust/crates/minimal-lexical/scripts/ |
H A D | timings.py | 20 scripts = os.path.dirname(os.path.realpath(__file__)) 21 home = os.path.dirname(scripts) 169 path = f'{home}/assets/timings_{filename("timings", args)}_{os.name}.svg' 170 plot_timings(timings, path)
|
/third_party/rust/crates/rustix/src/ |
H A D | lib.rs | 77 //! - Imposing sandboxing features such as filesystem path or network address 94 //! [`Arg`]: https://docs.rs/rustix/latest/rustix/path/trait.Arg.html 139 #[cfg_attr(libc, path = "backend/libc/mod.rs")] 140 #[cfg_attr(linux_raw, path = "backend/linux_raw/mod.rs")] 141 #[cfg_attr(wasi, path = "backend/wasi/mod.rs")] 182 pub mod path; modules 223 pub(crate) mod path;
|
/third_party/rust/crates/nix/test/test_kmod/ |
H A D | mod.rs | 3 use std::path::PathBuf; 15 tmp_dir.path().join("hello.c"), in compile_kernel_module() 20 tmp_dir.path().join("Makefile"), in compile_kernel_module() 25 .current_dir(tmp_dir.path()) in compile_kernel_module() 31 // Return the relative path of the build kernel module in compile_kernel_module() 32 (tmp_dir.path().join("hello.ko"), "hello".to_owned(), tmp_dir) in compile_kernel_module()
|
/third_party/rust/crates/os_str_bytes/src/ |
H A D | lib.rs | 56 //! valid platform strings, which would be undesirable for reliable path 190 use std::path::Path; 191 use std::path::PathBuf; 240 path = "wasm/mod.rs" 242 #[cfg_attr(windows, path = "windows/mod.rs")] 245 path = "common/mod.rs" 601 use std::path::Path; 602 use std::path::PathBuf;
|
/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | buffer_utils_test.cpp | 101 if (entry.is_regular_file() && entry.path().filename().string().find(prefix) == 0) {
in HWTEST_F() 103 std::ifstream dumpFile(entry.path(), std::ios::binary);
in HWTEST_F() 109 fs::remove(entry.path());
in HWTEST_F() 147 if (entry.is_regular_file() && entry.path().filename().string().find(prefix) == 0) {
in HWTEST_F() 149 std::ifstream dumpFile(entry.path(), std::ios::binary);
in HWTEST_F() 155 fs::remove(entry.path());
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | aa_rect_modes.cpp | 58 OH_Drawing_Path *path = OH_Drawing_PathCreate(); in test4() local 63 OH_Drawing_PathMoveTo(path, ptPtr->x, ptPtr->y); in test4() 67 OH_Drawing_PathLineTo(path, ptPtr->x, ptPtr->y); in test4() 71 OH_Drawing_PathClose(path); in test4() 79 OH_Drawing_CanvasDrawPath(canvas, path); in test4() 83 OH_Drawing_PathDestroy(path); in test4()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | intf_scene.h | 116 * @brief Returns a node from the scene with a given path (e.g. something like "view/camera_1"). Uses flat cache, 118 * @param path Path defining the node on 3d scene. 124 virtual INode::Ptr GetNode(const BASE_NS::string_view path, BASE_NS::Uid classId = META_NS::IObject::UID, 147 * the path is flat. Uses flat cache, but creates a new material if the previous instance does not exist. 169 * the path is flat. Uses flat cache, but creates a new mesh if the previous instance does not exist. 196 * @param path Path to which add or find the engine component. 201 virtual INode::Ptr CreateNode(const BASE_NS::string_view path, bool createEngineObject = true, 208 * @param name or path of the node. 222 * @param name or path of the material. 230 * @param name or path o 282 GetNode(const BASE_NS::string_view path) GetNode() argument 295 CreateNode(const BASE_NS::string_view path, bool createEngineObject = true) CreateNode() argument [all...] |
/foundation/resourceschedule/memmgr/services/memmgrservice/src/purgeable_mem_manager/ |
H A D | purgeable_mem_utils.cpp | 97 std::string path = KernelInterface::GetInstance().JoinPath(KernelInterface::ROOT_PROC_PATH, std::to_string(pid),
in GetProcPurgeableHeapInfo() local 100 if (!KernelInterface::GetInstance().ReadLinesFromFile(path, strLines)) {
in GetProcPurgeableHeapInfo() 101 HILOGE("read file and split to lines failed : %{public}s", path.c_str());
in GetProcPurgeableHeapInfo() 143 std::string path = KernelInterface::GetInstance().JoinPath(memcgPath, FILE_PURGE_MEMCG_HEAP);
in PurgeHeapMemcg() local 144 HILOGD("enter! Purg heap memory by memcg: size=%{public}d, path=%{public}s\n", sizeKB, path.c_str());
in PurgeHeapMemcg() 145 return KernelInterface::GetInstance().EchoToPath(path.c_str(), std::to_string(sizeKB).c_str());
in PurgeHeapMemcg()
|
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/ |
H A D | bpf_netfirewall.h | 191 template <typename Key, typename Value> int ClearBpfMap(const char *path, const Key &key, Value &val) in ClearBpfMap() argument 195 BpfMapper<Key, Value> rdMap(path, BPF_F_RDONLY); in ClearBpfMap() 203 BpfMapper<Key, Value> wrMap(path, BPF_F_WRONLY); in ClearBpfMap() 216 template <typename Key, typename Value> int WriteBpfMap(const char *path, const Key &key, Value &val) in WriteBpfMap() argument 218 BpfMapper<Key, Value> map(path, BPF_F_WRONLY); in WriteBpfMap() 220 NETNATIVE_LOGE("WriteBpfMap: map invalid: %{public}s", path); in WriteBpfMap()
|
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | raw_data_parser_test.cpp | 102 asset.path = "photos/header/IMG_1690.png";
in HWTEST_F() 116 ASSERT_TRUE(parsedAsset.path == asset.path);
in HWTEST_F() 134 assets[0].path = "photos/header/IMG_1690.png";
in HWTEST_F() 148 ASSERT_TRUE(parsedAssets[0].path == assets[0].path);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/ |
H A D | boot_animation_operation.cpp | 142 void BootAnimationOperation::PlayVideo(const std::string& path)
in PlayVideo() argument 149 params.resPath = path;
in PlayVideo() 161 void BootAnimationOperation::PlayPicture(const std::string& path)
in PlayPicture() argument 173 params.resPath = path;
in PlayPicture() 178 void BootAnimationOperation::PlaySound(const std::string& path)
in PlaySound() argument 182 params.resPath = path;
in PlaySound() 217 LOGI("video path is empty and picture path is not empty");
in IsBootVideoEnabled()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/syscalls/ |
H A D | rtas_filter.c | 85 char *path; in open_prop_file() local 90 path = malloc(len); in open_prop_file() 91 if (path == NULL) in open_prop_file() 94 snprintf(path, len, "%s/%s", prop_path, prop_name); in open_prop_file() 96 *fd = open(path, O_RDONLY); in open_prop_file() 97 free(path); in open_prop_file()
|
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/ |
H A D | usbip_host_common.c | 38 "%s/usbip_status", udev->path); in read_attr_usbip_status() 40 err("usbip_status path length %i >= %lu or < 0", size, in read_attr_usbip_status() 124 const char *path; in refresh_exported_devices() local 133 path = udev_list_entry_get_name(dev_list_entry); in refresh_exported_devices() 135 path); in refresh_exported_devices() 141 edev = usbip_exported_device_new(hdriver, path); in refresh_exported_devices() 240 edev->udev.path, attr_name); in usbip_export_device() 242 err("exported device path length %i >= %lu or < 0", size, in usbip_export_device()
|
/kernel/linux/linux-5.10/fs/cachefiles/ |
H A D | bind.c | 84 struct path path; in cachefiles_daemon_add_cache() local 114 ret = kern_path(cache->rootdirname, LOOKUP_DIRECTORY, &path); in cachefiles_daemon_add_cache() 118 cache->mnt = path.mnt; in cachefiles_daemon_add_cache() 119 root = path.dentry; in cachefiles_daemon_add_cache() 142 ret = vfs_statfs(&path, &stats); in cachefiles_daemon_add_cache()
|
/kernel/linux/linux-6.6/scripts/gdb/linux/ |
H A D | symbols.py | 61 search path can be extended by a space separated list of paths passed to the 76 for path in self.module_paths: 77 gdb.write("scanning for modules in {0}\n".format(path)) 78 for root, dirs, files in os.walk(path): 88 if re.match(module_pattern, name) and os.path.exists(name): 171 self.module_paths = [os.path.abspath(os.path.expanduser(p))
|
/kernel/linux/linux-6.6/tools/usb/usbip/libsrc/ |
H A D | usbip_host_common.c | 38 "%s/usbip_status", udev->path); in read_attr_usbip_status() 40 err("usbip_status path length %i >= %lu or < 0", size, in read_attr_usbip_status() 124 const char *path; in refresh_exported_devices() local 133 path = udev_list_entry_get_name(dev_list_entry); in refresh_exported_devices() 135 path); in refresh_exported_devices() 141 edev = usbip_exported_device_new(hdriver, path); in refresh_exported_devices() 240 edev->udev.path, attr_name); in usbip_export_device() 242 err("exported device path length %i >= %lu or < 0", size, in usbip_export_device()
|
/third_party/curl/tests/ |
H A D | sshhelp.pm | 245 # Find a file somewhere in the given path 250 my @path = @_; 251 foreach (@path) { 262 # Find an executable file somewhere in the given path 267 my @path = @_; 269 foreach (@path) { 281 # Find a file in environment path or in our sftppath 286 push(@spath, File::Spec->path()); 293 # Find an executable file in environment path or in our httptlssrvpath 298 push(@hpath, File::Spec->path()); [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | icecast.c | 92 char h_url[1024], host[1024], auth[1024], path[1024]; in icecast_open() local 130 &port, path, sizeof(path), uri); in icecast_open() 159 // Check for mountpoint (path) in icecast_open() 160 if (!path[0] || strcmp(path, "/") == 0) { in icecast_open() 161 av_log(h, AV_LOG_ERROR, "No mountpoint (path) specified!\n"); in icecast_open() 169 auth, host, port, "%s", path); in icecast_open()
|
/third_party/gn/src/gn/ |
H A D | function_get_path_info.cc | 133 The substring after the last slash in the path, including the name and 161 is always legal to append a slash and a filename and get a valid path. 164 The output file directory corresponding to the path of the given file, 169 The generated file directory corresponding to the path of the given file, 174 The full absolute path name to the file or directory. It will be resolved 183 If you want to make the path relative to another directory, or to be 195 result = get_path_info(get_path_info(path, "dir"), "abspath")
|
/third_party/googletest/googletest/test/ |
H A D | gtest_xml_output_unittest.py | 294 output_file = os.path.join(gtest_test_utils.GetTempDir(), 310 self.assert_(os.path.isfile(output_file)) 318 xml_path = os.path.join(gtest_test_utils.GetTempDir(), 320 if os.path.isfile(xml_path): 339 self.assert_(not os.path.isfile(xml_path)) 371 xml_path = os.path.join(gtest_test_utils.GetTempDir(),
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/ |
H A D | AbstractPathValueMapper.java | 37 // Matches "/foo/bar" or "/foo/bar[N]" as a resource bundle path, capturing the path and 38 // optional index separately. Note that this is very sloppy matching and the path string will 65 // multiple passes, you could have confusing situations in which values have path references in addIcuData() 109 * <p>Note that the given path will often (but not always) be just the path of the result. 111 final void addResult(RbPath path, Result result) { in addResult() argument 112 resultsByRbPath.put(path, result); in addResult() 121 // Fills in any fallback results and orders the results by the resource bundle path. 142 * If the value of an ungrouped result is itself a resource bundle path (includin [all...] |
/third_party/icu/tools/scripts/ |
H A D | bldicures.py | 110 def add_loc(path, loc): 112 txtf = '%s/%s.txt' % (path, loc) 122 junk = (path,dirs,files) = ent 125 if (path.find("/.svn") != -1): 130 print("Ignoring %s/%s with suffix %s" % (path,file, file[-4:])) 133 add_loc(path, loc)
|
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | HashCalc.h | 76 virtual void Final(bool isDir, bool isAltStream, const UString &path) = 0;
in DECLARE_INTERFACE() 108 void Final(bool isDir, bool isAltStream, const UString &path) Z7_override;
124 virtual HRESULT OpenFileError(const FString &path, DWORD systemError) x \
244 void Get_UString_Path(UString &path) const
in Get_UString_Path() 246 path.Empty();
in Get_UString_Path() 247 if (!ConvertUTF8ToUnicode(Name, path))
in Get_UString_Path()
|