/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | android.py | 14 BASE_DIR = os.path.normpath( 15 os.path.join(os.path.dirname(__file__), '..', '..', '..')) 16 ANDROID_DIR = os.path.join(BASE_DIR, 'build', 'android') 35 assert os.path.exists(ANDROID_DIR) 36 sys.path.insert(0, ANDROID_DIR) 77 file_on_host = os.path.join(host_dir, file_name) 83 file_on_device_tmp = os.path.join(DEVICE_DIR, '_tmp_', file_name) 84 file_on_device = os.path.join(DEVICE_DIR, target_rel, file_name) 85 folder_on_device = os.path [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
H A D | FieldMaskPartial.cs | 130 foreach (var path in paths) 132 if (path.Length == 0) 139 && !IsValid<T>(path)) 141 throw new InvalidProtocolBufferException(path + " is not a valid path for " + typeof(T)); 144 mask.Paths.Add(path); 183 /// Checks whether the given path is valid for a field mask. 185 /// <returns>true if the path is valid; false otherwise</returns> 223 foreach (var path in fieldMask.Paths) in IsValid() 225 if (!IsValid(descriptor, path)) in IsValid() 248 IsValid(MessageDescriptor descriptor, string path) IsValid() argument [all...] |
/third_party/python/Lib/importlib/ |
H A D | abc.py | 62 def find_module(self, fullname, path=None): 64 The fullname is a str and the optional path is a str or None. 82 def find_module(self, fullname, path): 86 the path is a list of strings or None. 100 found = self.find_spec(fullname, path) 114 """Abstract base class for path entry finders used by PathFinder.""" 120 """Return (loader, namespace portion) for the path entry. 123 path entries contributing to part of a namespace package. The 127 The portion will be discarded if another path entry finder 171 def get_data(self, path) [all...] |
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | trigger.py | 28 parser = argparse.ArgumentParser(os.path.basename(sys.argv[0])) 29 parser.add_argument('gn_path', help='path to GN. (e.g. out/Release)') 60 mb_script_path = os.path.join('tools', 'mb', 'mb.py') 64 is_standalone = not os.path.isdir(os.path.join('third_party', 'angle')) 68 mb_args += ['-i', os.path.join('infra', 'specs', 'gn_isolate_map.pyl')] 79 path = args.gn_path.replace('\\', '/') 80 out_gn_path = '//' + path 81 out_file_path = os.path.join(*path [all...] |
/third_party/skia/third_party/externals/freetype/tests/scripts/ |
H A D | download-test-fonts.py | 63 # Type: file path string 101 def check_existing(path: str, hex_digest: str): 102 """Return True if |path| exists and matches |hex_digest|.""" 103 if not os.path.exists(path) or hex_digest is None: 106 with open(path, "rb") as f: 117 dest_path: Installation path 119 parent_path = os.path.dirname(dest_path) 120 if not os.path.exists(parent_path): 189 and os.path [all...] |
/third_party/skia/third_party/externals/harfbuzz/test/subset/ |
H A D | run-tests.py | 43 print (' test.font_path %s' % os.path.abspath (test.font_path)) 44 print (' test.profile_path %s' % os.path.abspath (test.profile_path)) 46 expected_file = os.path.join (test_suite.get_output_directory (), 48 print (' expected_file %s' % os.path.abspath (expected_file)) 52 out_file = os.path.join (tempfile.mkdtemp (), test.get_font_name () + '-subset' + test.get_font_extension ()) 64 expected_file = os.path.join (test_suite.get_output_directory (), test.get_font_name ()) 115 def check_ots (path): 116 ots_report, returncode = cmd ([ots_sanitize, path]) 123 if not args or sys.argv[1].find ('hb-subset') == -1 or not os.path.exists (sys.argv[1]): 138 for path i [all...] |
/third_party/lz4/programs/ |
H A D | util.h | 492 char* path; in UTIL_prepareFileList() local 498 path = (char*) malloc(dirLength + 3); in UTIL_prepareFileList() 499 if (!path) return 0; in UTIL_prepareFileList() 501 memcpy(path, dirName, dirLength); in UTIL_prepareFileList() 502 path[dirLength] = '\\'; in UTIL_prepareFileList() 503 path[dirLength+1] = '*'; in UTIL_prepareFileList() 504 path[dirLength+2] = 0; in UTIL_prepareFileList() 506 hFile=FindFirstFileA(path, &cFile); in UTIL_prepareFileList() 511 free(path); in UTIL_prepareFileList() 516 path in UTIL_prepareFileList() [all...] |
/third_party/python/PC/ |
H A D | testpy.py | 21 for dir in sys.path: 22 file = os.path.join(dir, "os.py") 23 if os.path.isfile(file): 24 test = os.path.join(dir, "test") 25 if os.path.isdir(test): 27 sys.path = sys.path + [test]
|
/third_party/skia/docs/examples/ |
H A D | Path_Verb.cpp | 7 SkPath path; in REG_FIDDLE() local 8 path.lineTo(20, 20); in REG_FIDDLE() 9 path.quadTo(-10, -10, 30, 30); in REG_FIDDLE() 10 path.close(); in REG_FIDDLE() 11 path.cubicTo(1, 2, 3, 4, 5, 6); in REG_FIDDLE() 12 path.conicTo(0, 0, 0, 0, 2); in REG_FIDDLE() 14 int count = path.getVerbs(verbs, (int) SK_ARRAY_COUNT(verbs)); in REG_FIDDLE()
|
H A D | Path_rQuadTo.cpp | 9 SkPath path; in REG_FIDDLE() local 10 path.moveTo(128, 20); in REG_FIDDLE() 11 path.rQuadTo(-6, 10, -7, 10); in REG_FIDDLE() 13 path.rQuadTo(10 + i, 10 + i, 10 + i * 4, 10); in REG_FIDDLE() 14 path.rQuadTo(-10 - i, 10 + i, -10 - (i + 2) * 4, 10); in REG_FIDDLE() 16 path.quadTo(92, 220, 128, 215); in REG_FIDDLE() 17 canvas->drawPath(path, paint); in REG_FIDDLE()
|
H A D | Path_rConicTo.cpp | 10 SkPath path; in REG_FIDDLE() local 11 path.moveTo(20, 80); in REG_FIDDLE() 12 path.rConicTo( 60, 0, 60, 60, 0.707107f); in REG_FIDDLE() 13 path.rConicTo( 0, -60, 60, -60, 0.707107f); in REG_FIDDLE() 14 path.rConicTo(-60, 0, -60, -60, 0.707107f); in REG_FIDDLE() 15 path.rConicTo( 0, 60, -60, 60, 0.707107f); in REG_FIDDLE() 16 canvas->drawPath(path, paint); in REG_FIDDLE()
|
H A D | Paint_getTextPath.cpp | 10 SkPath path, path2; in REG_FIDDLE() local 11 paint.getTextPath("ABC", 3, 20, 80, &path); in REG_FIDDLE() 12 path.offset(20, 20, &path2); in REG_FIDDLE() 13 Op(path, path2, SkPathOp::kDifference_SkPathOp, &path); in REG_FIDDLE() 14 path.addPath(path2); in REG_FIDDLE() 16 canvas->drawPath(path, paint); in REG_FIDDLE()
|
/third_party/glfw/src/ |
H A D | linux_joystick.c | 127 static GLFWbool openJoystickDevice(const char* path) in openJoystickDevice() argument 133 if (strcmp(_glfw.joysticks[jid].linjs.path, path) == 0) in openJoystickDevice() 138 linjs.fd = open(path, O_RDONLY | O_NONBLOCK | O_CLOEXEC); in openJoystickDevice() 233 strncpy(linjs.path, path, sizeof(linjs.path) - 1); in openJoystickDevice() 259 return strcmp(fj->linjs.path, sj->linjs.path); in compareJoysticks() 286 char path[PATH_MA in _glfwDetectJoystickConnectionLinux() local 348 char path[PATH_MAX]; _glfwInitJoysticksLinux() local [all...] |
/third_party/python/Lib/distutils/ |
H A D | unixccompiler.py | 105 self.mkpath(os.path.dirname(output_file)) 130 self.mkpath(os.path.dirname(output_filename)) 163 output_filename = os.path.join(output_dir, output_filename) 174 self.mkpath(os.path.dirname(output_filename)) 187 if os.path.basename(linker[0]) == "env": 192 if os.path.basename(linker[i]) == 'ld_so_aix': 235 compiler = os.path.basename(sysconfig.get_config_var("CC")) 301 shared = os.path.join(dir, shared_f) 302 dylib = os.path.join(dir, dylib_f) 303 static = os.path [all...] |
/third_party/skia/tests/ |
H A D | StrokeTest.cpp | 40 SkPath path, fillPath; in test_strokecubic() local 41 path.moveTo(cubicVals[0]); in test_strokecubic() 42 path.cubicTo(cubicVals[1], cubicVals[2], cubicVals[3]); in test_strokecubic() 43 paint.getFillPath(path, &fillPath); in test_strokecubic() 44 path.reset(); in test_strokecubic() 45 path.moveTo(SkBits2Float(hexCubicVals[0]), SkBits2Float(hexCubicVals[1])); in test_strokecubic() 46 path.cubicTo(SkBits2Float(hexCubicVals[2]), SkBits2Float(hexCubicVals[3]), in test_strokecubic() 49 paint.getFillPath(path, &fillPath); in test_strokecubic() 71 SkPath path, fillPath; in test_strokerect() local 72 path in test_strokerect() 170 SkPath path; test_big_stroke() local [all...] |
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
H A D | FieldMaskUtil.java | 93 * @throws IllegalArgumentException if any of the field path is invalid. 103 * @throws IllegalArgumentException if any of the field path is not valid. 113 * @throws IllegalArgumentException if any of the field path is not valid. 129 for (String path : paths) { in fromStringList() 130 if (path.isEmpty()) { in fromStringList() 134 if (descriptor.isPresent() && !isValid(descriptor.get(), path)) { in fromStringList() 136 path + " is not a valid path for " + descriptor.get().getFullName()); in fromStringList() 138 builder.addPaths(path); in fromStringList() 178 for (String path in toJsonString() 227 isValid(Class<? extends Message> type, String path) isValid() argument 236 isValid(Descriptor descriptor, String path) isValid() argument [all...] |
H A D | FieldMaskTree.java | 48 * a field path in the FieldMask. 93 * Adds a field path to the tree. In a FieldMask, every field path matches the specified field as 94 * well as all its sub-fields. For example, a field path "foo.bar" matches field "foo.bar" and 95 * also "foo.bar.baz", etc. When adding a field path to the tree, redundant sub-paths will be 97 * exists, which will turn the tree node for "foo.bar" to a leaf node. Likewise, if the field path 98 * to add is a sub-path of an existing leaf node, nothing will be changed in the tree. 102 FieldMaskTree addFieldPath(String path) { in addFieldPath() argument 103 String[] parts = path.split(FIELD_PATH_SEPARATOR_REGEX); in addFieldPath() 111 // Check whether the path matche in addFieldPath() 147 removeFieldPath(String path) removeFieldPath() argument 193 getFieldPaths(Node node, String path, List<String> paths) getFieldPaths() argument 207 intersectFieldPath(String path, FieldMaskTree output) intersectFieldPath() argument 253 merge( Node node, String path, Message source, Message.Builder destination, FieldMaskUtil.MergeOptions options) merge() argument [all...] |
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
H A D | PrefixTree.java | 254 private RangeSpecification path = RangeSpecification.empty(); field in PrefixTree.TrimmingVisitor 258 RangeSpecification oldPath = path; in visit() 259 path = path.extendByMask(edge.getDigitMask()); in visit() 261 paths.add(path); in visit() 265 path = oldPath; in visit() 295 * of the "included" path as possible (node), potentially splitting into several sub-recursive 296 * steps if the current included edge overlaps with multiple "excluded" paths. Once a path no 301 DfaNode node, RangeSpecification path, DfaNode exclude, RangeTree minimal, int minLength) { in recursivelyMinimize() 309 minimal = minimal.union(RangeTree.from(path in recursivelyMinimize() 300 recursivelyMinimize( DfaNode node, RangeSpecification path, DfaNode exclude, RangeTree minimal, int minLength) recursivelyMinimize() argument 339 emit( DfaNode node, RangeSpecification path, RangeTree minimal, int minLength) emit() argument [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | FieldMaskTree.cs | 43 /// a field path in the FieldMask.</para> 91 /// Adds a field path to the tree. In a FieldMask, every field path matches the 92 /// specified field as well as all its sub-fields. For example, a field path 94 /// a field path to the tree, redundant sub-paths will be removed. That is, 97 /// Likewise, if the field path to add is a sub-path of an existing leaf node, 100 public FieldMaskTree AddFieldPath(string path) in AddFieldPath() argument 102 var parts = path.Split(FIELD_PATH_SEPARATOR); in AddFieldPath() 114 // Check whether the path matche in AddFieldPath() 170 GetFieldPaths(Node node, string path, List<string> paths) GetFieldPaths() argument 188 IntersectFieldPath(string path, FieldMaskTree output) IntersectFieldPath() argument 249 Merge( Node node, string path, IMessage source, IMessage destination, FieldMask.MergeOptions options) Merge() argument [all...] |
/third_party/python/Lib/idlelib/ |
H A D | browser.py | 29 def is_browseable_extension(path): 30 _, ext = os.path.splitext(path) 31 ext = os.path.normcase(ext) 74 def __init__(self, master, path, *, _htest=False, _utest=False): 79 path: full path of file to browse. 88 file: Full path and module with supported extension. 93 self.path = path [all...] |
/third_party/skia/gm/ |
H A D | arcto.cpp | 37 <path d="M 50,100 A50,50, 0,0,1, 150,200" style="stroke:#660000; fill:none; stroke-width:2" /> 38 <path d="M100,100 A50,100, 0,0,1, 200,200" style="stroke:#660000; fill:none; stroke-width:2" /> 39 <path d="M150,100 A50,50, 45,0,1, 250,200" style="stroke:#660000; fill:none; stroke-width:2" /> 40 <path d="M200,100 A50,100, 45,0,1, 300,200" style="stroke:#660000; fill:none; stroke-width:2" /> 42 <path d="M150,200 A50,50, 0,1,0, 150,300" style="stroke:#660000; fill:none; stroke-width:2" /> 43 <path d="M200,200 A50,100, 0,1,0, 200,300" style="stroke:#660000; fill:none; stroke-width:2" /> 44 <path d="M250,200 A50,50, 45,1,0, 250,300" style="stroke:#660000; fill:none; stroke-width:2" /> 45 <path d="M300,200 A50,100, 45,1,0, 300,300" style="stroke:#660000; fill:none; stroke-width:2" /> 47 <path d="M250,400 A120,80 0 0,0 250,500" 50 <path 106 SkPath path; DEF_SIMPLE_GM() local 114 SkPathBuilder path; DEF_SIMPLE_GM() local 156 SkPath path; DEF_SIMPLE_GM() local 223 SkPath path; DEF_SIMPLE_GM() local [all...] |
/third_party/node/tools/gyp/pylib/gyp/generator/ |
H A D | msvs.py | 138 """Normalize the path. 144 source: The path to be normalize.d 147 The normalized path. 149 normalized = os.path.normpath(source) 155 def _FixPath(path, separator="\\"): 159 path: The path to convert, may contain / etc. 161 The path with all slashes made into backslashes. 165 and path 166 and not os.path [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
H A D | msvs.py | 138 """Normalize the path. 144 source: The path to be normalize.d 147 The normalized path. 149 normalized = os.path.normpath(source) 155 def _FixPath(path, separator="\\"): 159 path: The path to convert, may contain / etc. 161 The path with all slashes made into backslashes. 165 and path 166 and not os.path [all...] |
/third_party/NuttX/fs/vfs/ |
H A D | fs_symlink.c | 36 int follow_symlink(int dirfd, const char *path, struct Vnode **vnode, char **fullpath)
in follow_symlink() argument 40 char *pathname = (char *)path;
in follow_symlink() 43 if (path == NULL) {
in follow_symlink() 93 int do_symlink(const char *target, int newfd, const char *path)
in do_symlink() argument 102 if (!path)
in do_symlink() 108 if (*path == '\0')
in do_symlink() 120 ret = vfs_normalize_pathat(newfd, path, &fullpath);
in do_symlink() 171 int symlink(const char *target, const char *path)
in symlink() argument 173 return do_symlink(target, AT_FDCWD, path);
in symlink() 176 int symlinkat(const char *target, int newdirfd, const char *path)
in symlinkat() argument [all...] |
/third_party/json/docs/docset/ |
H A D | Makefile | 30 */index.md) path=$${page/\/index.md/} ;; \ 31 *) path=$${page/.md/} ;; \ 33 title=$$(sqlite3 docSet.dsidx "SELECT name FROM searchIndex WHERE path='$$path/index.html'" | tr '\n' ',' | $(SED) -e 's/,/, /g' -e 's/, $$/\n/'); \ 35 $(SED) -i "s%<title>.*</title>%<title>$$title</title>%" "JSON_for_Modern_C++.docset/Contents/Resources/Documents/$$path/index.html"; \ 59 */index.md) path=$${page/\/index.md/} ;; \ 60 *) path=$${page/.md/} ;; \ 62 if [ "x$$page" != "xindex.md" -a "x$$(sqlite3 docSet.dsidx "SELECT COUNT(*) FROM searchIndex WHERE path='$$path/index.html'")" = "x0" ]; then \ 70 @for path i [all...] |