Searched refs:attr (Results 1 - 25 of 58) sorted by relevance

123

/seL4-refos-master/libs/libmuslc/src/process/
H A Dposix_spawnattr_init.c3 int posix_spawnattr_init(posix_spawnattr_t *attr) argument
5 *attr = (posix_spawnattr_t){ 0 };
H A Dposix_spawnattr_destroy.c3 int posix_spawnattr_destroy(posix_spawnattr_t *attr) argument
H A Dposix_spawnattr_getflags.c3 int posix_spawnattr_getflags(const posix_spawnattr_t *restrict attr, short *restrict flags) argument
5 *flags = attr->__flags;
H A Dposix_spawnattr_getpgroup.c3 int posix_spawnattr_getpgroup(const posix_spawnattr_t *restrict attr, pid_t *restrict pgrp) argument
5 *pgrp = attr->__pgrp;
H A Dposix_spawnattr_getsigdefault.c3 int posix_spawnattr_getsigdefault(const posix_spawnattr_t *restrict attr, sigset_t *restrict def) argument
5 *def = attr->__def;
H A Dposix_spawnattr_getsigmask.c3 int posix_spawnattr_getsigmask(const posix_spawnattr_t *restrict attr, sigset_t *restrict mask) argument
5 *mask = attr->__mask;
H A Dposix_spawnattr_setflags.c3 int posix_spawnattr_setflags(posix_spawnattr_t *attr, short flags) argument
5 attr->__flags = flags;
H A Dposix_spawnattr_setpgroup.c3 int posix_spawnattr_setpgroup(posix_spawnattr_t *attr, pid_t pgrp) argument
5 attr->__pgrp = pgrp;
H A Dposix_spawnattr_setsigdefault.c3 int posix_spawnattr_setsigdefault(posix_spawnattr_t *restrict attr, const sigset_t *restrict def) argument
5 attr->__def = *def;
H A Dposix_spawnattr_setsigmask.c3 int posix_spawnattr_setsigmask(posix_spawnattr_t *restrict attr, const sigset_t *restrict mask) argument
5 attr->__mask = *mask;
H A Dposix_spawnattr_sched.c5 int posix_spawnattr_getschedparam(const posix_spawnattr_t *restrict attr, argument
11 int posix_spawnattr_setschedparam(posix_spawnattr_t *restrict attr, argument
17 int posix_spawnattr_getschedpolicy(const posix_spawnattr_t *restrict attr, int *restrict policy) argument
22 int posix_spawnattr_setschedpolicy(posix_spawnattr_t *attr, int policy) argument
H A Dposix_spawnp.c13 const posix_spawnattr_t *restrict attr,
16 return __posix_spawnx(res, file, __execvpe, fa, attr, argv, envp);
11 posix_spawnp(pid_t *restrict res, const char *restrict file, const posix_spawn_file_actions_t *fa, const posix_spawnattr_t *restrict attr, char *const argv[restrict], char *const envp[restrict]) argument
H A Dsystem.c18 posix_spawnattr_t attr; local
32 posix_spawnattr_init(&attr);
33 posix_spawnattr_setsigmask(&attr, &old);
34 posix_spawnattr_setsigdefault(&attr, &reset);
35 posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETSIGDEF|POSIX_SPAWN_SETSIGMASK);
36 ret = posix_spawn(&pid, "/bin/sh", 0, &attr,
38 posix_spawnattr_destroy(&attr);
H A Dposix_spawn.c19 const posix_spawnattr_t *restrict attr; member in struct:args
46 const posix_spawnattr_t *restrict attr = args->attr; local
59 if ((attr->__flags & POSIX_SPAWN_SETSIGDEF)
60 && sigismember(&attr->__def, i)) {
76 if (attr->__flags & POSIX_SPAWN_SETPGROUP)
77 if ((ret=__syscall(SYS_setpgid, 0, attr->__pgrp)))
83 if (attr->__flags & POSIX_SPAWN_RESETIDS)
130 pthread_sigmask(SIG_SETMASK, (attr->__flags & POSIX_SPAWN_SETSIGMASK)
131 ? &attr
144 __posix_spawnx(pid_t *restrict res, const char *restrict path, int (*exec)(const char *, char *const *, char *const *), const posix_spawn_file_actions_t *fa, const posix_spawnattr_t *restrict attr, char *const argv[restrict], char *const envp[restrict]) argument
189 posix_spawn(pid_t *restrict res, const char *restrict path, const posix_spawn_file_actions_t *fa, const posix_spawnattr_t *restrict attr, char *const argv[restrict], char *const envp[restrict]) argument
[all...]
/seL4-refos-master/libs/libmuslc/src/mq/
H A Dmq_getattr.c4 int mq_getattr(mqd_t mqd, struct mq_attr *attr) argument
6 return mq_setattr(mqd, 0, attr);
H A Dmq_open.c9 struct mq_attr *attr = 0; local
15 attr = va_arg(ap, struct mq_attr *);
18 return syscall(SYS_mq_open, name, flags, mode, attr);
H A Dmq_notify.c35 pthread_attr_t attr; local
48 if (sev->sigev_notify_attributes) attr = *sev->sigev_notify_attributes;
49 else pthread_attr_init(&attr);
50 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
53 if (pthread_create(&td, &attr, start, &args)) {
/seL4-refos-master/libs/libutils/include/utils/
H A Dansi_color.h54 #define COLOR_ATTR_REC8(attr,...) COLOR_##attr
55 #define COLOR_ATTR_REC7(attr,...) COLOR_##attr COLOR_ATTR_REC8(__VA_ARGS__)
56 #define COLOR_ATTR_REC6(attr,...) COLOR_##attr COLOR_ATTR_REC7(__VA_ARGS__)
57 #define COLOR_ATTR_REC5(attr,...) COLOR_##attr COLOR_ATTR_REC6(__VA_ARGS__)
58 #define COLOR_ATTR_REC4(attr,...) COLOR_##attr COLOR_ATTR_REC
[all...]
/seL4-refos-master/projects/util_libs/libutils/include/utils/
H A Dansi_color.h54 #define COLOR_ATTR_REC8(attr,...) COLOR_##attr
55 #define COLOR_ATTR_REC7(attr,...) COLOR_##attr COLOR_ATTR_REC8(__VA_ARGS__)
56 #define COLOR_ATTR_REC6(attr,...) COLOR_##attr COLOR_ATTR_REC7(__VA_ARGS__)
57 #define COLOR_ATTR_REC5(attr,...) COLOR_##attr COLOR_ATTR_REC6(__VA_ARGS__)
58 #define COLOR_ATTR_REC4(attr,...) COLOR_##attr COLOR_ATTR_REC
[all...]
/seL4-refos-master/libs/libsel4vspace/include/vspace/
H A Dmapping.h21 seL4_Word attr);
23 seL4_CapRights_t rights, seL4_Word attr);
26 seL4_CapRights_t rights, UNUSED seL4_Word attr)
63 seL4_CPtr vspace, seL4_Word vaddr, seL4_Word attr)
67 return obj->map_fn(cap, vspace, vaddr, attr);
25 vspace_iospace_map_page(seL4_CPtr cap, seL4_CPtr root, seL4_Word vaddr, seL4_CapRights_t rights, UNUSED seL4_Word attr) argument
62 vspace_map_obj(vspace_map_obj_t *obj, seL4_CPtr cap, seL4_CPtr vspace, seL4_Word vaddr, seL4_Word attr) argument
/seL4-refos-master/projects/seL4_libs/libsel4vspace/include/vspace/
H A Dmapping.h21 seL4_Word attr);
23 seL4_CapRights_t rights, seL4_Word attr);
26 seL4_CapRights_t rights, UNUSED seL4_Word attr)
63 seL4_CPtr vspace, seL4_Word vaddr, seL4_Word attr)
67 return obj->map_fn(cap, vspace, vaddr, attr);
25 vspace_iospace_map_page(seL4_CPtr cap, seL4_CPtr root, seL4_Word vaddr, seL4_CapRights_t rights, UNUSED seL4_Word attr) argument
62 vspace_map_obj(vspace_map_obj_t *obj, seL4_CPtr cap, seL4_CPtr vspace, seL4_Word vaddr, seL4_Word attr) argument
/seL4-refos-master/projects/refos/impl/apps/tetris/src/
H A Dio.h80 #define __set_gm(attr,color,val) \
82 printf("\e[%dm", attr); \
88 #define textattr(attr) __set_gm(attr, 0, 0)
/seL4-refos-master/apps/tetris/src/
H A Dio.h80 #define __set_gm(attr,color,val) \
82 printf("\e[%dm", attr); \
88 #define textattr(attr) __set_gm(attr, 0, 0)
/seL4-refos-master/libs/libvterm/src/
H A Dpen.c92 static void setpenattr(VTermState *state, VTermAttr attr, VTermValueType type, VTermValue *val) argument
95 if(type != vterm_get_attr_type(attr)) {
96 fprintf(stderr, "Cannot set attr %d as it has type %d, not type %d\n",
97 attr, vterm_get_attr_type(attr), type);
102 (*state->callbacks->setpenattr)(attr, val, state->cbdata);
105 static void setpenattr_bool(VTermState *state, VTermAttr attr, int boolean) argument
108 setpenattr(state, attr, VTERM_VALUETYPE_BOOL, &val);
111 static void setpenattr_int(VTermState *state, VTermAttr attr, int number) argument
114 setpenattr(state, attr, VTERM_VALUETYPE_IN
117 setpenattr_col(VTermState *state, VTermAttr attr, VTermColor color) argument
123 set_pen_col_ansi(VTermState *state, VTermAttr attr, long col) argument
333 vterm_state_get_penattr(VTermState *state, VTermAttr attr, VTermValue *val) argument
[all...]
/seL4-refos-master/projects/refos/impl/libs/libvterm/src/
H A Dpen.c92 static void setpenattr(VTermState *state, VTermAttr attr, VTermValueType type, VTermValue *val) argument
95 if(type != vterm_get_attr_type(attr)) {
96 fprintf(stderr, "Cannot set attr %d as it has type %d, not type %d\n",
97 attr, vterm_get_attr_type(attr), type);
102 (*state->callbacks->setpenattr)(attr, val, state->cbdata);
105 static void setpenattr_bool(VTermState *state, VTermAttr attr, int boolean) argument
108 setpenattr(state, attr, VTERM_VALUETYPE_BOOL, &val);
111 static void setpenattr_int(VTermState *state, VTermAttr attr, int number) argument
114 setpenattr(state, attr, VTERM_VALUETYPE_IN
117 setpenattr_col(VTermState *state, VTermAttr attr, VTermColor color) argument
123 set_pen_col_ansi(VTermState *state, VTermAttr attr, long col) argument
333 vterm_state_get_penattr(VTermState *state, VTermAttr attr, VTermValue *val) argument
[all...]

Completed in 100 milliseconds

123