Home
last modified time | relevance | path

Searched refs:path (Results 1726 - 1750 of 10785) sorted by relevance

1...<<61626364656667686970>>...432

/third_party/skia/docs/examples/
H A DPath_countVerbs.cpp7 SkPath path; in REG_FIDDLE() local
8 SkDebugf("empty verb count: %d\n", path.countVerbs()); in REG_FIDDLE()
9 path.addRoundRect({10, 20, 30, 40}, 5, 5); in REG_FIDDLE()
10 SkDebugf("round rect verb count: %d\n", path.countVerbs()); in REG_FIDDLE()
/third_party/skia/tests/
H A DCodecTest.cpp178 static void test_codec(skiatest::Reporter* r, const char* path, Codec* codec, SkBitmap& bm, in test_codec() argument
215 path, in test_codec()
271 static bool supports_partial_scanlines(const char path[]) { in supports_partial_scanlines() argument
278 if (SkStrEndsWith(path, exts[i])) { in supports_partial_scanlines()
289 const char path[], in check_scanline_decode()
299 test_codec(r, path, codec, bm, info, size, expectedResult, codecDigest, nullptr); in check_scanline_decode()
307 if (SkStrEndsWith(path, "png") || SkStrEndsWith(path, "PNG")) { in check_scanline_decode()
353 if (supports_partial_scanlines(path) && info.width() >= 3) { in check_scanline_decode()
421 const char path[], in check_android_codec()
285 check_scanline_decode(skiatest::Reporter* r, SkCodec* codec, SkMD5::Digest* codecDigest, const SkImageInfo& info, const char path[], SkISize size, bool supportsScanlineDecoding, bool supportsIncomplete, bool supportsNewScanlineDecoding) check_scanline_decode() argument
417 check_android_codec(skiatest::Reporter* r, std::unique_ptr<SkCodec> codec, const SkMD5::Digest& codecDigest, const SkImageInfo& info, const char path[], SkISize size, bool supportsScanlineDecoding, bool supportsSubsetDecoding, bool supportsIncomplete, bool supportsNewScanlineDecoding) check_android_codec() argument
443 check_codec_image_generator(skiatest::Reporter* r, const SkMD5::Digest& codecDigest, const SkImageInfo& info, const char path[], bool supportsIncomplete) check_codec_image_generator() argument
473 check(skiatest::Reporter* r, const char path[], SkISize size, bool supportsScanlineDecoding, bool supportsSubsetDecoding, bool supportsIncomplete, bool supportsNewScanlineDecoding = false) check() argument
627 test_dimensions(skiatest::Reporter* r, const char path[]) test_dimensions() argument
695 test_invalid(skiatest::Reporter* r, const char path[]) test_invalid() argument
922 constexpr char path[] = "images/dng_with_preview.dng"; DEF_TEST() local
940 constexpr char path[] = "images/baby_tux.webp"; DEF_TEST() local
966 const char* path = "images/mandrill.wbmp"; DEF_TEST() local
1016 const char* path = "images/mandrill_512_q075.jpg"; DEF_TEST() local
1065 check_color_xform(skiatest::Reporter* r, const char* path) check_color_xform() argument
1177 test_conversion_possible(skiatest::Reporter* r, const char* path, bool supportsScanlineDecoder, bool supportsIncrementalDecoder) test_conversion_possible() argument
1252 auto path = "images/test640x479.gif"; DEF_TEST() local
1287 Make(const char path[], size_t limit) Make() argument
1429 test_invalid_images(skiatest::Reporter* r, const char* path, SkCodec::Result expectedResult) test_invalid_images() argument
1451 test_invalid_header(skiatest::Reporter* r, const char* path) test_invalid_header() argument
1541 auto path = "invalid_images/skbug6046.gif"; DEF_TEST() local
1635 const char* path = "images/baby_tux.webp"; DEF_TEST() local
1830 const char* path = "images/color_wheel.png"; DEF_TEST() local
[all...]
/base/request/request/services/src/task/
H A Dfiles.rs77 open_file_readonly(uid, &bundle_and_account, &fs.path), in open_task_files()
107 open_file_readwrite(uid, &bundle_and_account, &fs.path), in open_task_files()
131 for (idx, path) in config.body_file_paths.iter().enumerate() { in open_body_files()
133 open_file_readwrite(uid, &bundle_and_account, path), in open_body_files()
143 fn open_file_readwrite(uid: u64, bundle: &str, path: &str) -> io::Result<File> { in open_file_readwrite()
148 .open(convert_path(uid, bundle, path)), in open_file_readwrite()
153 fn open_file_readonly(uid: u64, bundle_and_account: &str, path: &str) -> io::Result<File> { in open_file_readonly()
157 .open(convert_path(uid, bundle_and_account, path)), in open_file_readonly()
174 pub(crate) fn convert_path(uid: u64, bundle_and_account: &str, path: &str) -> String {
177 let real_path = path
[all...]
/base/update/updater/test/unittest/utils/
H A Dutils_unittest.cpp81 string path = "/data/updater/log"; in HWTEST_F() local
84 EXPECT_NE(Utils::GetFilesFromDirectory(path, files, true), -1); in HWTEST_F()
89 string path = ""; in HWTEST_F() local
90 EXPECT_EQ(Utils::RemoveDir(path), false); in HWTEST_F()
91 path = TEST_PATH_FROM + "../utils/nonExistDir"; in HWTEST_F()
92 EXPECT_EQ(Utils::RemoveDir(path), false); in HWTEST_F()
93 path = "/data/updater/rmDir"; in HWTEST_F()
94 int ret = mkdir(path.c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in HWTEST_F()
97 string filePath = path + "/tmpFile"; in HWTEST_F()
101 EXPECT_EQ(Utils::RemoveDir(path), tru in HWTEST_F()
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Dasoc.h151 TP_printk("%s: checks %d power, %d path, %d neighbour",
160 struct snd_soc_dapm_path *path),
162 TP_ARGS(widget, dir, path),
166 __string( pname, path->name ? path->name : DAPM_DIRECT)
167 __string( pnname, path->node[dir]->name )
175 __assign_str(pname, path->name ? path->name : DAPM_DIRECT);
176 __assign_str(pnname, path->node[dir]->name);
177 __entry->path_connect = path
[all...]
/kernel/linux/linux-5.10/fs/sharefs/
H A Dsharefs.h58 struct path lower_path;
90 struct path *lower_path);
93 struct path *path);
153 /* path based (dentry/mnt) macros */
154 static inline void pathcpy(struct path *dst, const struct path *src) in pathcpy()
159 /* Returns struct path. Caller must path_put it. */
161 struct path *lower_path) in sharefs_get_lower_path()
170 struct path *lower_pat in sharefs_put_lower_path()
[all...]
/kernel/linux/linux-6.6/fs/sharefs/
H A Dsharefs.h59 struct path lower_path;
91 struct path *lower_path);
94 struct path *path);
154 /* path based (dentry/mnt) macros */
155 static inline void pathcpy(struct path *dst, const struct path *src) in pathcpy()
160 /* Returns struct path. Caller must path_put it. */
162 struct path *lower_path) in sharefs_get_lower_path()
171 struct path *lower_pat in sharefs_put_lower_path()
[all...]
/kernel/linux/linux-6.6/fs/smb/server/mgmt/
H A Dshare_config.c48 if (share->path) in kill_share()
51 kfree(share->path); in kill_share()
161 share->path = kstrdup(ksmbd_share_config_path(resp), in share_config_request()
163 if (share->path) in share_config_request()
164 share->path_sz = strlen(share->path); in share_config_request()
174 if (!ret && share->path) { in share_config_request()
175 ret = kern_path(share->path, 0, &share->vfs_path); in share_config_request()
178 share->path); in share_config_request()
180 kfree(share->path); in share_config_request()
181 share->path in share_config_request()
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Dasoc.h152 TP_printk("%s: checks %d power, %d path, %d neighbour",
161 struct snd_soc_dapm_path *path),
163 TP_ARGS(widget, dir, path),
167 __string( pname, path->name ? path->name : DAPM_DIRECT)
168 __string( pnname, path->node[dir]->name )
176 __assign_str(pname, path->name ? path->name : DAPM_DIRECT);
177 __assign_str(pnname, path->node[dir]->name);
178 __entry->path_connect = path
[all...]
/kernel/linux/linux-6.6/security/keys/
H A Dbig_key.c25 struct path path; member
124 payload->path = file->f_path; in big_key_preparse()
125 path_get(&payload->path); in big_key_preparse()
157 path_put(&payload->path); in big_key_free_preparse()
172 vfs_truncate(&payload->path, 0); in big_key_revoke()
183 path_put(&payload->path); in big_key_destroy()
184 payload->path.mnt = NULL; in big_key_destroy()
185 payload->path.dentry = NULL; in big_key_destroy()
246 file = dentry_open(&payload->path, O_RDONL in big_key_read()
[all...]
/test/testfwk/xdevice/src/xdevice/_core/report/
H A Dencrypt.py43 if not os.path.exists(Variables.report_vars.pub_key_file):
48 pub_key_path = os.path.join(Variables.exec_dir, PUBLIC_KEY_FILE)
49 if os.path.exists(pub_key_path):
53 pub_key_path = os.path.join(Variables.top_dir, PUBLIC_KEY_FILE)
54 if os.path.exists(pub_key_path):
108 pri_key_path = os.path.join(Variables.exec_dir, PRIVATE_KEY_FILE)
109 if os.path.exists(pri_key_path):
112 pri_key_file = os.path.join(Variables.top_dir, PRIVATE_KEY_FILE)
113 if not os.path.exists(pri_key_file):
165 if not os.path
[all...]
/third_party/gn/src/base/files/
H A Dfile_util.cc117 bool ReadFileToStringWithMaxSize(const FilePath& path, in ReadFileToStringWithMaxSize() argument
122 if (path.ReferencesParent()) in ReadFileToStringWithMaxSize()
124 FILE* file = OpenFile(path, "rb"); in ReadFileToStringWithMaxSize()
129 // Many files supplied in |path| have incorrect size (proc files etc). in ReadFileToStringWithMaxSize()
134 if (!GetFileSize(path, &chunk_size) || chunk_size <= 0) in ReadFileToStringWithMaxSize()
175 bool ReadFileToString(const FilePath& path, std::string* contents) { in ReadFileToString() argument
176 return ReadFileToStringWithMaxSize(path, contents, in ReadFileToString()
224 int GetUniquePathNumber(const FilePath& path, in GetUniquePathNumber() argument
227 if (!PathExists(path) && in GetUniquePathNumber()
228 (!have_suffix || !PathExists(FilePath(path in GetUniquePathNumber()
[all...]
/third_party/astc-encoder/Test/testlib/
H A Dimage.py18 This module contains code for loading image metadata from a file path on disk.
20 The directory path is structured:
53 filePath: The path of the file on disk.
54 outFilePath: The path of the output file on disk.
83 Create a new image definition, based on a structured file path.
86 filePath (str): The path of the image on disk.
91 self.filePath = os.path.abspath(filePath)
92 if not os.path.exists(self.filePath):
95 # Decode the path
96 scriptDir = os.path
[all...]
/third_party/cups-filters/filter/foomatic-rip/
H A Dspooler.c43 char path [PATH_MAX] = ""; in init_cups() local
54 strncpy(path, getenv("CUPS_FONTPATH"), PATH_MAX - 1); in init_cups()
56 strncpy(path, getenv("CUPS_DATADIR"), PATH_MAX - 1); in init_cups()
57 strncat(path, "/fonts", PATH_MAX - strlen(path) - 1); in init_cups()
60 strncat(path, ":", PATH_MAX - strlen(path) - 1); in init_cups()
61 strncat(path, getenv("GS_LIB"), PATH_MAX - strlen(path) - 1); in init_cups()
63 setenv("GS_LIB", path, in init_cups()
[all...]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
H A DRangeKey.java97 // trailing "any" path as possible, to leave the prefix. Note that the visitor can never start
99 // through an "any" path, the node it reaches cannot have any other edges coming from it (the
100 // "any" path is all the possible edges).
120 // Current path from the root of the tree being visited.
121 private RangeSpecification path = RangeSpecification.empty(); field in RangeKey.KeyVisitor
134 RangeSpecification oldPath = path; in visit()
135 path = path.extendByMask(edge.getDigitMask()); in visit()
137 lengthMask = (1 << path.length()); in visit()
146 lengthMask |= (1 << path in visit()
[all...]
/third_party/rust/crates/clang-sys/src/
H A Dlink.rs44 use std::path::{Path, PathBuf};
76 path: PathBuf,
81 fn new(library: libloading::Library, path: PathBuf) -> Self { in new()
82 Self { library, path, functions: Functions::default() } in new()
85 /// Returns the path to this `libclang` shared library.
86 pub fn path(&self) -> &Path { in path() functions
87 &self.path in path()
184 let path = directory.join(filename); in load_manually()
187 let library = libloading::Library::new(&path).map_err(|e| { in load_manually()
190 path in load_manually()
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/tools/
H A Dgen-grammar.go27 "path/filepath"
119 relPath := func(path string) string {
120 rel, err := filepath.Rel(thisDir, path)
122 return path
203 path := filepath.Join(*cachePath, name)
204 if isFile(path) {
205 return ioutil.ReadFile(path)
223 // isFile returns true if path is a file.
224 func isFile(path string) bool {
225 s, err := os.Stat(path)
[all...]
/third_party/skia/samplecode/
H A DSampleStrokePath.cpp23 SkPath path; in test_huge_stroke() local
24 path.moveTo(17600, 8000); in test_huge_stroke()
25 path.lineTo(52800, 8000); in test_huge_stroke()
26 path.lineTo(52800, 41600); in test_huge_stroke()
27 path.lineTo(17600, 41600); in test_huge_stroke()
28 path.close(); in test_huge_stroke()
40 canvas->drawPath(path, paint); in test_huge_stroke()
77 static void scale_to_width(SkPath* path, SkScalar dstWidth) { in scale_to_width() argument
78 const SkRect& bounds = path->getBounds(); in scale_to_width()
83 path in scale_to_width()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/tools/
H A Dgen-grammar.go27 "path/filepath"
119 relPath := func(path string) string {
120 rel, err := filepath.Rel(thisDir, path)
122 return path
203 path := filepath.Join(*cachePath, name)
204 if isFile(path) {
205 return ioutil.ReadFile(path)
223 // isFile returns true if path is a file.
224 func isFile(path string) bool {
225 s, err := os.Stat(path)
[all...]
/third_party/python/Lib/test/
H A Dtest_modulefinder.py25 # Modulefinder searches in a path that contains test_dir, plus
290 def open_file(path):
291 dirname = os.path.dirname(path)
297 return open(path, 'wb')
313 ofi = open_file(os.path.join(test_dir, line.strip()))
321 self.test_path = [self.test_dir, os.path.dirname(tempfile.__file__)]
329 mf = modulefinder_class(path=self.test_path, debug=debug,
335 ## opath = sys.path[:]
336 ## sys.path
[all...]
H A Dtest_doctest.py467 leading path components.
758 pkg_dir = os.path.join(parent_dir, pkg_name)
760 sys.path.append(parent_dir)
765 sys.path.pop()
1053 between Python versions. For example, in Python 2.x, the module path of
1079 But in Python 3 the module path is included, and therefore a test must look
1108 The module path will be completely ignored, so two different module paths will
2325 '/' should be used as a path separator. It will be converted
2335 >>> import types, os.path, test.test_doctest
2346 >>> # Get the absolute path o
[all...]
/third_party/skia/tools/android/
H A Dupload_to_android.py42 SKIA_PATH_IN_ANDROID = os.path.join('external', 'skia')
46 SK_USER_CONFIG_PATH = os.path.join('include', 'config', 'SkUserConfig.h')
58 if not os.path.isdir(work_dir):
63 repo_dir = os.path.join(work_dir, 'bin')
64 repo_binary = os.path.join(repo_dir, 'repo')
65 if not os.path.isdir(repo_dir):
68 if not os.path.exists(repo_binary):
79 android_dir = os.path.join(work_dir, 'android-repo')
80 if not os.path.isdir(android_dir):
177 config_file = os.path
[all...]
/third_party/selinux/libselinux/src/
H A Dlabel_media.c33 static int process_line(const char *path, char *line_buf, int pass, in process_line() argument
50 "%s: line %u is missing fields, skipping\n", path, in process_line()
75 const char *path = NULL; in init() local
86 path = opts[n].value; in init()
91 if (!path) in init()
92 path = selinux_media_context_path(); in init()
93 if ((fp = fopen(path, "re")) == NULL) in init()
103 rec->spec_file = strdup(path); in init()
119 if (process_line(path, line_buf, pass, ++lineno, rec)) in init()
138 status = digest_add_specfile(rec->digest, fp, NULL, sb.st_size, path); in init()
[all...]
/third_party/skia/bench/
H A DAAClipBench.cpp32 doPath ? "path" : "rect", in AAClipBench()
67 // this path tests out directly draw the clip primitive
126 SkPath path; in recurse() local
127 path.addRoundRect(temp, SkIntToScalar(3), SkIntToScalar(3)); in recurse()
128 SkASSERT(path.isConvex()); in recurse()
130 canvas->clipPath(path, SkClipOp::kIntersect, fDoAA); in recurse()
182 fName.printf("aaclip_build_%s_%s", doPath ? "path" : "rect", in AAClipBuilderBench()
217 SkPath path; in AAClipRegionBench() local
219 path.addCircle(0, 0, SkIntToScalar(200)); in AAClipRegionBench()
220 path in AAClipRegionBench()
[all...]
/third_party/spirv-tools/utils/vscode/src/tools/
H A Dgen-grammar.go27 "path/filepath"
119 relPath := func(path string) string {
120 rel, err := filepath.Rel(thisDir, path)
122 return path
203 path := filepath.Join(*cachePath, name)
204 if isFile(path) {
205 return ioutil.ReadFile(path)
223 // isFile returns true if path is a file.
224 func isFile(path string) bool {
225 s, err := os.Stat(path)
[all...]

Completed in 16 milliseconds

1...<<61626364656667686970>>...432