Lines Matching refs:p

209 #define IS_NULL(p)                    (((void*)(p)) == (void*)0)  argument
210 #define IS_NOT_NULL(p) (((void*)(p)) != (void*)0) argument
211 #define CHECK_NULL_RETURN(p) if (IS_NULL(p)) return NULL argument
212 #define CHECK_NULL_RETURN_MEMERR(p) if (IS_NULL(p)) return ONIGERR_MEMORY argument
217 #define PLATFORM_GET_INC(val,p,type) do{\ argument
218 val = *(type* )p;\
219 (p) += sizeof(type);\
224 #define PLATFORM_GET_INC(val,p,type) do{\ argument
225 xmemcpy(&val, (p), sizeof(type));\
226 (p) += sizeof(type);\
344 UChar* p; member
353 (buf)->p = (UChar* )xrealloc((buf)->p, (buf)->alloc);\
354 if (IS_NULL((buf)->p)) return(ONIGERR_MEMORY);\
359 (buf)->p = (UChar* )xrealloc((buf)->p, (buf)->alloc);\
360 if (IS_NULL((buf)->p)) return(ONIGERR_MEMORY);\
367 (buf)->p = (UChar* )xrealloc((buf)->p, new_alloc);\
368 if (IS_NULL((buf)->p)) return(ONIGERR_MEMORY);\
376 xmemcpy((buf)->p + (pos), (bytes), (n));\
383 (buf)->p[(pos)] = (byte);\
389 #define BBUF_GET_ADD_ADDRESS(buf) ((buf)->p + (buf)->used)
395 xmemmove((buf)->p + (to), (buf)->p + (from), (n));\
401 xmemmove((buf)->p + (to), (buf)->p + (from), (n));\
406 xmemmove((buf)->p + (to), (buf)->p + (from), (buf)->used - (from));\
416 xmemcpy((buf)->p + (pos), (bytes), (n));\
420 #define BBUF_GET_BYTE(buf, pos) (buf)->p[(pos)]
568 #define GET_RELADDR_INC(addr,p) PLATFORM_GET_INC(addr, p, RelAddrType) argument
569 #define GET_ABSADDR_INC(addr,p) PLATFORM_GET_INC(addr, p, AbsAddrType) argument
570 #define GET_LENGTH_INC(len,p) PLATFORM_GET_INC(len, p, LengthType) argument
571 #define GET_MEMNUM_INC(num,p) PLATFORM_GET_INC(num, p, MemNumType) argument
572 #define GET_REPEATNUM_INC(num,p) PLATFORM_GET_INC(num, p, RepeatNumType) argument
573 #define GET_OPTION_INC(option,p) PLATFORM_GET_INC(option, p, OnigOptionType) argument
574 #define GET_POINTER_INC(ptr,p) PLATFORM_GET_INC(ptr, p, PointerType) argument
575 #define GET_STATE_CHECK_NUM_INC(num,p) PLATFORM_GET_INC(num, p, StateCheckNumType) argument
578 #define GET_CODE_POINT(code,p) code = *((OnigCodePoint* )(p)) argument
579 #define GET_BYTE_INC(byte,p) do{\ argument
580 byte = *(p);\
581 (p)++;\