/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-filepath.cc | 62 // On Windows, '\\' is the standard path separator, but many tools and the 63 // Windows API also accept '/' as an alternate path separator. Unless otherwise 64 // noted, a file path can contain either kind of path separators, or a mixture 84 // Returns whether the given character is a valid path separator. 129 // Returns a pointer to the last occurrence of a valid path separator in 130 // the FilePath. On Windows, for example, both '/' and '\' are valid path 131 // separators. Returns NULL if no path separator was found. 146 // Example: FilePath("path/to/file").RemoveDirectoryName() returns 150 // On Windows platform, '\' is the path separato [all...] |
/third_party/node/deps/openssl/openssl/crypto/dso/ |
H A D | dso_dl.c | 25 static int dl_pathbyaddr(void *addr, char *path, int sz); 163 * If the first file specification is a rooted path, it rules. same goes in dl_merger() 248 static int dl_pathbyaddr(void *addr, char *path, int sz) in dl_pathbyaddr() argument 271 memcpy(path, inf.filename, len); in dl_pathbyaddr() 272 path[len++] = 0; in dl_pathbyaddr()
|
/third_party/python/Tools/scripts/ |
H A D | highlight.py | 198 import os.path namespace 260 htmlfile = os.path.splitext(os.path.basename(sourcefile))[0] + '.html' 263 webbrowser.open('file://' + os.path.abspath(htmlfile))
|
/third_party/rust/crates/clap/tests/derive/ |
H A D | flatten.rs | 271 path: Option<std::path::PathBuf>, in optional_flatten() 281 path: None, in optional_flatten() 291 path: Some("./".into()), in optional_flatten() 295 Opt::try_parse_from(["test", "--path=./"]).unwrap() in optional_flatten()
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_help_about.py | 13 import os.path namespace 47 path, file = os.path.split(self.dialog.icon_image['file']) 48 fn, ext = os.path.splitext(file)
|
/third_party/skia/samplecode/ |
H A D | SampleShadowReference.cpp | 76 void drawShadowedPath(SkCanvas* canvas, const SkPath& path, in drawShadowedPath() argument 93 SkShadowUtils::DrawShadow(canvas, path, zPlaneParams, in drawShadowedPath() 98 canvas->drawPath(path, paint); in drawShadowedPath() 105 canvas->drawPath(path, strokePaint); in drawShadowedPath()
|
/third_party/skia/src/gpu/ops/ |
H A D | AtlasRenderTask.cpp | 31 bool AtlasRenderTask::addPath(const SkMatrix& viewMatrix, const SkPath& path, in addPath() argument 54 if (GrFillRuleForSkPath(path) == GrFillRule::kNonzero) { in addPath() 55 fWindingPathList.add(&fPathDrawAllocator, pathToAtlasMatrix, path); in addPath() 57 fEvenOddPathList.add(&fPathDrawAllocator, pathToAtlasMatrix, path); in addPath()
|
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/bin/ |
H A D | generate_language_headers.py | 32 import os.path namespace 69 dir = os.path.dirname(os.path.abspath(f)) 73 if e.errno == errno.EEXIST and os.path.isdir(dir): 207 parser.add_argument('--extinst-grammar', metavar='<path>', 210 parser.add_argument('--extinst-output-base', metavar='<path>',
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/bin/ |
H A D | generate_language_headers.py | 32 import os.path namespace 69 dir = os.path.dirname(os.path.abspath(f)) 73 if e.errno == errno.EEXIST and os.path.isdir(dir): 207 parser.add_argument('--extinst-grammar', metavar='<path>', 210 parser.add_argument('--extinst-output-base', metavar='<path>',
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | bccache.py | 17 from os import path namespace 101 from os import path 109 filename = path.join(self.directory, bucket.key) 110 if path.exists(filename): 115 filename = path.join(self.directory, bucket.key) 213 actual_dir = os.path.join(tmpdir, dirname) 244 return path.join(self.directory, self.pattern % bucket.key) 270 remove(path.join(self.directory, filename))
|
/third_party/openssl/crypto/dso/ |
H A D | dso_dl.c | 25 static int dl_pathbyaddr(void *addr, char *path, int sz); 163 * If the first file specification is a rooted path, it rules. same goes in dl_merger() 248 static int dl_pathbyaddr(void *addr, char *path, int sz) in dl_pathbyaddr() argument 271 memcpy(path, inf.filename, len); in dl_pathbyaddr() 272 path[len++] = 0; in dl_pathbyaddr()
|
/third_party/skia/third_party/externals/zlib/contrib/minizip/ |
H A D | unzip.h | 166 extern unzFile ZEXPORT unzOpen OF((const char *path)); 167 extern unzFile ZEXPORT unzOpen64 OF((const void *path)); 169 Open a Zip file. path contain the full pathname (by example, 176 the "64" function take a const void* pointer, because the path is just the 178 Under Windows, if UNICODE is defined, using fill_fopen64_filefunc, the path 184 extern unzFile ZEXPORT unzOpen2 OF((const char *path, 191 extern unzFile ZEXPORT unzOpen2_64 OF((const void *path,
|
/third_party/skia/tools/ |
H A D | get_images_from_skps.cpp | 25 static DEFINE_string2(skps, s, "skps", "A path to a directory of skps or a single skp."); 26 static DEFINE_string2(out, o, "img-out", "A path to an output directory."); 88 SkString path; in sniff() 89 path.appendf("%s/%s%d.%s", gOutputDir, name, num, ext.c_str()); in sniff() 91 SkFILEWStream file(path.c_str()); in sniff() 94 SkDebugf("%s\n", path.c_str()); in sniff() 142 "-j <output JSON path> --writeImages, --writeFailedImages\n"); in main()
|
/third_party/spirv-headers/tools/buildHeaders/bin/ |
H A D | generate_language_headers.py | 32 import os.path namespace 69 dir = os.path.dirname(os.path.abspath(f)) 73 if e.errno == errno.EEXIST and os.path.isdir(dir): 207 parser.add_argument('--extinst-grammar', metavar='<path>', 210 parser.add_argument('--extinst-output-base', metavar='<path>',
|
/third_party/unity/auto/ |
H A D | stylize_as_junit.rb | 37 o.on('-p', '--root_path <path>', 'Prepend this path to files in results.') do |root_path| 96 # use line[0] from the test output to get the test_file path and name 104 result_output[:source][:path] = File.dirname(test_file) 127 puts ' -p, --root_path <path> Prepend this path to files in results.' 163 source: { path: '', file: '' }, 187 filename = File.join(results[:source][:path], File.basename(results[:source][:file], '.*')) 205 filename = File.join(results[:source][:path], File.basename(results[:source][:file], '.*')) 239 # set the root path [all...] |
/third_party/unity/examples/example_3/ |
H A D | rakefile_helper.rb | 30 path = "#{$cfg['compiler']['unit_tests_path']}Test*#{C_EXTENSION}" 31 path.tr!('\\', '/') 32 FileList.new(path) 74 command = tackit($cfg['compiler']['path']) 97 command = tackit($cfg['linker']['path']) 115 cmd_str += " #{(obj_list.map { |obj| "#{$cfg['linker']['object_files']['path']}#{obj}" }).join(' ')}" 125 command = if $cfg['simulator']['path'].nil? 128 "#{tackit($cfg['simulator']['path'])} "
|
/third_party/python/Lib/test/ |
H A D | test_unicode_file_functions.py | 51 if not os.path.supports_unicode_filenames: 74 name = os.path.join(os_helper.TESTFN, self.norm(name)) 156 sf2 = set(os.path.join(os_helper.TESTFN, f) for f in f2) 166 dirname = os.path.join(os_helper.TESTFN,
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | database-tdb.c | 104 pa_database* pa_database_open_internal(const char *path, bool for_write) { in pa_database_open_internal() argument 107 pa_assert(path); in pa_database_open_internal() 109 if ((c = tdb_open_cloexec(path, 0, TDB_NOSYNC|TDB_NOLOCK, (for_write ? O_RDWR|O_CREAT : O_RDONLY), 0644))) in pa_database_open_internal() 110 pa_log_debug("Opened TDB database '%s'", path); in pa_database_open_internal()
|
H A D | database-gdbm.c | 66 pa_database* pa_database_open_internal(const char *path, bool for_write) { in pa_database_open_internal() argument 70 pa_assert(path); in pa_database_open_internal() 77 f = gdbm_open((char*) path, 1024, GDBM_NOLOCK | (for_write ? GDBM_WRCREAT : GDBM_READER), 0644, NULL); in pa_database_open_internal() 80 pa_log_debug("Opened GDBM database '%s'", path); in pa_database_open_internal()
|
/third_party/python/Lib/test/test_importlib/ |
H A D | fixtures.py | 75 sys.path[:0] = [str(dir)] 79 sys.path.remove(str(dir)) 293 sys.path.insert(0, str(file)) 294 self.resources.callback(sys.path.pop, 0) 297 # Add self.zip_name to the front of sys.path.
|
/third_party/skia/third_party/externals/abseil-cpp/absl/ |
H A D | abseil.podspec.gen.py | 70 """Returns the list of normalized path.""" 72 return [path.lstrip("/").replace(":", "/") for path in paths] 102 """Collects and returns all rules from root path recursively.""" 105 build_path = os.path.join(cur, "BUILD.bazel") 106 if os.path.exists(build_path):
|
/third_party/skia/include/core/ |
H A D | SkTypeface.h | 128 static sk_sp<SkTypeface> MakeFromFile(const char path[], int index = 0); 315 void getFontPath(SkString* path) const; 430 virtual void onGetFontPath(SkString* path) const { path->reset(); } in onGetFontPath()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGNode.cpp | 48 SkPath path = this->onAsPath(localContext); in asPath() local 51 // There is a clip-path present on the current node. in asPath() 52 Op(path, *clipPath, kIntersect_SkPathOp, &path); in asPath() 55 return path; in asPath() 96 return PARSE_AND_SET( "clip-path" , ClipPath) in parseAndSetAttribute()
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
H A D | Canvas.java | 78 public void clipPath(Path path, ClipOp op, boolean antiAliasing) { in clipPath() argument 79 nClipPath(mNativeInstance, path.getNativeInstance(), op.mNativeInt, antiAliasing); in clipPath() 126 public void drawPath(Path path, Paint paint) { in drawPath() argument 127 nDrawPath(mNativeInstance, path.getNativeInstance(), paint.getNativeInstance()); in drawPath()
|
/third_party/skia/fuzz/ |
H A D | FuzzSkParagraph.cpp | 74 SkString path; in ResourceFontCollection() local 75 while (iter.next(&path)) { in ResourceFontCollection() 76 if (path.endsWith("Roboto-Italic.ttf")) { in ResourceFontCollection() 79 fonts.emplace_back(path); in ResourceFontCollection()
|