Searched refs:mode (Results 1 - 25 of 2317) sorted by relevance

1234567891011>>

/freebsd-current/lib/libc/arm/gen/
H A Dflt_rounds.c41 int mode; local
48 mode = __softfloat_float_rounding_mode;
53 __asm __volatile("vmrs %0, fpscr" : "=&r"(mode));
54 mode &= _ROUND_MASK;
57 switch (mode) {
/freebsd-current/lib/libc/gen/
H A Dcap_sandboxed.c40 u_int mode; local
42 if (cap_getmode(&mode) != 0) {
46 assert(mode == 0 || mode == 1);
47 return (mode == 1);
H A Dlibc_dlopen.c40 libc_dlopen(const char *path, int mode) argument
44 _rtld_error("Service unavailable -- libc in restricted mode");
47 return (dlopen(path, mode));
/freebsd-current/tools/regression/capsicum/syscalls/
H A Dcap_getmode.c46 unsigned int mode; local
52 mode = 666;
53 CHECK(cap_getmode(&mode) == 0);
54 /* If cap_getmode() succeeded mode should be modified. */
55 CHECK(mode != 666);
56 /* We are not in capability mode. */
57 CHECK(mode == 0);
67 /* If parent is not in capability mode, child after fork() also won't be. */
73 mode = 666;
74 CHECK(cap_getmode(&mode)
[all...]
/freebsd-current/lib/libc/riscv/gen/
H A Dflt_rounds.c43 uint64_t mode; local
45 __asm __volatile("csrr %0, fcsr" : "=r" (mode));
47 switch (mode & _ROUND_MASK) {
/freebsd-current/usr.bin/systat/
H A Dmode.h31 * mode.h - mechanisms for dealing with SGI-style modal displays.
37 enum mode { display_RATE, display_DELTA, display_SINCE, display_ABS }; enum
40 extern enum mode currentmode;
/freebsd-current/contrib/diff/lib/
H A Dsetmode.h1 /* Set a file descriptor's mode to binary or to text.
25 # define set_binary_mode(fd, mode) true
/freebsd-current/usr.bin/tftp/
H A Dtftp.h32 int recvfile(int peer, char *port, int fd, char *name, char *mode);
33 int xmitfile(int peer, char *port, int fd, char *name, char *mode);
/freebsd-current/contrib/ntp/libntp/
H A Dmodetoa.c2 * modetoa - return an asciized mode
11 size_t mode
27 if (mode >= COUNTOF(modestrings)) {
29 snprintf(bp, LIB_BUFLENGTH, "mode#%zu", mode);
33 return modestrings[mode];
/freebsd-current/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_blowfish_hw.c27 # define PROV_CIPHER_HW_blowfish_mode(mode, UCMODE) \
28 IMPLEMENT_CIPHER_HW_##UCMODE(mode, blowfish, PROV_BLOWFISH_CTX, BF_KEY, \
29 BF_##mode) \
30 static const PROV_CIPHER_HW bf_##mode = { \
32 cipher_hw_blowfish_##mode##_cipher \
34 const PROV_CIPHER_HW *ossl_prov_cipher_hw_blowfish_##mode(size_t keybits) \
36 return &bf_##mode; \
H A Dcipher_cast5_hw.c27 # define PROV_CIPHER_HW_cast_mode(mode, UCMODE) \
28 IMPLEMENT_CIPHER_HW_##UCMODE(mode, cast5, PROV_CAST_CTX, CAST_KEY, \
29 CAST_##mode) \
30 static const PROV_CIPHER_HW cast5_##mode = { \
32 cipher_hw_cast5_##mode##_cipher \
34 const PROV_CIPHER_HW *ossl_prov_cipher_hw_cast5_##mode(size_t keybits) \
36 return &cast5_##mode; \
H A Dcipher_rc5_hw.c26 # define PROV_CIPHER_HW_rc5_mode(mode, UCMODE) \
27 IMPLEMENT_CIPHER_HW_##UCMODE(mode, rc5, PROV_RC5_CTX, RC5_32_KEY, \
28 RC5_32_##mode) \
29 static const PROV_CIPHER_HW rc5_##mode = { \
31 cipher_hw_rc5_##mode##_cipher \
33 const PROV_CIPHER_HW *ossl_prov_cipher_hw_rc5_##mode(size_t keybits) \
35 return &rc5_##mode; \
H A Dcipher_seed_hw.c27 # define PROV_CIPHER_HW_seed_mode(mode, UCMODE) \
28 IMPLEMENT_CIPHER_HW_##UCMODE(mode, seed, PROV_SEED_CTX, SEED_KEY_SCHEDULE, \
29 SEED_##mode) \
30 static const PROV_CIPHER_HW seed_##mode = { \
32 cipher_hw_seed_##mode##_cipher \
34 const PROV_CIPHER_HW *ossl_prov_cipher_hw_seed_##mode(size_t keybits) \
36 return &seed_##mode; \
H A Dcipher_camellia_hw.c23 int ret, mode = dat->mode; local
33 if (dat->enc || (mode != EVP_CIPH_ECB_MODE && mode != EVP_CIPH_CBC_MODE)) {
35 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ?
39 dat->stream.cbc = mode == EVP_CIPH_CBC_MODE ?
51 # define PROV_CIPHER_HW_declare(mode)
52 # define PROV_CIPHER_HW_select(mode)
55 #define PROV_CIPHER_HW_camellia_mode(mode) \
56 static const PROV_CIPHER_HW camellia_##mode
[all...]
H A Dcipher_idea_hw.c26 || ctx->mode == EVP_CIPH_OFB_MODE
27 || ctx->mode == EVP_CIPH_CFB_MODE) {
39 # define PROV_CIPHER_HW_idea_mode_ex(mode, UCMODE, fname) \
40 IMPLEMENT_CIPHER_HW_##UCMODE(mode, idea, PROV_IDEA_CTX, IDEA_KEY_SCHEDULE, \
42 static const PROV_CIPHER_HW idea_##mode = { \
44 cipher_hw_idea_##mode##_cipher \
46 const PROV_CIPHER_HW *ossl_prov_cipher_hw_idea_##mode(size_t keybits) \
48 return &idea_##mode; \
51 # define PROV_CIPHER_HW_idea_mode(mode, UCMODE) \
52 PROV_CIPHER_HW_idea_mode_ex(mode, UCMOD
[all...]
H A Dcipher_rc2_hw.c28 # define PROV_CIPHER_HW_rc2_mode(mode, UCMODE) \
29 IMPLEMENT_CIPHER_HW_##UCMODE(mode, rc2, PROV_RC2_CTX, RC2_KEY, \
30 RC2_##mode) \
31 static const PROV_CIPHER_HW rc2_##mode = { \
33 cipher_hw_rc2_##mode##_cipher \
35 const PROV_CIPHER_HW *ossl_prov_cipher_hw_rc2_##mode(size_t keybits) \
37 return &rc2_##mode; \
/freebsd-current/sys/contrib/ncsw/inc/
H A Denet_ext.h95 e_ENET_HALF_DUPLEX, /**< Half-Duplex mode */
96 e_ENET_FULL_DUPLEX /**< Full-Duplex mode */
112 @Description Ethernet mode (combination of MAC-PHY interface and speed)
116 e_ENET_MODE_INVALID = 0, /**< Invalid Ethernet mode */
159 #define IS_ENET_MODE_VALID(mode) \
160 (((mode) == e_ENET_MODE_MII_10 ) || \
161 ((mode) == e_ENET_MODE_MII_100 ) || \
162 ((mode) == e_ENET_MODE_RMII_10 ) || \
163 ((mode) == e_ENET_MODE_RMII_100 ) || \
164 ((mode)
[all...]
/freebsd-current/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c128 ok_mode(const char *testname, const char *comment, int mode) argument
133 printf("ok %d - %s # mode 0x%x\n", testnum, testname, mode);
135 printf("ok %d - %s # mode 0x%x - %s\n", testnum, testname,
136 mode, comment);
140 notok_mode(const char *testname, const char *comment, int mode) argument
145 printf("not ok %d - %s # mode 0x%x\n", testnum, testname,
146 mode);
148 printf("not ok %d - %s # mode 0x%x - %s\n", testnum, testname,
149 mode, commen
156 try_directory_open(const char *testname, const char *directory, int mode, int expected_errno) argument
182 int expected_errno, i, mode; local
203 int dfd, fd, i, mode; local
229 int dfd, fd, i, mode; local
255 int fd, i, mode; local
279 int fd, i, mode; local
303 int fd, i, mode; local
327 int fd, i, mode; local
351 int fd, i, mode; local
375 int fd, i, mode; local
402 int fd, i, mode; local
427 int fd, i, mode; local
451 int fd, i, mode; local
476 int fd, i, mode; local
588 int fd, i, mode; local
612 int fd, i, mode; local
636 int fd, i, mode; local
676 int fd, i, mode, sv[2]; local
772 int fd, i, mode; local
858 int fd, i, mode; local
893 int fd, i, mode; local
939 int fd, i, mode; local
981 int fd, i, mode; local
1023 int fd, i, mode; local
[all...]
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_entry_strmode.c44 mode_t mode; local
50 mode = archive_entry_mode(entry);
67 if (!(mode & permbits[i]))
70 if (mode & S_ISUID) {
71 if (mode & 0100) bp[3] = 's';
74 if (mode & S_ISGID) {
75 if (mode & 0010) bp[6] = 's';
78 if (mode & S_ISVTX) {
79 if (mode & 0001) bp[9] = 't';
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dwait.h31 #define spl_wait_on_bit(word, bit, mode) wait_on_bit(word, bit, mode)
41 #define spl_wait_on_bit(word, bit, mode) \
42 wait_on_bit(word, bit, spl_bit_wait, mode)
/freebsd-current/lib/libc/sys/
H A Dopen.c44 int mode; local
48 mode = va_arg(ap, int);
51 mode = 0;
53 return (INTERPOS_SYS(openat, AT_FDCWD, path, flags, mode));
H A Dcreat.c40 int __creat(const char *path, mode_t mode);
44 __creat(const char *path, mode_t mode) argument
47 O_WRONLY | O_CREAT | O_TRUNC, mode));
/freebsd-current/lib/libc/stdio/
H A Dfwide.c38 fwide(FILE *fp, int mode) argument
44 if (mode != 0 && fp->_orientation == 0)
45 fp->_orientation = mode > 0 ? 1 : -1;
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dstrmode.c40 /* XXX mode should be mode_t */
43 strmode(int mode, char *p) argument
46 switch (mode & S_IFMT) {
77 if (mode & S_IRUSR)
81 if (mode & S_IWUSR)
85 switch (mode & (S_IXUSR | S_ISUID)) {
100 if (mode & S_IRGRP)
104 if (mode & S_IWGRP)
108 switch (mode & (S_IXGRP | S_ISGID)) {
123 if (mode
[all...]
/freebsd-current/lib/libc/string/
H A Dstrmode.c37 strmode(mode_t mode, char *p) argument
40 switch (mode & S_IFMT) {
74 if (mode & S_IRUSR)
78 if (mode & S_IWUSR)
82 switch (mode & (S_IXUSR | S_ISUID)) {
97 if (mode & S_IRGRP)
101 if (mode & S_IWGRP)
105 switch (mode & (S_IXGRP | S_ISGID)) {
120 if (mode & S_IROTH)
124 if (mode
[all...]

Completed in 155 milliseconds

1234567891011>>