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

1234567891011>>

/freebsd-11-stable/tools/test/ppsapi/
H A Dppsapitest.c38 int i, mode; local
83 i = time_pps_getcap(ph, &mode);
88 if (mode & PPS_CAPTUREASSERT)
90 if (mode & PPS_CAPTURECLEAR)
92 if (mode & PPS_OFFSETASSERT)
94 if (mode & PPS_OFFSETCLEAR)
96 if (mode & PPS_ECHOASSERT)
98 if (mode & PPS_ECHOCLEAR)
100 if (mode & PPS_CANWAIT)
102 if (mode
[all...]
/freebsd-11-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-11-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-11-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-11-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-11-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-11-stable/lib/libc/gen/
H A Dlibc_dlopen.c44 libc_dlopen(const char *path, int mode) argument
48 _rtld_error("Service unavailable -- libc in restricted mode");
51 return (dlopen(path, mode));
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5312/
H A Dar5312_power.c58 * fames. If request, set power mode of chip to
68 * Set power mgt to the requested mode, and conditionally set
72 ar5312SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip) argument
85 modes[ah->ah_powerMode], modes[mode],
87 switch (mode) {
98 HALDEBUG(ah, HAL_DEBUG_POWER, "%s: unknown power mode %u\n",
99 __func__, mode);
102 ah->ah_powerMode = mode;
107 * Return the current sleep mode of the chip
122 return 0; /* Currently, 5312 is never in sleep mode
[all...]
/freebsd-11-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-11-stable/contrib/libreadline/support/
H A Dmkdist78 while read fname type mode
89 s) ln -s $mode $newdir/$fname ; mode= ;; # symlink
90 l) ln $mode $newdir/$fname ; mode= ;; # hard link
94 if [ -n "$mode" ]; then
95 chmod $mode $newdir/$fname
/freebsd-11-stable/contrib/pjdfstest/tests/chmod/
H A D11.t4 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"
27 expect 01621 stat ${n1} mode
30 expect 01700 stat ${n1} mode
42 expect 01621 lstat ${n1} mode
54 expect 01755 stat ${n1} mode
57 expect 01700 stat ${n1} mode
68 expect 0640 stat ${n1} mode
70 expect 0640 stat ${n1} mode
74 expect 0644 stat ${n1} mode
76 expect 0640 stat ${n1} mode
[all...]
/freebsd-11-stable/sys/dev/ata/chipsets/
H A Data-cyrix.c56 static int ata_cyrix_setmode(device_t dev, int target, int mode);
97 ata_cyrix_setmode(device_t dev, int target, int mode) argument
110 mode = min(mode, ATA_UDMA2);
111 /* dont try to set the mode if we dont have the resource */
113 if (mode >= ATA_UDMA0) {
116 0x24 + (devno << 3), udmatiming[mode & ATA_MODE_MASK]);
118 } else if (mode >= ATA_WDMA0) {
119 /* Set WDMA timings, and respective PIO mode. */
121 0x24 + (devno << 3), dmatiming[mode
[all...]
H A Data-national.c56 static int ata_national_setmode(device_t dev, int target, int mode);
99 ata_national_setmode(device_t dev, int target, int mode) argument
113 mode = min(mode, ATA_UDMA2);
115 if (mode >= ATA_UDMA0) {
117 udmatiming[mode & ATA_MODE_MASK], 4);
119 } else if (mode >= ATA_WDMA0) {
121 dmatiming[mode & ATA_MODE_MASK], 4);
122 piomode = mode;
127 piomode = mode;
[all...]
/freebsd-11-stable/crypto/openssl/crypto/pkcs12/
H A Dp12_init.c66 PKCS12 *PKCS12_init(int mode) argument
75 pkcs12->authsafes->type = OBJ_nid2obj(mode);
76 switch (mode) {
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_agp.c135 struct drm_agp_mode mode; local
164 mode.mode = info.mode;
166 * Just use the whatever mode the host sets up.
169 agp_status = (RREG32(RADEON_AGP_STATUS) | RADEON_AGPv3_MODE) & mode.mode;
171 agp_status = mode.mode;
208 DRM_INFO("AGP mode requeste
[all...]
/freebsd-11-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-11-stable/contrib/groff/font/devdvi/generate/
H A DCompileFonts5 mode=cx
10 virmf "&cm \\mode=$mode; mag=$s/10; batchmode; input $f" >/dev/null
/freebsd-11-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')
/freebsd-11-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-11-stable/usr.sbin/mfiutil/
H A Dmfi_bbu.c88 mfi_autolearn_mode(uint8_t mode, char *buf, size_t sz) argument
91 switch (mode) {
102 snprintf(buf, sz, "mode 0x%02x", mode);
164 char *mode, *endptr; local
200 } else if (strcmp(av[1], "autolearn-mode") == 0) {
201 mode = av[2];
207 else if (mode[0] >= '0' && mode[0] <= '2' && mode[
[all...]

Completed in 228 milliseconds

1234567891011>>