/third_party/node/deps/v8/tools/ |
H A D | run_perf.py | 13 "path": <relative path chunks to perf resources and main file>, 52 specified, it is called after running the tests (with a path relative to the 53 suite level's path). It is expected to read the measurement's output text 62 "path": ["."], 82 "path": ["."], 90 "path": ["richards"], 95 "path": ["navier_stokes"], 101 Path pieces are concatenated. D8 is always run with the suite's path as cwd. 138 TOOLS_BASE = os.path [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | IntervalMap.h | 763 // path to get there from the root. 771 /// Entry - Each step in the path is a node pointer and an offset into that 789 /// path - The path entries, path[0] is the root node, path.back() is a leaf. 790 SmallVector<Entry, 4> path; 795 return *reinterpret_cast<NodeT*>(path[Level].node); 797 unsigned size(unsigned Level) const { return path[Level].size; } 798 unsigned offset(unsigned Level) const { return path[Leve [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | gopher.c | 45 static int gopher_connect(URLContext *h, const char *path) in gopher_connect() argument 49 if (!*path) return AVERROR(EINVAL); in gopher_connect() 50 switch (*++path) { in gopher_connect() 53 path = strchr(path, '/'); in gopher_connect() 54 if (!path) return AVERROR(EINVAL); in gopher_connect() 59 *path); in gopher_connect() 64 snprintf(buffer, sizeof(buffer), "%s\r\n", path); in gopher_connect() 82 char proto[10], hostname[1024], auth[1024], path[1024], buf[1024]; in gopher_open() local 90 hostname, sizeof(hostname), &port, path, sizeo in gopher_open() [all...] |
/third_party/glslang/StandAlone/ |
H A D | DirStackFileIncluder.h | 73 // - Makes its own copy of the path. 101 // Search for a valid "local" path based on combining the stack of include 113 std::string path = *it + '/' + headerName; in readLocalPath() local 114 std::replace(path.begin(), path.end(), '\\', '/'); in readLocalPath() 115 std::ifstream file(path, std::ios_base::binary | std::ios_base::ate); in readLocalPath() 117 directoryStack.push_back(getDirectory(path)); in readLocalPath() 118 includedFiles.insert(path); in readLocalPath() 119 return newIncludeResult(path, file, (int)file.tellg()); in readLocalPath() 126 // Search for a valid <system> path 134 newIncludeResult(const std::string& path, std::ifstream& file, int length) const newIncludeResult() argument [all...] |
/third_party/googletest/googletest/scripts/ |
H A D | fuse_gtest_files.py | 41 search path and linking with OUTPUT_DIR/gtest/gtest-all.cc. These 50 ./fuse_gtest_files.py path/to/unpacked/gtest fused_gtest 71 DEFAULT_GTEST_ROOT_DIR = os.path.join(os.path.dirname(__file__), '..') 92 relative_path is the file path relative to the given directory. 95 if not os.path.isfile(os.path.join(directory, relative_path)): 114 """Verifies that the given output file path is valid. 120 output_file = os.path.join(output_dir, relative_path) 121 if os.path [all...] |
/third_party/lzma/CPP/Windows/ |
H A D | DLL.cpp | 28 bool CLibrary::LoadEx(CFSTR path, DWORD flags) throw()
in LoadEx() argument 35 _module = ::LoadLibraryEx(fs2fas(path), NULL, flags);
in LoadEx() 40 _module = ::LoadLibraryExW(fs2us(path), NULL, flags);
in LoadEx() 45 bool CLibrary::Load(CFSTR path) throw()
in Load() argument 52 _module = ::LoadLibrary(fs2fas(path));
in Load() 57 _module = ::LoadLibraryW(fs2us(path));
in Load() 62 bool MyGetModuleFileName(FString &path)
in MyGetModuleFileName() argument 65 path.Empty();
in MyGetModuleFileName() 74 path = fas2fs(s);
in MyGetModuleFileName() 86 path in MyGetModuleFileName() 142 Load(CFSTR path) Load() argument [all...] |
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/tools/ |
H A D | run_one.py | 21 BASE_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 22 FOOZZIE = os.path.join(BASE_PATH, 'workdir', 'app_dir', 'v8_foozzie.py') 23 TEST_CASES = os.path.join(BASE_PATH, 'workdir', 'output') 25 assert os.path.exists(FOOZZIE) 38 test_dir = os.path.join(TEST_CASES, 'dir-%d' % dir_number) 39 assert os.path.exists(test_dir) 69 yield (os.path.join(test_dir, f), os.path [all...] |
/third_party/node/test/sequential/ |
H A D | test-diagnostic-dir-heap-prof.js | 12 const path = require('path'); 63 .map((file) => path.join(dir, file)); 69 const dir = path.join(tmpdir.path, 'prof'); 76 fixtures.path('workload', 'allocation.js'), 78 cwd: tmpdir.path, 94 const dir = path.join(tmpdir.path, 'diag'); 95 const dir2 = path [all...] |
/third_party/node/test/tools/ |
H A D | test_checkimports.py | 4 from os import path namespace 5 sys.path.append(path.abspath(path.join(path.dirname(__file__), 27 fixturesDir = path.join(path.dirname(__file__), '..', '..', 32 self.assertEqual(is_valid(path.join(self.fixturesDir, 'invalid.cc')), 46 self.assertEqual(is_valid(path.join(self.fixturesDir, 'maybe.cc')), 53 self.assertEqual(is_valid(path [all...] |
/third_party/node/deps/v8/tools/sanitizers/ |
H A D | sancov_formatter_test.py | 20 LOCATION = os.path.dirname(os.path.abspath(__file__)) 23 BASE_DIR = os.path.dirname(os.path.dirname(LOCATION)) 26 BUILD_DIR = os.path.join(BASE_DIR, 'out', 'Release') 62 '/path/to/d8', 63 '/path/to/cctest', 64 '/path/to/unittests', 140 os.path.join('src', 'baz', 'bar.h.json'), 150 os.path [all...] |
/third_party/ninja/src/ |
H A D | test.h | 37 /// Short way to get a Node by its path from state_.
38 Node* GetNode(const std::string& path);
55 void Create(const std::string& path, const std::string& contents);
64 virtual TimeStamp Stat(const std::string& path, std::string* err) const;
65 virtual bool WriteFile(const std::string& path, const std::string& contents);
66 virtual bool MakeDir(const std::string& path);
67 virtual Status ReadFile(const std::string& path, std::string* contents,
69 virtual int RemoveFile(const std::string& path);
102 /// A class that records a file path and ensures that it is removed
106 /// Constructor just records the file path 121 const std::string& path() const { return path_; } path() function [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | readlinkat.c | 28 int create_file(char *path) in create_file() argument 30 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in create_file() 55 char path[PATH_MAX] = {0}; in readlinkat_0100() local 56 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in readlinkat_0100() 57 int result = create_file(path); in readlinkat_0100() 67 result = symlink(path, linkpath); in readlinkat_0100() 85 if (strcmp(rbuf, path)) { in readlinkat_0100() 90 remove(path); in readlinkat_0100() 100 char path[PATH_MAX] = {0}; in readlinkat_0200() local 101 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in readlinkat_0200() [all...] |
/third_party/pulseaudio/src/daemon/ |
H A D | dumpmodules.c | 40 static void short_info(const char *name, const char *path, pa_modinfo *i) { in short_info() argument 47 static void long_info(const char *name, const char *path, pa_modinfo *i) { in long_info() argument 75 if (path) in long_info() 76 printf(_("Path: %s\n"), path); in long_info() 79 static void show_info(const char *name, const char *path, void (*info)(const char *name, const char *path, pa_modinfo*i)) { in show_info() argument 84 if ((i = pa_modinfo_get_by_name(path ? path : name))) { in show_info() 85 info(name, path, i); in show_info() 110 static int callback(const char *path, lt_pt argument [all...] |
/third_party/skia/samplecode/ |
H A D | SamplePathEffects.cpp | 33 SkPath path; in make_pe() local 34 path.moveTo(SkIntToScalar(gXY[0]), SkIntToScalar(gXY[1])); in make_pe() 36 path.lineTo(SkIntToScalar(gXY[i]), SkIntToScalar(gXY[i+1])); in make_pe() 37 path.close(); in make_pe() 38 path.offset(SkIntToScalar(-6), 0); in make_pe() 40 auto outer = SkPath1DPathEffect::Make(path, 12, phase, SkPath1DPathEffect::kRotate_Style); in make_pe() 51 SkPath path; in make_warp_pe() local 52 path.moveTo(SkIntToScalar(gXY[0]), SkIntToScalar(gXY[1])); in make_warp_pe() 54 path.lineTo(SkIntToScalar(gXY[i]), SkIntToScalar(gXY[i+1])); in make_warp_pe() 56 path in make_warp_pe() [all...] |
/third_party/skia/tests/ |
H A D | PathOpsSimplifyQuadThreadedTest.cpp | 38 SkPath path, out; in testSimplifyQuadsMain() local 39 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); in testSimplifyQuadsMain() 40 path.quadTo(SkIntToScalar(bx), SkIntToScalar(by), in testSimplifyQuadsMain() 42 path.lineTo(SkIntToScalar(dx), SkIntToScalar(dy)); in testSimplifyQuadsMain() 43 path.close(); in testSimplifyQuadsMain() 44 path.moveTo(SkIntToScalar(ex), SkIntToScalar(ey)); in testSimplifyQuadsMain() 45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyQuadsMain() 46 path.quadTo(SkIntToScalar(gx), SkIntToScalar(gy), in testSimplifyQuadsMain() 48 path.close(); in testSimplifyQuadsMain() 52 pathStr.appendf(" SkPath path;\ in testSimplifyQuadsMain() [all...] |
H A D | PathOpsSimplifyDegenerateThreadedTest.cpp | 34 SkPath path, out; in testSimplifyDegeneratesMain() local 35 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); in testSimplifyDegeneratesMain() 36 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by)); in testSimplifyDegeneratesMain() 37 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); in testSimplifyDegeneratesMain() 38 path.close(); in testSimplifyDegeneratesMain() 39 path.moveTo(SkIntToScalar(dx), SkIntToScalar(dy)); in testSimplifyDegeneratesMain() 40 path.lineTo(SkIntToScalar(ex), SkIntToScalar(ey)); in testSimplifyDegeneratesMain() 41 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyDegeneratesMain() 42 path.close(); in testSimplifyDegeneratesMain() 44 pathStr.appendf(" path in testSimplifyDegeneratesMain() [all...] |
H A D | PathOpsSimplifyTrianglesThreadedTest.cpp | 37 SkPath path, out; in testSimplifyTrianglesMain() local 38 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); in testSimplifyTrianglesMain() 39 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by)); in testSimplifyTrianglesMain() 40 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); in testSimplifyTrianglesMain() 41 path.close(); in testSimplifyTrianglesMain() 42 path.moveTo(SkIntToScalar(dx), SkIntToScalar(dy)); in testSimplifyTrianglesMain() 43 path.lineTo(SkIntToScalar(ex), SkIntToScalar(ey)); in testSimplifyTrianglesMain() 44 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyTrianglesMain() 45 path.close(); in testSimplifyTrianglesMain() 47 pathStr.appendf(" path in testSimplifyTrianglesMain() [all...] |
/third_party/skia/tools/ |
H A D | check-headers-self-sufficient | 92 for path in headers: 93 assert os.path.exists(path) 94 pool.apply_async(compile_header, args=(path, ), callback=print_and_exit_if) 104 skia_dir = os.path.join(os.path.dirname(__file__), os.pardir) 106 paths = [os.path.relpath(os.path.abspath(arg), skia_dir) for arg in argv[1:]] 110 paths = [path for path i [all...] |
/third_party/skia/tools/skiaserve/tester/ |
H A D | tester.py | 13 from os.path import isfile, join 28 def WriteJson(request, path): 30 with open(path, 'wb+') as fd: 35 def WritePng(request, path): 36 with open(path, 'wb+') as fd: 65 path = self.output_dir + '/' + self.skp_name + '.cmd.json' 66 return WriteJson(Check(requests.get(self.url + '/cmd')), path) 71 path = self.output_dir + '/' + self.skp_name + '.png' 72 return WritePng(Check(requests.get(url)), path) 85 path [all...] |
/third_party/python/Lib/distutils/tests/ |
H A D | test_core.py | 65 path = os_helper.TESTFN 66 if os.path.isfile(path): 67 os.remove(path) 68 elif os.path.isdir(path): 69 shutil.rmtree(path) 71 def write_setup(self, text, path=os_helper.TESTFN): 72 f = open(path, "w") 77 return path [all...] |
/third_party/skia/gm/ |
H A D | pathinterior.cpp | 40 void show(SkCanvas* canvas, const SkPath& path) { in show() argument 46 bool hasInterior = path.hasRectangularInterior(&rect); in show() 52 canvas->drawPath(path, paint); in show() 55 canvas->drawPath(path, paint); in show() 77 SkPath path; variable 78 path.setFillType(doEvenOdd ? SkPathFillType::kEvenOdd : SkPathFillType::kWinding); 84 path.addRoundRect(r, RAD, RAD, outerDir); 86 path.addRect(r, outerDir); 90 path.addRoundRect(r, RAD, RAD, innerDir); 92 path [all...] |
H A D | pathmaskcache.cpp | 21 /** This tests the GPU backend's caching of path coverage masks */ 38 auto drawPathSet = [canvas] (const SkPath& path, const SkMatrix& m) { 41 SkRect bounds = path.getBounds(); 49 canvas->drawPath(path, paint); 56 canvas->drawPath(path, paint); 63 canvas->drawPath(path, paint); 70 canvas->drawPath(path, paint); 93 for (const SkPath& path : paths) { 94 SkScalar ty = drawPathSet(path, SkMatrix::I()); 100 ty = drawPathSet(path, [all...] |
/third_party/vk-gl-cts/scripts/build/ |
H A D | common.py | 29 DEQP_DIR = os.path.realpath(os.path.normpath(os.path.join(os.path.dirname(__file__), "..", ".."))) 74 def pushWorkingDir (path): 76 os.chdir(path) 120 for path in paths: 121 path = path.strip('"') 122 fullPath = os.path [all...] |
/third_party/vk-gl-cts/scripts/ctsbuild/ |
H A D | common.py | 29 DEQP_DIR = os.path.realpath(os.path.normpath(os.path.join(os.path.dirname(__file__), "..", ".."))) 74 def pushWorkingDir (path): 76 os.chdir(path) 120 for path in paths: 121 path = path.strip('"') 122 fullPath = os.path [all...] |
/third_party/FatFs/documents/res/ |
H A D | app2.c | 10 TCHAR* path, /* Path name buffer with the sub-directory to delete */
in delete_node() 11 UINT sz_buff, /* Size of path name buffer (items) */
in delete_node() 20 fr = f_opendir(&dir, path); /* Open the sub-directory to make it empty */
in delete_node() 23 for (i = 0; path[i]; i++) ; /* Get current path length */
in delete_node() 24 path[i++] = _T('/');
in delete_node() 30 do { /* Make a path name */
in delete_node() 34 path[i + j] = fno->fname[j];
in delete_node() 37 fr = delete_node(path, sz_buff, fno);
in delete_node() 39 fr = f_unlink(path);
in delete_node() 9 delete_node( TCHAR* path, UINT sz_buff, FILINFO* fno ) delete_node() argument [all...] |