Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 167) sorted by relevance

1234567

/php-src/Zend/
H A Dzend_map_ptr.h31 #define ZEND_MAP_PTR(ptr) \ argument
37 #define ZEND_MAP_PTR_PTR2OFFSET(ptr) \ argument
39 #define ZEND_MAP_PTR_INIT(ptr, val) do { \ argument
42 #define ZEND_MAP_PTR_NEW(ptr) do { \ argument
45 #define ZEND_MAP_PTR_NEW_STATIC(ptr) do { \ argument
52 # define ZEND_MAP_PTR_IS_OFFSET(ptr) \ argument
54 # define ZEND_MAP_PTR_GET(ptr) \ argument
58 # define ZEND_MAP_PTR_GET_IMM(ptr) \ argument
60 # define ZEND_MAP_PTR_SET(ptr, val) do { \ argument
67 # define ZEND_MAP_PTR_SET_IMM(ptr, val) do { \ argument
H A Dzend_alloc.h121 # define ZEND_DEALLOCATOR(ptr, size) \ argument
126 # define efree_size(ptr, size) do { \ argument
133 # define efree_size_rel(ptr, size) \ argument
138 # define efree_size(ptr, size) \ argument
140 # define efree_size_rel(ptr, size) \ argument
155 #define efree(ptr) _efree((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) argument
157 #define efree_huge(ptr) _efree_huge((ptr) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) argument
171 #define efree_rel(ptr) _efree((ptr) ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_CC) argument
191 #define pefree(ptr, persistent) ((persistent)?free(ptr):efree(ptr)) argument
192 #define pefree_size(ptr, size, persistent) do { \ argument
[all …]
H A Dzend_arena.h29 char *ptr; member
56 char *ptr = arena->ptr; in zend_arena_alloc() local
113 static zend_always_inline bool zend_arena_contains(zend_arena *arena, void *ptr) in zend_arena_contains()
132 void **ptr; member
154 void **ptr; in zend_arena_destroy() local
216 static zend_always_inline bool zend_arena_contains(zend_arena *arena, void *ptr) in zend_arena_contains()
H A Dzend_execute.h454 #define CACHE_PTR(num, ptr) do { \ argument
463 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument
472 #define CACHE_PTR_EX(slot, ptr) do { \ argument
479 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument
486 #define IS_SPECIAL_CACHE_VAL(ptr) \ argument
492 #define DECODE_SPECIAL_CACHE_NUM(ptr) \ argument
495 #define ENCODE_SPECIAL_CACHE_PTR(ptr) \ argument
498 #define DECODE_SPECIAL_CACHE_PTR(ptr) \ argument
H A Dzend_alloc.c344 void *ptr; member
749 void *ptr = zend_mm_mmap(size); local
862 void *ptr = mremap(addr, old_size, new_size, 0); local
1469 void *ptr; local
1929 void *ptr; local
2591 ZEND_API bool is_zend_ptr(const void *ptr)
2639 # define ZEND_MM_CUSTOM_DEALLOCATOR(ptr) do { \ argument
2647 # define ZEND_MM_CUSTOM_DEALLOCATOR(ptr) argument
2725 ZEND_API void ZEND_FASTCALL _efree_huge(void *ptr, size_t size)
2968 void *ptr = malloc(size); local
[all …]
H A Dzend_ptr_stack.c39 va_list ptr; in zend_ptr_stack_n_push() local
57 va_list ptr; in zend_ptr_stack_n_pop() local
/php-src/ext/ffi/
H A Dffi.stub.php21 public static function free(FFI\CData $ptr): void {}
27 public static function cast(FFI\CType|string $type, $ptr): FFI\CData {}
32 public static function typeof(FFI\CData $ptr): FFI\CType {}
37 public static function addr(FFI\CData $ptr): FFI\CData {}
40 public static function sizeof(FFI\CData|FFI\CType $ptr): int {}
43 public static function alignof(FFI\CData|FFI\CType $ptr): int {}
61 public static function memset(FFI\CData $ptr, int $value, int $size): void {}
64 public static function string(FFI\CData $ptr, ?int $size = null): string {}
67 public static function isNull(FFI\CData $ptr): bool {}
/php-src/ext/date/lib/
H A Dparse_posix.c64 static char *read_description_numeric_abbr(char **ptr) in read_description_numeric_abbr()
92 static char *read_description_abbr(char **ptr) in read_description_abbr()
110 static char *read_description(char **ptr) in read_description()
120 static int read_sign(char **ptr) in read_sign()
135 static timelib_sll read_number(char **ptr) in read_number()
159 static timelib_sll read_offset(char **ptr) in read_offset()
204 static timelib_posix_trans_info* read_trans_spec_mwd(char **ptr) in read_trans_spec_mwd()
248 static timelib_posix_trans_info* read_transition_spec(char **ptr) in read_transition_spec()
326 char *ptr = (char*) posix; in timelib_parse_posix_str() local
H A Dparse_date.c138 uchar *lim, *str, *ptr, *cur, *tok, *pos; member
406 static timelib_sll timelib_meridian(const char **ptr, timelib_sll h) in timelib_meridian()
507 static timelib_sll timelib_get_nr(const char **ptr, int max_length) in timelib_get_nr()
512 static void timelib_skip_day_suffix(const char **ptr) in timelib_skip_day_suffix()
522 static timelib_sll timelib_get_frac_nr(const char **ptr) in timelib_get_frac_nr()
636 static timelib_long timelib_lookup_month(const char **ptr) in timelib_lookup_month()
660 static timelib_long timelib_get_month(const char **ptr) in timelib_get_month()
668 static void timelib_eat_spaces(const char **ptr) in timelib_eat_spaces()
687 static void timelib_eat_until_separator(const char **ptr) in timelib_eat_until_separator()
1016 const char *ptr = NULL; in scan() local
[all …]
/php-src/ext/gd/libgd/
H A Dgdhelpers.h17 #define gdRealloc(ptr, size) erealloc(ptr, size) argument
18 #define gdEstrdup(ptr) estrdup(ptr) argument
19 #define gdFree(ptr) efree(ptr) argument
20 #define gdPMalloc(ptr) pemalloc(ptr, 1) argument
21 #define gdPFree(ptr) pefree(ptr, 1) argument
22 #define gdPEstrdup(ptr) pestrdup(ptr, 1) argument
/php-src/ext/mysqlnd/
H A Dmysqlnd_alloc.c153 static void * _mysqlnd_erealloc(void *ptr, size_t new_size MYSQLND_MEM_D) in _mysqlnd_erealloc()
173 static void * _mysqlnd_perealloc(void *ptr, size_t new_size, bool persistent MYSQLND_MEM_D) in _mysqlnd_perealloc()
227 static void _mysqlnd_pefree(void *ptr, bool persistent MYSQLND_MEM_D) in _mysqlnd_pefree()
259 static char * _mysqlnd_pememdup(const char * const ptr, size_t length, bool persistent MYSQLND_MEM_… in _mysqlnd_pememdup()
290 static char * _mysqlnd_pestrndup(const char * const ptr, size_t length, bool persistent MYSQLND_MEM… in _mysqlnd_pestrndup()
330 static char * _mysqlnd_pestrdup(const char * const ptr, bool persistent MYSQLND_MEM_D) in _mysqlnd_pestrdup()
397 static void * mysqlnd_zend_mm_erealloc(void *ptr, size_t new_size MYSQLND_MEM_D) in mysqlnd_zend_mm_erealloc()
405 static void * mysqlnd_zend_mm_perealloc(void *ptr, size_t new_size, bool persistent MYSQLND_MEM_D) in mysqlnd_zend_mm_perealloc()
421 static void mysqlnd_zend_mm_pefree(void * ptr, bool persistent MYSQLND_MEM_D) in mysqlnd_zend_mm_pefree()
429 static char * mysqlnd_zend_mm_pememdup(const char * const ptr, size_t length, bool persistent MYSQL… in mysqlnd_zend_mm_pememdup()
[all …]
H A Dmysqlnd_alloc.h47 #define mnd_erealloc(ptr, new_size) mysqlnd_allocator.m_erealloc((ptr), (new_size) MYSQLND_MEM_C) argument
48 #define mnd_perealloc(ptr, new_size, p) mysqlnd_allocator.m_perealloc((ptr), (new_size), (p) MYSQLN… argument
49 #define mnd_efree(ptr) mysqlnd_allocator.m_efree((ptr) MYSQLND_MEM_C) argument
50 #define mnd_pefree(ptr, pers) mysqlnd_allocator.m_pefree((ptr), (pers) MYSQLND_MEM_C) argument
51 #define mnd_pememdup(ptr, size, pers) mysqlnd_allocator.m_pememdup((ptr), (size), (pers) MYSQLND_ME… argument
52 #define mnd_pestrndup(ptr, size, pers) mysqlnd_allocator.m_pestrndup((ptr), (size), (pers) MYSQLND_… argument
53 #define mnd_pestrdup(ptr, pers) mysqlnd_allocator.m_pestrdup((ptr), (pers) MYSQLND_MEM_C) argument
H A Dmysqlnd_loaddata.c26 int mysqlnd_local_infile_init(void ** ptr, const char * const filename) in mysqlnd_local_infile_init()
65 int mysqlnd_local_infile_read(void * ptr, zend_uchar * buf, unsigned int buf_len) in mysqlnd_local_infile_read()
86 int mysqlnd_local_infile_error(void * ptr, char *error_buf, unsigned int error_buf_len) in mysqlnd_local_infile_error()
107 void mysqlnd_local_infile_end(void * ptr) in mysqlnd_local_infile_end()
/php-src/ext/xmlwriter/
H A Dphp_xmlwriter.c226 xmlTextWriterPtr ptr; in ZEND_GET_MODULE() local
248 xmlTextWriterPtr ptr; in php_xmlwriter_end() local
265 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
305 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
328 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
351 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
381 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
418 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
449 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
494 xmlTextWriterPtr ptr; in PHP_FUNCTION() local
[all …]
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/
H A DsljitWXExecAllocatorPosix.c68 #define SLJIT_WX_IS_BLOCK(ptr, size) generic_check_is_wx_block(ptr, size) argument
70 static SLJIT_INLINE int generic_check_is_wx_block(void *ptr, sljit_uw size) in generic_check_is_wx_block()
85 sljit_uw* ptr; in sljit_malloc_exec() local
117 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_exec(void* ptr) in sljit_free_exec()
H A DsljitWXExecAllocatorWindows.c58 sljit_uw *ptr; in sljit_malloc_exec() local
72 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_exec(void* ptr) in sljit_free_exec()
/php-src/sapi/phpdbg/
H A Dphpdbg_io.c73 PHPDBG_API int phpdbg_mixed_read(int fd, char *ptr, int len, int tmo) { in phpdbg_mixed_read()
83 static int phpdbg_output_pager(int fd, const char *ptr, int len) { in phpdbg_output_pager()
113 PHPDBG_API int phpdbg_mixed_write(int fd, const char *ptr, int len) { in phpdbg_mixed_write()
H A Dphpdbg_btree.h26 void *ptr; member
61 #define phpdbg_btree_insert(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BT… argument
62 #define phpdbg_btree_update(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BT… argument
63 #define phpdbg_btree_overwrite(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG… argument
/php-src/main/streams/
H A Dphp_streams_int.h26 #define erealloc_rel_orig(ptr, size) \ argument
32 #define perealloc_rel_orig(ptr, size, persistent) ((persistent) ? realloc((ptr), (size)) : erealloc… argument
35 # define perealloc_rel_orig(ptr, size, persistent) perealloc((ptr), (size), (persistent)) argument
/php-src/ext/bcmath/libbcmath/src/
H A Dlong2num.c35 const char *ptr = LONG_MIN_DIGITS; in bc_long2num() local
51 char *ptr = num->n_value + len - 1; in bc_long2num() local
/php-src/ext/hash/murmur/
H A DPMurHash.c83 #define READ_UINT32(ptr) getblock32((uint32_t *)ptr, 0) argument
106 #define dobytes(cnt, h1, c, n, ptr, len) \ argument
128 const uint8_t *ptr = (uint8_t*)key; in PMurHash32_Process() local
H A DPMurHash128.c79 #define READ_UINT64(ptr,i) getblock64((uint64_t *)ptr,i) argument
80 #define READ_UINT32(ptr,i) getblock32((uint32_t *)ptr,i) argument
143 #define dobytes128x86(cnt, h1, h2, h3, h4, k1, k2, k3, k4, n, ptr, len)\ argument
255 const uint8_t *ptr = (uint8_t*)key; in PMurHash128x86_Process() local
459 #define dobytes128x64(cnt, h1, h2, k1, k2, n, ptr, len) \ argument
534 const uint8_t *ptr = (uint8_t*)key; in PMurHash128x64_Process() local
/php-src/ext/standard/
H A Dphp_string.h63 # define php_mblen(ptr, len) ((int) mbrlen(ptr, len, &BG(mblen_state))) argument
66 # define php_mblen(ptr, len) mblen(ptr, len) argument
/php-src/ext/zend_test/
H A Dzend_mm_custom_handlers.c26 void *ptr = NULL; in observe_malloc() local
51 void* observe_realloc(void* ptr, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) in observe_realloc()
/php-src/ext/intl/breakiterator/
H A Dcodepointiterator_internal.cpp28 #define U_POINTER_MASK_LSB(ptr, mask) (((ptrdiff_t)(char *)(ptr)) & (mask)) argument
29 #define U_ALIGNMENT_OFFSET(ptr) U_POINTER_MASK_LSB(ptr, sizeof(UAlignedMemory) - 1) argument
30 #define U_ALIGNMENT_OFFSET_UP(ptr) (sizeof(UAlignedMemory) - U_ALIGNMENT_OFFSET(ptr)) argument

Completed in 142 milliseconds

1234567