Lines Matching refs:stackp
92 caddr_t stackp;
113 stackp = (caddr_t)stack32 + ((1 + argc) * sizeof (caddr32_t));
115 for (envc = 0; *(caddr32_t *)stackp; envc++) {
116 stackp += sizeof (caddr32_t);
117 if ((stackp - (caddr_t)stack32) >= size32) {
124 stackp += sizeof (caddr32_t);
125 for (auxc = 0; *(int32_t *)stackp; auxc++) {
126 stackp += 2 * sizeof (caddr32_t);
127 if ((stackp - (caddr_t)stack32) >= size32) {
160 stackp = (caddr_t)stack32;
167 argv[i] = (char *)(uintptr_t)(*(caddr32_t *)stackp);
168 stackp += sizeof (caddr32_t);
171 stackp += sizeof (caddr32_t);
173 stackp += (1 + argc) * sizeof (caddr32_t);
180 envp[i] = (char *)(uintptr_t)(*(caddr32_t *)stackp);
181 stackp += sizeof (caddr32_t);
184 stackp += sizeof (caddr32_t);
186 stackp += (1 + envc) * sizeof (caddr32_t);
191 stackp += auxc * (sizeof (int32_t) + sizeof (uint32_t));
197 (void) memcpy(argv + aptrcount, (void *)stackp, strpoolsz);
199 (void) memcpy(envp + eptrcount, (void *)stackp, strpoolsz);