/third_party/skia/third_party/externals/tint/tools/src/fileutils/ |
H A D | fileutils_other.go | 24 // IsExe returns true if the file at path is an executable 25 func IsExe(path string) bool { 26 s, err := os.Stat(path)
|
/third_party/skia/fuzz/ |
H A D | FuzzPath.cpp | 14 SkPath path; in LLVMFuzzerTestOneInput() local 15 (void)path.readFromMemory(buf, size); in LLVMFuzzerTestOneInput()
|
/third_party/skia/docs/examples/ |
H A D | Canvas_isClipEmpty.cpp | 8 SkPath path; in REG_FIDDLE() local 9 canvas->clipPath(path); in REG_FIDDLE()
|
H A D | Canvas_getDeviceClipBounds_2.cpp | 10 SkPath path; in REG_FIDDLE() local 11 canvas->clipPath(path); in REG_FIDDLE()
|
/third_party/libuv/src/unix/ |
H A D | linux.c | 286 char* path; member 422 const char* path, in uv__statx() 431 rc = syscall(__NR_statx, dirfd, path, flags, mask, statxbuf); in uv__statx() 922 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_link() 947 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_mkdir() 968 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_open() 990 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_rename() 1015 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_symlink() 1036 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_unlink() 1101 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_statx() 421 uv__statx(int dirfd, const char* path, int flags, unsigned int mask, struct uv__statx* statxbuf) uv__statx() argument 2470 const char* path; uv__inotify_read() local 2544 uv_fs_event_start(uv_fs_event_t* handle, uv_fs_event_cb cb, const char* path, unsigned int flags) uv_fs_event_start() argument [all...] |
/third_party/python/Lib/idlelib/ |
H A D | editor.py | 79 dochome = os.path.join(sys.base_prefix, 'Doc', 'index.html') 83 if os.path.isdir('/var/www/html/python/'): # "python2" rpm 87 dochome = os.path.join(basepath, pyver, 102 if os.path.isfile(docfile): 106 dochome = os.path.join(sys.base_prefix, 108 dochome = os.path.normpath(dochome) 109 if os.path.isfile(dochome): 131 self.recent_files_path = idleConf.userdir and os.path.join( 217 text.bind("<<open-path-browser>>", self.open_path_browser) 285 if os.path [all...] |
/third_party/glfw/src/ |
H A D | posix_module.c | 37 void* _glfwPlatformLoadModule(const char* path) in _glfwPlatformLoadModule() argument 39 return dlopen(path, RTLD_LAZY | RTLD_LOCAL); in _glfwPlatformLoadModule()
|
H A D | win32_module.c | 35 void* _glfwPlatformLoadModule(const char* path) in _glfwPlatformLoadModule() argument 37 return LoadLibraryA(path); in _glfwPlatformLoadModule()
|
/third_party/googletest/googlemock/scripts/generator/ |
H A D | gmock_gen.py | 24 # Add the directory of this script to the path so we can import gmock_class. 25 sys.path.append(os.path.dirname(__file__))
|
/third_party/musl/src/stat/ |
H A D | mknodat.c | 5 int mknodat(int fd, const char *path, mode_t mode, dev_t dev) in mknodat() argument 8 return syscall(SYS_mknodat, fd, path, mode, dev); in mknodat()
|
H A D | mkfifoat.c | 4 int mkfifoat(int fd, const char *path, mode_t mode) in mkfifoat() argument 7 return mknodat(fd, path, mode | S_IFIFO, 0); in mkfifoat()
|
H A D | lstat.c | 4 int lstat(const char *restrict path, struct stat *restrict buf) in lstat() argument 6 return fstatat(AT_FDCWD, path, buf, AT_SYMLINK_NOFOLLOW); in lstat()
|
H A D | stat.c | 4 int stat(const char *restrict path, struct stat *restrict buf) in stat() argument 6 return fstatat(AT_FDCWD, path, buf, 0); in stat()
|
/third_party/musl/porting/liteos_a/user/src/stat/ |
H A D | mknodat.c | 5 int mknodat(int fd, const char *path, mode_t mode, dev_t dev) in mknodat() argument 8 return syscall(SYS_mknodat, fd, path, mode, dev); in mknodat()
|
H A D | mkfifoat.c | 4 int mkfifoat(int fd, const char *path, mode_t mode) in mkfifoat() argument 7 return mknodat(fd, path, mode | S_IFIFO, 0); in mkfifoat()
|
/third_party/musl/src/unistd/ |
H A D | fchownat.c | 4 int fchownat(int fd, const char *path, uid_t uid, gid_t gid, int flag) in fchownat() argument 6 return syscall(SYS_fchownat, fd, path, uid, gid, flag); in fchownat()
|
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_path.h | 35 * ngtcp2_path_init initializes |path| with the given addresses. Note 39 void ngtcp2_path_init(ngtcp2_path *path, const ngtcp2_addr *local, 43 * ngtcp2_path_storage_init2 initializes |ps| using |path| as initial 47 const ngtcp2_path *path);
|
/third_party/node/deps/npm/node_modules/retry/test/ |
H A D | common.js | 2 var path = require('path'); variable 4 var rootDir = path.join(__dirname, '..');
|
/third_party/skia/gn/ |
H A D | rm.py | 14 if os.path.exists(dst): 15 if os.path.isdir(dst):
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | unistdndk.cpp | 588 char path[length];
in Read() local 589 napi_get_value_string_utf8(env, args[0], path, length, &stresult);
in Read() 590 int fd = open(path, O_CREAT, TEST_MODE);
in Read() 665 char path[] = "errorPath";
in Rmdir() local 666 ret = access(path, F_OK);
in Rmdir() 668 rmdir(path);
in Rmdir() 670 ret = rmdir(path);
in Rmdir() 672 char path[] = "/data/storage/el2/base/files/rmdirPath";
in Rmdir() local 673 ret = access(path, F_OK);
in Rmdir() 675 remove(path);
in Rmdir() 752 char path[] = "/data/storage/el2/base/files/testTruncated.txt"; Truncate() local 767 char path[] = "/data/storage/el2/base/files/moTruncated.txt"; Truncate64() local 790 char path[] = "unexist_test_unlink.txt"; Unlink() local 793 char path[] = "/data/storage/el2/base/files/test_unlink.txt"; Unlink() local 814 char path[] = "unexist_test_unlinkat.txt"; Unlinkat() local 817 char path[] = "/data/storage/el2/base/files/test_unlinkat.txt"; Unlinkat() local 1255 char *path = static_cast<char *>(malloc(sizeof(char) * lenV)); LockF() local 1276 char *path = static_cast<char *>(malloc(sizeof(char) * lenV)); LockF64() local 1877 char path[length]; Dup() local 1896 char path[length]; Dup2() local [all...] |
/third_party/gn/src/gn/ |
H A D | visual_studio_writer.cc | 183 // directory path, excluding the last slash. Note that the input pointer must 185 std::string_view FindParentDir(const std::string* path) { in FindParentDir() argument 186 DCHECK(path && !path->empty()); in FindParentDir() 187 for (int i = static_cast<int>(path->size()) - 2; i >= 0; --i) { in FindParentDir() 188 if (IsSlash((*path)[i])) in FindParentDir() 189 return std::string_view(path->data(), i); in FindParentDir() 259 : name(_name), path(_path), guid(_guid), parent_folder(nullptr) {} in SolutionEntry() 273 // important when searching for the common path prefix. in SolutionProject() 393 return a->path < in RunAndWriteFiles() [all...] |
/third_party/libuv/src/win/ |
H A D | util.c | 118 /* Get the path as UTF-16. */ in uv_exepath() 230 /* Windows stores the drive-local path in an "hidden" environment variable, in uv_chdir() 245 /* Doesn't look like a drive letter could be there - probably an UNC path. in uv_chdir() 972 wchar_t *path; in uv_os_tmpdir() local 985 path = uv__malloc(len * sizeof(wchar_t)); in uv_os_tmpdir() 986 if (path == NULL) { in uv_os_tmpdir() 989 len = GetTempPathW(len, path); in uv_os_tmpdir() 992 uv__free(path); in uv_os_tmpdir() 998 if (path[len - 1] == L'\\' && in uv_os_tmpdir() 999 !(len == 3 && path[ in uv_os_tmpdir() 1083 wchar_t *path; uv__getpwuid_r() local [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | reparse.c | 214 * along the target path, with target defined as a full absolute path 216 * Returns the path translated to a Linux path 217 * or NULL if the path is not valid 220 static char *search_absolute(ntfs_volume *vol, ntfschar *path, in search_absolute() argument 234 * Examine and translate the path, until we reach either in search_absolute() 240 * examined later when the translated path is dereferenced, in search_absolute() 241 * however the final part of the path will not be adjusted in search_absolute() 247 && (path[star in search_absolute() 290 search_relative(ntfs_inode *ni, ntfschar *path, int count) search_relative() argument [all...] |
/build/scripts/ |
H A D | dir_exists.py | 9 import os.path namespace 19 return str(os.path.isdir(dir_name))
|
/test/xts/acts/ai_lite/ai_engine_posix/base/src/utils/ |
H A D | utils.h | 54 * path path and filename of result text 56 void SaveCharTextAppend(char *input, char *path); 62 * path path and filename of result text 64 void SaveStringTextAppend(std::string input, std::string path);
|