/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_user_container_006.cpp | 50 std::string path = "/proc/sys/user/max_user_container"; in ItUserContainer006() local 54 int ret = ReadFile(path.c_str(), buf); in ItUserContainer006() 68 ret = WriteFile(path.c_str(), buf); in ItUserContainer006() 89 ret = WriteFile(path.c_str(), buf); in ItUserContainer006() 93 ret = ReadFile(path.c_str(), buf); in ItUserContainer006()
|
H A D | It_uts_container_008.cpp | 53 std::string path = "/proc/sys/user/max_uts_container"; in ItUtsContainer008() local 58 int ret = ReadFile(path.c_str(), buf); in ItUtsContainer008() 72 ret = WriteFile(path.c_str(), buf); in ItUtsContainer008() 94 ret = WriteFile(path.c_str(), buf); in ItUtsContainer008() 98 ret = ReadFile(path.c_str(), buf); in ItUtsContainer008()
|
H A D | It_uts_container_007.cpp | 50 std::string path = "/proc/sys/user/max_uts_container"; in ItUtsContainer007() local 54 int ret = ReadFile(path.c_str(), buf); in ItUtsContainer007() 68 ret = WriteFile(path.c_str(), buf); in ItUtsContainer007() 89 ret = WriteFile(path.c_str(), buf); in ItUtsContainer007() 93 ret = ReadFile(path.c_str(), buf); in ItUtsContainer007()
|
/third_party/gn/src/base/files/ |
H A D | file.cc | 21 File::File(const FilePath& path, uint32_t flags) : error_details_(FILE_OK) { in File() argument 22 Initialize(path, flags); in File() 56 void File::Initialize(const FilePath& path, uint32_t flags) { in Initialize() argument 57 if (path.ReferencesParent()) { in Initialize() 68 DoInitialize(path, flags); in Initialize()
|
/third_party/mesa3d/ohos/ |
H A D | meson_cross_process.py | 102 if not os.path.exists('pkgconfig'):
114 template_dir = os.path.split(os.path.abspath( __file__))[0] + r"/pkgconfig_template"
117 if not os.path.isdir(template):
126 sysroot_stub = os.path.join(project_stub, "out", product, "obj", "third_party", "musl")
|
/third_party/libabigail/tools/ |
H A D | binilint.cc | 35 string path; member 66 if (opts.path.empty()) in parse_command_line() 67 opts.path = argv[i]; in parse_command_line() 113 else if (!opts.path.empty()) in main() 114 conf = read_config(opts.path); in main()
|
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | WorkDir.cpp | 14 FString GetWorkDir(const NWorkDir::CInfo &workDirInfo, const FString &path, FString &fileName)
in GetWorkDir() argument 22 const FString prefix = path.Left(3);
in GetWorkDir() 39 const int pos = path.ReverseFind_PathSepar() + 1;
in GetWorkDir() 40 fileName = path.Ptr((unsigned)pos);
in GetWorkDir() 46 tempDir = path.Left((unsigned)pos);
in GetWorkDir()
|
/third_party/jsframework/ |
H A D | build_strip_native_min.js | 18 const path = require('path'); 51 tsconfig: path.resolve(__dirname, 'tsconfig.json'), 61 input: path.resolve(__dirname, 'runtime/preparation/index.ts'), 77 file: path.resolve(__dirname, 'dist/strip.native.min.js'), 89 const file = path.relative(__dirname, filePath);
|
/third_party/ltp/testcases/kernel/containers/userns/ |
H A D | userns06.c | 73 char path[BUFSIZ]; in run() local 92 sprintf(path, "/proc/%d/setgroups", cpid1); in run() 94 fd = SAFE_OPEN(path, O_WRONLY, 0644); in run() 98 sprintf(path, "/proc/%d/setgroups", cpid2); in run() 100 fd = SAFE_OPEN(path, O_WRONLY, 0644); in run()
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/ |
H A D | cpuset_mem_hog.c | 54 char path[BUFFER_SIZE]; in page_cache_hog() local 57 sprintf(path, "%s", "DATAFILE"); in page_cache_hog() 58 fd = open(path, O_RDONLY); in page_cache_hog() 60 warn("open %s failed", path); in page_cache_hog() 66 warn("read %s failed", path); in page_cache_hog()
|
/third_party/node/deps/v8/tools/testrunner/testproc/ |
H A D | util_test.py | 10 TOOLS_PATH = os.path.dirname( 11 os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) 12 sys.path.append(TOOLS_PATH)
|
/third_party/node/deps/v8/third_party/zlib/google/ |
H A D | zip_writer.h | 76 bool AddDirectoryContents(const base::FilePath& path); 95 bool AddFileContent(const base::FilePath& path, base::File file); 98 bool AddFileEntry(const base::FilePath& path, base::File file); 105 bool AddDirectoryEntry(const base::FilePath& path); 113 bool OpenNewFileEntry(const base::FilePath& path,
|
/third_party/node/deps/v8/tools/release/ |
H A D | filter_build_files.py | 62 if not os.path.isdir(args.dir): 65 args.dir = os.path.abspath(args.dir) 91 os.path.join(args.dir, f) 98 for root, _, __ in os.walk(os.path.join(args.dir, 'obj'), followlinks=True): 99 add_files_from_globs(os.path.join(root, g) for g in library_files)
|
/third_party/node/test/parallel/ |
H A D | test-child-process-cwd.js | 74 }, 'number', 0, tmpdir.path); 81 }, 'number', 0, tmpdir.path); 87 testCwd({ cwd: tmpdir.path }, 'number', 0, tmpdir.path); 90 testCwd({ cwd: tmpdir.fileURL() }, 'number', 0, tmpdir.path);
|
H A D | test-http-host-headers.js | 58 path: `/${counter++}`, 66 path: `/${counter++}`, 74 path: `/${counter++}`, 82 path: `/${counter++}`, 90 path: `/${counter++}`,
|
/third_party/node/test/pummel/ |
H A D | test-fs-watch-file.js | 25 const path = require('path'); 35 const testDir = tmpdir.path; 38 const filepathOne = path.join(testDir, filenameOne); 42 const filepathTwoAbs = path.join(testDir, filenameTwo); 129 fs.unwatchFile(`.${path.sep}${filenameFour}`, a);
|
/third_party/node/deps/zlib/google/ |
H A D | zip_writer.h | 76 bool AddDirectoryContents(const base::FilePath& path); 95 bool AddFileContent(const base::FilePath& path, base::File file); 98 bool AddFileEntry(const base::FilePath& path, base::File file); 105 bool AddDirectoryEntry(const base::FilePath& path); 113 bool OpenNewFileEntry(const base::FilePath& path,
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/mutators/ |
H A D | array_mutator.js | 33 ArrayExpression(path) { 34 const elements = path.node.elements; 44 thisMutator.annotate(path.node, message); 65 randomSplice(replace, common.randomValue(path)); 107 path.skip();
|
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | pool_test.py | 11 TOOLS_PATH = os.path.dirname( 12 os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) 13 sys.path.append(TOOLS_PATH)
|
/third_party/musl/src/stat/ |
H A D | statvfs.c | 5 static int __statfs(const char *path, struct statfs *buf) in __statfs() argument 9 return syscall(SYS_statfs64, path, sizeof *buf, buf); in __statfs() 11 return syscall(SYS_statfs, path, buf); in __statfs() 45 int statvfs(const char *restrict path, struct statvfs *restrict buf) in statvfs() argument 48 if (__statfs(path, &kbuf)<0) return -1; in statvfs()
|
/third_party/ninja/src/ |
H A D | build_log.h | 49 bool OpenForWrite(const std::string& path, const BuildLogUser& user, 56 LoadStatus Load(const std::string& path, std::string* err); 79 /// Lookup a previously-run command by its output path. 80 LogEntry* LookupByOutput(const std::string& path); 86 bool Recompact(const std::string& path, const BuildLogUser& user, 90 bool Restat(StringPiece path, const DiskInterface& disk_interface,
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
H A D | filterrb.h | 17 * Represents an absolute path into a resource bundle. 22 /** Constructs an empty path (top of tree) */ 25 /** Constructs from a string path */ 26 ResKeyPath(const std::string& path, UErrorCode& status); 42 * resource bundle based on their absolute path. 57 * Returns an EInclusion on whether or not the given path should be included. 63 virtual EInclusion match(const ResKeyPath& path) const = 0; 138 void addRule(const ResKeyPath& path, bool inclusionRule, UErrorCode& status); 140 EInclusion match(const ResKeyPath& path) const override; 155 * INCLUDE = this path exactl [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/cp/ |
H A D | errors.js | 16 if (context.path !== undefined) { 17 message += ` ${context.path}` 65 if (context.path !== undefined) { 66 Object.defineProperty(this, 'path', { 68 return context.path 71 context.path = value
|
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/key/ |
H A D | index.js | 40 const path = (0, certificate_1.verifyCertificateChain)(leaf, trustMaterial.certificateAuthorities); 42 const validForDate = timestamps.every((timestamp) => path.every((cert) => cert.validForDate(timestamp))); 50 scts: (0, sct_1.verifySCTs)(path[0], path[1], trustMaterial.ctlogs), 51 signer: getSigner(path[0]),
|
/third_party/node/deps/npm/node_modules/nopt/lib/ |
H A D | type-defs.js | 2 const path = require('path') 26 data[k] = path.resolve(home, val.slice(2)) 28 data[k] = path.resolve(val) 87 path: { type: path, validate: validatePath },
|