Home
last modified time | relevance | path

Searched refs:path (Results 101 - 125 of 6063) sorted by relevance

12345678910>>...243

/third_party/lzma/CPP/Windows/
H A DFileFind.cpp194 bool CFindFile::FindFirst(CFSTR path, CFileInfo &fi) in FindFirst() argument
202 _handle = ::FindFirstFileA(fs2fas(path), &fd); in FindFirst()
213 _handle = ::FindFirstFileW(fs2us(path), &fd); in FindFirst()
218 if (GetSuperPath(path, superPath, USE_MAIN_PATH)) in FindFirst()
319 bool CFindStream::FindFirst(CFSTR path, CStreamInfo &si) in FindFirst() argument
332 _handle = g_FindFirstStreamW(fs2us(path), My_FindStreamInfoStandard, &sd, 0); in FindFirst()
337 // long name can be tricky for path like ".\dirName". in FindFirst()
342 if (GetSuperPath(path, superPath, USE_MAIN_PATH)) in FindFirst()
404 returns ERROR_BAD_NETPATH. You must specify a path to a subfolder on that share.
407 DWORD GetFileAttrib(CFSTR path) in GetFileAttrib() argument
456 Find(CFSTR path, bool followLink) Find() argument
669 Fill_From_ByHandleFileInfo(CFSTR path) Fill_From_ByHandleFileInfo() argument
844 FindFirst(CFSTR path, bool watchSubtree, DWORD notifyFilter) FindFirst() argument
928 MY__lstat(CFSTR path, struct stat *st, bool followLink) MY__lstat() argument
961 Get_Name_from_Path(CFSTR path) Get_Name_from_Path() argument
1114 Find_DontFill_Name(CFSTR path, bool followLink) Find_DontFill_Name() argument
1125 Find(CFSTR path, bool followLink) Find() argument
[all...]
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen11.c65 char *path; member
73 .path = T_REG_EMPTY,
80 .path = T_REG_EMPTY,
87 .path = T_REG_EMPTY,
94 .path = T_REG_EMPTY,
101 .path = T_REG_EMPTY,
109 .path = T_DIR,
116 .path = T_DIR,
123 .path = T_REG_EMPTY,
131 .path
[all...]
/third_party/skia/gm/
H A Doverstroke.cpp38 //////// path and paint builders
68 SkPath path; in cubic_path() local
69 path.moveTo(0, 0); in cubic_path()
70 path.cubicTo(25, 75, in cubic_path()
74 return path; in cubic_path()
83 SkPath ribs_path(SkPath path, SkScalar radius) { in ribs_path() argument
89 SkPathMeasure meas(path, false); in ribs_path()
107 void draw_ribs(SkCanvas *canvas, SkPath path) { in draw_ribs() argument
108 SkPath ribs = ribs_path(path, OVERSTROKE_WIDTH/2.0f); in draw_ribs()
124 SkPath path in draw_small_quad() local
132 SkPath path = quad_path(); draw_large_quad() local
139 SkPath path = quad_path(); draw_quad_fillpath() local
161 SkPath path = cubic_path(); draw_small_cubic() local
169 SkPath path = cubic_path(); draw_large_cubic() local
176 SkPath path = cubic_path(); draw_cubic_fillpath() local
199 SkPath path = oval_path(); draw_small_oval() local
207 SkPath path = oval_path(); draw_large_oval() local
214 SkPath path = oval_path(); draw_oval_fillpath() local
[all...]
H A Dstrokes.cpp215 SkPath path; in DEF_SIMPLE_GM() local
216 path.moveTo(-6000,-6000); in DEF_SIMPLE_GM()
217 path.cubicTo(-3500,5500,-500,5500,2500,-6500); in DEF_SIMPLE_GM()
218 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
221 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
224 canvas->drawPath(path, p); in DEF_SIMPLE_GM()
234 SkPath path; in DEF_SIMPLE_GM() local
235 path.moveTo(30, 90); in DEF_SIMPLE_GM()
236 path.lineTo(30, 90); in DEF_SIMPLE_GM()
237 path in DEF_SIMPLE_GM()
258 SkPath path; DEF_SIMPLE_GM() local
346 make0(SkPath* path, const SkRect& bounds, SkString* title) make0() argument
352 make1(SkPath* path, const SkRect& bounds, SkString* title) make1() argument
358 make2(SkPath* path, const SkRect& bounds, SkString* title) make2() argument
364 make3(SkPath* path, const SkRect& bounds, SkString* title) make3() argument
370 make4(SkPath* path, const SkRect& bounds, SkString* title) make4() argument
378 make5(SkPath* path, const SkRect& bounds, SkString* title) make5() argument
492 SkPath path; global() variable
608 auto path = SkPath::Polygon(pathPoints + i * 3, 3, false); DEF_SIMPLE_GM() local
628 SkPath path; DEF_SIMPLE_GM() local
[all...]
/third_party/skia/tests/
H A DPathOpsChalkboardTest.cpp17 SkPath path; in chalkboard() local
19 path.moveTo(SkBits2Float(0x4470eed9), SkBits2Float(0x439c1ac1)); // 963.732f, 312.209f in chalkboard()
20 if (testlines & (1LL << i++)) path.lineTo(SkBits2Float(0x4470dde3), SkBits2Float(0x439c63d8)); // 963.467f, 312.78f in chalkboard()
21 if (testlines & (1LL << i++)) path.cubicTo(SkBits2Float(0x4470dbd7), SkBits2Float(0x439c3e57), SkBits2Float(0x4470c893), SkBits2Float(0x439c69fd), SkBits2Float(0x4470cfcf), SkBits2Float(0x439c297a)); // 963.435f, 312.487f, 963.134f, 312.828f, 963.247f, 312.324f in chalkboard()
22 if (testlines & (1LL << i++)) path.cubicTo(SkBits2Float(0x4470c46b), SkBits2Float(0x439c8149), SkBits2Float(0x4470b137), SkBits2Float(0x439c2938), SkBits2Float(0x4470b5f4), SkBits2Float(0x439ca99b)); // 963.069f, 313.01f, 962.769f, 312.322f, 962.843f, 313.325f in chalkboard()
23 if (testlines & (1LL << i++)) path.cubicTo(SkBits2Float(0x4470e842), SkBits2Float(0x439c8335), SkBits2Float(0x447125a2), SkBits2Float(0x439cce78), SkBits2Float(0x44715a2d), SkBits2Float(0x439c61ed)); // 963.629f, 313.025f, 964.588f, 313.613f, 965.409f, 312.765f in chalkboard()
24 if (testlines & (1LL << i++)) path.lineTo(SkBits2Float(0x447150d5), SkBits2Float(0x439c945c)); // 965.263f, 313.159f in chalkboard()
25 if (testlines & (1LL << i++)) path.cubicTo(SkBits2Float(0x4471546b), SkBits2Float(0x439c87f2), SkBits2Float(0x4471579e), SkBits2Float(0x439c8085), SkBits2Float(0x44715a8f), SkBits2Float(0x439c7c4c)); // 965.319f, 313.062f, 965.369f, 313.004f, 965.415f, 312.971f in chalkboard()
26 if (testlines & (1LL << i++)) path.lineTo(SkBits2Float(0x44715cbc), SkBits2Float(0x439c79dd)); // 965.449f, 312.952f in chalkboard()
27 if (testlines & (1LL << i++)) path in chalkboard()
[all...]
/third_party/python/Lib/test/support/
H A Dos_helper.py177 src = os.path.abspath(TESTFN)
333 dirname, name = os.path.split(pathname)
365 def _rmtree(path):
368 def _rmtree_inner(path):
369 for name in _force_run(path, os.listdir, path):
370 fullname = os.path.join(path, name)
383 _waitfor(_rmtree_inner, path, waitall=True)
384 _waitfor(lambda p: _force_run(p, os.rmdir, p), path)
[all...]
/third_party/python/Lib/test/
H A Dtest_venv.py11 import os.path namespace
63 self.env_dir = os.path.realpath(tempfile.mkdtemp())
73 self.exe = os.path.split(executable)[-1]
75 and os.path.lexists(executable)
76 and not os.path.exists(executable)):
91 return os.path.join(self.env_dir, *args)
103 self.assertTrue(os.path.isdir(fn))
107 Test the create function with default arguments and a str path.
115 Test the create function with default arguments and a pathlib.Path path.
130 self.assertTrue(os.path
[all...]
H A Dtest_unicode_file.py13 if not os.path.supports_unicode_filenames:
22 if os.path.exists(filename):
32 self.assertTrue(os.path.exists(filename))
33 self.assertTrue(os.path.isfile(filename))
35 self.assertTrue(os.path.exists(os.path.abspath(filename)))
36 self.assertTrue(os.path.isfile(os.path.abspath(filename)))
37 self.assertTrue(os.access(os.path.abspath(filename), os.R_OK))
45 os.path
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dmkdir.c30 char *path = "mkdirtest"; in mkdir_0100() local
31 if (access(path, F_OK) != 0) { in mkdir_0100()
32 int ret = mkdir(path, 0777); in mkdir_0100()
34 remove(path); in mkdir_0100()
36 remove(path); in mkdir_0100()
37 int ret = mkdir(path, 0777); in mkdir_0100()
39 remove(path); in mkdir_0100()
41 path = NULL; in mkdir_0100()
46 * @tc.desc : The path parameters is invalid,the directoty cannot be created.
51 char *path in mkdir_0200() local
[all...]
/third_party/node/tools/
H A Dinstall.py19 path = os.path.join(*args)
20 return os.path.abspath(path)
26 def try_unlink(path):
28 os.unlink(path)
35 try_mkdir_r(os.path.dirname(link_path))
38 def try_mkdir_r(path):
40 os.makedirs(path)
44 def try_rmdir_r(path)
[all...]
/third_party/vk-gl-cts/scripts/
H A Drun_internal_tests.py58 if os.path.exists(config.buildPath):
62 execute(["cmake", os.path.realpath(config.srcPath)] + config.genParams, workDir = config.buildPath)
66 if os.path.exists(config.buildPath):
84 testWorkDir = os.path.join(config.buildPath, "modules", "internal")
85 junitToolPath = os.path.join(config.buildPath, 'executor', config.junitTool)
89 if os.path.exists(file):
99 os.path.join(config.buildPath, 'executor', config.executor),
101 '--start-server=%s' % os.path.join(config.buildPath, 'execserver', config.execserver),
105 '--caselistdir=%s' % os.path.join(testWorkDir),
115 SRC_PATH = os.path
[all...]
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/tools/
H A Dfuzz_one.py19 BASE_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
20 APP_DIR = os.path.join(BASE_PATH, 'workdir', 'app_dir')
21 FUZZ_EXE = os.path.join(BASE_PATH, 'workdir', 'fuzzer', 'ochang_js_fuzzer')
22 INPUT_DIR = os.path.join(BASE_PATH, 'workdir', 'input')
23 TEST_CASES = os.path.join(BASE_PATH, 'workdir', 'output')
33 path = os.path.join(TEST_CASES, 'dir-%d' % dir_number) variable
34 assert not os.path
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/tools/
H A Dutils.py20 def GetFontList(path, exts, negate=False):
21 """Recursively gets the list of files that from path such that."""
26 # for root, dirs, files in os.walk(path): makes the lint tool unhappy
28 for entry in os.walk(path):
31 for path in files:
32 has_ext_list = map(lambda ext: path[-len(ext):] == ext, exts)
37 paths.append(os.path.join(root, path))
41 def GetLevelList(path, max_level=1, negate=False):
42 """Recursively gets the list of files that from path suc
[all...]
/third_party/skia/docs/examples/
H A DPath_IsQuadDegenerate.cpp7 auto debugster = [](const SkPath& path, bool exact) -> void { in REG_FIDDLE()
9 path.getPoint(0).fX, path.getPoint(0).fY, path.getPoint(1).fX, in REG_FIDDLE()
10 path.getPoint(1).fY, path.getPoint(2).fX, path.getPoint(2).fY, in REG_FIDDLE()
11 SkPath::IsQuadDegenerate(path.getPoint(0), path.getPoint(1), path in REG_FIDDLE()
14 SkPath path, offset; REG_FIDDLE() local
[all...]
/third_party/python/Modules/
H A Dgetpath.c1 /* Return the initial module search path. */
62 wchar_t *path; variable
67 path = PyUnicode_AsWideCharString(pathobj, &len);
68 if (path) {
70 if (_Py_abspath((const wchar_t *)_Py_normpath(path, -1), &abs) == 0 && abs) {
74 PyErr_SetString(PyExc_OSError, "failed to make path absolute");
76 PyMem_Free((void *)path);
85 PyObject *path; variable
86 if (!PyArg_ParseTuple(args, "U", &path)) {
89 Py_ssize_t end = PyUnicode_GET_LENGTH(path);
101 PyObject *path; global() variable
119 const wchar_t *path; global() variable
139 const wchar_t *path; global() variable
174 const wchar_t *path; global() variable
200 const wchar_t *path; global() variable
226 const wchar_t *path; global() variable
341 const wchar_t *path; global() variable
433 wchar_t *path = PyUnicode_AsWideCharString(pathobj, NULL); global() variable
[all...]
/third_party/gn/examples/ios/build/toolchain/apple/
H A Dswiftc.py23 'object': os.path.join(settings.object_dir, module + '.o'),
24 'dependencies': os.path.join(tmpdir, module + '.d'),
28 name, _ = os.path.splitext(os.path.basename(source))
30 'object': os.path.join(settings.object_dir, name + '.o'),
31 'dependencies': os.path.join(tmpdir, name + '.d'),
35 path = getattr(settings, key)
36 if os.path.exists(path):
37 os.unlink(path)
[all...]
/third_party/eudev/src/udev/
H A Dudev-builtin-path_id.c2 * compose persistent device path
36 static int path_prepend(char **path, const char *fmt, ...) { in path_prepend() argument
47 if (*path != NULL) { in path_prepend()
50 err = asprintf(&new, "%s-%s", pre, *path); in path_prepend()
54 free(*path); in path_prepend()
55 *path = new; in path_prepend()
57 *path = pre; in path_prepend()
67 static int format_lun_number(struct udev_device *dev, char **path) { in format_lun_number() argument
72 return path_prepend(path, "lun-%lu", lun); in format_lun_number()
74 return path_prepend(path, "lu in format_lun_number()
92 handle_scsi_fibre_channel(struct udev_device *parent, char **path) handle_scsi_fibre_channel() argument
121 handle_scsi_sas_wide_port(struct udev_device *parent, char **path) handle_scsi_sas_wide_port() argument
157 handle_scsi_sas(struct udev_device *parent, char **path) handle_scsi_sas() argument
251 handle_scsi_iscsi(struct udev_device *parent, char **path) handle_scsi_iscsi() argument
309 handle_scsi_default(struct udev_device *parent, char **path) handle_scsi_default() argument
393 handle_scsi_hyperv(struct udev_device *parent, char **path) handle_scsi_hyperv() argument
429 handle_scsi(struct udev_device *parent, char **path, bool *supported_parent) handle_scsi() argument
494 handle_cciss(struct udev_device *parent, char **path) handle_cciss() argument
507 handle_scsi_tape(struct udev_device *dev, char **path) handle_scsi_tape() argument
521 handle_usb(struct udev_device *parent, char **path) handle_usb() argument
543 handle_bcma(struct udev_device *parent, char **path) handle_bcma() argument
555 handle_ccw(struct udev_device *parent, struct udev_device *dev, char **path) handle_ccw() argument
581 char *path = NULL; builtin_path_id() local
[all...]
/third_party/python/Lib/distutils/tests/
H A Dtest_install_data.py17 cmd.install_dir = inst = os.path.join(pkg_dir, 'inst')
21 # - a tuple with a path, and a list of file
22 one = os.path.join(pkg_dir, 'one')
24 inst2 = os.path.join(pkg_dir, 'inst2')
25 two = os.path.join(pkg_dir, 'two')
37 rtwo = os.path.split(two)[-1]
38 self.assertTrue(os.path.exists(os.path.join(inst2, rtwo)))
39 rone = os.path.split(one)[-1]
40 self.assertTrue(os.path
[all...]
/third_party/skia/third_party/externals/freetype/src/tools/
H A Dmake_distribution_archives.py14 _TOP_DIR = os.path.abspath(os.path.join(__file__, "..", "..", ".."))
15 _SCRIPT_DIR = os.path.dirname(os.path.join(_TOP_DIR, "builds", "meson", ""))
37 "--source_dir", default=_TOP_DIR, help="Source directory path."
91 os.path.join(_SCRIPT_DIR, "extract_freetype_version.py"),
92 os.path.join(_TOP_DIR, "include", "freetype", "freetype.h"),
102 if not os.path.exists(build_dir):
107 file_path = os.path.join(build_dir, item)
108 if os.path
[all...]
/third_party/node/deps/v8/tools/unittests/
H A Drun_perf_test.py22 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
23 RUN_PERF = os.path.join(BASE_DIR, 'run_perf.py')
24 TEST_DATA = os.path.join(BASE_DIR, 'unittests', 'testdata')
26 TEST_WORKSPACE = os.path.join(tempfile.gettempdir(), 'test-v8-run-perf')
31 'path': ['.'],
46 'path': ['.'],
53 'path': ['richards'],
60 'path'
[all...]
/third_party/protobuf/src/google/protobuf/io/
H A Dio_win32.cc35 // Implementation for long-path-aware open/mkdir/access/etc. on Windows, as well
38 // These functions convert the input path to an absolute Windows path
49 // debug failing tests if that's caused by the long path support.
103 // Returns true if the path starts with a drive letter, e.g. "c:".
106 // This check requires that a path not have a longpath prefix ("\\?\").
112 // Returns true if the path starts with a longpath prefix ("\\?\").
114 bool has_longpath_prefix(const char_type* path) { in has_longpath_prefix() argument
115 return path[0] == '\\' && path[ in has_longpath_prefix()
126 is_path_absolute(const char_type* path) is_path_absolute() argument
131 is_drive_relative(const char_type* path) is_drive_relative() argument
153 normalize(wstring path) normalize() argument
215 as_windows_path(const char* path, wstring* result) as_windows_path() argument
256 open(const char* path, int flags, int mode) open() argument
269 mkdir(const char* path, int _mode) mkdir() argument
282 access(const char* path, int mode) access() argument
295 chdir(const char* path) chdir() argument
308 stat(const char* path, struct _stat* buffer) stat() argument
321 fopen(const char* path, const char* mode) fopen() argument
359 testonly_utf8_to_winpath(const char* path) testonly_utf8_to_winpath() argument
364 ExpandWildcards( const string& path, std::function<void(const string&)> consume) ExpandWildcards() argument
[all...]
/third_party/ltp/include/
H A Dtst_assert.h10 #define TST_ASSERT_INT(path, val) \
11 tst_assert_int(__FILE__, __LINE__, path, val)
14 * Asserts that integer value stored in file pointed by path equals to the
19 const char *path, int val);
21 #define TST_ASSERT_FILE_INT(path, prefix, val) \
22 tst_assert_file_int(__FILE__, __LINE__, path, prefix, val)
28 const char *path, unsigned long val);
30 #define TST_ASSERT_ULONG(path, val) \
31 tst_assert_ulong(__FILE__, __LINE__, path, val)
34 * Asserts that integer value stored in the prefix field of file pointed by path
[all...]
/third_party/node/deps/npm/node_modules/@npmcli/installed-package-contents/lib/
H A Dindex.js4 // - if PACKAGE, read path/package.json
14 // - if depth < maxDepth, add GET CONTENTS of DIRs in path except
16 // - else, add all DIRs in path other than node_modules
28 const { relative, resolve, basename, dirname } = require('path')
31 const readPackage = ({ path, packageJsonCache }) =>
32 packageJsonCache.has(path) ? Promise.resolve(packageJsonCache.get(path))
33 : readFile(path).then(json => {
35 packageJsonCache.set(path, pkg)
42 const rpj = ({ path, packageJsonCach
[all...]
/third_party/skia/third_party/externals/angle2/scripts/
H A Dgen_vk_gl_cts_build.py18 dataDirectories.append(os.path.join("data", "gles2"))
19 dataDirectories.append(os.path.join("data", "gles3"))
20 dataDirectories.append(os.path.join("data", "gles31"))
21 dataDirectories.append(os.path.join("external", "graphicsfuzz", "data", "gles3"))
22 dataDirectories.append(os.path.join("external", "openglcts", "data", "gles3"))
27 pathToReplace = os.path.join("external", "graphicsfuzz", "") # Include trailing slash
30 pathToReplace = os.path.join("external", "openglcts", "") # Include trailing slash
31 pathReplacements[pathToReplace] = os.path.join("data", "gl_cts", "")
36 if os.path.exists(buildGnPath):
44 if os.path
[all...]
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/mutators/
H A Dnormalizer.js37 Scope(path) {
38 for (const [name, binding] of Object.entries(path.scope.bindings)) {
45 if (babelTypes.isClassDeclaration(binding.path.node) ||
46 babelTypes.isClassExpression(binding.path.node)) {
47 path.scope.rename(name, '__c_' + context.classIndex++);
48 } else if (babelTypes.isFunctionDeclaration(binding.path.node) ||
49 babelTypes.isFunctionExpression(binding.path.node)) {
50 path.scope.rename(name, '__f_' + context.funcIndex++);
52 path.scope.rename(name, '__v_' + context.varIndex++);
57 AssignmentExpression(path) {
[all...]

Completed in 11 milliseconds

12345678910>>...243