Searched refs:res (Results 1 - 25 of 167) sorted by relevance

1234567

/seL4-camkes-master/projects/musllibc/src/network/
H A Dres_state.c7 static struct __res_state res; local
8 return &res;
H A Dgetservbyname.c8 struct servent *res; local
9 if (getservbyname_r(name, prots, &se, (void *)buf, sizeof buf, &res))
H A Dgetservbyport.c8 struct servent *res; local
9 if (getservbyport_r(port, prots, &se, (void *)buf, sizeof buf, &res))
H A Dgethostbyname_r.c8 struct hostent **res, int *err)
10 return gethostbyname2_r(name, AF_INET, h, buf, buflen, res, err);
6 gethostbyname_r(const char *name, struct hostent *h, char *buf, size_t buflen, struct hostent **res, int *err) argument
/seL4-camkes-master/projects/musllibc/src/passwd/
H A Dgetpwent.c18 struct passwd *res; local
21 __getpwent_a(f, &pw, &line, &size, &res);
22 return res;
27 struct passwd *res; local
28 __getpw_a(0, uid, &pw, &line, &size, &res);
29 return res;
34 struct passwd *res; local
35 __getpw_a(name, 0, &pw, &line, &size, &res);
36 return res;
H A Dfgetpwent.c9 struct passwd *res; local
10 __getpwent_a(f, &pw, &line, &size, &res);
11 return res;
H A Dgetgrent.c17 struct group *res; local
21 __getgrent_a(f, &gr, &line, &size, &mem, &nmem, &res);
22 return res;
27 struct group *res; local
29 __getgr_a(0, gid, &gr, &line, &size, &mem, &nmem, &res);
30 return res;
35 struct group *res; local
37 __getgr_a(name, 0, &gr, &line, &size, &mem, &nmem, &res);
38 return res;
H A Dfgetgrent.c8 struct group *res; local
10 __getgrent_a(f, &gr, &line, &size, &mem, &nmem, &res);
11 return res;
H A Dfgetspent.c9 struct spwd *res = 0; local
12 if (getline(&line, &size, f) >= 0 && __parsespent(line, &sp) >= 0) res = &sp;
14 return res;
H A Dgetspnam.c9 struct spwd *res; local
14 e = getspnam_r(name, &sp, line, LINE_LIM, &res);
16 return res;
H A Dgetgr_r.c6 static int getgr_r(const char *name, gid_t gid, struct group *gr, char *buf, size_t size, struct group **res) argument
18 rv = __getgr_a(name, gid, gr, &line, &len, &mem, &nmem, res);
19 if (*res && size < len + (nmem+1)*sizeof(char *) + 32) {
20 *res = 0;
23 if (*res) {
40 int getgrnam_r(const char *name, struct group *gr, char *buf, size_t size, struct group **res) argument
42 return getgr_r(name, 0, gr, buf, size, res);
45 int getgrgid_r(gid_t gid, struct group *gr, char *buf, size_t size, struct group **res) argument
47 return getgr_r(0, gid, gr, buf, size, res);
H A Dgetpw_r.c6 static int getpw_r(const char *name, uid_t uid, struct passwd *pw, char *buf, size_t size, struct passwd **res) argument
15 rv = __getpw_a(name, uid, pw, &line, &len, res);
16 if (*res && size < len) {
17 *res = 0;
20 if (*res) {
33 int getpwnam_r(const char *name, struct passwd *pw, char *buf, size_t size, struct passwd **res) argument
35 return getpw_r(name, 0, pw, buf, size, res);
38 int getpwuid_r(uid_t uid, struct passwd *pw, char *buf, size_t size, struct passwd **res) argument
40 return getpw_r(0, uid, pw, buf, size, res);
/seL4-camkes-master/projects/musllibc/src/thread/
H A Dthrd_join.c6 int thrd_join(thrd_t t, int *res) argument
10 if (res) *res = (int)(intptr_t)pthread_res;
H A Dpthread_join.c8 int __pthread_timedjoin_np(pthread_t t, void **res, const struct timespec *at) argument
19 if (res) *res = t->result;
24 int __pthread_join(pthread_t t, void **res) argument
26 return __pthread_timedjoin_np(t, res, 0);
29 int __pthread_tryjoin_np(pthread_t t, void **res) argument
31 return t->tid ? EBUSY : __pthread_join(t, res);
/seL4-camkes-master/projects/musllibc/src/misc/
H A Dget_current_dir_name.c10 char *res = getenv("PWD"); local
11 if (res && *res && !stat(res, &a) && !stat(".", &b)
13 return strdup(res);
/seL4-camkes-master/projects/lwip/test/unit/mdns/
H A Dtest_mdns.c374 err_t res; local
378 res = mdns_domain_add_label(&domain, "multi", 5);
379 fail_unless(res == ERR_OK);
380 res = mdns_domain_add_label(&domain, "cast", 4);
381 fail_unless(res == ERR_OK);
382 res = mdns_domain_add_label(&domain, NULL, 0);
383 fail_unless(res == ERR_OK);
393 err_t res; local
397 res = mdns_domain_add_label(&domain, "multi", 5);
398 fail_unless(res
408 err_t res; local
460 err_t res; local
487 err_t res; local
513 err_t res; local
541 err_t res; local
571 err_t res; local
602 err_t res; local
637 err_t res; local
674 err_t res; local
709 err_t res; local
743 err_t res; local
778 err_t res; local
815 err_t res; local
855 err_t res; local
[all...]
/seL4-camkes-master/projects/util_libs/libplatsupport/plat_include/pc99/platsupport/plat/acpi/tables/
H A Dboot.h18 uint8_t res[3]; /* 0's */ member in struct:acpi_boot
H A Deinj.h20 uint8_t res[3]; member in struct:acpi_einj
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/preprocessor/detail/
H A Dcheck.hpp30 # define MSGPACK_PP_CHECK_2(res, _) res
36 # define MSGPACK_PP_CHECK_4(res, _) res
37 # define MSGPACK_PP_CHECK_5(res) res
43 # define MSGPACK_PP_CHECK_2(res, _) res
/seL4-camkes-master/projects/musllibc/src/ldso/
H A Ddlinfo.c10 int dlinfo(void *dso, int req, void *res) argument
17 *(struct link_map **)res = dso;
/seL4-camkes-master/projects/musllibc/src/malloc/
H A Dposix_memalign.c6 int posix_memalign(void **res, size_t align, size_t len) argument
11 *res = mem;
/seL4-camkes-master/projects/musllibc/src/process/
H A Dposix_spawnp.c11 int posix_spawnp(pid_t *restrict res, const char *restrict file, argument
16 return __posix_spawnx(res, file, __execvpe, fa, attr, argv, envp);
/seL4-camkes-master/tools/cogent/cogent/llvm/
H A Dmain.c15 char res = foo(a); local
17 return res;
/seL4-camkes-master/projects/seL4_libs/libsel4vka/include/vka/
H A Dvka.h32 * @param res pointer to a cptr to store the allocated slot
35 typedef int (*vka_cspace_alloc_fn)(void *data, seL4_CPtr *res);
43 * @param res pointer to a cspacepath struct to fill out
45 typedef void (*vka_cspace_make_path_fn)(void *data, seL4_CPtr slot, cspacepath_t *res);
62 * @param res pointer to a location to store the cookie representing this allocation
66 seL4_Word *res);
90 * @param res pointer to a location to store the cookie representing this allocation
94 seL4_Word size_bits, bool can_use_dev, seL4_Word *res);
142 static inline int vka_cspace_alloc(vka_t *vka, seL4_CPtr *res) argument
149 if (!res) {
162 vka_cspace_make_path(vka_t *vka, seL4_CPtr slot, cspacepath_t *res) argument
183 vka_cspace_alloc_path(vka_t *vka, cspacepath_t *res) argument
217 vka_utspace_alloc(vka_t *vka, const cspacepath_t *dest, seL4_Word type, seL4_Word size_bits, seL4_Word *res) argument
238 vka_utspace_alloc_maybe_device(vka_t *vka, const cspacepath_t *dest, seL4_Word type, seL4_Word size_bits, bool can_use_dev, seL4_Word *res) argument
[all...]
/seL4-camkes-master/tools/riscv-pk/machine/
H A Datomic.h28 typeof(*(ptr)) res = atomic_read(ptr); \
31 res; })
32 # define atomic_add(ptr, inc) atomic_binop(ptr, inc, res + (inc))
33 # define atomic_or(ptr, inc) atomic_binop(ptr, inc, res | (inc))
37 typeof(*(ptr)) res = *(volatile typeof(*(ptr)) *)(ptr); \
38 if (res == (cmp)) *(volatile typeof(ptr))(ptr) = (swp); \
40 res; })
45 int res = atomic_swap(&lock->lock, -1); local
47 return res;

Completed in 205 milliseconds

1234567