/seL4-camkes-master/tools/rumprun/tests/basic/ |
H A D | misc_test.c | 53 int rv; local 56 rv = pthread_mutex_destroy(&ptm); 57 prfres(rv); 59 return rv; 77 int rv; local 80 if ((rv = munmap(p, pagesize)) != 0) { 81 return rv; 94 int rv; local 99 if ((rv = dommap(lens[i], 0)) != 0) 101 if ((rv 121 int rv; local 132 int rv = 0; local [all...] |
H A D | tls_test.c | 61 int rv; local 67 rv = (int)(uintptr_t)ret; 68 if (rv != LOOPCNT) 70 n, LOOPCNT, rv);
|
H A D | pthread_test.c | 128 void *rv; local 140 if (pthread_join(pt, &rv) != 0) 142 if (rv != (void *)37) 170 int rv; local 173 if ((rv = pthread_cond_timedwait(&cv2, &mtx, &ts)) != 0) { 174 printf("drain condwait fail %d %d\n", rv, nthreads); 183 if (pthread_join(pt, &rv) != 0)
|
/seL4-camkes-master/tools/rumprun/platform/hw/include/arch/x86/ |
H A D | inline.h | 4 uint8_t rv; local 6 __asm__ __volatile__("inb %1, %0" : "=a"(rv) : "d"(port)); 8 return rv; 14 uint32_t rv; local 16 __asm__ __volatile__("inl %1, %0" : "=a"(rv) : "d"(port)); 18 return rv;
|
/seL4-camkes-master/projects/musllibc/src/passwd/ |
H A D | getgr_a.c | 23 int rv = 0; local 31 rv = errno; 35 while (!(rv = __getgrent_a(f, gr, buf, size, mem, nmem, res)) && *res) { 43 if (!*res && (rv == 0 || rv == ENOENT || rv == ENOTDIR)) { 58 rv = 0; 65 if (!f) { rv = errno; goto done; } 67 if (!groupbuf[GRFOUND]) { rv = 0; goto cleanup_f; } 70 rv [all...] |
H A D | getpw_a.c | 24 int rv = 0; local 32 rv = errno; 36 while (!(rv = __getpwent_a(f, pw, buf, size, res)) && *res) { 43 if (!*res && (rv == 0 || rv == ENOENT || rv == ENOTDIR)) { 59 rv = 0; 66 if (!f) { rv = errno; goto done; } 68 if(!passwdbuf[PWFOUND]) { rv = 0; goto cleanup_f; } 77 rv [all...] |
H A D | getgrent_a.c | 16 int rv = 0; local 21 rv = ferror(f) ? errno : 0; 48 rv = errno; 66 if(rv) errno = rv; 67 return rv;
|
H A D | getpwent_a.c | 15 int rv = 0; local 20 rv = ferror(f) ? errno : 0; 52 if (rv) errno = rv; 53 return rv;
|
H A D | getgr_r.c | 12 int rv = 0; local 18 rv = __getgr_a(name, gid, gr, &line, &len, &mem, &nmem, res); 21 rv = ERANGE; 37 return rv;
|
H A D | getpw_r.c | 10 int rv = 0; local 15 rv = __getpw_a(name, uid, pw, &line, &len, res); 18 rv = ERANGE; 30 return rv;
|
H A D | getgrouplist.c | 14 int rv, nlim, ret = -1; local 50 while (!(rv = __getgrent_a(f, &gr, &buf, &size, &mem, &nmem, &res)) && res) { 59 if (rv) { 60 errno = rv;
|
/seL4-camkes-master/tools/rumprun/platform/hw/ |
H A D | undefs.c | 37 #define REALNOTHING(name, rv) \ 38 int name(void); int name(void) {return rv;}
|
/seL4-camkes-master/tools/rumprun/platform/sel4/ |
H A D | undefs.c | 37 #define REALNOTHING(name, rv) \ 38 int name(void); int name(void) {return rv;}
|
/seL4-camkes-master/tools/rumprun/tests/nolibc/ |
H A D | main.c | 20 int rv, fd; local 22 rv = rump_init(); 23 bmk_printf("rump kernel init complete, rv %d\n", rv);
|
/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/test/suites/api/ |
H A D | test_unpack.c | 19 int rv; local 31 rv = json_unpack(json_true(), "b", &i1); 32 if(rv || !i1) 36 rv = json_unpack(json_false(), "b", &i1); 37 if(rv || i1) 46 rv = json_unpack(j, "i", &i1); 47 if(rv || i1 != 42) 53 rv = json_unpack(j, "I", &I1); 54 if(rv || I1 != 5555555) 60 rv [all...] |
/seL4-camkes-master/tools/rumprun/platform/hw/tests/checksum/ |
H A D | test.sh | 16 rv=1 28 rv=0 34 rv=1 43 exit ${rv}
|
/seL4-camkes-master/projects/util_libs/libpci/include/pci/ |
H A D | helper_gen.py | 42 rv = re.search(r'^#define PCI_VENDOR_ID_([A-Z0-9_]+)\s+(\w+)', line); variable 43 if rv: 44 (vendor, vval) = (rv.group(1).lower(), rv.group(2));
|
/seL4-camkes-master/tools/rumprun/lib/librumprun_base/ |
H A D | malloc.c | 34 posix_memalign(void **rv, size_t align, size_t nbytes) argument 40 *rv = v;
|
H A D | _lwp.c | 170 ssize_t rv; local 175 rv = ntargets; 178 rv--; 181 //assert(rv >= 0); 182 return rv; 224 int rv; local 246 rv = bmk_sched_block(); 247 bmk_assert(rv == 0 || rv == ETIMEDOUT); 249 if (rv) { [all...] |
H A D | netbsd_initfini.c | 94 int rv; local 109 rv = bmk_snprintf(ssbuf, sizeof(ssbuf), 111 bmk_assert(rv < (int)sizeof(ssbuf));
|
H A D | sysproxy.c | 957 int rv = 0; local 970 if (rv) 971 return rv; 1003 int rv; local 1006 rv = rumpuser__hyp.hyp_lwproc_rfork(spc, flags, comm); 1009 return rv; 1015 int rv; local 1018 rv = rumpuser__hyp.hyp_lwproc_newlwp(pid); 1021 return rv; 1070 int rv; local 1122 int rv; local 1147 int rv; local 1173 int rv; local 1199 int rv; local 1243 int rv; local 1273 int rv; local 1306 int rv; local 1484 int rv, sysnum; local 1598 int rv, nlocks; local 1619 int rv; local 1628 int rv; local 1638 int nlocks, rv; local 1652 int rv; local 1661 int rv; local 1672 int nlocks, rv; local 1700 int rv, nlocks; local 2003 int rv; local [all...] |
/seL4-camkes-master/tools/rumprun/lib/libbmk_rumpuser/ |
H A D | rumpuser_base.c | 67 int rv = 0; local 106 rv = BMK_EINVAL; 114 rv = BMK_ENOENT; 117 return rv;
|
H A D | rumpuser_synch.c | 161 int rv; local 163 rv = rumpuser_mutex_tryenter(mtx); 165 if (rv != 0) { 261 int rv = -1; local 267 rv = 0; 269 rv = BMK_EBUSY; 275 rv = 0; 277 rv = BMK_EBUSY; 282 return rv; 421 int rv; local [all...] |
/seL4-camkes-master/tools/rumprun/lib/libbmk_core/ |
H A D | bmk_string.c | 39 unsigned long rv = 0; local 42 rv++; 43 return rv;
|
H A D | memalloc.c | 96 void *rv; local 105 if ((p = rv = bmk_pgalloc_one()) == NULL) 119 return rv; 163 void *rv; local 201 rv = (void *)(((unsigned long)(hdr+1) + align - 1) & ~(align - 1)); 202 alignpad = (unsigned long)rv - (unsigned long)hdr; 208 hdr = ((struct memalloc_hdr *)rv)-1; 214 return rv; 220 void *rv; local 222 rv [all...] |