| /third_party/musl/libc-test/src/functionalext/supplement/linux/ |
| H A D | lremovexattr.c | 20 const char *path = "file.txt"; variable 32 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in lremovexattr_0100() 42 int ret = lsetxattr(path, name, value, strlen(value), XATTR_CREATE); in lremovexattr_0100() 50 ret = lgetxattr(path, name, buf, sizeof(buf)); in lremovexattr_0100() 54 ret = lremovexattr(path, name); in lremovexattr_0100() 57 ret = lgetxattr(path, name, buf, sizeof(buf)); in lremovexattr_0100() 60 ret = remove(path); in lremovexattr_0100()
|
| /third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
| H A D | fwide.c | 19 const char *path = "/data/test.txt"; variable 28 FILE *fp = fopen(path, "w+"); in fwide_0100() 35 remove(path); in fwide_0100() 45 FILE *fp = fopen(path, "w+"); in fwide_0200() 52 remove(path); in fwide_0200() 62 FILE *fp = fopen(path, "w+"); in fwide_0300() 69 remove(path); in fwide_0300()
|
| /third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
| H A D | unlink.c | 29 char path[PATH_MAX] = {0}; in unlink_0100() local 30 FILE_ABSOLUTE_PATH("test_unlink.txt", path); in unlink_0100() 31 int fd = open(path, O_CREAT, TEST_MODE); in unlink_0100() 38 int result = unlink(path); in unlink_0100() 51 char path[PATH_MAX] = {0}; in unlink_0200() local 52 FILE_ABSOLUTE_PATH("unexist_test_unlink.txt", path); in unlink_0200() 53 int result = unlink(path); in unlink_0200()
|
| H A D | unlinkat.c | 28 char path[PATH_MAX] = {0}; in unlinkat_0100() local 29 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in unlinkat_0100() 30 int fd = open(path, O_CREAT, 0664); in unlinkat_0100() 32 int result = unlinkat(fd, path, 0); in unlinkat_0100() 48 char path[PATH_MAX] = {0}; in unlinkat_0200() local 49 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in unlinkat_0200() 50 int result = unlinkat(AT_FDCWD, path, AT_REMOVEDIR); in unlinkat_0200()
|
| /third_party/skia/tests/ |
| H A D | WebpTest.cpp | 15 const char* path = "images/blendBG.webp"; in DEF_TEST() local 16 auto codec = SkCodec::MakeFromData(GetResourceAsData(path)); in DEF_TEST() 18 ERRORF(r, "Failed to open/decode %s", path); in DEF_TEST() 36 ERRORF(r, "Failed to decode %s frame %i (premul) - error %s", path, i, in DEF_TEST() 43 ERRORF(r, "Failed to getFrameInfo for %s frame %i", path, i); in DEF_TEST() 52 ERRORF(r, "Failed to decode %s frame %i (change) - error %s", path, i, in DEF_TEST() 58 " with mismatched SkAlphaType", path, i); in DEF_TEST()
|
| /third_party/python/Mac/ |
| H A D | Extras.install.py | 29 if not os.path.exists(curdst): 34 print("copy", os.path.join(cursrc, fn), os.path.join(curdst, fn)) 36 shutil.copy2(os.path.join(cursrc, fn), os.path.join(curdst, fn)) 39 print("skipfile", os.path.join(cursrc, fn)) 43 print("skipdir", os.path.join(cursrc, dirs[i]))
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Testing/Support/ |
| H A D | SupportHelpers.cpp | 9 #include "llvm/Support/Path.h" 17 SmallString<128> BaseDir = llvm::sys::path::parent_path(Argv0); in findSrcDirMap() 22 llvm::sys::path::append(PathInSameDir, "llvm.srcdir.txt"); in findSrcDirMap() 27 SmallString<128> PathInParentDir = llvm::sys::path::parent_path(BaseDir); in findSrcDirMap() 29 llvm::sys::path::append(PathInParentDir, "llvm.srcdir.txt"); in findSrcDirMap() 50 llvm::sys::path::append(InputFilePath, "Inputs"); in getInputFileDirectory() 51 llvm::sys::path::native(InputFilePath); in getInputFileDirectory()
|
| /third_party/typescript/src/jsTyping/ |
| H A D | types.ts | 15 readonly projectRootPath: Path;
34 readonly fileName: Path;
36 readonly projectRootPath: Path;
84 writeFile(path: string, content: string): void;
85 createDirectory(path: string): void;
87 watchFile?(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOptions): FileWatcher;
88 watchDirectory?(path: string, callback: DirectoryWatcherCallback, recursive?: boolean, options?: WatchOptions): FileWatcher;
|
| /third_party/typescript/src/testRunner/unittests/tscWatch/ |
| H A D | consoleClearing.ts | 5 path: "/f.ts",
11 change: sys => sys.modifyFile(file.path, "//"),
19 commandLineArgs: ["--w", file.path, ...commandLineOptions || emptyArray],
35 path: "/tsconfig.json",
44 configFileName: configFile.path,
50 commandLineArgs: ["--w", "-p", configFile.path],
60 commandLineArgs: ["--w", "-p", configFile.path],
|
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| H A D | formatSettings.ts | 5 path: "/a/b/app.ts",
10 projectService.openClientFile(f1.path);
12 const defaultSettings = projectService.getFormatCodeOptions(f1.path as server.NormalizedPath);
19 const s1 = projectService.getFormatCodeOptions(server.toNormalizedPath(f1.path));
24 projectService.setHostConfiguration({ formatOptions: newPerFileSettings, file: f1.path });
27 const s2 = projectService.getFormatCodeOptions(server.toNormalizedPath(f1.path));
35 const s3 = projectService.getFormatCodeOptions(server.toNormalizedPath(f1.path));
|
| /third_party/typescript/tests/cases/fourslash/ |
| H A D | getEditsForFileRename_directory.ts | 1 /// <reference path='fourslash.ts' /> 4 /////// <reference path="./src/old/file.ts" /> 10 /////// <reference path="./old/file.ts" /> 16 /////// <reference path="../old/file.ts" /> 39 `/// <reference path="./src/new/file.ts" /> 45 `/// <reference path="./new/file.ts" /> 51 `/// <reference path="../new/file.ts" />
|
| /third_party/pulseaudio/doc/ |
| H A D | messaging_api.txt | 5 PA_COMMAND_SEND_OBJECT_MESSAGE. A message consists at least of an object path 17 Object path: /core 23 Object path: /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez 29 Object path: /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez 34 Object path: /card/bluez_card.XX_XX_XX_XX_XX_XX/bluez 40 Object path: /card/<card_name> 46 Object path: /card/<card_name>
|
| /third_party/rust/crates/cxx/ |
| H A D | Cargo.toml | 26 cxxbridge-macro = { version = "=1.0.97", path = "macro" } 31 cxxbridge-flags = { version = "=1.0.97", path = "flags", default-features = false } 34 cxx-build = { version = "=1.0.97", path = "gen/build" } 35 cxx-gen = { version = "0.7", path = "gen/lib" } 36 cxx-test-suite = { version = "0", path = "tests/ffi" } 51 cxx = { path = "." } 52 cxx-build = { path = "gen/build" }
|
| /third_party/skia/infra/bots/assets/ccache_mac/ |
| H A D | create.py | 17 FILE_DIR = os.path.dirname(os.path.abspath(__file__)) 18 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir)) 19 sys.path.insert(0, INFRA_BOTS_DIR) 28 # configure --prefix requires an absolute path. 29 target_dir = os.path.abspath(target_dir)
|
| /third_party/skia/infra/bots/assets/ccache_linux/ |
| H A D | create.py | 18 FILE_DIR = os.path.dirname(os.path.abspath(__file__)) 19 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir)) 20 sys.path.insert(0, INFRA_BOTS_DIR) 28 # configure --prefix requires an absolute path. 29 target_dir = os.path.abspath(target_dir)
|
| /third_party/rust/crates/rustix/src/fs/ |
| H A D | abs.rs | 21 crate::{backend, io, path}, 42 pub fn statfs<P: path::Arg>(path: P) -> io::Result<StatFs> { in statfs() 43 path.into_with_c_str(backend::fs::syscalls::statfs) in statfs() 67 pub fn statvfs<P: path::Arg>(path: P) -> io::Result<StatVfs> { in statvfs() 68 path.into_with_c_str(backend::fs::syscalls::statvfs) in statvfs()
|
| /third_party/skia/bin/ |
| H A D | fetch-gn | 21 os.chdir(os.path.join(os.path.dirname(__file__), os.pardir)) 23 gnzip = os.path.join(tempfile.mkdtemp(), 'gn.zip') 37 gn = os.path.join('bin', gn) 43 # We'll also copy to a path that depot_tools' GN wrapper will expect to find the binary. 47 if os.path.isdir(os.path.dirname(copy_path)):
|
| /third_party/vulkan-loader/docs/images/svgs/ |
| H A D | function_device_chain.svg | 28 <path 43 <path 70 <path 85 <path 100 <path 115 <path 130 <path 145 <path 160 <path 175 <path [all...] |
| /third_party/libinput/doc/user/svg/ |
| H A D | tap-n-drag.svg | 72 <path 87 <path 102 <path 118 <path 133 <path 148 <path 163 <path 178 <path 193 <path 209 <path [all...] |
| /base/global/resource_management/frameworks/resmgr/src/ |
| H A D | hap_manager.cpp | 83 char path[MAX_PATH] = { 0 }; in Init() local 84 GetModuleFileName((HMODULE)mbi.AllocationBase, path, MAX_PATH); in Init() 85 std::string tempPath(path); in Init() 259 std::shared_ptr<HapResource::ValueUnderQualifierDir> path = paths[i]; in MatchBestResource() local 260 const auto resConfig = path->GetResConfig(); in MatchBestResource() 317 RESMGR_HILOGE(RESMGR_TAG, "index path format error, %s", indexPath.c_str()); in FindRawFile() 334 RESMGR_HILOGE(RESMGR_TAG, "FindRawFile path to realpath error"); in FindRawFile() 375 bool HapManager::AddResource(const char *path, const uint32_t &selectedTypes) in AddResource() argument 378 return this->AddResourcePath(path, selectedTypes); in AddResource() 381 bool HapManager::AddPatchResource(const char *path, cons argument 387 AddResource(const std::string &path, const std::vector<std::string> &overlayPaths) AddResource() argument 504 AddResourcePath(const char *path, const uint32_t &selectedTypes) AddResourcePath() argument 524 AddPatchResourcePath(const char *path, const char *patchPath) AddPatchResourcePath() argument 980 RemoveResource(const std::string &path, const std::vector<std::string> &overlayPaths) RemoveResource() argument [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_ntpath.py | 34 def _getshortpathname(path): 38 result_len = GSPN(path, None, 0) 40 raise OSError("failed to get short path name 0x{:08X}" 43 result_len = GSPN(path, result, result_len) 46 def _norm(path): 47 if isinstance(path, (bytes, str, os.PathLike)): 48 return ntpath.normcase(os.fsdecode(path)) 49 elif hasattr(path, "__iter__"): 50 return tuple(ntpath.normcase(os.fsdecode(p)) for p in path) 51 return path 901 path = ntpath global() variable in PathLikeTests [all...] |
| /third_party/typescript/src/services/ |
| H A D | stringCompletions.ts | 126 const isNewIdentifierLocation = true; // The user may type in a path that doesn't yet exist, creating a "new identifier" with respect to the collection of identifiers the server is aware of.
253 // Get all known external module names or complete a path to a module
374 const scriptPath = sourceFile.path;
394 function getCompletionEntriesForRelativeModules(literalValue: string, scriptDirectory: string, compilerOptions: CompilerOptions, host: LanguageServiceHost, scriptPath: Path, includeExtensions: IncludeExtensionsOption) {
424 * Takes a script path and returns paths for all potential folders that could be merged with its
431 // Determine the path to the directory containing the script relative to the root directory it is contained within
435 // Now find a path for each potential directory that is to be merged with the one containing the script
455 * Given a path ending at a directory, gets the completions for the path, and filters for those entries containing the basename.
472 * Remove the basename from the path [all...] |
| /third_party/node/doc/api/ |
| H A D | fs.json | 16 "desc": "<p>Promise-based operations return a promise that is fulfilled when the\nasynchronous operation is complete.</p>\n<pre><code class=\"language-mjs\">import { unlink } from 'node:fs/promises';\n\ntry {\n await unlink('/tmp/hello');\n console.log('successfully deleted /tmp/hello');\n} catch (error) {\n console.error('there was an error:', error.message);\n}\n</code></pre>\n<pre><code class=\"language-cjs\">const { unlink } = require('node:fs/promises');\n\n(async function(path) {\n try {\n await unlink(path);\n console.log(`successfully deleted ${path}`);\n } catch (error) {\n console.error('there was an error:', error.message);\n }\n})('/tmp/hello');\n</code></pre>", 1202 "textRaw": "`fsPromises.access(path[, mode])`", 1221 "textRaw": "`path` {string|Buffer|URL}", 1222 "name": "path", 1234 "desc": "<p>Tests a user's permissions for the file or directory specified by <code>path</code>.\nThe <code>mode</code> argument is an optional integer that specifies the accessibility\nchecks to be performed. <code>mode</code> should be either the value <code>fs.constants.F_OK</code>\nor a mask consisting of the bitwise OR of any of <code>fs.constants.R_OK</code>,\n<code>fs.constants.W_OK</code>, and <code>fs.constants.X_OK</code> (e.g.\n<code>fs.constants.W_OK | fs.constants.R_OK</code>). Check <a href=\"#file-access-constants\">File access constants</a> for\npossible values of <code>mode</code>.</p>\n<p>If the accessibility check is successful, the promise is resolved with no\nvalue. If any of the accessibility checks fail, the promise is rejected\nwith an <a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\" class=\"type\"><Error></a> object. The following example checks if the file\n<code>/etc/passwd</code> can be read and written by the current process.</p>\n<pre><code class=\"language-mjs\">import { access, constants } from 'node:fs/promises';\n\ntry {\n await access('/etc/passwd', constants.R_OK | constants.W_OK);\n console.log('can access');\n} catch {\n console.error('cannot access');\n}\n</code></pre>\n<p>Using <code>fsPromises.access()</code> to check for the accessibility of a file before\ncalling <code>fsPromises.open()</code> is not recommended. Doing so introduces a race\ncondition, since other processes may change the file's state between the two\ncalls. Instead, user code should open/read/write the file directly and handle\nthe error raised if the file is not accessible.</p>" 1237 "textRaw": "`fsPromises.appendFile(path, data[, options])`", 1256 "textRaw": "`path` {string|Buffer|URL|FileHandle} filename or {FileHandle}", 1257 "name": "path", [all...] |
| /base/security/selinux_adapter/interfaces/policycoreutils/include/ |
| H A D | policycoreutils.h | 26 int Restorecon(const char *path); 27 int RestoreconRecurse(const char *path); 28 int RestoreconRecurseParallel(const char *path, unsigned int nthreads); 29 int RestoreconRecurseForce(const char *path); 30 int RestoreconFromParentDir(const char *path); 31 int RestoreconCommon(const char *path, unsigned int flag, unsigned int nthreads);
|
| /third_party/mbedtls/tests/scripts/ |
| H A D | scripts_path.py | 1 """Add our Python library directory to the module search path. 26 sys.path.append(os.path.join(os.path.dirname(__file__), 27 os.path.pardir, os.path.pardir,
|