| /third_party/python/Tools/scripts/ |
| H A D | generate_stdlib_module_names.py | 4 import os.path namespace 11 SRC_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__))) 12 STDLIB_PATH = os.path.join(SRC_DIR, 'Lib') 13 MODULES_SETUP = os.path.join(SRC_DIR, 'Modules', 'Setup') 14 SETUP_PY = os.path.join(SRC_DIR, 'setup.py') 77 package_path = os.path.join(STDLIB_PATH, name) 78 if not os.path.isdir(package_path):
|
| /third_party/protobuf/java/compatibility_tests/v2.5.0/ |
| H A D | test.sh | 60 -Dprotobuf.test.source.path=$(pwd)/protobuf \ 61 -Dprotoc.path=$(pwd)/protoc \ 62 -Dprotos.protoc.path=$(pwd)/../../../src/protoc \ 69 -Dprotobuf.test.source.path=$(pwd)/protobuf \ 70 -Dprotoc.path=$(pwd)/protoc \ 71 -Dmore_protos.protoc.path=$(pwd)/../../../src/protoc \ 86 $MVN clean install -Dmaven.test.skip=true -Dprotoc.path=$(pwd)/protoc -Dprotobuf.version=$OLD_VERSION 103 $MVN clean package -Dmaven.test.skip=true -Dprotoc.path=$(pwd)/../../../../src/protoc -Dprotobuf.version=$VERSION_NUMBER 111 $MVN clean package -Dmaven.test.skip=true -Dprotoc.path=$(pwd)/../../../../src/protoc -Dprotobuf.version=$VERSION_NUMBER
|
| /third_party/pulseaudio/src/modules/bluetooth/ |
| H A D | module-bluez5-discover.c | 75 module_loaded = pa_hashmap_get(u->loaded_device_paths, d->path) ? true : false; in device_connection_changed_cb() 81 pa_log_debug("Unregistering module for %s", d->path); in device_connection_changed_cb() 82 pa_hashmap_remove(u->loaded_device_paths, d->path); in device_connection_changed_cb() 89 char *args = pa_sprintf_malloc("path=%s autodetect_mtu=%i output_rate_refresh_interval_ms=%u" in device_connection_changed_cb() 91 d->path, in device_connection_changed_cb() 101 /* No need to duplicate the path here since the device object will in device_connection_changed_cb() 103 pa_hashmap_put(u->loaded_device_paths, d->path, d->path); in device_connection_changed_cb() 105 pa_log_warn("Failed to load module for device %s", d->path); in device_connection_changed_cb()
|
| /third_party/python/Lib/distutils/tests/ |
| H A D | test_bdist_rpm.py | 52 # import foo fails with safe path 54 'PYTHONSAFEPATH changes default sys.path') 59 pkg_dir = os.path.join(tmp_dir, 'foo') 82 dist_created = os.listdir(os.path.join(pkg_dir, 'dist')) 99 # import foo fails with safe path 101 'PYTHONSAFEPATH changes default sys.path') 106 pkg_dir = os.path.join(tmp_dir, 'foo') 128 dist_created = os.listdir(os.path.join(pkg_dir, 'dist')) 135 os.remove(os.path.join(pkg_dir, 'dist', 'foo-0.1-1.noarch.rpm'))
|
| /third_party/python/Include/internal/ |
| H A D | pycore_fileutils.h | 94 PyObject *path, 106 const wchar_t *path, 126 const wchar_t *path, 135 const wchar_t *path, 236 extern int _Py_isabs(const wchar_t *path); 237 extern int _Py_abspath(const wchar_t *path, wchar_t **abspath_p); 239 extern int _PyOS_getfullpathname(const wchar_t *path, wchar_t **abspath_p); 247 PyAPI_FUNC(wchar_t*) _Py_normpath(wchar_t *path, Py_ssize_t size); 248 extern wchar_t *_Py_normpath_and_size(wchar_t *path, Py_ssize_t size, Py_ssize_t *length);
|
| /third_party/skia/third_party/externals/angle2/src/common/ |
| H A D | gen_packed_gl_enums.py | 42 def load_enums(path): 43 with open(path) as map_file: 63 def generate_include_guard(path): 64 return path.replace(".", "_").upper() 67 def header_name_from_cpp_name(path): 68 return path.replace(".cpp", ".h") 264 path_prefix = os.path.dirname(os.path.realpath(__file__)) + os.path.sep
|
| /third_party/skia/third_party/externals/angle2/src/compiler/ |
| H A D | generate_parser_tools.py | 20 exe_path = os.path.join(sys.path[0], '..', '..', '..', 'tools', 'flex-bison', platform) 22 return os.path.join(exe_path, tool_name) 65 process = subprocess.Popen(flex_args, env=flex_env, cwd=sys.path[0]) 117 process = subprocess.Popen(bison_args, env=bison_env, cwd=sys.path[0]) 124 return [os.path.join(sys.path[0], f) for f in files] 130 return [os.path.join(sys.path[0], f) for f in files]
|
| /third_party/skia/src/gpu/ |
| H A D | GrSWMaskHelper.cpp | 70 * Draw a single path element of the clip stack into the accumulation bitmap 83 SkPath path; in drawShape() local 84 shape.asPath(&path); in drawShape() 87 fDraw.drawPathCoverage(path, paint); in drawShape() 89 fDraw.drawPath(path, paint); in drawShape() 121 SkPath path; in drawShape() local 122 shape.asPath(&path); in drawShape() 125 fDraw.drawPathCoverage(path, paint); in drawShape() 127 fDraw.drawPath(path, paint); in drawShape()
|
| /third_party/skia/src/gpu/tessellate/ |
| H A D | PathTessellator.h | 30 // Prepares GPU data for, and then draws a path's tessellated geometry. Depending on the subclass, 31 // the caller may or may not be required to draw the path's inner fan separately. 41 const SkPath& path, in PathDrawList() 44 : fPathMatrix(pathMatrix), fPath(path), fColor(color), fNext(next) {} in PathDrawList() 68 // whole path will fit into this initial buffer, but if it requires a lot of chopping, the 75 // Each path's fPathMatrix in the list is applied on the CPU while the geometry is being written 122 // Path fans might have an extra edge from an implicit kClose at the end, but they also in MaxCombinedFanEdgesInPathDrawList() 123 // always begin with kMove. So the max possible number of edges in a single path is equal to in MaxCombinedFanEdgesInPathDrawList() 125 // the number of combined path verbs in that PathDrawList. in MaxCombinedFanEdgesInPathDrawList()
|
| /third_party/skia/third_party/externals/icu/source/extra/uconv/ |
| H A D | makedata.mak | 35 #Let's see if user has given us a path to ICU 36 #This could be found according to the path to makefile, but for now it is this way 38 !ERROR Can't find path! 40 !MESSAGE ICU path is $(ICUP) 55 # Note: This is similar to the TOOLS CFG PATH in source\data\makedata.mak 58 PATH = $(ICUP)\bin64;$(PATH) macro 61 PATH = $(ICUP)\bin;$(PATH) macro
|
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| H A D | collationfcd.h | 26 * Data and functions for the FCD check fast path. 28 * The fast path looks at a pair of 16-bit code units and checks 33 * When the fast path finds a possible non-boundary, 34 * then the FCD check slow path looks at the actual sequence of FCD values. 37 * The fast path must at least find all possible non-boundaries. 38 * If the fast path is too pessimistic, it costs performance. 40 * For a pair of BMP characters, the fast path tests are precise (1 bit per character). 46 * As a result, we leave the fast path if the lead surrogate might start a 48 * (So the fast path need not detect that there is a surrogate pair,
|
| /third_party/python/Lib/test/libregrtest/ |
| H A D | setup.py | 48 # Prepend test directory to sys.path, so runtest() will be able 50 sys.path.insert(0, os.path.abspath(ns.testdir)) 55 # These modules are searched first in sys.path[0] (so '' -- the CWD) and if 58 # not found in the CWD, and since the other paths in sys.path[1:] are absolute 64 for index, path in enumerate(module.__path__): 65 module.__path__[index] = os.path.abspath(path) 67 module.__file__ = os.path.abspath(module.__file__)
|
| /third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/ |
| H A D | util.cc | 26 bool WriteBinary(const std::string& path, const uint8_t* data, size_t size) { in WriteBinary() argument 27 std::ofstream spv(path, std::ios::binary); in WriteBinary() 35 const std::string* path, in LogError() 41 if (path) { in LogError() 42 auto prefix = *path + std::to_string(index); in LogError() 119 bool ReadBinary(const std::string& path, std::vector<uint32_t>* out) { in ReadBinary() argument 124 std::ifstream file(path, std::ios::binary | std::ios::ate); in ReadBinary() 149 bool WriteBinary(const std::string& path, const std::vector<uint32_t>& binary) { in WriteBinary() argument 150 return WriteBinary(path, reinterpret_cast<const uint8_t*>(binary.data()), in WriteBinary() 32 LogError(uint32_t index, const std::string& type, const std::string& message, const std::string* path, const uint8_t* data, size_t size, const std::string* wgsl) LogError() argument
|
| /third_party/skia/third_party/externals/tint/kokoro/windows/ |
| H A D | build.bat | 72 set PATH=%TEMP_DIR%\dxc\bin;%PATH%
variable 83 set PATH=%TEMP_DIR%\depot_tools;%PATH%
variable 114 rem Add Python3 to path as this Kokoro image only has Python2 in it
115 set PATH=C:\Python37;%PATH%
variable 128 set PATH=C:\Program Files\Metal Developer Tools\macos\bin;%PATH%
variable
|
| /third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/ |
| H A D | main.go | 25 "path/filepath" 105 // relpath is a path relative to the template 134 // writes content to path if the file has changed 135 func writeFileIfChanged(path, content string) error { 136 existing, err := ioutil.ReadFile(path) 140 if err := os.MkdirAll(filepath.Dir(path), 0777); err != nil { 141 return fmt.Errorf("failed to create directory for '%v': %w", path, err) 143 if err := ioutil.WriteFile(path, []byte(content), 0666); err != nil { 144 return fmt.Errorf("failed to write file '%v': %w", path, err)
|
| /third_party/skia/third_party/externals/zlib/google/ |
| H A D | zip_writer.cc | 30 DLOG(ERROR) << "Could not write data to zip for path " in AddFileContentToZip() 41 const base::FilePath& path, in OpenNewFileEntry() 44 std::string str_path = path.AsUTF8Unsafe(); in OpenNewFileEntry() 59 const base::FilePath& path, in AddFileEntryToZip() 65 if (!OpenNewFileEntry(zip_file, path, /*is_directory=*/false, in AddFileEntryToZip() 69 bool success = AddFileContentToZip(zip_file, std::move(file), path); in AddFileEntryToZip() 77 const base::FilePath& path, in AddDirectoryEntryToZip() 79 return OpenNewFileEntry(zip_file, path, /*is_directory=*/true, in AddDirectoryEntryToZip() 113 DLOG(ERROR) << "Couldn't create ZIP file at path " << zip_file_path; in Create() 40 OpenNewFileEntry(zipFile zip_file, const base::FilePath& path, bool is_directory, base::Time last_modified) OpenNewFileEntry() argument 58 AddFileEntryToZip(zipFile zip_file, const base::FilePath& path, base::File file) AddFileEntryToZip() argument 76 AddDirectoryEntryToZip(zipFile zip_file, const base::FilePath& path, base::Time last_modified) AddDirectoryEntryToZip() argument
|
| /third_party/skia/tools/fonts/ |
| H A D | RandomScalerContext.cpp | 69 SkPath path; in generateMetrics() local 70 if (!fProxy->getPath(glyph->getPackedID(), &path)) { in generateMetrics() 78 paint.doComputeFastBounds(path.getBounds(), &storage, SkPaint::kFill_Style); in generateMetrics() 110 // If the format is ARGB, just draw the glyph from path. in generateImage() 111 SkPath path; in generateImage() local 112 if (!fProxy->getPath(glyph.getPackedID(), &path)) { in generateImage() 125 canvas.drawPath(path, this->getRandomTypeface()->paint()); in generateImage() 128 bool RandomScalerContext::generatePath(SkGlyphID glyph, SkPath* path) { in generatePath() argument 129 return fProxy->generatePath(glyph, path); in generatePath()
|
| /third_party/typescript/src/linter/ArkTSLinter_1_0/ |
| H A D | LinterRunner.ts | 114 function collectChangedFilesFromProgramState(state: ReusableBuilderProgramState, arkTSVersion?: string): Set<Path> { 115 const changedFiles = new Set<Path>(state.changedFilesSet); 120 return new Set<Path>(arrayFrom(state.fileInfos.keys())); 128 return new Set<Path>(arrayFrom(state.fileInfos.keys())); 136 const seenPaths = new Set<Path>(); 139 const path = queue.pop()!; 140 if (!seenPaths.has(path)) { 141 seenPaths.add(path); 144 queue.push(...BuilderState.getReferencedByPaths(state, path));
|
| /third_party/typescript/src/testRunner/unittests/services/extract/ |
| H A D | helpers.ts | 90 const path = "/a" + extension;
91 const { program } = makeProgram({ path, content: t.source }, includeLib);
99 const sourceFile = program.getSourceFile(path)!;
126 const { program: diagProgram } = makeProgram({ path, content: newText }, includeLib);
132 function makeProgram(f: {path: string, content: string }, includeLib?: boolean) {
135 projectService.openClientFile(f.path);
155 path: "/a.ts",
160 projectService.openClientFile(f.path);
162 const sourceFile = program.getSourceFile(f.path)!;
|
| /third_party/typescript/tests/baselines/reference/ |
| H A D | typeGuardOfFormThisMemberErrors.symbols | 39 constructor(public path: string) {}
40 >path : Symbol(FileSystemObject.path, Decl(typeGuardOfFormThisMemberErrors.ts, 14, 14))
47 constructor(path: string, public content: string) { super(path); }
48 >path : Symbol(path, Decl(typeGuardOfFormThisMemberErrors.ts, 18, 14))
51 >path : Symbol(path, Decl(typeGuardOfFormThisMemberErrors.ts, 18, 14))
|
| /third_party/python/PC/icons/ |
| H A D | python.svg | 1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><style>.icon-canvas-transparent{opacity:0;fill:#f6f6f6}.icon-white{fill:#fff}.icon-vso-bg{fill:#656565}.icon-visualstudio-online{fill:#007acc}.icon-vs-bg{fill:#424242}.icon-vs-green{fill:#393}.st0{fill:url(#path1948_1_)}.st1{fill:url(#path1950_1_)}</style><path class="icon-canvas-transparent" d="M32 32H0V0h32v32z" id="canvas"/><g id="iconBg"><path class="icon-visualstudio-online" d="M30 4H2V2h28v2z"/><path class="icon-vso-bg" d="M29 4v21H3V4H2v22h28V4z"/><path class="icon-vs-bg" d="M10 4H3v21h26V4z"/></g><g id="iconFg"><path class="icon-white" d="M29.141 3l.429.429-.14.142-.43-.43-.43.43-.14-.142.429-.429-.429-.429.141-.142.429.43.43-.43.141.142-.43.429zM27.6 2.4h-1.2v1.2h1.2V2.4zm-1 .2h.8v.8h-.8v-.8zm-1.139.8h-1v.2h1v-.2z"/><path class="icon-vs-green" d="M16 14H5v-1h11.031c-.014.044-.031 1-.031 1zm-4-5H5v1h7V9zm-7 8v1h8v-1H5z"/></g><g id="colorImportance"><path class="icon-white" d="M31.596 24.063C31.246 25.116 30.595 27 28.349 27H27v1.313c0 .905-.368 2.537-2.996 3.298-.904.261-1.728.389-2.566.389-.83 0-1.597-.128-2.492-.392C17.029 31.045 16 29.844 16 28.313V27h-1.297c-1.698 0-2.943-1.141-3.416-3.11-.469-1.946-.469-3.021 0-4.967.451-1.881 1.96-2.923 3.845-2.923H16v-1.697c0-2.005.834-2.845 3.054-3.238.728-.128 1.474-.065 2.296-.065h.003c.921 0 1.735-.07 2.537.064 1.816.303 3.11 1.585 3.11 3.24V16h1.349c1.142 0 2.636.356 3.27 2.912.515 2.072.509 3.558-.023 5.151z"/><linearGradient id="path1948_1_" gradientUnits="userSpaceOnUse" x1="522.205" y1="-288.668" x2="540.902" y2="-304.754" gradientTransform="matrix(.5625 0 0 -.568 -282.272 -151.69)"><stop offset="0" stop-color="#5a9fd4"/><stop offset="1" stop-color="#306998"/></linearGradient><path id="path1948_3_" class="st0" d="M21.354 11.725c-.786.004-1.537.071-2.197.188-1.946.344-2.299 1.063-2.299 2.39v1.753h4.598v.584h-6.324c-1.336 0-2.507.803-2.873 2.331-.422 1.751-.441 2.844 0 4.673.327 1.361 1.107 2.331 2.444 2.331h1.581v-2.101c0-1.518 1.313-2.857 2.873-2.857h4.593c1.279 0 2.299-1.053 2.299-2.337v-4.379c0-1.246-1.051-2.182-2.299-2.39-.79-.13-1.61-.189-2.396-.186zm-2.486 1.41c.475 0 .863.394.863.879a.87.87 0 0 1-.863.874.868.868 0 0 1-.863-.874c0-.485.386-.879.863-.879z"/><linearGradient id="path1950_1_" gradientUnits="userSpaceOnUse" x1="548.13" y1="-314.489" x2="541.454" y2="-305.043" gradientTransform="matrix(.5625 0 0 -.568 -282.272 -151.69)"><stop offset="0" stop-color="#ffd43b"/><stop offset="1" stop-color="#ffe873"/></linearGradient><path id="path1950_3_" class="st1" d="M26.623 16.64v2.042c0 1.583-1.342 2.915-2.873 2.915h-4.593c-1.258 (…)
|
| H A D | setup.svg | 1 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><style>.icon-canvas-transparent{opacity:0;fill:#f6f6f6}.icon-visualstudio-online{fill:#007acc}.icon-disabled-grey{fill:#848484}.icon-white{fill:#fff}.st0{fill:#f0eff1}.st1{fill:#424242}.st2{fill:url(#path1948_1_)}.st3{fill:url(#path1950_1_)}</style><path class="icon-canvas-transparent" d="M32 32H0V0h32v32z" id="canvas"/><g id="iconBg"><path class="st0" d="M18 8v10H1V8h17zm-1.191 15.572a1.004 1.004 0 0 0-.903-.572H2.907c-.385 0-.74.225-.903.572L.886 25.928A.748.748 0 0 0 1.563 27H17.25a.748.748 0 0 0 .677-1.072l-1.118-2.356z"/><path class="icon-disabled-grey" d="M17.927 25.929l-1.118-2.356a1.003 1.003 0 0 0-.903-.573H2.907c-.385 0-.74.225-.903.572L.886 25.928A.748.748 0 0 0 1.563 27H17.25a.747.747 0 0 0 .633-.349.746.746 0 0 0 .044-.722zM1.959 26l.949-2h12.998l.949 2H1.959zM6 22v-1h3v-2h1v2h3v1H6z"/><path class="st1" d="M0 7v12h19V7H0zm18 11H1V8h17v10z"/></g><g id="iconFg"><path class="icon-white" d="M12 6V0H7v6H2.755L9.5 13.495 16.245 6z"/><path class="icon-visualstudio-online" d="M8 4h3v3h3l-4.5 5L5 7h3V4zm3-2H8v1h3V2zm0-2H8v1h3V0z"/></g><g id="colorImportance"><path class="icon-white" d="M31.596 24.063C31.246 25.116 30.595 27 28.349 27H27v1.313c0 .905-.368 2.537-2.997 3.298-.903.261-1.727.389-2.565.389-.83 0-1.597-.128-2.493-.392C17.029 31.045 16 29.844 16 28.313V27h-1.296c-1.698 0-2.944-1.141-3.417-3.11-.469-1.944-.469-3.02 0-4.967.451-1.881 1.961-2.923 3.845-2.923H16v-1.697c0-2.005.834-2.845 3.054-3.238.728-.128 1.474-.065 2.296-.065h.003c.921 0 1.735-.07 2.537.064 1.816.303 3.11 1.585 3.11 3.24V16h1.349c1.142 0 2.636.356 3.27 2.912.515 2.072.509 3.559-.023 5.151z"/><linearGradient id="path1948_1_" gradientUnits="userSpaceOnUse" x1="522.205" y1="-288.668" x2="540.902" y2="-304.754" gradientTransform="matrix(.5625 0 0 -.568 -282.272 -151.69)"><stop offset="0" stop-color="#5a9fd4"/><stop offset="1" stop-color="#306998"/></linearGradient><path id="path1948_9_" class="st2" d="M21.354 11.725c-.786.004-1.537.071-2.197.188-1.946.344-2.299 1.063-2.299 2.39v1.753h4.598v.584h-6.324c-1.336 0-2.507.803-2.873 2.331-.422 1.751-.441 2.844 0 4.673.327 1.361 1.108 2.331 2.444 2.331h1.581v-2.101c0-1.518 1.313-2.857 2.873-2.857h4.593c1.279 0 2.299-1.053 2.299-2.337v-4.379c0-1.246-1.051-2.182-2.299-2.39-.79-.13-1.61-.189-2.396-.186zm-2.486 1.41c.475 0 .863.394.863.879a.87.87 0 0 1-.863.874.868.868 0 0 1-.863-.874c0-.485.386-.879.863-.879z"/><linearGradient id="path1950_1_" gradientUnits="userSpaceOnUse" x1="548.13" y1="-314.489" x2="541.454" y2="-305.043" gradientTransform="matrix(.5625 0 0 -.568 -282.272 -151.69)"><stop offset="0" stop-color="#ffd43b"/><stop offset="1" stop-color="#ffe873"/></linearGradient><path id="path1950_9_" class="st3" d="M26.623 16.64v2.042c0 1.583-1.342 2.915-2.873 2.915h-4.593c-1.258 (…)
|
| /third_party/rust/crates/clap/clap_complete/src/shells/ |
| H A D | shell.rs | 2 use std::path::Path; 95 /// Parse a shell from a path to the executable for the shell 106 pub fn from_shell_path<P: AsRef<Path>>(path: P) -> Option<Shell> { in from_shell_path() 107 parse_shell_from_path(path.as_ref()) in from_shell_path() 145 fn parse_shell_from_path(path: &Path) -> Option<Shell> { in parse_shell_from_path() 146 let name = path.file_stem()?.to_str()?; in parse_shell_from_path()
|
| /third_party/skia/third_party/externals/abseil-cpp/ |
| H A D | roll_abseil.py | 67 params = ['rsync', '-aP', abseil_dir, os.path.join(chromium_dir, 'third_party'), '--delete'] 75 for patch in os.listdir(os.path.join(abseil_in_chromium_dir, 'patches')): 76 subprocess.check_call(['patch', '--strip', '1', '-i', os.path.join(abseil_in_chromium_dir, 'patches', patch)]) 78 os.remove(os.path.join(abseil_in_chromium_dir, 'absl', 'base', 'internal', 'thread_annotations.h')) 79 os.remove(os.path.join(abseil_in_chromium_dir, 'absl', 'base', 'internal', 'dynamic_annotations.h')) 101 abseil_in_chromium_dir = os.path.join(chromium_dir, 'third_party', 'abseil-cpp') 110 abseil_dir = os.path.join(abseil_root, 'abseil-cpp') 112 hash_diff = _UpdateChromiumReadme(os.path.join(abseil_in_chromium_dir, 'README.chromium'), 122 if os.getcwd().endswith('src') and os.path.exists('chrome/browser'):
|
| /third_party/skia/infra/bots/recipes/test_canvaskit.expected/ |
| H A D | Test-Debian10-EMCC-GCE-GPU-WEBGL1-wasm-Debug-All-CanvasKit.json | 8 "/path/to/tmp/json", 41 "/path/to/tmp/json", 95 "/path/to/tmp/json", 113 "/path/to/tmp/json", 142 "/path/to/tmp/json", 160 "/path/to/tmp/json", 226 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 236 "/path/to/tmp/json",
|