Home
last modified time | relevance | path

Searched refs:path (Results 1501 - 1525 of 8425) sorted by relevance

1...<<61626364656667686970>>...337

/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...]
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_installer.cpp93 uint8_t BundleInstaller::GetHapType(const char *path) in GetHapType() argument
96 if (BundleUtil::StartWith(path, SYSTEM_BUNDLE_PATH)) { in GetHapType()
98 } else if (BundleUtil::StartWith(path, THIRD_SYSTEM_BUNDLE_PATH)) { in GetHapType()
106 uint8_t BundleInstaller::Install(const char *path, const InstallParam &installParam) in Install() argument
108 if (path == nullptr || installParam.installLocation < INSTALL_LOCATION_INTERNAL_ONLY || in Install()
120 if (strlen(path) > PATH_MAX) { in Install()
125 if (realpath(path, realPath) == nullptr) { in Install()
129 // set codeDirPath_ and dataDirPath_ according to hap path in Install()
168 uint8_t BundleInstaller::ProcessBundleInstall(const std::string &path, const char *randStr, in ProcessBundleInstall() argument
176 // check path in ProcessBundleInstall()
502 CheckInstallFileIsValid(const char *path) CheckInstallFileIsValid() argument
555 RecordThirdSystemBundle(const char *bundleName, const char *path) RecordThirdSystemBundle() argument
602 InitThirdSystemBundleRecord(const char *bundleName, const char *path) InitThirdSystemBundleRecord() argument
[all...]
/foundation/filemanagement/dfs_service/utils/dentry/src/
H A Dmeta_file.cpp86 static uint64_t PathHash(const std::string &path, bool caseSense) in PathHash() argument
89 const char *kp = path.c_str(); in PathHash()
102 static std::string GetDentryfileName(const std::string &path, bool caseSense) in GetDentryfileName() argument
104 // path should be like "/", "/dir/", "/dir/dir/" ... in GetDentryfileName()
107 uint64_t fileHash = PathHash(path, caseSense); in GetDentryfileName()
115 static std::string GetDentryfileByPath(uint32_t userId, const std::string &path, bool caseSense = false) in GetDentryfileByPath() argument
119 std::string dentryFileName = GetDentryfileName(path, caseSense); in GetDentryfileByPath()
124 std::string MetaFile::GetParentDir(const std::string &path) in GetParentDir() argument
126 if ((path == "/") || (path in GetParentDir()
138 GetFileName(const std::string &path) GetFileName() argument
152 GetParentMetaFile(uint32_t userId, const std::string &path) GetParentMetaFile() argument
162 MetaFile(uint32_t userId, const std::string &path) MetaFile() argument
673 GetMetaFile(uint32_t userId, const std::string &path) GetMetaFile() argument
[all...]
/third_party/node/tools/gyp/pylib/gyp/generator/
H A Dxcode.py113 def __init__(self, gyp_path, path, build_file_dict):
115 self.path = path
116 self.project = gyp.xcodeproj_file.PBXProject(path=path)
118 os.path.dirname(os.path.abspath(self.gyp_path)),
119 os.path.dirname(path) or ".",
127 # TODO(mark): add destructor that cleans up self.path i
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
H A Dxcode.py113 def __init__(self, gyp_path, path, build_file_dict):
115 self.path = path
116 self.project = gyp.xcodeproj_file.PBXProject(path=path)
118 os.path.dirname(os.path.abspath(self.gyp_path)),
119 os.path.dirname(path) or ".",
127 # TODO(mark): add destructor that cleans up self.path i
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DICUResourceBundle.java250 * Given a tree path and keyword, return a string enumeration of all possible values for that keyword.
296 * @param path The path to the required resource key
300 public ICUResourceBundle getWithFallback(String path) throws MissingResourceException { in getWithFallback() argument
304 ICUResourceBundle result = findResourceWithFallback(path, actualBundle, null); in getWithFallback()
310 path, getKey()); in getWithFallback()
314 throw new MissingResourceException("Encountered NO_INHERITANCE_MARKER", path, getKey()); in getWithFallback()
345 * @param path the path to the resource
348 public ICUResourceBundle findWithFallback(String path) { in findWithFallback() argument
351 findStringWithFallback(String path) findStringWithFallback() argument
356 getStringWithFallback(String path) getStringWithFallback() argument
374 getValueWithFallback(String path) getValueWithFallback() argument
394 getAllItemsWithFallbackNoFail(String path, UResource.Sink sink) getAllItemsWithFallbackNoFail() argument
402 getAllItemsWithFallback(String path, UResource.Sink sink) getAllItemsWithFallback() argument
888 findResourceWithFallback(String path, UResourceBundle actualBundle, UResourceBundle requested) findResourceWithFallback() argument
950 findStringWithFallback(String path, UResourceBundle actualBundle, UResourceBundle requested) findStringWithFallback() argument
1071 countPathKeys(String path) countPathKeys() argument
1092 getResPathKeys(String path, int num, String[] keys, int start) getResPathKeys() argument
[all...]
/third_party/astc-encoder/Test/DocSource/
H A Dconf.py10 # add these directories to sys.path here. If the directory is relative to the
11 # documentation root, use os.path.abspath to make it absolute, like shown here.
15 sys.path.insert(0, os.path.abspath('../'))
16 sys.path.insert(0, os.path.abspath('../testlib'))
/third_party/ltp/lib/newlib_tests/
H A Dtest_exec.c21 char path[4096]; in do_test() local
23 if (tst_get_path("test_exec_child", path, sizeof(path))) in do_test()
26 execve(path, argv, environ); in do_test()
/third_party/node/deps/v8/tools/
H A Dget_landmines.py14 sys.path.insert(0, os.path.abspath(
15 os.path.join(os.path.dirname(__file__), '..', 'build')))
/third_party/toybox/toys/other/
H A Dpwdx.c23 char *path = toybuf; in pwdx_main() local
26 if (!readlink0(path, toybuf, sizeof(toybuf))) { in pwdx_main()
27 path = strerror(errno); in pwdx_main()
31 xprintf("%s: %s\n", *optargs, path); in pwdx_main()
/third_party/skia/docs/examples/
H A DPath_serialize.cpp7 SkPath path, copy; in REG_FIDDLE() local
8 path.lineTo(6.f / 7, 2.f / 3); in REG_FIDDLE()
9 sk_sp<SkData> data = path.serialize(); in REG_FIDDLE()
11 SkDebugf("path is " "%s" "equal to copy\n", path == copy ? "" : "not "); in REG_FIDDLE()
H A DPath_dump_2.cpp7 SkPath path, copy; in REG_FIDDLE() local
8 path.lineTo(6.f / 7, 2.f / 3); in REG_FIDDLE()
9 path.dump(); in REG_FIDDLE()
13 SkDebugf("path is " "%s" "equal to copy\n", path == copy ? "" : "not "); in REG_FIDDLE()
H A DRegion_getBoundaryPath.cpp11 SkPath path; in REG_FIDDLE() local
12 region.getBoundaryPath(&path); in REG_FIDDLE()
13 path.offset(100, 0); in REG_FIDDLE()
14 canvas->drawPath(path, SkPaint()); in REG_FIDDLE()
/third_party/skia/bin/
H A Dlist-skia-bots10 path = os.path.join(os.path.dirname(__file__), os.pardir, 'infra', 'bots', 'tasks.json') variable
11 for j in sorted(json.load(open(path, 'r'))['jobs'].keys()):
/third_party/rust/crates/static-assertions-rs/src/
H A Dassert_trait.rs41 ($sub:path: $($super:path),+ $(,)?) => {
102 ($super:path: $($sub:path),+ $(,)?) => {
/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...]

Completed in 14 milliseconds

1...<<61626364656667686970>>...337