Home
last modified time | relevance | path

Searched refs:ST_MODE (Results 1 – 25 of 534) sorted by relevance

12345678910>>...22

/dports/databases/xapian-core/xapian-core-1.4.18/common/
H A Dsafesysstat.h32 # define S_ISDIR(ST_MODE) (((ST_MODE) & _S_IFMT) == _S_IFDIR) argument
35 # define S_ISREG(ST_MODE) (((ST_MODE) & _S_IFMT) == _S_IFREG) argument
57 # define S_ISDIR(ST_MODE) (((ST_MODE) & S_IFMT) == S_IFDIR) argument
60 # define S_ISREG(ST_MODE) (((ST_MODE) & S_IFMT) == S_IFREG) argument
/dports/www/xapian-omega/xapian-omega-1.4.18/common/
H A Dsafesysstat.h32 # define S_ISDIR(ST_MODE) (((ST_MODE) & _S_IFMT) == _S_IFDIR) argument
35 # define S_ISREG(ST_MODE) (((ST_MODE) & _S_IFMT) == _S_IFREG) argument
57 # define S_ISDIR(ST_MODE) (((ST_MODE) & S_IFMT) == S_IFDIR) argument
60 # define S_ISREG(ST_MODE) (((ST_MODE) & S_IFMT) == S_IFREG) argument
/dports/deskutils/recoll/recoll-1.31.2/xaposix/
H A Dsafesysstat.h58 # define S_ISDIR(ST_MODE) (((ST_MODE) & _S_IFMT) == _S_IFDIR) argument
61 # define S_ISREG(ST_MODE) (((ST_MODE) & _S_IFMT) == _S_IFREG) argument
83 # define S_ISDIR(ST_MODE) (((ST_MODE) & S_IFMT) == S_IFDIR) argument
86 # define S_ISREG(ST_MODE) (((ST_MODE) & S_IFMT) == S_IFREG) argument
/dports/databases/xapian-core12/xapian-core-1.2.25/common/
H A Dsafesysstat.h58 # define S_ISDIR(ST_MODE) (((ST_MODE) & _S_IFMT) == _S_IFDIR) argument
61 # define S_ISREG(ST_MODE) (((ST_MODE) & _S_IFMT) == _S_IFREG) argument
83 # define S_ISDIR(ST_MODE) (((ST_MODE) & S_IFMT) == S_IFDIR) argument
86 # define S_ISREG(ST_MODE) (((ST_MODE) & S_IFMT) == S_IFREG) argument
/dports/www/xapian-omega12/xapian-omega-1.2.25/common/
H A Dsafesysstat.h58 # define S_ISDIR(ST_MODE) (((ST_MODE) & _S_IFMT) == _S_IFDIR) argument
61 # define S_ISREG(ST_MODE) (((ST_MODE) & _S_IFMT) == _S_IFREG) argument
83 # define S_ISDIR(ST_MODE) (((ST_MODE) & S_IFMT) == S_IFDIR) argument
86 # define S_ISREG(ST_MODE) (((ST_MODE) & S_IFMT) == S_IFREG) argument
/dports/devel/p5-No-Worries/No-Worries-1.6/t/
H A D1stat.t86 is(stat_type($stat[ST_MODE]), "directory", "type(directory)");
87 ok(S_ISDIR($stat[ST_MODE]), "S_ISDIR(directory)");
88 ok(!S_ISREG($stat[ST_MODE]), "!S_ISREG(directory)");
96 is(stat_type($stat[ST_MODE]), "plain file", "type(file)");
97 ok(S_ISREG($stat[ST_MODE]), "S_ISREG(file)");
98 ok(!S_ISDIR($stat[ST_MODE]), "!S_ISDIR(file)");
110 is(($stat[ST_MODE] & 07777), 0644, "mode=0644");
114 is(($stat[ST_MODE] & 07777), 0664, "mode=0664");
118 is(($stat[ST_MODE] & 07777), 0660, "mode=0660");
122 is(($stat[ST_MODE] & 07777), 0751, "mode=0751");
/dports/net/kippo/kippo-0.9/utils/
H A Dcreatefs.py31 if S_ISLNK(s[ST_MODE]):
34 elif S_ISDIR(s[ST_MODE]):
38 elif S_ISREG(s[ST_MODE]):
40 elif S_ISBLK(s[ST_MODE]):
42 elif S_ISCHR(s[ST_MODE]):
44 elif S_ISSOCK(s[ST_MODE]):
46 elif S_ISFIFO(s[ST_MODE]):
/dports/security/cowrie/cowrie-2.2.0/bin/
H A Dcreatefs73 if S_ISLNK(s[ST_MODE]):
85 elif S_ISDIR(s[ST_MODE]):
89 elif S_ISREG(s[ST_MODE]):
91 elif S_ISBLK(s[ST_MODE]):
93 elif S_ISCHR(s[ST_MODE]):
95 elif S_ISSOCK(s[ST_MODE]):
97 elif S_ISFIFO(s[ST_MODE]):
/dports/shells/jailkit/jailkit-2.22/py/
H A Djk_check.in95 if (statbuf[ST_MODE] & S_ISUID or statbuf[ST_MODE] & S_ISGID):
97 if (statbuf[ST_MODE] & S_IXOTH):
100 if (statbuf[ST_MODE] & S_IXGRP):
103 if (statbuf[ST_MODE] & S_IXUSR):
115 if (statbuf[ST_MODE] & S_IWOTH):
118 if (statbuf[ST_MODE] & S_IWGRP):
131 if (stat.S_ISLNK(sb1[stat.ST_MODE]) != stat.S_ISLNK(sb1[stat.ST_MODE])):
134 if (stat.S_ISLNK(sb1[stat.ST_MODE])):
H A Djk_update.in78 if (stat.S_ISLNK(sbA[stat.ST_MODE]) != stat.S_ISLNK(sbB[stat.ST_MODE])):
80 if (stat.S_ISLNK(sbA[stat.ST_MODE])):
109 if (stat.S_ISDIR(sbuf[stat.ST_MODE])):
111 elif (stat.S_ISREG(sbuf[stat.ST_MODE])):
/dports/www/mod_auth_gssapi/mod_auth_gssapi-1.6.3/tests/
H A Dt_spnego.py5 from stat import ST_MODE
22 if data[ST_MODE] != 0o100666:
23 raise ValueError('Incorrect perm on ccache: %o' % data[ST_MODE])
/dports/mail/mailman-exim4/mailman-2.1.39/Mailman/MTA/
H A DPostfix.py56 if (stat[ST_MODE] & targetmode) <> targetmode:
57 os.chmod(file, stat[ST_MODE] | targetmode)
65 if (stat[ST_MODE] & targetmode) <> targetmode:
66 os.chmod(dbfile, stat[ST_MODE] | targetmode)
449 if stat and (stat[ST_MODE] & targetmode) <> targetmode:
451 octmode = oct(stat[ST_MODE])
455 os.chmod(file, stat[ST_MODE] | targetmode)
488 if stat and (stat[ST_MODE] & targetmode) <> targetmode:
490 octmode = oct(stat[ST_MODE])
494 os.chmod(dbfile, stat[ST_MODE] | targetmode)
/dports/mail/mailman-postfix/mailman-2.1.39/Mailman/MTA/
H A DPostfix.py56 if (stat[ST_MODE] & targetmode) <> targetmode:
57 os.chmod(file, stat[ST_MODE] | targetmode)
65 if (stat[ST_MODE] & targetmode) <> targetmode:
66 os.chmod(dbfile, stat[ST_MODE] | targetmode)
449 if stat and (stat[ST_MODE] & targetmode) <> targetmode:
451 octmode = oct(stat[ST_MODE])
455 os.chmod(file, stat[ST_MODE] | targetmode)
488 if stat and (stat[ST_MODE] & targetmode) <> targetmode:
490 octmode = oct(stat[ST_MODE])
494 os.chmod(dbfile, stat[ST_MODE] | targetmode)
/dports/mail/mailman/mailman-2.1.39/Mailman/MTA/
H A DPostfix.py56 if (stat[ST_MODE] & targetmode) <> targetmode:
57 os.chmod(file, stat[ST_MODE] | targetmode)
65 if (stat[ST_MODE] & targetmode) <> targetmode:
66 os.chmod(dbfile, stat[ST_MODE] | targetmode)
449 if stat and (stat[ST_MODE] & targetmode) <> targetmode:
451 octmode = oct(stat[ST_MODE])
455 os.chmod(file, stat[ST_MODE] | targetmode)
488 if stat and (stat[ST_MODE] & targetmode) <> targetmode:
490 octmode = oct(stat[ST_MODE])
494 os.chmod(dbfile, stat[ST_MODE] | targetmode)
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/tests/qtest/
H A Dnpcm7xx_smbus-test.c79 #define ST_MODE BIT(1) macro
222 ST_MODE | ST_XMIT | ST_SDAST); in start_transfer()
240 ST_MODE | ST_XMIT | ST_SDAST); in send_byte()
254 return st == (ST_MODE | ST_SDAST); in check_recv()
262 return st == ST_MODE; in check_recv()
264 return st == (ST_MODE | ST_SDAST); in check_recv()
285 g_assert_cmphex(st, ==, ST_MODE | ST_SDAST | ST_STASTR); in send_address()
287 g_assert_cmphex(st, ==, ST_MODE | ST_XMIT | ST_SDAST | ST_STASTR); in send_address()
295 g_assert_cmphex(st, ==, ST_MODE | ST_XMIT | ST_SDAST); in send_address()
299 g_assert_cmphex(st, ==, ST_MODE | ST_NEGACK); in send_address()
[all …]
/dports/emulators/qemu/qemu-6.2.0/tests/qtest/
H A Dnpcm7xx_smbus-test.c79 #define ST_MODE BIT(1) macro
222 ST_MODE | ST_XMIT | ST_SDAST); in start_transfer()
240 ST_MODE | ST_XMIT | ST_SDAST); in send_byte()
254 return st == (ST_MODE | ST_SDAST); in check_recv()
262 return st == ST_MODE; in check_recv()
264 return st == (ST_MODE | ST_SDAST); in check_recv()
285 g_assert_cmphex(st, ==, ST_MODE | ST_SDAST | ST_STASTR); in send_address()
287 g_assert_cmphex(st, ==, ST_MODE | ST_XMIT | ST_SDAST | ST_STASTR); in send_address()
295 g_assert_cmphex(st, ==, ST_MODE | ST_XMIT | ST_SDAST); in send_address()
299 g_assert_cmphex(st, ==, ST_MODE | ST_NEGACK); in send_address()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/tests/qtest/
H A Dnpcm7xx_smbus-test.c79 #define ST_MODE BIT(1) macro
222 ST_MODE | ST_XMIT | ST_SDAST); in start_transfer()
240 ST_MODE | ST_XMIT | ST_SDAST); in send_byte()
254 return st == (ST_MODE | ST_SDAST); in check_recv()
262 return st == ST_MODE; in check_recv()
264 return st == (ST_MODE | ST_SDAST); in check_recv()
285 g_assert_cmphex(st, ==, ST_MODE | ST_SDAST | ST_STASTR); in send_address()
287 g_assert_cmphex(st, ==, ST_MODE | ST_XMIT | ST_SDAST | ST_STASTR); in send_address()
295 g_assert_cmphex(st, ==, ST_MODE | ST_XMIT | ST_SDAST); in send_address()
299 g_assert_cmphex(st, ==, ST_MODE | ST_NEGACK); in send_address()
[all …]
/dports/mail/mailagent/mailagent-9a14a15/agent/pl/
H A Dsecure.pl75 local($ST_MODE) = 2 + $[; # Field st_mode from inode structure
80 local($st_mode) = (stat(_))[$ST_MODE];
118 $st_mode = (stat(_))[$ST_MODE];
/dports/textproc/wv2/wv2-0.4.2/tests/
H A Dregression52 mode = os.stat(a)[ST_MODE]
67 mode = os.stat(pathname)[ST_MODE]
97 mode = os.stat(templateFile)[ST_MODE]
/dports/databases/py-gdbm/Python-3.8.12/Lib/distutils/command/
H A Dinstall_scripts.py11 from stat import ST_MODE
52 mode = ((os.stat(file)[ST_MODE]) | 0o555) & 0o7777
/dports/finance/electrum/Electrum-4.1.5/packages/setuptools/_distutils/command/
H A Dinstall_scripts.py11 from stat import ST_MODE
52 mode = ((os.stat(file)[ST_MODE]) | 0o555) & 0o7777
/dports/lang/python37/Python-3.7.12/Lib/distutils/command/
H A Dinstall_scripts.py11 from stat import ST_MODE
52 mode = ((os.stat(file)[ST_MODE]) | 0o555) & 0o7777
/dports/lang/python38/Python-3.8.12/Lib/distutils/command/
H A Dinstall_scripts.py11 from stat import ST_MODE
52 mode = ((os.stat(file)[ST_MODE]) | 0o555) & 0o7777
/dports/lang/python311/Python-3.11.0a3/Lib/distutils/command/
H A Dinstall_scripts.py11 from stat import ST_MODE
52 mode = ((os.stat(file)[ST_MODE]) | 0o555) & 0o7777
/dports/lang/python-tools/Python-3.8.12/Lib/distutils/command/
H A Dinstall_scripts.py11 from stat import ST_MODE
52 mode = ((os.stat(file)[ST_MODE]) | 0o555) & 0o7777

12345678910>>...22