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

1234567891011>>

/barrelfish-2018-10-04/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) {
/barrelfish-2018-10-04/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);
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));
/barrelfish-2018-10-04/lib/posixcompat/
H A Dcreat.c11 int creat (const char *file, mode_t mode) argument
13 return open(file, O_CREAT | O_WRONLY | O_TRUNC, mode);
H A Dmkfifo.c4 int mkfifo(const char *pathname, mode_t mode) argument
H A Dchmod.c15 int chmod(const char *path, mode_t mode) argument
17 POSIXCOMPAT_DEBUG("Warning: chmod(\"%s\", %o) ignored\n", path, mode);
21 int fchmod(int fd, mode_t mode) argument
23 POSIXCOMPAT_DEBUG("Warning: fchmod(%d, %o) ignored\n", fd, mode);
H A Dmkdir.c18 int mkdir(const char *pathname, mode_t mode) argument
23 POSIXCOMPAT_DEBUG("mkdir(\"%s\", %d)\n", pathname, mode);
/barrelfish-2018-10-04/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) {
/barrelfish-2018-10-04/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));
H A Dopenat.c51 int mode; local
55 mode = va_arg(ap, int);
58 mode = 0;
61 __libc_interposing[INTERPOS_openat])(fd, path, flags, mode));
/barrelfish-2018-10-04/kernel/include/arch/x86/
H A Ddebugregs.h18 void debugregs_set_breakpoint(uintptr_t addr, uint8_t mode, uint8_t len);
/barrelfish-2018-10-04/lib/libc/stdio/
H A Dfwide.c39 fwide(FILE *fp, int mode) argument
45 if (mode != 0 && fp->_orientation == 0)
46 fp->_orientation = mode > 0 ? 1 : -1;
H A Dflags.c47 * Return the (stdio) flags for a given mode. Store the flags
52 __sflags(const char *mode, int *optr) argument
56 switch (*mode++) {
76 default: /* illegal mode */
83 switch (*mode++) {
H A Dsetvbuf.c51 setvbuf(FILE * __restrict fp, char * __restrict buf, int mode, size_t size) argument
62 if (mode != _IONBF)
63 if ((mode != _IOFBF && mode != _IOLBF) || (int)size < 0)
83 /* If setting unbuffered mode, skip all the hard work. */
84 if (mode == _IONBF)
137 if (mode == _IOLBF)
/barrelfish-2018-10-04/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...]
/barrelfish-2018-10-04/lib/libc/compat-43/
H A Dcreat.c44 int __creat(const char *path, mode_t mode);
48 __creat(const char *path, mode_t mode) argument
53 O_CREAT | O_TRUNC, mode));
/barrelfish-2018-10-04/lib/libc/tests/gen/
H A Dpopen_test.c55 check_cloexec(FILE *fp, const char *mode) argument
63 if (strchr(mode, 'e') != NULL)
76 const char *mode; local
80 mode = allmodes[i];
81 fp = popen("exit 7", mode);
82 ATF_CHECK_MSG(fp != NULL, "popen(, \"%s\") failed", mode);
85 check_cloexec(fp, mode);
97 const char *mode; local
102 mode = rmodes[i];
103 fp = popen("exit 9", mode);
141 const char *mode; local
215 const char *mode; local
[all...]
/barrelfish-2018-10-04/kernel/arch/x86/
H A Ddebugregs.c18 void debugregs_set_breakpoint(uintptr_t addr, uint8_t mode, uint8_t len) argument
29 // Set mode and length
30 dr7 |= (mode & 3) << 16;
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/pkcs12/
H A Dp12_init.c65 PKCS12 *PKCS12_init(int mode) argument
73 pkcs12->authsafes->type = OBJ_nid2obj(mode);
74 switch (mode) {
/barrelfish-2018-10-04/include/octopus/
H A Dpubsub.h21 typedef void(*subscription_handler_fn)(octopus_mode_t mode, const char* record, void* state);
/barrelfish-2018-10-04/tools/
H A Darranet_qemu-cc-wrapper22 mode=unknown
34 mode=compilelink++
37 mode=compilelink
40 mode=link
44 mode=archive
48 mode=ranlib
68 if [ $mode = compilelink ]; then
69 mode=compile
70 elif [ $mode = compilelink++ ]; then
71 mode
[all...]
/barrelfish-2018-10-04/lib/libc/tests/stdio/
H A Dfopen_test.c44 runtest(const char *fname, const char *mode) argument
49 fp = fopen(fname, mode);
51 "fopen(\"%s\", \"%s\") failed", fname, mode);
54 exp_fget_ret = strchr(mode, 'e') != NULL ? FD_CLOEXEC : 0;
59 if (strchr(mode, '+'))
60 wantedflags = O_RDWR | (*mode == 'a' ? O_APPEND : 0);
61 else if (*mode == 'r')
63 else if (*mode == 'w')
65 else if (*mode == 'a')
71 atf_tc_fail("unrecognized mode
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/threads/
H A Dth-lock.c91 static void irix_locking_callback(int mode,int type,char *file,int line);
92 static void solaris_locking_callback(int mode,int type,char *file,int line);
93 static void win32_locking_callback(int mode,int type,char *file,int line);
94 static void pthreads_locking_callback(int mode,int type,char *file,int line);
137 void win32_locking_callback(int mode, int type, char *file, int line) argument
139 if (mode & CRYPTO_LOCK)
203 void solaris_locking_callback(int mode, int type, char *file, int line) argument
206 fprintf(stderr,"thread=%4d mode=%s lock=%s %s:%d\n",
208 (mode&CRYPTO_LOCK)?"l":"u",
216 mode,fil
296 irix_locking_callback(int mode, int type, char *file, int line) argument
352 pthreads_locking_callback(int mode, int type, char *file, int line) argument
[all...]
/barrelfish-2018-10-04/lib/gdtoa/
H A Dg_dfmt.c44 int decpt, ex, i, mode; local
87 mode = 2;
89 mode = 0;
93 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
H A Dg_ffmt.c44 int decpt, ex, i, mode; local
84 mode = 2;
88 mode = 0;
91 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);

Completed in 270 milliseconds

1234567891011>>