/third_party/node/test/parallel/ |
H A D | test-crypto-fips.js | 9 const path = require('path'); 22 const CNF_FIPS_ON = fixtures.path('openssl_fips_enabled.cnf'); 23 const CNF_FIPS_OFF = fixtures.path('openssl_fips_disabled.cnf'); 34 cwd: path.dirname(process.execPath), 55 // Normal path where we expect either FIPS enabled or disabled.
|
H A D | test-net-connect-options-fd.js | 9 const path = require('path'); 37 // Use relative path to avoid hitting 108-char length limit 39 const prefix = path.relative('.', `${common.PIPE}-net-connect-options-fd`); 75 .listen({ path: serverPath }, common.mustCall(function serverOnListen() { 86 path: serverPath
|
H A D | test-trace-events-api.js | 15 const path = require('path'); 133 process.chdir(tmpdir.path); 150 const file = path.join(tmpdir.path, 'node_trace.1.log');
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | ninja_syntax.py | 106 def include(self, path): 107 self._line("include %s" % path) 109 def subninja(self, path): 110 self._line("subninja %s" % path)
|
/third_party/ninja/misc/ |
H A D | output_test.py | 19 NINJA_PATH = os.path.abspath('./ninja') 23 with open(os.path.join(d, 'build.ninja'), 'w') as f: 132 with open(os.path.join(d, 'build.ninja'), 'w'): 135 with open(os.path.join(d, '.ninja_log'), 'w') as f:
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | ninja_syntax.py | 106 def include(self, path): 107 self._line("include %s" % path) 109 def subninja(self, path): 110 self._line("subninja %s" % path)
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify23.c | 46 static void fsync_file(const char *path) in fsync_file() argument 48 int fd = SAFE_OPEN(path, O_RDONLY); in fsync_file() 61 static int verify_mark_removed(const char *path, const char *when) in verify_mark_removed() argument 71 FAN_ACCESS, AT_FDCWD, path); in verify_mark_removed()
|
/third_party/ltp/testcases/kernel/syscalls/preadv2/ |
H A D | preadv203.c | 242 char path[1024]; in setup() local 248 snprintf(path, sizeof(path), MNTPOINT"/file_%i", i); in setup() 250 fds[i] = SAFE_OPEN(path, O_RDWR | O_CREAT, 0644); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/utils/ |
H A D | compat_16.h | 159 int LCHOWN(void (cleanup)(void), const char *path, UID_T owner, GID_T group) in LCHOWN() argument 161 LTP_CREATE_SYSCALL(lchown, cleanup, path, owner, group); in LCHOWN() 164 int CHOWN(void (cleanup)(void), const char *path, UID_T owner, GID_T group) in CHOWN() argument 166 LTP_CREATE_SYSCALL(chown, cleanup, path, owner, group); in CHOWN()
|
/third_party/python/Tools/c-analyzer/c_parser/ |
H A D | datafiles.py | 1 import os.path namespace 69 _, ext = os.path.splitext(filename) 87 relroot = os.path.abspath(relroot) 99 relroot = os.path.abspath(relroot)
|
/third_party/python/Lib/distutils/command/ |
H A D | install_lib.py | 110 if os.path.isdir(self.build_dir): 154 outputs.append(os.path.join(output_dir, file[prefix_len:])) 164 ext = os.path.splitext(os.path.normcase(py_file))[1]
|
/third_party/skia/third_party/externals/angle2/samples/sample_util/ |
H A D | tga_utils.cpp | 50 bool LoadTGAImageFromFile(const std::string &path, TGAImage *image) in LoadTGAImageFromFile() argument 52 std::ifstream stream(path, std::ios::binary); in LoadTGAImageFromFile() 55 std::cerr << "error opening tga file " << path << " for reading.\n"; in LoadTGAImageFromFile() local 99 std::cout << "loaded image " << path << ".\n"; in LoadTGAImageFromFile() local
|
/third_party/skia/src/core/ |
H A D | SkMiniRecorder.cpp | 40 return op.path.isInverseFillType() ? SkRectPriv::MakeLargest() in bounds() 41 : adjust_for_paint(op.path.getBounds(), op.paint); in bounds() 88 bool SkMiniRecorder::drawPath(const SkPath& path, const SkPaint& paint) { in drawPath() argument 89 TRY_TO_STORE(DrawPath, paint, path); in drawPath()
|
/third_party/skia/src/utils/win/ |
H A D | SkDWriteGeometrySink.cpp | 19 SkDWriteGeometrySink::SkDWriteGeometrySink(SkPath* path) in SkDWriteGeometrySink() argument 20 : fRefCount{1}, fPath{path}, fStarted{false}, fCurrent{0,0} {} in SkDWriteGeometrySink() 150 HRESULT SkDWriteGeometrySink::Create(SkPath* path, IDWriteGeometrySink** geometryToPath) { in Create() argument 151 *geometryToPath = new SkDWriteGeometrySink(path); in Create()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | SystemUtils.cpp | 99 std::array<char, PATH_MAX> path; in GetExecutablePath() local 100 ssize_t result = readlink("/proc/self/exe", path.data(), PATH_MAX - 1); in GetExecutablePath() 105 path[result] = '\0'; in GetExecutablePath() 106 return path.data(); in GetExecutablePath()
|
/third_party/skia/third_party/externals/brotli/ |
H A D | setup.py | 23 CURR_DIR = os.path.abspath(os.path.dirname(os.path.realpath(__file__))) 28 version_file_path = os.path.join(CURR_DIR, 'c', 'common', 'version.h')
|
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/text-rendering-tests/ |
H A D | update.py | 66 os.chdir (os.getenv ('srcdir', os.path.dirname (__file__))) 71 if os.path.isdir ('./text-rendering-tests'): 77 assert not os.path.exists ('fonts') 82 assert not os.path.isdir('tests')
|
/third_party/python/Modules/_io/clinic/ |
H A D | _iomodule.c.h | 12 "file is either a text or byte string giving the name (and the path\n" 318 "open_code($module, /, path)\n" 324 "with calling open(path, \'rb\')."); 330 _io_open_code_impl(PyObject *module, PyObject *path); 336 static const char * const _keywords[] = {"path", NULL}; in _io_open_code() 339 PyObject *path; in _io_open_code() local 346 _PyArg_BadArgument("open_code", "argument 'path'", "str", args[0]); in _io_open_code() 352 path = args[0]; in _io_open_code() 353 return_value = _io_open_code_impl(module, path); in _io_open_code()
|
/third_party/skia/tools/gpu/ |
H A D | MemoryCache.cpp | 65 void MemoryCache::writeShadersToDisk(const char* path, GrBackendApi api) { in writeShadersToDisk() argument 108 SkString filename = SkStringPrintf("%s/%s.%s", path, md5.c_str(), ext); in writeShadersToDisk() 115 SkString filename = SkStringPrintf("%s/%s.%s", path, md5.c_str(), ext); in writeShadersToDisk() 123 SkString filename = SkStringPrintf("%s/%s.%s", path, md5.c_str(), ext); in writeShadersToDisk()
|
/third_party/vixl/tools/ |
H A D | generate_simulator_traces.py | 113 default=os.path.join(root, 'obj/latest/test/test-runner'), 136 root_dir = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0])))
|
/third_party/python/Lib/test/test_importlib/import_/ |
H A D | test_meta_path.py | 29 first.find_spec = lambda self, fullname, path=None, parent=None: None 56 """If there is no __path__ entry on the parent module, then 'path' is None 57 [no path]. Otherwise, the value for __path__ is passed in for the 'path' 58 argument [path set].""" 69 # [no path] 84 # [path set] 87 path = [42] 90 importer.modules[pkg_name].__path__ = path 101 self.assertIs(args[1], path) [all...] |
/third_party/python/Lib/ |
H A D | zipapp.py | 187 if not os.path.isfile(args.source): 193 if os.path.isfile(args.source): 194 if args.output is None or (os.path.exists(args.output) and 195 os.path.samefile(args.source, args.output)):
|
/third_party/skia/experimental/xps_to_png/ |
H A D | xps_to_png.cs | 23 static void convert(double dpi, string path, string out_path) { in convert() argument 27 path, System.IO.FileAccess.Read); in convert() 72 static void try_convert(double dpi, string path, string out_path) { in try_convert() argument 74 convert(dpi, path, out_path); in try_convert()
|
/third_party/skia/gm/ |
H A D | widebuttcaps.cpp | 25 static void draw_strokes(SkCanvas* canvas, SkRandom* rand, const SkPath& path, in draw_strokes() argument 35 canvas->drawPath(path, strokePaint); in draw_strokes() 40 canvas->drawPath(path, strokePaint); in draw_strokes() 45 canvas->drawPath(path, strokePaint); in draw_strokes() 115 // Only allow the tessellation path renderer.
|
/third_party/skia/modules/skottie/src/layers/ |
H A D | FootageLayer.cpp | 81 const skjson::StringValue* path = jimage["u"]; in loadFootageAsset() local 83 if (!name || !path || !id) { in loadFootageAsset() 92 auto asset = fResourceProvider->loadImageAsset(path->begin(), name->begin(), id->begin()); in loadFootageAsset() 95 path->begin(), name->begin(), id->begin()); in loadFootageAsset()
|