Lines Matching refs:p

186 	uint8_t *p;              /* Pointer to next address in obj.space. */  member
200 uint8_t *p = ctx->p; in zend_gdbjit_strz() local
201 uint32_t ofs = (uint32_t)(p - ctx->startp); in zend_gdbjit_strz()
203 *p++ = (uint8_t)*str; in zend_gdbjit_strz()
205 ctx->p = p; in zend_gdbjit_strz()
212 uint8_t *p = ctx->p; in zend_gdbjit_uleb128() local
214 *p++ = (uint8_t)((v & 0x7f) | 0x80); in zend_gdbjit_uleb128()
215 *p++ = (uint8_t)v; in zend_gdbjit_uleb128()
216 ctx->p = p; in zend_gdbjit_uleb128()
222 uint8_t *p = ctx->p; in zend_gdbjit_sleb128() local
224 *p++ = (uint8_t)((v & 0x7f) | 0x80); in zend_gdbjit_sleb128()
225 *p++ = (uint8_t)(v & 0x7f); in zend_gdbjit_sleb128()
226 ctx->p = p; in zend_gdbjit_sleb128()
233 *ctx->p++ = '\0'; in zend_gdbjit_secthdr()
271 *ctx->p++ = '\0'; in zend_gdbjit_symtab()
290 #define SECTALIGN(p, a) \ argument
291 ((p) = (uint8_t *)(((uintptr_t)(p) + ((a)-1)) & ~(uintptr_t)((a)-1)))
294 #define DB(x) (*p++ = (x))
295 #define DI8(x) (*(int8_t *)p = (x), p++)
296 #define DU16(x) (*(unaligned_uint16_t *)p = (x), p += 2)
297 #define DU32(x) (*(unaligned_uint32_t *)p = (x), p += 4)
298 #define DADDR(x) (*(unaligned_uintptr_t *)p = (x), p += sizeof(uintptr_t))
299 #define DUV(x) (ctx->p = p, zend_gdbjit_uleb128(ctx, (x)), p = ctx->p)
300 #define DSV(x) (ctx->p = p, zend_gdbjit_sleb128(ctx, (x)), p = ctx->p)
301 #define DSTR(str) (ctx->p = p, zend_gdbjit_strz(ctx, (str)), p = ctx->p)
302 #define DALIGNNOP(s) while ((uintptr_t)p & ((s)-1)) *p++ = DW_CFA_nop
304 { unaligned_uint32_t *szp_##name = (uint32_t *)p; p += 4; stmt \
305 *szp_##name = (uint32_t)((p-(uint8_t *)szp_##name)-4); }
309 uint8_t *p = ctx->p; in zend_gdbjit_ehframe() local
310 uint8_t *framep = p; in zend_gdbjit_ehframe()
332 DU32((uint32_t)(p-framep)); /* Offset to CIE Pointer. */ in zend_gdbjit_ehframe()
360 ctx->p = p; in zend_gdbjit_ehframe()
365 uint8_t *p = ctx->p; in zend_gdbjit_debuginfo() local
379 ctx->p = p; in zend_gdbjit_debuginfo()
384 uint8_t *p = ctx->p; in zend_gdbjit_debugabbrev() local
402 ctx->p = p; in zend_gdbjit_debugabbrev()
409 uint8_t *p = ctx->p; in zend_gdbjit_debugline() local
434 ctx->p = p; in zend_gdbjit_debugline()
456 ctx->startp = ctx->p; in zend_gdbjit_initsect()
457 ctx->obj.sect[sect].ofs = (uintptr_t)((char *)ctx->p - (char *)&ctx->obj); in zend_gdbjit_initsect()
462 ctx->obj.sect[sect].size = (uintptr_t)(ctx->p - ctx->startp); in zend_gdbjit_initsect_done()
475 ctx->p = obj->space; in zend_gdbjit_buildobj()
481 SECTALIGN(ctx->p, sizeof(uintptr_t)); in zend_gdbjit_buildobj()
483 ctx->objsize = (size_t)((char *)ctx->p - (char *)obj); in zend_gdbjit_buildobj()