/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/ |
H A D | It_process_plimits_001.cpp | 48 std::string path = "/proc/plimits/test1"; in ItProcessPlimits001() local 49 ret = mkdir(path.c_str(), S_IRWXU); // create directory in ItProcessPlimits001() 52 ret = rmdir(path.c_str()); in ItProcessPlimits001()
|
H A D | It_process_plimits_pid_004.cpp | 43 std::string path = "/proc/plimits/test"; in ItProcessPlimitsPid004() local 48 ret = mkdir(path.c_str(), S_IFDIR | mode); in ItProcessPlimitsPid004() 60 ret = rmdir(path.c_str()); in ItProcessPlimitsPid004()
|
H A D | It_process_plimits_pid_006.cpp | 43 std::string path = "/proc/plimits/test"; in ItProcessPlimitsPid006() local 48 ret = mkdir(path.c_str(), S_IFDIR | mode); in ItProcessPlimitsPid006() 60 ret = rmdir(path.c_str()); in ItProcessPlimitsPid006()
|
/test/xts/hats/kernel/syscalls/fileio/getcwd/ |
H A D | GetcwdApiTest.cpp | 55 * @tc.desc : get path of the current working directory success. 63 char* path = getcwd(buff, sizeof(buff)); in HWTEST_F() local 64 EXPECT_TRUE(path != nullptr); in HWTEST_F() 65 EXPECT_EQ(strlen(path), strlen(buff)); in HWTEST_F()
|
/third_party/mesa3d/ohos/ |
H A D | build_ohos.py | 30 script_dir = os.path.split(os.path.abspath( __file__))[0] 37 -Dvulkan-drivers= -Dgbm=enabled -Degl=enabled -Dcpp_rtti=false -Dglx=disabled -Dtools=panfrost -Ddri-search-path=/system/lib '
|
/third_party/json/docs/examples/ |
H A D | patch_inplace.cpp | 21 { "op": "replace", "path": "/baz", "value": "boo" }, in main() 22 { "op": "add", "path": "/hello", "value": ["world"] }, in main() 23 { "op": "remove", "path": "/foo"} in main()
|
H A D | patch.cpp | 21 { "op": "replace", "path": "/baz", "value": "boo" }, in main() 22 { "op": "add", "path": "/hello", "value": ["world"] }, in main() 23 { "op": "remove", "path": "/foo"} in main()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_intrinsics_c.py | 80 path = os.path.join(args.outdir, 'nir_intrinsics.c') 81 with open(path, 'w') as f:
|
H A D | nir_intrinsics_h.py | 63 path = os.path.join(args.outdir, 'nir_intrinsics.h') 64 with open(path, 'w') as f:
|
/third_party/ltp/lib/ |
H A D | tst_fs_type.c | 15 long tst_fs_type_(void (*cleanup)(void), const char *path) in tst_fs_type_() argument 19 if (statfs(path, &sbuf)) { in tst_fs_type_() 21 "tst_fs_type: Failed to statfs(%s)", path); in tst_fs_type_()
|
/third_party/node/test/parallel/ |
H A D | test-fs-readfilesync-enoent.js | 9 // throwing ENOENT when the path involves a fileserver. 15 const path = require('path'); 19 assert.strictEqual(result.toLowerCase(), path.resolve(p).toLowerCase()); 22 assert.strictEqual(result.toLowerCase(), path.resolve(p).toLowerCase());
|
H A D | test-fs-write-stream-change-open.js | 25 const path = require('path'); 30 const file = path.join(tmpdir.path, 'write.txt');
|
H A D | test-fs-write-reuse-callback.js | 6 const path = require('path'); 15 const filename = path.join(tmpdir.path, 'test.txt');
|
/third_party/node/test/pummel/ |
H A D | test-watch-file.js | 27 const path = require('path'); 31 const f = path.join(tmpdir.path, 'x.txt');
|
/third_party/node/deps/v8/tools/release/ |
H A D | script_test.py | 39 script_path = os.path.dirname(os.path.abspath(__file__)) 40 cov = coverage.coverage(include=([os.path.join(script_path, '*.py')]))
|
/third_party/node/benchmark/process/ |
H A D | coverage.js | 9 const path = require('path'); 14 const coverageDir = path.join(tmpdir.path, `./cov-${Date.now()}`);
|
/third_party/node/benchmark/http/ |
H A D | cluster.js | 32 const path = `/${type}/${len}`; 35 path: path,
|
H A D | set-header.js | 22 const path = `/${type}/${len}/${chunks}/${res}/${chunkedEnc}`; 25 path: path,
|
/third_party/node/benchmark/fs/ |
H A D | bench-realpath.js | 5 const path = require('path'); 6 const resolved_path = path.resolve(__dirname, '../../lib/'); 7 const relative_path = path.relative(__dirname, '../../lib/');
|
/third_party/node/benchmark/url/ |
H A D | url-resolve.js | 17 path: Object.keys(paths), 21 function main({ n, href, path }) { 23 const p = paths[path];
|
/third_party/musl/libc-test/src/functionalext/supplement/dirent/ |
H A D | closedir.c | 31 char path[MAXPATH]; in closedir_0100() local 34 data = getcwd(path, MAXPATH); in closedir_0100() 35 dir_ptr = opendir(path); in closedir_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | fgetxattr.c | 29 const char *path = "/data/fgetxattr.txt"; in fgetxattr_0100() local 33 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in fgetxattr_0100() 49 remove(path); in fgetxattr_0100()
|
H A D | fremovexattr.c | 20 const char *path = "/data/test.txt"; variable 31 int fd = open(path, O_CREAT | O_WRONLY, 0667); in fremovexattr_0100() 49 remove(path); in fremovexattr_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | _flushlbf.c | 31 const char *path = "/data/test.txt"; in flushlbf_0100() local 33 FILE *fd = fopen(path, "w+"); in flushlbf_0100() 53 remove(path); in flushlbf_0100()
|
H A D | getc.c | 22 const char *path = "test.txt"; variable 31 FILE *fptr = fopen(path, "w+"); in getc_0100() 51 remove(path); in getc_0100()
|