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

1234567891011>>

/freebsd-11-stable/contrib/gcclibs/libdecnumber/
H A DdecRound.c47 /* Set the decNumber rounding mode from the FE_DEC_* value in MODE. */
50 __dfp_set_round (int mode) argument
52 switch (mode)
65 /* We can't use assert in libgcc, so just return the default mode. */
70 /* Return the decNumber rounding mode as an FE_DEC_* value. */
75 int mode; local
80 mode = FE_DEC_DOWNWARD; break;
82 mode = FE_DEC_TONEAREST; break;
84 mode = FE_DEC_TONEARESTFROMZERO; break;
86 mode
[all...]
/freebsd-11-stable/contrib/apr/file_io/unix/
H A Dfileacc.c37 mode_t mode = 0; local
40 mode |= S_ISUID;
42 mode |= S_IRUSR;
44 mode |= S_IWUSR;
46 mode |= S_IXUSR;
49 mode |= S_ISGID;
51 mode |= S_IRGRP;
53 mode |= S_IWGRP;
55 mode |= S_IXGRP;
59 mode |
71 apr_unix_mode2perms(mode_t mode) argument
[all...]
/freebsd-11-stable/lib/libc/arm/gen/
H A Dflt_rounds.c42 int mode; local
49 mode = __softfloat_float_rounding_mode;
54 __asm __volatile("vmrs %0, fpscr" : "=&r"(mode));
55 mode &= _ROUND_MASK;
58 switch (mode) {
/freebsd-11-stable/lib/libc/gen/
H A Dcap_sandboxed.c42 u_int mode; local
44 if (cap_getmode(&mode) != 0) {
48 assert(mode == 0 || mode == 1);
49 return (mode == 1);
/freebsd-11-stable/tools/regression/capsicum/syscalls/
H A Dcap_getmode.c49 unsigned int mode; local
55 mode = 666;
56 CHECK(cap_getmode(&mode) == 0);
57 /* If cap_getmode() succeeded mode should be modified. */
58 CHECK(mode != 666);
59 /* We are not in capability mode. */
60 CHECK(mode == 0);
70 /* If parent is not in capability mode, child after fork() also won't be. */
76 mode = 666;
77 CHECK(cap_getmode(&mode)
[all...]
/freebsd-11-stable/usr.bin/systat/
H A Dmode.h33 * mode.h - mechanisms for dealing with SGI-style modal displays.
39 enum mode { display_RATE, display_DELTA, display_SINCE, display_ABS }; enum
42 extern enum mode currentmode;
/freebsd-11-stable/sys/contrib/ncsw/inc/
H A Denet_ext.h85 e_ENET_HALF_DUPLEX, /**< Half-Duplex mode */
86 e_ENET_FULL_DUPLEX /**< Full-Duplex mode */
101 @Description Ethernet mode (combination of MAC-PHY interface and speed)
105 e_ENET_MODE_INVALID = 0, /**< Invalid Ethernet mode */
126 #define IS_ENET_MODE_VALID(mode) \
127 (((mode) == e_ENET_MODE_MII_10 ) || \
128 ((mode) == e_ENET_MODE_MII_100 ) || \
129 ((mode) == e_ENET_MODE_RMII_10 ) || \
130 ((mode) == e_ENET_MODE_RMII_100 ) || \
131 ((mode)
[all...]
/freebsd-11-stable/contrib/ntp/libntp/
H A Dmodetoa.c2 * modetoa - return an asciized mode
12 size_t mode
28 if (mode >= COUNTOF(modestrings)) {
30 snprintf(bp, LIB_BUFLENGTH, "mode#%zu", mode);
34 return modestrings[mode];
/freebsd-11-stable/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-11-stable/lib/libc/riscv/gen/
H A Dflt_rounds.c49 int mode; local
53 mode = (fcsr & _ROUND_MASK);
57 mode = FE_TOWARDZERO; /* softfloat rounding mode */
59 switch (mode) {
/freebsd-11-stable/usr.bin/tftp/
H A Dtftp.h33 void recvfile(int peer, char *port, int fd, char *name, char *mode);
34 void xmitfile(int peer, char *port, int fd, char *name, char *mode);
/freebsd-11-stable/contrib/gcc/
H A Daddresses.h26 base_reg_class (enum machine_mode mode ATTRIBUTE_UNUSED,
31 return MODE_CODE_BASE_REG_CLASS (mode, outer_code, index_code);
35 return MODE_BASE_REG_REG_CLASS (mode);
38 return MODE_BASE_REG_CLASS (mode);
51 ok_for_base_p_1 (unsigned regno, enum machine_mode mode ATTRIBUTE_UNUSED,
56 return REGNO_MODE_CODE_OK_FOR_BASE_P (regno, mode, outer_code, index_code);
60 return REGNO_MODE_OK_FOR_REG_BASE_P (regno, mode);
63 return REGNO_MODE_OK_FOR_BASE_P (regno, mode);
74 regno_ok_for_base_p (unsigned regno, enum machine_mode mode, argument
80 return ok_for_base_p_1 (regno, mode, outer_cod
[all...]
/freebsd-11-stable/usr.bin/tset/
H A Dset.c50 * Reset the terminal mode bits to a sensible state. Very useful after
51 * a child program dies in raw mode.
56 tcgetattr(STDERR_FILENO, &mode);
59 mode.c_cc[VDISCARD] = CHK(mode.c_cc[VDISCARD], CDISCARD);
61 mode.c_cc[VEOF] = CHK(mode.c_cc[VEOF], CEOF);
62 mode.c_cc[VERASE] = CHK(mode.c_cc[VERASE], CERASE);
64 mode
[all...]
/freebsd-11-stable/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c131 ok_mode(const char *testname, const char *comment, int mode) argument
136 printf("ok %d - %s # mode 0x%x\n", testnum, testname, mode);
138 printf("ok %d - %s # mode 0x%x - %s\n", testnum, testname,
139 mode, comment);
143 notok_mode(const char *testname, const char *comment, int mode) argument
148 printf("not ok %d - %s # mode 0x%x\n", testnum, testname,
149 mode);
151 printf("not ok %d - %s # mode 0x%x - %s\n", testnum, testname,
152 mode, commen
159 try_directory_open(const char *testname, const char *directory, int mode, int expected_errno) argument
185 int expected_errno, i, mode; local
206 int dfd, fd, i, mode; local
232 int dfd, fd, i, mode; local
258 int fd, i, mode; local
282 int fd, i, mode; local
306 int fd, i, mode; local
330 int fd, i, mode; local
354 int fd, i, mode; local
378 int fd, i, mode; local
405 int fd, i, mode; local
430 int fd, i, mode; local
454 int fd, i, mode; local
479 int fd, i, mode; local
591 int fd, i, mode; local
615 int fd, i, mode; local
639 int fd, i, mode; local
679 int fd, i, mode, sv[2]; local
775 int fd, i, mode; local
861 int fd, i, mode; local
896 int fd, i, mode; local
942 int fd, i, mode; local
984 int fd, i, mode; local
1026 int fd, i, mode; local
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_entry_strmode.c45 mode_t mode; local
51 mode = archive_entry_mode(entry);
68 if (!(mode & permbits[i]))
71 if (mode & S_ISUID) {
72 if (mode & 0100) bp[3] = 's';
75 if (mode & S_ISGID) {
76 if (mode & 0010) bp[6] = 's';
79 if (mode & S_ISVTX) {
80 if (mode & 0001) bp[9] = 't';
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-spi.h80 int (*reset_cb)(int interface, cvmx_spi_mode_t mode);
83 int (*calendar_setup_cb)(int interface, cvmx_spi_mode_t mode, int num_ports);
86 int (*clock_detect_cb)(int interface, cvmx_spi_mode_t mode, int timeout);
89 int (*training_cb)(int interface, cvmx_spi_mode_t mode, int timeout);
92 int (*calendar_sync_cb)(int interface, cvmx_spi_mode_t mode, int timeout);
95 int (*interface_up_cb)(int interface, cvmx_spi_mode_t mode);
117 * @param mode The operating mode for the SPI interface. The interface
126 extern int cvmx_spi_start_interface(int interface, cvmx_spi_mode_t mode, int timeout, int num_ports);
134 * @param mode Th
[all...]
/freebsd-11-stable/contrib/top/
H A Dinstall-sh7 # -m target file mode
21 mode=$2
44 echo "Usage: install [ -o owner ] [ -m mode ] [ -g group ] file destination"
67 if [ "$mode" ]; then
68 chmod $mode $dest
/freebsd-11-stable/contrib/gcc/config/
H A Dfixunsdfsi.c2 typedef unsigned int USItype __attribute__ ((mode (SI)));
3 typedef int SItype __attribute__ ((mode (SI)));
4 typedef float SFtype __attribute__ ((mode (SF)));
5 typedef float DFtype __attribute__ ((mode (DF)));
H A Dfloatdidf.c2 typedef int SItype __attribute__ ((mode (SI)));
3 typedef unsigned int USItype __attribute__ ((mode (SI)));
4 typedef int DItype __attribute__ ((mode (DI)));
5 typedef float DFtype __attribute__ ((mode (DF)));
H A Dfixunssfsi.c2 typedef unsigned int USItype __attribute__ ((mode (SI)));
3 typedef int SItype __attribute__ ((mode (SI)));
4 typedef float SFtype __attribute__ ((mode (SF)));
H A Dfloatundidf.c2 typedef unsigned int USItype __attribute__ ((mode (SI)));
3 typedef unsigned int UDItype __attribute__ ((mode (DI)));
4 typedef float DFtype __attribute__ ((mode (DF)));
H A Dfloatunsidf.c2 typedef int SItype __attribute__ ((mode (SI)));
3 typedef unsigned int USItype __attribute__ ((mode (SI)));
4 typedef float DFtype __attribute__ ((mode (DF)));
H A Dfloatunsisf.c2 typedef int SItype __attribute__ ((mode (SI)));
3 typedef unsigned int USItype __attribute__ ((mode (SI)));
4 typedef float SFtype __attribute__ ((mode (SF)));
H A Dfloatunsitf.c2 typedef int SItype __attribute__ ((mode (SI)));
3 typedef unsigned int USItype __attribute__ ((mode (SI)));
4 typedef float TFtype __attribute__ ((mode (TF)));
/freebsd-11-stable/lib/libc/sys/
H A Dopen.c48 int mode; local
52 mode = va_arg(ap, int);
55 mode = 0;
58 __libc_interposing[INTERPOS_openat])(AT_FDCWD, path, flags, mode));

Completed in 146 milliseconds

1234567891011>>