Searched refs:mode (Results 26 - 50 of 1731) sorted by relevance

1234567891011>>

/freebsd-9.3-release/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-9.3-release/lib/libc/string/
H A Dstrmode.c41 strmode(/* mode_t */ int mode, char *p) argument
44 switch (mode & S_IFMT) {
78 if (mode & S_IRUSR)
82 if (mode & S_IWUSR)
86 switch (mode & (S_IXUSR | S_ISUID)) {
101 if (mode & S_IRGRP)
105 if (mode & S_IWGRP)
109 switch (mode & (S_IXGRP | S_ISGID)) {
124 if (mode & S_IROTH)
128 if (mode
[all...]
/freebsd-9.3-release/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_private.h53 /* If no specific decoding mode is requested, enable support for all modes. */
62 * The DEC_IS_foo(mode) macros are used in "if" statements. If only some
67 # define DEC_IS_SINGLE(mode) ((mode) == XZ_SINGLE)
69 # define DEC_IS_SINGLE(mode) (false)
73 # define DEC_IS_PREALLOC(mode) ((mode) == XZ_PREALLOC)
75 # define DEC_IS_PREALLOC(mode) (false)
79 # define DEC_IS_DYNALLOC(mode) ((mode)
[all...]
/freebsd-9.3-release/etc/
H A Drc.bsdextended63 #${CMD} add subject uid 80 object not uid 80 mode rxws;
64 #${CMD} add subject gid 80 object not gid 80 mode rxws;
68 #${CMD} add subject uid 54 object not uid 54 mode rxws;
69 #${CMD} add subject gid 26 object gid 54 mode rxws;
73 ${CMD} add subject uid 0 object not uid 0 mode arxws;
74 ${CMD} add subject gid 0 object not gid 0 mode arxws;
78 #${CMD} add subject uid 54 object not uid 54 mode rxws;
79 #${CMD} add subject gid 54 object not gid 54 mode rxws;
83 ${CMD} add subject uid 3 object not uid 3 mode rxws;
84 ${CMD} add subject gid 7 object not gid 7 mode rxw
[all...]
/freebsd-9.3-release/tools/regression/lib/libc/stdio/
H A Dtest-fopen.c43 runtest(const char *fname, const char *mode) argument
48 fp = fopen(fname, mode);
51 testnum++, fname, mode);
61 testnum++, fname, mode);
62 if (fcntl(fd, F_GETFD) == (strchr(mode, 'e') != NULL ? FD_CLOEXEC : 0))
67 if (strchr(mode, '+'))
68 wantedflags = O_RDWR | (*mode == 'a' ? O_APPEND : 0);
69 else if (*mode == 'r')
71 else if (*mode == 'w')
73 else if (*mode
[all...]
/freebsd-9.3-release/tools/regression/geom/ConfCmp/
H A Da2d.conf12 <mode>r0w0e0</mode>
22 <mode>r0w0e0</mode>
32 <mode>r0w0e0</mode>
42 <mode>r0w0e0</mode>
52 <mode>r0w0e0</mode>
[all...]
H A Da2.conf12 <mode>r0w0e0</mode>
22 <mode>r0w0e0</mode>
32 <mode>r0w0e0</mode>
42 <mode>r0w0e0</mode>
52 <mode>r0w0e0</mode>
[all...]
H A Da2a.conf12 <mode>r0w0e0</mode>
22 <mode>r0w0e0</mode>
32 <mode>r0w0e0</mode>
42 <mode>r0w0e0</mode>
52 <mode>r0w0e0</mode>
[all...]
H A Da2b.conf12 <mode>r0w0e0</mode>
22 <mode>r0w0e0</mode>
32 <mode>r0w0e0</mode>
42 <mode>r0w0e0</mode>
52 <mode>r0w0e0</mode>
[all...]
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...]
/freebsd-9.3-release/contrib/gcc/config/
H A Dfloatdisf.c2 typedef int DItype __attribute__ ((mode (DI)));
3 typedef unsigned int UDItype __attribute__ ((mode (DI)));
4 typedef int SItype __attribute__ ((mode (SI)));
5 typedef unsigned int USItype __attribute__ ((mode (SI)));
6 typedef float SFtype __attribute__ ((mode (SF)));
7 typedef float DFtype __attribute__ ((mode (DF)));
H A Dfixdfdi.c2 typedef unsigned int USItype __attribute__ ((mode (SI)));
3 typedef int DItype __attribute__ ((mode (DI)));
4 typedef unsigned int UDItype __attribute__ ((mode (DI)));
5 typedef float DFtype __attribute__ ((mode (DF)));
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dfopen_unlocked.c39 @deftypefn Extension {FILE *} fopen_unlocked (const char *@var{path}, const char * @var{mode})
48 @deftypefn Extension {FILE *} fdopen_unlocked (int @var{fildes}, const char * @var{mode})
57 @deftypefn Extension {FILE *} freopen_unlocked (const char * @var{path}, const char * @var{mode}, FILE * @var{stream})
105 fopen_unlocked (const char *path, const char *mode) argument
107 FILE *const fp = fopen (path, mode);
113 fdopen_unlocked (int fildes, const char *mode) argument
115 FILE *const fp = fdopen (fildes, mode);
121 freopen_unlocked (const char *path, const char *mode, FILE *stream) argument
123 FILE *const fp = freopen (path, mode, stream);
/freebsd-9.3-release/contrib/binutils/binutils/
H A Dfilemode.c109 mode_string (unsigned long mode, char *str)
111 str[0] = ftypelet ((unsigned long) mode);
112 str[1] = (mode & S_IRUSR) != 0 ? 'r' : '-';
113 str[2] = (mode & S_IWUSR) != 0 ? 'w' : '-';
114 str[3] = (mode & S_IXUSR) != 0 ? 'x' : '-';
115 str[4] = (mode & S_IRGRP) != 0 ? 'r' : '-';
116 str[5] = (mode & S_IWGRP) != 0 ? 'w' : '-';
117 str[6] = (mode & S_IXGRP) != 0 ? 'x' : '-';
118 str[7] = (mode & S_IROTH) != 0 ? 'r' : '-';
119 str[8] = (mode
108 mode_string(unsigned long mode, char *str) argument
[all...]
/freebsd-9.3-release/tools/regression/pjdfstest/tests/chmod/
H A D12.t21 expect 0777 -u 65534 -g 65534 open ${n0} O_WRONLY : write 0 x : fstat 0 mode
22 expect 0777 stat ${n0} mode
27 expect 0777 -u 65534 -g 65534 open ${n0} O_RDWR : write 0 x : fstat 0 mode
28 expect 0777 stat ${n0} mode
33 expect 0777 -u 65534 -g 65534 open ${n0} O_RDWR : write 0 x : fstat 0 mode
34 expect 0777 stat ${n0} mode
/freebsd-9.3-release/libexec/tftpd/
H A Dtftp-file.h29 int write_init(int fd, FILE *f, const char *mode);
33 int read_init(int fd, FILE *f, const char *mode);
/freebsd-9.3-release/sys/dev/vkbd/
H A Dvkbd_var.h39 int mode; /* keyboard mode */ member in struct:vkbd_status
/freebsd-9.3-release/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-9.3-release/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-9.3-release/lib/libc/compat-43/
H A Dcreat.c41 __creat(const char *path, mode_t mode) argument
43 return(_open(path, O_WRONLY|O_CREAT|O_TRUNC, mode));
/freebsd-9.3-release/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-9.3-release/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
86 modes[ahp->ah_powerMode], modes[mode],
88 switch (mode) {
99 HALDEBUG(ah, HAL_DEBUG_POWER, "%s: unknown power mode %u\n",
100 __func__, mode);
103 ahp->ah_powerMode = mode;
108 * Return the current sleep mode of the chip
123 return 0; /* Currently, 5312 is never in sleep mode
[all...]

Completed in 119 milliseconds

1234567891011>>