Home
last modified time | relevance | path

Searched refs:FILENAME (Results 1 – 25 of 121) sorted by relevance

12345

/third_party/node/test/pummel/
Dtest-fs-watch-file-slow.js31 const FILENAME = path.join(tmpdir.path, 'watch-me'); constant
37 fs.unlinkSync(FILENAME);
42 fs.watchFile(FILENAME, { interval: TIMEOUT - 250 }, function(curr, prev) {
46 assert.strictEqual(fs.existsSync(FILENAME), false);
50 assert.strictEqual(fs.existsSync(FILENAME), true);
53 assert.strictEqual(fs.existsSync(FILENAME), false);
54 fs.unwatchFile(FILENAME);
69 fs.writeFileSync(FILENAME, 'test');
75 fs.writeFileSync(FILENAME, 'test');
81 fs.unlinkSync(FILENAME);
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dunicode.h61 #define WSTRLEN(FILENAME) wcslen((const W_CHAR*)FILENAME) argument
62 #define WSTRCMP(FILENAME, STR) wcscmp((const W_CHAR*)FILENAME, TO_W_CHAR(STR)) argument
63 #define WSTRRCHR(FILENAME, STR) wcsrchr((const W_CHAR*)FILENAME, TO_W_CHAR(STR)) argument
88 #define WSTRLEN(FILENAME) strlen(FILENAME) argument
89 #define WSTRCMP(FILENAME, STR) strcmp(FILENAME, STR) argument
90 #define WSTRRCHR(FILENAME, STR) strrchr(FILENAME, STR) argument
/third_party/skia/third_party/externals/libwebp/examples/
Dunicode.h61 #define WSTRLEN(FILENAME) wcslen((const W_CHAR*)FILENAME) argument
62 #define WSTRCMP(FILENAME, STR) wcscmp((const W_CHAR*)FILENAME, TO_W_CHAR(STR)) argument
63 #define WSTRRCHR(FILENAME, STR) wcsrchr((const W_CHAR*)FILENAME, TO_W_CHAR(STR)) argument
88 #define WSTRLEN(FILENAME) strlen(FILENAME) argument
89 #define WSTRCMP(FILENAME, STR) strcmp(FILENAME, STR) argument
90 #define WSTRRCHR(FILENAME, STR) strrchr(FILENAME, STR) argument
/third_party/node/tools/inspector_protocol/markupsafe/
Dget_markupsafe.sh17 FILENAME="$(basename $SRC_URL)"
18 MD5_FILENAME="$FILENAME.md5"
19 SHA512_FILENAME="$FILENAME.sha512"
43 MD5_HASHFILE_REGEX="^[0-9a-f]{32} $FILENAME"
47 echo "MD5 hash file $MD5_FILENAME does not contain hash for $FILENAME," \
57 "archive file $FILENAME corrupt or compromised!"
70 SHA512_HASHFILE_REGEX="^[0-9a-f]{128} $FILENAME"
75 "$FILENAME, could not verify archive"
84 "archive file $FILENAME corrupt or compromised!"
97 tar xvzf "$FILENAME"
/third_party/skia/third_party/externals/markupsafe/
Dget_markupsafe.sh17 FILENAME="$(basename $SRC_URL)"
18 MD5_FILENAME="$FILENAME.md5"
19 SHA512_FILENAME="$FILENAME.sha512"
43 MD5_HASHFILE_REGEX="^[0-9a-f]{32} $FILENAME"
47 echo "MD5 hash file $MD5_FILENAME does not contain hash for $FILENAME," \
57 "archive file $FILENAME corrupt or compromised!"
70 SHA512_HASHFILE_REGEX="^[0-9a-f]{128} $FILENAME"
75 "$FILENAME, could not verify archive"
84 "archive file $FILENAME corrupt or compromised!"
97 tar xvzf "$FILENAME"
/third_party/node/tools/inspector_protocol/jinja2/
Dget_jinja2.sh18 FILENAME="$(basename $SRC_URL)"
19 MD5_FILENAME="$FILENAME.md5"
20 SHA512_FILENAME="$FILENAME.sha512"
44 MD5_HASHFILE_REGEX="^[0-9a-f]{32} $FILENAME"
48 echo "MD5 hash file $MD5_FILENAME does not contain hash for $FILENAME," \
58 "archive file $FILENAME corrupt or compromised!"
71 SHA512_HASHFILE_REGEX="^[0-9a-f]{128} $FILENAME"
76 "$FILENAME, could not verify archive"
85 "archive file $FILENAME corrupt or compromised!"
98 tar xvzf "$FILENAME"
/third_party/ltp/testcases/kernel/syscalls/chown/
Dchown03.c27 #define FILENAME "chown03_testfile" macro
36 FILENAME, s->st_uid, s->st_gid, exp_uid, exp_gid); in check_owner()
43 FILENAME, s->st_mode, exp_mode); in check_mode()
49 SAFE_CHOWN(FILENAME, -1, 0); in run()
50 SAFE_CHMOD(FILENAME, NEW_PERMS); in run()
59 SAFE_STAT(FILENAME, &stat_buf); in run()
63 TST_EXP_PASS(CHOWN(FILENAME, -1, gid), "chown(%s, %d, %d)", in run()
64 FILENAME, -1, gid); in run()
65 SAFE_STAT(FILENAME, &stat_buf); in run()
78 fd = SAFE_OPEN(FILENAME, O_RDWR | O_CREAT, FILE_MODE); in setup()
Dchown01.c18 #define FILENAME "chown01_testfile" macro
24 TST_EXP_PASS(CHOWN(FILENAME, uid, gid), "chown(%s,%d,%d)", in run()
25 FILENAME, uid, gid); in run()
32 SAFE_FILE_PRINTF(FILENAME, "davef"); in setup()
/third_party/ltp/testcases/kernel/syscalls/lremovexattr/
Dlremovexattr01.c47 #define FILENAME MNTPOINT"/lremovexattr01testfile" macro
56 SAFE_SETXATTR(FILENAME, XATTR_KEY, XATTR_VALUE, XATTR_VALUE_SIZE, in verify_lremovexattr()
91 TEST(getxattr(FILENAME, XATTR_KEY, &got_value, XATTR_VALUE_SIZE)); in verify_lremovexattr()
105 SAFE_REMOVEXATTR(FILENAME, XATTR_KEY); in verify_lremovexattr()
112 SAFE_TOUCH(FILENAME, 0644, NULL); in setup()
114 if (symlink(FILENAME, SYMLINK) < 0) in setup()
/third_party/weston/libweston/backend-drm/auth/
Dwayland_drm_auth.h25 #define FILENAME (strrchr(__FILE__, '/') ? (strrchr(__FILE__, '/') + 1) : __FILE__) macro
30 HILOG_DEBUG("[%s@%s:%d] " format "\n", __FUNCTION__, FILENAME, __LINE__, ##__VA_ARGS__); \
37 HILOG_INFO("[%s@%s:%d] " format "\n", __FUNCTION__, FILENAME, __LINE__, ##__VA_ARGS__); \
44 HILOG_WARN("[%s@%s:%d] " format "\n", __FUNCTION__, FILENAME, __LINE__, ##__VA_ARGS__); \
51 HILOG_ERROR("[%s@%s:%d] " format "\n", __FUNCTION__, FILENAME, __LINE__, ##__VA_ARGS__); \
/third_party/ltp/testcases/kernel/syscalls/fchown/
Dfchown03.c32 #define FILENAME "fchown03_testfile" macro
41 FILENAME, s->st_uid, s->st_gid, exp_uid, exp_gid); in check_owner()
48 FILENAME, s->st_mode, exp_mode); in check_mode()
65 SAFE_STAT(FILENAME, &stat_buf); in run()
70 SAFE_STAT(FILENAME, &stat_buf); in run()
81 fd = SAFE_OPEN(FILENAME, O_RDWR | O_CREAT, FILE_MODE); in setup()
Dfchown01.c22 #define FILENAME "fchown01_testfile" macro
39 fd = SAFE_OPEN(FILENAME, O_RDWR | O_CREAT, MODE); in setup()
/third_party/python/Lib/test/
Dtest_linecache.py12 FILENAME = linecache.__file__ variable
13 NONEXISTENT_FILENAME = FILENAME + '.missing'
18 MODULE_PATH = os.path.dirname(FILENAME)
106 self.assertEqual(getline(FILENAME, 2**15), EMPTY)
107 self.assertEqual(getline(FILENAME, -1), EMPTY)
110 self.assertRaises(TypeError, getline, FILENAME, 1.1)
185 lines = linecache.getlines(FILENAME)
187 self.assertEqual(False, linecache.lazycache(FILENAME, None))
188 self.assertEqual(lines, linecache.getlines(FILENAME))
227 lines = linecache.getlines(FILENAME)
[all …]
/third_party/protobuf/
Dupdate_file_lists.sh6 local FILENAME=$1
14 " $FILENAME \
88 local FILENAME=$1
111 " $FILENAME > /tmp/$$
112 cp /tmp/$$ $FILENAME
150 local FILENAME=$1
175 " $FILENAME > /tmp/$$
176 cp /tmp/$$ $FILENAME
/third_party/ltp/testcases/kernel/syscalls/fgetxattr/
Dfgetxattr03.c32 #define FILENAME "fgetxattr03testfile" macro
50 SAFE_TOUCH(FILENAME, 0644, NULL); in setup()
51 fd = SAFE_OPEN(FILENAME, O_RDONLY, NULL); in setup()
/third_party/ltp/testcases/kernel/syscalls/setuid/
Dsetuid04.c22 #define FILENAME "setuid04_testfile" macro
41 TEST(tst_fd = open(FILENAME, O_RDWR)); in dosetuid()
64 SAFE_TOUCH(FILENAME, 0644, NULL); in setup()
/third_party/python/PCbuild/
Durlretrieve.py37 FILENAME = sys.argv[2] variable
38 print("Downloading from", URL, "to", FILENAME, "using", USING)
39 urlretrieve(URL, FILENAME)
/third_party/libpng/scripts/
Dchecksym.awk35 master = FILENAME
37 FILENAME==master && NF==2 && $2~/^@/ && $1!~/^;/ {
50 FILENAME==master && $1==";missing" && NF==2{
57 FILENAME==master {
/third_party/skia/third_party/externals/libpng/scripts/
Dchecksym.awk35 master = FILENAME
37 FILENAME==master && NF==2 && $2~/^@/ && $1!~/^;/ {
50 FILENAME==master && $1==";missing" && NF==2{
57 FILENAME==master {
/third_party/flutter/skia/third_party/externals/libpng/scripts/
Dchecksym.awk35 master = FILENAME
37 FILENAME==master && NF==2 && $2~/^@/ && $1!~/^;/ {
50 FILENAME==master && $1==";missing" && NF==2{
57 FILENAME==master {
/third_party/ltp/testcases/kernel/syscalls/creat/
Dcreat04.c21 #define FILENAME DIRNAME"/file1" macro
29 {FILENAME}
67 fd = SAFE_OPEN(FILENAME, O_RDWR | O_CREAT, 0444); in setup()
/third_party/ltp/testcases/kernel/syscalls/setxattr/
Dsetxattr02.c49 #define FILENAME "setxattr02testfile" macro
68 .fname = FILENAME,
186 SAFE_TOUCH(FILENAME, 0644, NULL); in setup()
188 SAFE_SYMLINK(FILENAME, SYMLINK); in setup()
/third_party/ltp/testcases/kernel/syscalls/fork/
Dfork01.c103 #define FILENAME "childpid" macro
118 fildes = creat(FILENAME, 0700); in child_pid()
137 fildes = open(FILENAME, O_RDWR); in parent_pid()
/third_party/ltp/testcases/kernel/syscalls/fsetxattr/
Dfsetxattr02.c53 #define FILENAME "fsetxattr02testfile" macro
75 .fname = FILENAME,
202 SAFE_TOUCH(FILENAME, 0644, NULL); in setup()
204 SAFE_SYMLINK(FILENAME, SYMLINK); in setup()
/third_party/ltp/testcases/kernel/syscalls/close/
Dclose01.c19 #define FILENAME "close01_testfile" macro
23 return SAFE_OPEN(FILENAME, O_RDWR | O_CREAT, 0700); in get_fd_file()

12345