Searched refs:mode (Results 51 - 75 of 2338) sorted by relevance

1234567891011>>

/freebsd-12-stable/tests/sys/audit/
H A Dopen.c63 #define OPEN_AT_TC_DEFINE(mode, regex, flag, class) \
64 ATF_TC_WITH_CLEANUP(open_ ## mode ## _success); \
65 ATF_TC_HEAD(open_ ## mode ## _success, tc) \
70 ATF_TC_BODY(open_ ## mode ## _success, tc) \
81 ATF_TC_CLEANUP(open_ ## mode ## _success, tc) \
85 ATF_TC_WITH_CLEANUP(open_ ## mode ## _failure); \
86 ATF_TC_HEAD(open_ ## mode ## _failure, tc) \
91 ATF_TC_BODY(open_ ## mode ## _failure, tc) \
99 ATF_TC_CLEANUP(open_ ## mode ## _failure, tc) \
103 ATF_TC_WITH_CLEANUP(openat_ ## mode ## _succes
[all...]
/freebsd-12-stable/tools/regression/geom/ConfCmp/
H A Da2c.conf12 <mode>r0w0e0</mode>
22 <mode>r0w0e0</mode>
32 <mode>r0w0e0</mode>
51 <mode>r0w0e0</mode>
61 <mode>r0w0e0</mode>
[all...]
H A Da1.conf15 <mode>r0w0e0</mode>
27 <mode>r0w0e0</mode>
39 <mode>r0w0e0</mode>
51 <mode>r0w0e0</mode>
63 <mode>r0w0e0</mode>
[all...]
H A Da1a.conf15 <mode>r0w0e0</mode>
27 <mode>r0w0e0</mode>
39 <mode>r0w0e0</mode>
51 <mode>r0w0e0</mode>
63 <mode>r0w0e0</mode>
[all...]
H A Da1b.conf15 <mode>r0w0e0</mode>
27 <mode>r0w0e0</mode>
39 <mode>r0w0e0</mode>
51 <mode>r0w0e0</mode>
63 <mode>r0w0e0</mode>
[all...]
H A Da1c.conf15 <mode>r0w0e0</mode>
27 <mode>r0w0e0</mode>
39 <mode>r0w0e0</mode>
51 <mode>r0w0e0</mode>
63 <mode>r0w0e0</mode>
[all...]
H A Da1d.conf15 <mode>r0w0e0</mode>
27 <mode>r0w0e0</mode>
39 <mode>r0w0e0</mode>
51 <mode>r0w0e0</mode>
63 <mode>r0w0e0</mode>
[all...]
/freebsd-12-stable/tools/tools/usbtest/
H A Dusbtest.c193 int mode = 0; local
203 error = sysctlbyname("hw.usb.g_audio.mode", NULL, NULL,
204 &mode, sizeof(mode));
207 printf("WARNING: Could not set audio mode "
208 "to %d (error=%d)\n", mode, errno);
234 "1) Set Silent mode %s\n"
235 "2) Set Dump mode %s\n"
236 "3) Set Loop mode %s\n"
237 "4) Set Pattern mode
316 int mode = 0; local
405 int mode = 0; local
522 int mode = 0; local
[all...]
/freebsd-12-stable/contrib/wpa/src/common/
H A Dhw_features_common.h15 struct hostapd_channel_data * hw_get_channel_chan(struct hostapd_hw_modes *mode,
17 struct hostapd_channel_data * hw_get_channel_freq(struct hostapd_hw_modes *mode,
20 int hw_get_freq(struct hostapd_hw_modes *mode, int chan);
21 int hw_get_chan(struct hostapd_hw_modes *mode, int freq);
23 int allowed_ht40_channel_pair(struct hostapd_hw_modes *mode, int pri_chan,
26 int check_40mhz_5g(struct hostapd_hw_modes *mode,
29 int check_40mhz_2g4(struct hostapd_hw_modes *mode,
33 enum hostapd_hw_mode mode,
/freebsd-12-stable/contrib/gdb/gdb/cli/
H A Dcli-dump.h26 void (*func) (char *args, char *mode),
34 extern FILE *fopen_with_cleanup (char *filename, const char *mode);
/freebsd-12-stable/lib/libc/gen/
H A Dlibc_dlopen.c45 libc_dlopen(const char *path, int mode) argument
49 _rtld_error("Service unavailable -- libc in restricted mode");
52 return (dlopen(path, mode));
/freebsd-12-stable/lib/libc/sys/
H A Dmknod.c41 mknod(const char *path, mode_t mode, dev_t dev) argument
44 return (__sys_mknodat(AT_FDCWD, path, mode, dev));
/freebsd-12-stable/sys/dev/rtwn/rtl8192e/
H A Dr92e_fw.c102 struct r12a_fw_cmd_pwrmode mode; local
107 mode.mode = R88E_PWRMODE_LEG;
113 mode.pwr_state = R88E_PWRMODE_STATE_RFOFF;
115 mode.pwr_state = R88E_PWRMODE_STATE_RFON;
118 mode.mode = R88E_PWRMODE_CAM;
119 mode.pwr_state = R88E_PWRMODE_STATE_ALLON;
121 mode.pwrb1 =
125 mode
[all...]
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5312/
H A Dar5312_power.c60 * fames. If request, set power mode of chip to
70 * Set power mgt to the requested mode, and conditionally set
74 ar5312SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip) argument
87 modes[ah->ah_powerMode], modes[mode],
89 switch (mode) {
100 HALDEBUG(ah, HAL_DEBUG_POWER, "%s: unknown power mode %u\n",
101 __func__, mode);
104 ah->ah_powerMode = mode;
109 * Return the current sleep mode of the chip
124 return 0; /* Currently, 5312 is never in sleep mode
[all...]
/freebsd-12-stable/tests/sys/fs/fusefs/
H A Dmknod.cc74 /* Test an OK creation of a file with the given mode and device number */
75 void expect_mknod(mode_t mode, dev_t dev) { argument
86 in.body.mknod.mode == mode &&
94 out.body.entry.attr.mode = mode;
119 /* Test an OK creation of a file with the given mode and device number */
120 void expect_mknod(mode_t mode, dev_t dev) { argument
131 in.body.mknod.mode == mode
155 mode_t mode = S_IFBLK | 0755; local
163 mode_t mode = S_IFCHR | 0755; local
175 mode_t mode = S_IFIFO | 0755; local
196 mode_t mode = S_IFIFO | 0755; local
209 mode_t mode = S_IFSOCK | 0755; local
233 mode_t mode = S_IFWHT | 0755; local
242 mode_t mode = S_IFIFO | 0755; local
[all...]
H A Dmkdir.cc59 mode_t mode = 0755; local
69 in.body.mkdir.mode == (S_IFDIR | mode) &&
75 ASSERT_NE(1, mkdir(FULLPATH, mode));
86 mode_t mode = 0755; local
104 in.body.mkdir.mode == (S_IFDIR | mode) &&
110 out.body.create.entry.attr.mode = S_IFDIR | mode;
116 ASSERT_EQ(0, mkdir(FULLPATH, mode)) << strerro
126 mode_t mode = 0755; local
165 mode_t mode = 0755; local
200 mode_t mode = 0755; local
[all...]
H A Dcreate.cc45 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) argument
55 in.body.create.mode == mode &&
73 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) argument
80 in.body.create.mode == mode &&
97 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) argument
104 in.body.create.mode == mode &&
122 mode_t mode local
155 mode_t mode = S_IFREG | 0755; local
202 mode_t mode = S_IFREG | 0755; local
219 mode_t mode = S_IFREG | 0755; local
268 mode_t mode = S_IFREG | 0755; local
302 mode_t mode = S_IFREG | 0755; local
339 mode_t mode = S_IFREG | 0755; local
353 mode_t mode = S_IFREG | 0755; local
385 mode_t mode = S_IFREG | 0444; local
409 mode_t mode = S_IFREG | 0755; local
433 mode_t mode = S_IFREG | 0755; local
[all...]
/freebsd-12-stable/sys/contrib/zlib/
H A Dgzlib.c82 if (state->mode == GZ_READ) { /* for reading ... */
94 local gzFile gz_open(path, fd, mode)
97 const char *mode;
121 /* interpret mode */
122 state->mode = GZ_NONE;
126 while (*mode) {
127 if (*mode >= '0' && *mode <= '9')
128 state->level = *mode - '0';
130 switch (*mode) {
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_chmod_inherit_004_pos.ksh41 # Verify aclinherit=passthrough-x will inherit the 'x' bits while mode request.
47 # 4. Verify only passthrough-x will inherit the 'x' bits while mode request.
73 log_assert "Verify aclinherit=passthrough-x will inherit the 'x' bits while mode request."
124 mode=$(get_mode $ndir2)
125 if [[ $mode != "drwx--x--x"* ]] ; then
126 log_fail "Unexpect mode of $ndir2, expect: drwx--x--x, current: $mode"
129 mode=$(get_mode $nfile1)
130 if [[ $mode != "-rw-r--r--"* ]] ; then
131 log_fail "Unexpect mode o
[all...]
/freebsd-12-stable/sys/dev/ata/chipsets/
H A Data-cyrix.c58 static int ata_cyrix_setmode(device_t dev, int target, int mode);
99 ata_cyrix_setmode(device_t dev, int target, int mode) argument
112 mode = min(mode, ATA_UDMA2);
113 /* dont try to set the mode if we dont have the resource */
115 if (mode >= ATA_UDMA0) {
118 0x24 + (devno << 3), udmatiming[mode & ATA_MODE_MASK]);
120 } else if (mode >= ATA_WDMA0) {
121 /* Set WDMA timings, and respective PIO mode. */
123 0x24 + (devno << 3), dmatiming[mode
[all...]
/freebsd-12-stable/crypto/openssl/crypto/pkcs12/
H A Dp12_init.c17 PKCS12 *PKCS12_init(int mode) argument
27 pkcs12->authsafes->type = OBJ_nid2obj(mode);
28 switch (mode) {
/freebsd-12-stable/contrib/pjdfstest/tests/chmod/
H A D11.t5 desc="chmod returns EFTYPE if the effective user ID is not the super-user, the mode includes the sticky bit (S_ISVTX), and path does not refer to a directory"
28 expect 01621 stat ${n1} mode
31 expect 01700 stat ${n1} mode
43 expect 01621 lstat ${n1} mode
55 expect 01755 stat ${n1} mode
58 expect 01700 stat ${n1} mode
69 expect 01644 stat ${n1} mode
71 expect 01640 stat ${n1} mode
75 expect 0640 stat ${n1} mode
77 expect 0640 stat ${n1} mode
[all...]
/freebsd-12-stable/contrib/ncurses/ncurses/base/
H A Dsigaction.c54 _nc_sigprocmask(int mode, sigset_t * mask, sigset_t * omask) argument
61 if (mode == SIG_BLOCK)
63 else if (mode == SIG_UNBLOCK)
65 else if (mode == SIG_SETMASK)
/freebsd-12-stable/contrib/wpa/src/ap/
H A Dhw_features.h20 const char * hostapd_hw_mode_txt(int mode);
25 struct hostapd_hw_modes *mode);
49 static inline const char * hostapd_hw_mode_txt(int mode) argument
65 struct hostapd_hw_modes *mode)
64 hostapd_prepare_rates(struct hostapd_iface *iface, struct hostapd_hw_modes *mode) argument
/freebsd-12-stable/lib/libz/
H A Dzopen.c11 FILE *zopen(const char *fname, const char *mode);
39 zopen(const char *fname, const char *mode) argument
41 gzFile gz = gzopen(fname, mode);
45 if(*mode == 'r')

Completed in 231 milliseconds

1234567891011>>