/barrelfish-master/lib/libc/arm/gen/ |
H A D | flt_rounds.c | 42 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-master/lib/libc/gen/ |
H A D | cap_sandboxed.c | 42 u_int mode; local 44 if (cap_getmode(&mode) != 0) { 48 assert(mode == 0 || mode == 1); 49 return (mode == 1);
|
H A D | libc_dlopen.c | 44 libc_dlopen(const char *path, int mode) argument 48 _rtld_error("Service unavailable -- libc in restricted mode"); 51 return (dlopen(path, mode));
|
/barrelfish-master/lib/posixcompat/ |
H A D | creat.c | 11 int creat (const char *file, mode_t mode) argument 13 return open(file, O_CREAT | O_WRONLY | O_TRUNC, mode);
|
H A D | mkfifo.c | 4 int mkfifo(const char *pathname, mode_t mode) argument
|
H A D | chmod.c | 15 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 D | mkdir.c | 18 int mkdir(const char *pathname, mode_t mode) argument 23 POSIXCOMPAT_DEBUG("mkdir(\"%s\", %d)\n", pathname, mode);
|
/barrelfish-master/lib/libc/riscv/gen/ |
H A D | flt_rounds.c | 49 int mode; local 53 mode = (fcsr & _ROUND_MASK); 57 mode = FE_TOWARDZERO; /* softfloat rounding mode */ 59 switch (mode) {
|
/barrelfish-master/lib/libc/sys/ |
H A D | open.c | 48 int mode; local 52 mode = va_arg(ap, int); 55 mode = 0; 58 __libc_interposing[INTERPOS_openat])(AT_FDCWD, path, flags, mode));
|
H A D | openat.c | 51 int mode; local 55 mode = va_arg(ap, int); 58 mode = 0; 61 __libc_interposing[INTERPOS_openat])(fd, path, flags, mode));
|
/barrelfish-master/kernel/include/arch/x86/ |
H A D | debugregs.h | 18 void debugregs_set_breakpoint(uintptr_t addr, uint8_t mode, uint8_t len);
|
/barrelfish-master/lib/libc/stdio/ |
H A D | fwide.c | 39 fwide(FILE *fp, int mode) argument 45 if (mode != 0 && fp->_orientation == 0) 46 fp->_orientation = mode > 0 ? 1 : -1;
|
H A D | flags.c | 47 * 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 D | setvbuf.c | 51 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-master/lib/libc/string/ |
H A D | strmode.c | 41 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-master/lib/libc/compat-43/ |
H A D | creat.c | 44 int __creat(const char *path, mode_t mode); 48 __creat(const char *path, mode_t mode) argument 53 O_CREAT | O_TRUNC, mode));
|
/barrelfish-master/lib/libc/tests/gen/ |
H A D | popen_test.c | 55 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-master/kernel/arch/x86/ |
H A D | debugregs.c | 18 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-master/lib/openssl-1.0.0d/crypto/pkcs12/ |
H A D | p12_init.c | 65 PKCS12 *PKCS12_init(int mode) argument 73 pkcs12->authsafes->type = OBJ_nid2obj(mode); 74 switch (mode) {
|
/barrelfish-master/tools/ |
H A D | arranet_qemu-cc-wrapper | 22 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-master/lib/libc/tests/stdio/ |
H A D | fopen_test.c | 44 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-master/lib/openssl-1.0.0d/crypto/threads/ |
H A D | th-lock.c | 91 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-master/lib/gdtoa/ |
H A D | g_dfmt.c | 44 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 D | g_ffmt.c | 44 int decpt, ex, i, mode; local 84 mode = 2; 88 mode = 0; 91 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
|
H A D | g_xLfmt.c | 60 int decpt, ex, i, mode; local 105 mode = 2; 109 mode = 0; 111 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
|