/freebsd-11-stable/contrib/gdtoa/ |
H A D | g_xfmt.c | 65 int decpt, ex, i, mode; local 111 mode = 2; 115 mode = 0; 117 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-thunder.h | 90 * Set LAN bypass mode. 98 * When transitioning to this mode, default is LAN bypass enabled 107 * @param mode LAN bypass mode 111 int cvmx_lan_bypass_mode_set(cvmx_lan_bypass_mode_t mode);
|
/freebsd-11-stable/sys/dev/ata/chipsets/ |
H A D | ata-acard.c | 57 static int ata_acard_850_setmode(device_t dev, int target, int mode); 58 static int ata_acard_86X_setmode(device_t dev, int target, int mode); 150 ata_acard_850_setmode(device_t dev, int target, int mode) argument 157 mode = min(mode, ctlr->chip->max_dma); 159 if (mode >= ATA_WDMA2) { 163 if (mode >= ATA_UDMA0) 164 reg54 |= (((mode & ATA_MODE_MASK) + 1) << (devno << 1)); 169 /* we could set PIO mode timings, but we assume the BIOS did that */ 170 return (mode); 174 ata_acard_86X_setmode(device_t dev, int target, int mode) argument [all...] |
H A D | ata-amd.c | 56 static int ata_amd_setmode(device_t dev, int target, int mode); 108 ata_amd_setmode(device_t dev, int target, int mode) argument 121 mode = min(mode, ctlr->chip->max_dma); 123 if (ata_dma_check_80pin && mode > ATA_UDMA2 && 126 mode = ATA_UDMA2; 130 if (mode >= ATA_UDMA0) { 131 pci_write_config(parent, reg, modes[mode & ATA_MODE_MASK], 1); 135 piomode = mode; 139 return (mode); [all...] |
/freebsd-11-stable/contrib/openbsm/compat/ |
H A D | flopen.h | 42 mode_t mode; local 48 mode = 0; 53 mode = (mode_t)va_arg(ap, int); /* mode_t promoted to int */ 65 if ((fd = open(path, flags, mode)) == -1)
|
/freebsd-11-stable/contrib/pjdfstest/tests/chmod/ |
H A D | 02.t | 16 expect 0620 stat ${nx} mode 22 expect 0620 stat ${nx} mode
|
H A D | 03.t | 18 expect 0642 stat ${nx} mode 24 expect 0642 stat ${nx} mode
|
H A D | 09.t | 22 expect 0640 stat ${n0}/${n1} mode 24 expect 0530 stat ${n0}/${n1} mode 28 expect 0530 stat ${n0}/${n1} mode 31 expect 0600 stat ${n0}/${n1} mode 33 expect 0640 stat ${n0}/${n1} mode
|
/freebsd-11-stable/lib/libutil/ |
H A D | flopen.c | 45 mode_t mode; local 51 mode = 0; 56 mode = (mode_t)va_arg(ap, int); /* mode_t promoted to int */ 68 if ((fd = open(path, flags, mode)) == -1)
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | sigact.c | 67 sigprocmask (int mode, sigset_t *mask, sigset_t *omask) argument 79 if (mode == SIG_BLOCK) 81 else if (mode == SIG_UNBLOCK) 83 else if (mode == SIG_SETMASK)
|
/freebsd-11-stable/lib/libc/db/db/ |
H A D | db.c | 52 dbopen(const char *fname, int flags, int mode, DBTYPE type, const void *openinfo) argument 64 mode, openinfo, flags & DB_FLAGS)); 67 mode, openinfo, flags & DB_FLAGS)); 70 mode, openinfo, flags & DB_FLAGS));
|
/freebsd-11-stable/contrib/ntp/sntp/libopts/compat/ |
H A D | windows-config.h | 107 # define S_ISREG(mode) (((mode) & S_IFREG) == S_IFREG) 112 # define S_ISDIR(mode) (((mode) & S_IFDIR) == S_IFDIR)
|
/freebsd-11-stable/usr.sbin/fifolog/lib/ |
H A D | libfifolog_int.h | 44 const char *fifolog_int_open(struct fifolog_file **ff, const char *fname, int mode);
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | async.h | 34 int mode; member in struct:async
|
/freebsd-11-stable/sys/contrib/zlib/ |
H A D | gzclose.c | 21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | FileSystemPosix.cpp | 74 FILE *FileSystem::Fopen(const char *path, const char *mode) { argument 75 return llvm::sys::RetryAfterSignal(nullptr, ::fopen, path, mode); 78 int FileSystem::Open(const char *path, int flags, int mode) { argument 79 return llvm::sys::RetryAfterSignal(-1, ::open, path, flags, mode);
|
/freebsd-11-stable/bin/mkdir/ |
H A D | mkdir.c | 67 char *mode; local 70 mode = NULL; 74 mode = optarg; 92 if (mode == NULL) { 95 if ((set = setmode(mode)) == NULL) 96 errx(1, "invalid file mode: %s", mode); 119 * nine bits, so if you try to set a mode including the 121 * this unless the user has specifically requested a mode, 125 if (success == 1 && mode ! [all...] |
/freebsd-11-stable/contrib/gcc/config/soft-fp/ |
H A D | soft-fp.h | 180 typedef int QItype __attribute__((mode(QI))); 181 typedef int SItype __attribute__((mode(SI))); 182 typedef int DItype __attribute__((mode(DI))); 183 typedef unsigned int UQItype __attribute__((mode(QI))); 184 typedef unsigned int USItype __attribute__((mode(SI))); 185 typedef unsigned int UDItype __attribute__((mode(DI))); 187 typedef unsigned int UHWtype __attribute__((mode(HI)));
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_power.c | 49 * Be careful setting the AWAKE mode. When we are called 104 * fames. If request, set power mode of chip to 116 * Set power mgt to the requested mode, and conditionally set 120 ar5212SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip) argument 133 modes[ah->ah_powerMode], modes[mode], 135 switch (mode) { 138 ah->ah_powerMode = mode; 144 ah->ah_powerMode = mode; 149 ah->ah_powerMode = mode; 152 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: unknown power mode [all...] |
/freebsd-11-stable/lib/libc/rpc/ |
H A D | des_crypt.c | 70 * CBC mode encryption 73 cbc_crypt(char *key, char *buf, unsigned len, unsigned mode, char *ivec) argument 85 err = common_crypt(key, buf, len, mode, &dp); 92 * ECB mode encryption 95 ecb_crypt(char *key, char *buf, unsigned len, unsigned mode) argument 105 return(common_crypt(key, buf, len, mode, &dp)); 114 common_crypt(char *key, char *buf, unsigned len, unsigned mode, argument 123 ((mode & DES_DIRMASK) == DES_ENCRYPT) ? ENCRYPT : DECRYPT; 125 desdev = mode & DES_DEVMASK;
|
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | file.c | 99 * @param mode the open mode (uses int flags value) 102 open_file_fd(tOptions * pOpts, tOptDesc * pOD, tuFileMode mode) argument 104 int fd = open(pOD->optArg.argString, mode.file_flags); 123 * @param mode the open mode (uses "char *" mode value) 126 fopen_file_fp(tOptions * pOpts, tOptDesc * pOD, tuFileMode mode) argument 128 FILE * fp = fopen(pOD->optArg.argString, mode.file_mode); 149 * arg: + tuFileMode + mode 159 optionFileCheck(tOptions * pOpts, tOptDesc * pOD, teOptFileType ftype, tuFileMode mode) argument [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_umask.c | 67 mode_t mode; local 83 mode = umask(mask[i]); 85 if (mode != (mask[i] | mask[i + 1])) 173 mode_t mode; local 178 mode = umask(mask[i]); 179 mode = umask(mask[i]); 181 if (mode != mask[i])
|
/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | hw_features_common.c | 19 struct hostapd_channel_data * hw_get_channel_chan(struct hostapd_hw_modes *mode, argument 27 if (!mode) 30 for (i = 0; i < mode->num_channels; i++) { 31 struct hostapd_channel_data *ch = &mode->channels[i]; 43 struct hostapd_channel_data * hw_get_channel_freq(struct hostapd_hw_modes *mode, argument 51 if (!mode) 54 for (i = 0; i < mode->num_channels; i++) { 55 struct hostapd_channel_data *ch = &mode->channels[i]; 67 int hw_get_freq(struct hostapd_hw_modes *mode, int chan) argument 71 hw_get_channel_chan(mode, cha 77 hw_get_chan(struct hostapd_hw_modes *mode, int freq) argument 87 allowed_ht40_channel_pair(struct hostapd_hw_modes *mode, int pri_chan, int sec_chan) argument 179 check_40mhz_5g(struct hostapd_hw_modes *mode, struct wpa_scan_results *scan_res, int pri_chan, int sec_chan) argument 276 check_40mhz_2g4(struct hostapd_hw_modes *mode, struct wpa_scan_results *scan_res, int pri_chan, int sec_chan) argument 361 hostapd_set_freq_params(struct hostapd_freq_params *data, enum hostapd_hw_mode mode, int freq, int channel, int ht_enabled, int vht_enabled, int he_enabled, int sec_channel_offset, int oper_chwidth, int center_segment0, int center_segment1, u32 vht_caps, struct he_capabilities *he_cap) argument [all...] |
/freebsd-11-stable/lib/libprocstat/ |
H A D | common_kvm.c | 144 mode_t mode; local 155 mode = (mode_t)nfsnode.n_vattr.va_mode; 158 mode |= S_IFREG; 161 mode |= S_IFDIR; 164 mode |= S_IFBLK; 167 mode |= S_IFCHR; 170 mode |= S_IFLNK; 173 mode |= S_IFSOCK; 176 mode |= S_IFIFO; 181 vn->vn_mode = mode; [all...] |
/freebsd-11-stable/contrib/pjdfstest/tests/chown/ |
H A D | 00.t | 155 expect 06555,65534,65533 stat ${n0} mode,uid,gid 157 expect "(06555|0555),65532,65531" stat ${n0} mode,uid,gid 159 expect 06555,65532,65531 stat ${n0} mode,uid,gid 161 expect "(06555|0555),0,0" stat ${n0} mode,uid,gid 166 expect 06555,65534,65533 stat ${n0} mode,uid,gid 167 expect 06555,65534,65533 stat ${n1} mode,uid,gid 169 expect "(06555|0555),65532,65531" stat ${n0} mode,uid,gid 170 expect "(06555|0555),65532,65531" stat ${n1} mode,uid,gid 172 expect 06555,65532,65531 stat ${n0} mode,uid,gid 173 expect 06555,65532,65531 stat ${n1} mode,ui [all...] |