Home
last modified time | relevance | path

Searched refs:gr (Results 1 – 25 of 81) sorted by relevance

1234

/minix3/external/bsd/file/dist/magic/magdir/
H A Dgrace4 # ACE/gr and Grace type files - PLEASE DO NOT REMOVE THIS LINE
6 # ACE/gr binary
7 …0\000\0000\000\000\0000\000\000\0002\000\000\0000\000\000\0000\000\000\0003 old ACE/gr binary file
9 # ACE/gr ascii
10 0 string #\ xvgr\ parameter\ file ACE/gr ascii file
11 0 string #\ xmgr\ parameter\ file ACE/gr ascii file
12 0 string #\ ACE/gr\ parameter\ file ACE/gr ascii file
19 # ACE/gr fit description files
20 0 string #\ ACE/gr\ fit\ description\ ACE/gr fit description file
21 # end of ACE/gr and Grace type files - PLEASE DO NOT REMOVE THIS LINE
/minix3/lib/libc/arch/alpha/gen/
H A D_lwp.c47 __greg_t *gr; in _lwp_makecontext() local
50 gr = u->uc_mcontext.__gregs; in _lwp_makecontext()
57 gr[_REG_PC] = (unsigned long)start; in _lwp_makecontext()
58 gr[_REG_T12] = (unsigned long) start; in _lwp_makecontext()
59 gr[_REG_RA] = (unsigned long) _lwp_exit; in _lwp_makecontext()
60 gr[_REG_A0] = (unsigned long) arg; in _lwp_makecontext()
61 gr[_REG_SP] = ((unsigned long) (stack_base + stack_size)) & ~0x7; in _lwp_makecontext()
62 gr[_REG_S6] = 0; in _lwp_makecontext()
63 gr[_REG_UNIQUE] = (unsigned long)private; in _lwp_makecontext()
H A Dmakecontext.c49 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
60 gr[_REG_SP] = (__greg_t)sp; in makecontext()
62 gr[_REG_RA] = (__greg_t)__resumecontext; in makecontext()
63 gr[_REG_PC] = (__greg_t)func; in makecontext()
64 gr[_REG_PV] = (__greg_t)func; in makecontext()
69 gr[_REG_A0 + i] = va_arg(ap, unsigned long); in makecontext()
/minix3/lib/libc/arch/ia64/gen/
H A D_lwp.c48 __greg_t *gr; in _lwp_makecontext()
51 gr = u->uc_mcontext.__gregs; in _lwp_makecontext()
58 gr[_REG_PC] = (unsigned long)start; in _lwp_makecontext()
59 gr[_REG_T12] = (unsigned long) start; in _lwp_makecontext()
60 gr[_REG_RA] = (unsigned long) _lwp_exit; in _lwp_makecontext()
61 gr[_REG_A0] = (unsigned long) arg; in _lwp_makecontext()
62 gr[_REG_SP] = ((unsigned long) (stack_base + stack_size)) & ~0x7; in _lwp_makecontext()
63 gr[_REG_S6] = 0; in _lwp_makecontext()
64 gr[_REG_UNIQUE] = (unsigned long)private; in _lwp_makecontext()
/minix3/lib/libc/arch/hppa/gen/
H A D_lwp.c49 __greg_t *gr; in _lwp_makecontext() local
54 gr = u->uc_mcontext.__gregs; in _lwp_makecontext()
65 gr[_REG_R19] = gp[1]; in _lwp_makecontext()
67 gr[_REG_PCOQH] = fp | HPPA_PC_PRIV_USER; in _lwp_makecontext()
68 gr[_REG_PCOQT] = (fp + 4) | HPPA_PC_PRIV_USER; in _lwp_makecontext()
69 gr[_REG_RP] = (__greg_t) _lwp_exit; in _lwp_makecontext()
70 gr[_REG_ARG0] = (__greg_t) arg; in _lwp_makecontext()
71 gr[_REG_SP] = (__greg_t) sp; in _lwp_makecontext()
72 gr[_REG_CR27] = (__greg_t) private; in _lwp_makecontext()
H A Dmakecontext.c52 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
68 gr[_REG_SP] = (__greg_t)sp; in makecontext()
75 gr[_REG_RP] = rp; in makecontext()
80 gr[_REG_R19] = gp[1]; in makecontext()
82 gr[_REG_PCOQH] = fp | HPPA_PC_PRIV_USER; in makecontext()
83 gr[_REG_PCOQT] = (fp + 4) | HPPA_PC_PRIV_USER; in makecontext()
85 gr[_REG_DP] = dp; in makecontext()
92 gr[_REG_ARG0 - i] = va_arg(ap, uintptr_t); in makecontext()
/minix3/lib/libc/arch/sparc/gen/
H A D_lwp.c44 __greg_t *gr; in _lwp_makecontext() local
48 gr = u->uc_mcontext.__gregs; in _lwp_makecontext()
63 gr[_REG_PC] = (ulong) start; in _lwp_makecontext()
64 gr[_REG_nPC] = (ulong) start + 4; in _lwp_makecontext()
65 gr[_REG_O0] = (ulong)arg; in _lwp_makecontext()
66 gr[_REG_O6] = (ulong)sp; in _lwp_makecontext()
67 gr[_REG_O7] = (ulong)_lwp_exit - 8; in _lwp_makecontext()
68 gr[_REG_G7] = (ulong)private; in _lwp_makecontext()
H A Dmakecontext.c47 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
62 gr[_REG_O6] = (__greg_t)sp; in makecontext()
63 gr[_REG_PC] = (__greg_t)func; in makecontext()
64 gr[_REG_nPC] = (__greg_t)func + 4; in makecontext()
65 gr[_REG_O7] = (__greg_t)_resumecontext - 8; in makecontext()
70 gr[_REG_O0 + i] = va_arg(ap, unsigned long); in makecontext()
/minix3/lib/libcurses/PSD.doc/
H A DMakefile7 CEXAMPLES= ex1.gr ex2.gr life.gr twinkle1.gr twinkle2.gr win_st.gr
15 .SUFFIXES: .c .gr
25 .c.gr:
/minix3/tests/lib/libc/gen/
H A Dt_getgrent.c76 struct group *gr; in ATF_TC_BODY() local
86 while((gr = getgrent()) != NULL) in ATF_TC_BODY()
95 while((gr = getgrent()) != NULL) in ATF_TC_BODY()
110 while((gr = getgrent()) != NULL) in ATF_TC_BODY()
126 struct group *gr, *gr1, *gr2; in ATF_TC_BODY() local
137 while((gr = getgrent()) != NULL) { in ATF_TC_BODY()
144 gr1 = getgrgid(gr->gr_gid); in ATF_TC_BODY()
149 gr2 = getgrnam(gr->gr_name); in ATF_TC_BODY()
154 rv = setgid(gr->gr_gid); in ATF_TC_BODY()
/minix3/lib/libc/arch/sparc64/gen/
H A D_lwp.c45 __greg_t *gr; in _lwp_makecontext() local
49 gr = u->uc_mcontext.__gregs; in _lwp_makecontext()
69 gr[_REG_PC] = (ulong) start; in _lwp_makecontext()
70 gr[_REG_nPC] = (ulong) start + 4; in _lwp_makecontext()
72 gr[_REG_O0] = (ulong) arg; in _lwp_makecontext()
73 gr[_REG_O6] = (ulong) sp; in _lwp_makecontext()
74 gr[_REG_O7] = (ulong)_lwp_exit - 8; in _lwp_makecontext()
75 gr[_REG_G7] = (ulong)private; in _lwp_makecontext()
H A Dmakecontext.c48 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
65 gr[_REG_O0 + i] = sp[i + 16] = va_arg(ap, unsigned long); in makecontext()
78 gr[_REG_O6] = (__greg_t)sp; in makecontext()
79 gr[_REG_PC] = (__greg_t)func; in makecontext()
80 gr[_REG_nPC] = (__greg_t)func + 4; in makecontext()
81 gr[_REG_O7] = (__greg_t)_resumecontext - 8; in makecontext()
/minix3/usr.bin/id/
H A Did.c68 struct group *gr; in main() local
140 if (nflag && (gr = getgrgid(id))) in main()
141 (void)printf("%s\n", gr->gr_name); in main()
179 struct group *gr; in pretty() local
206 if ((gr = getgrgid(rid)) != NULL) in pretty()
207 (void)printf("rgid\t%s\n", gr->gr_name); in pretty()
219 struct group *gr; in current() local
232 if ((gr = getgrgid(gid)) != NULL) in current()
233 (void)printf("(%s)", gr->gr_name); in current()
241 if ((gr = getgrgid(egid)) != NULL) in current()
[all …]
/minix3/lib/libc/arch/mips/gen/
H A D_lwp.c54 __greg_t *gr; in _lwp_makecontext() local
57 gr = u->uc_mcontext.__gregs; in _lwp_makecontext()
64 gr[_REG_EPC] = (uintptr_t) start; in _lwp_makecontext()
65 gr[_REG_T9] = (uintptr_t) start; /* required for .abicalls */ in _lwp_makecontext()
66 gr[_REG_RA] = (uintptr_t) _lwp_exit; in _lwp_makecontext()
67 gr[_REG_A0] = (uintptr_t) arg; in _lwp_makecontext()
68 gr[_REG_SP] = (uintptr_t) sp; in _lwp_makecontext()
H A Dmakecontext.c49 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
68 gr[_REG_SP] = (intptr_t)sp; in makecontext()
69 gr[_REG_RA] = (intptr_t)__resumecontext; in makecontext()
70 gr[_REG_T9] = (intptr_t)func; /* required for .abicalls */ in makecontext()
71 gr[_REG_EPC] = (intptr_t)func; in makecontext()
79 gr[_REG_A0 + i] = va_arg(ap, __greg_t); in makecontext()
87 gr[_REG_A0 + i] = va_arg(ap, __greg_t); in makecontext()
/minix3/lib/libc/arch/arm/gen/
H A Dmakecontext.c47 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
58 gr[_REG_SP] = (__greg_t)(uintptr_t)sp; in makecontext()
60 gr[_REG_FP] = 0; in makecontext()
62 gr[_REG_LR] = (__greg_t)(uintptr_t)_resumecontext; in makecontext()
63 gr[_REG_PC] = (__greg_t)(uintptr_t)func; in makecontext()
68 gr[_REG_R0 + i] = va_arg(ap, int); in makecontext()
/minix3/lib/libc/arch/aarch64/gen/
H A Dmakecontext.c47 __greg_t * const gr = ucp->uc_mcontext.__gregs; in makecontext() local
56 gr[_REG_SP] = (__greg_t)(uintptr_t)sp; in makecontext()
58 gr[_REG_X29] = 0; in makecontext()
60 gr[_REG_X30] = (__greg_t)(uintptr_t)_resumecontext; in makecontext()
61 gr[_REG_PC] = (__greg_t)(uintptr_t)func; in makecontext()
68 gr[_REG_X0 + i] = va_arg(ap, int); in makecontext()
/minix3/lib/libc/arch/vax/gen/
H A D_lwp.c48 __greg_t *gr = u->uc_mcontext.__gregs; in _lwp_makecontext() local
75 gr[_REG_AP] = (__greg_t)(uintptr_t)(sp + 5); in _lwp_makecontext()
76 gr[_REG_SP] = (__greg_t)(uintptr_t)sp; in _lwp_makecontext()
77 gr[_REG_FP] = (__greg_t)(uintptr_t)sp; in _lwp_makecontext()
78 gr[_REG_PC] = (__greg_t)(uintptr_t)start + 2; in _lwp_makecontext()
85 gr[_REG_SP] = (__greg_t)(uintptr_t)sp; in _lwp_makecontext()
H A Dmakecontext.c47 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
74 gr[_REG_AP] = (__greg_t)(uintptr_t)(sp + 5); in makecontext()
75 gr[_REG_SP] = (__greg_t)(uintptr_t)sp; in makecontext()
76 gr[_REG_FP] = (__greg_t)(uintptr_t)sp; in makecontext()
77 gr[_REG_PC] = (__greg_t)(uintptr_t)func+2; in makecontext()
/minix3/lib/libc/arch/sh3/gen/
H A Dmakecontext.c47 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
58 gr[_REG_SP] = (__greg_t)sp; in makecontext()
60 gr[_REG_PR] = (__greg_t)_resumecontext; in makecontext()
61 gr[_REG_PC] = (__greg_t)func; in makecontext()
66 gr[_REG_R4 - i] = va_arg(ap, int); /* sic! see mcontext.h */ in makecontext()
/minix3/lib/libc/arch/powerpc/gen/
H A Dmakecontext.c51 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
68 gr[_REG_R1] = (__greg_t)sp; in makecontext()
69 gr[_REG_LR] = (__greg_t)_resumecontext; in makecontext()
70 gr[_REG_PC] = (__greg_t)func; in makecontext()
79 gr[_REG_R3 + i] = va_arg(ap, int); in makecontext()
/minix3/lib/libc/arch/riscv/gen/
H A Dmakecontext.c51 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
67 gr[_REG_SP] = (uintptr_t)sp; in makecontext()
68 gr[_REG_RA] = (uintptr_t)_resumecontext; in makecontext()
69 gr[_REG_PC] = (uintptr_t)func; in makecontext()
78 gr[_REG_A0 + i] = va_arg(ap, int); in makecontext()
/minix3/lib/libc/arch/or1k/gen/
H A Dmakecontext.c51 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
67 gr[_REG_SP] = (uintptr_t)sp; in makecontext()
68 gr[_REG_LR] = (uintptr_t)_resumecontext; in makecontext()
69 gr[_REG_PC] = (uintptr_t)func; in makecontext()
78 gr[_REG_R3 + i] = va_arg(ap, int); in makecontext()
/minix3/lib/libc/arch/powerpc64/gen/
H A Dmakecontext.c51 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
65 gr[_REG_R1] = sp; in makecontext()
66 gr[_REG_LR] = (__greg_t)_resumecontext; in makecontext()
67 gr[_REG_PC] = (__greg_t)func; // XXX -- this is the descriptor address! in makecontext()
77 gr[_REG_R3 + i] = va_arg(ap, long); in makecontext()
/minix3/lib/libc/arch/x86_64/gen/
H A Dmakecontext.c50 __greg_t *gr = ucp->uc_mcontext.__gregs; in makecontext() local
58 gr[_REG_RIP] = (__greg_t)func; in makecontext()
70 gr[_REG_RSP] = (__greg_t)sp; in makecontext()
71 gr[_REG_RBP] = (__greg_t)0; /* Wipe out frame pointer. */ in makecontext()
88 gr[i] = va_arg(ap, __greg_t); in makecontext()

1234