/ext-ds/src/php/handlers/ |
H A D | php_pair_handlers.c | 9 (zend_object *obj, zend_string *offset, void **cache_slot) { argument 10 if (zend_string_equals_literal(offset, "key") || zend_string_equals_literal(offset, "value")) { 11 zend_update_property_null(obj->ce, obj, ZSTR_VAL(offset), ZSTR_LEN(offset)); 14 (zval *obj, zval *offset, void **cache_slot) { 15 if (EXPECTED(Z_TYPE_P(offset) == IS_STRING)) { 16 if (ZVAL_EQUALS_STRING(offset, "key") || ZVAL_EQUALS_STRING(offset, "value")) { 17 zend_update_property_null(Z_OBJCE_P(obj), obj, Z_STRVAL_P(offset), Z_STRLEN_P(offset)); 47 php_pair_handlers.offset = XtOffsetOf(php_ds_pair_t, std);
|
H A D | php_vector_handlers.c | 20 ZVAL_DEREF(offset); 24 if (Z_TYPE_P(offset) != IS_LONG || ! ds_vector_isset(vector, Z_LVAL_P(offset), 0)) { 30 if (Z_TYPE_P(offset) != IS_LONG) { 31 INTEGER_INDEX_REQUIRED(offset); 59 ZVAL_DEREF(offset); 77 if (Z_TYPE_P(offset) != IS_LONG) { 80 ZVAL_DEREF(offset); 87 (zend_object *obj, zval *offset) { argument 90 (zval *obj, zval *offset) { 94 ZVAL_DEREF(offset); [all …]
|
H A D | php_deque_handlers.c | 20 ZVAL_DEREF(offset); 24 if (Z_TYPE_P(offset) != IS_LONG || ! ds_deque_isset(deque, Z_LVAL_P(offset), 0)) { 30 if (Z_TYPE_P(offset) != IS_LONG) { 31 INTEGER_INDEX_REQUIRED(offset); 59 ZVAL_DEREF(offset); 77 if (Z_TYPE_P(offset) != IS_LONG) { 81 ZVAL_DEREF(offset); 88 (zend_object *obj, zval *offset) { argument 91 (zval *obj, zval *offset) { 95 ZVAL_DEREF(offset); [all …]
|
H A D | php_map_handlers.c | 13 (zval *obj, zval *offset, int type, zval *rv) { 16 if (offset == NULL) { 24 ZVAL_DEREF(offset); 51 (zval *obj, zval *offset, zval *value) { 54 if (offset == NULL) { 58 ZVAL_DEREF(offset); 67 (zval *obj, zval *offset, int check_empty) { 70 ZVAL_DEREF(offset); 76 (zend_object *obj, zval *offset) { argument 79 (zval *obj, zval *offset) { [all …]
|
H A D | php_common_handlers.h | 18 (zend_object *obj, zval *offset, int type, zval *rv); 20 (zval *obj, zval *offset, int type, zval *rv); 25 (zend_object *obj, zval *offset, int check_empty); 27 (zval *obj, zval *offset, int check_empty); 32 (zend_object *obj, zval *offset); 34 (zval *obj, zval *offset);
|
H A D | php_common_handlers.c | 36 (zend_object *obj, zval *offset, int type, zval *rv) { argument 38 (zval *obj, zval *offset, int type, zval *rv) { 46 (zend_object *obj, zval *offset, int check_empty) { argument 48 (zval *obj, zval *offset, int check_empty) { 56 (zend_object *obj, zval *offset) { argument 58 (zval *obj, zval *offset) {
|
H A D | php_set_handlers.c | 11 (zend_object *obj, zval *offset, int type, zval *rv) { argument 14 (zval *obj, zval *offset, int type, zval *rv) { 17 if (Z_TYPE_P(offset) != IS_LONG) { 18 INTEGER_INDEX_REQUIRED(offset); 27 return ds_set_get(set, Z_LVAL_P(offset)); 32 (zend_object *obj, zval *offset, zval *value) { argument 35 (zval *obj, zval *offset, zval *value) { 38 if (offset == NULL) { 113 php_ds_set_handlers.offset = XtOffsetOf(php_ds_set_t, std);
|
H A D | php_stack_handlers.c | 10 (zend_object *obj, zval *offset, zval *value) { argument 13 (zval *obj, zval *offset, zval *value) { 16 if (offset == NULL) { 88 php_ds_stack_handlers.offset = XtOffsetOf(php_ds_stack_t, std);
|
H A D | php_queue_handlers.c | 12 (zend_object *obj, zval *offset, zval *value) { argument 15 (zval *obj, zval *offset, zval *value) { 18 if (offset == NULL) { 88 php_queue_handlers.offset = XtOffsetOf(php_ds_queue_t, std);
|
H A D | php_priority_queue_handlers.c | 79 php_priority_queue_handlers.offset = XtOffsetOf(php_ds_priority_queue_t, std);
|
/ext-ds/src/php/ |
H A D | arginfo.h | 89 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0) \ 94 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0) \ 100 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0) \ 107 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0) \ 112 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0) \ 118 ZEND_ARG_TYPE_INFO(0, offset, IS_MIXED, 0) \ 125 ZEND_ARG_INFO(0, offset) \ 130 ZEND_ARG_INFO(0, offset) \ 136 ZEND_ARG_INFO(0, offset) \
|
/ext-ds/src/php/classes/ |
H A D | php_map_ce.c | 295 PARSE_ZVAL(offset); in METHOD() 296 RETURN_BOOL(ds_htable_isset(THIS_DS_MAP()->table, offset, false)); in METHOD() 301 PARSE_ZVAL(offset); in METHOD() 302 RETURN_ZVAL_COPY(ds_map_get(THIS_DS_MAP(), offset, NULL)); in METHOD() 307 PARSE_ZVAL_ZVAL(offset, value); in METHOD() 308 ds_map_put(THIS_DS_MAP(), offset, value); in METHOD() 313 PARSE_ZVAL(offset); in METHOD() 314 ds_map_remove(THIS_DS_MAP(), offset, NULL, return_value); in METHOD()
|
H A D | php_deque_ce.c | 283 PARSE_ZVAL_ZVAL(offset, value); in METHOD() 285 if (Z_TYPE_P(offset) == IS_NULL) { in METHOD() 288 if (Z_TYPE_P(offset) != IS_LONG) { in METHOD() 289 INTEGER_INDEX_REQUIRED(offset); in METHOD() 291 ds_deque_set(THIS_DS_DEQUE(), Z_LVAL_P(offset), value); in METHOD()
|
H A D | php_vector_ce.c | 283 PARSE_ZVAL_ZVAL(offset, value); in METHOD() 285 if (Z_TYPE_P(offset) == IS_NULL) { in METHOD() 288 if (Z_TYPE_P(offset) != IS_LONG) { in METHOD() 289 INTEGER_INDEX_REQUIRED(offset); in METHOD() 291 ds_vector_set(THIS_DS_VECTOR(), Z_LVAL_P(offset), value); in METHOD()
|
H A D | php_queue_ce.h | 18 ARGINFO_ZVAL_RETURN_BOOL( Queue_offsetExists, offset);
|
H A D | php_stack_ce.h | 18 ARGINFO_ZVAL_RETURN_BOOL( Stack_offsetExists, offset);
|
H A D | php_stack_ce.c | 112 PARSE_ZVAL_ZVAL(offset, value); in METHOD() 114 if (Z_TYPE_P(offset) == IS_NULL) { in METHOD()
|
H A D | php_queue_ce.c | 109 PARSE_ZVAL_ZVAL(offset, value); in METHOD() 111 if (Z_TYPE_P(offset) == IS_NULL) { in METHOD()
|
H A D | php_set_ce.h | 36 ARGINFO_ZVAL_RETURN_BOOL( Set_offsetExists, offset);
|
H A D | php_map_ce.h | 45 ARGINFO_ZVAL_RETURN_BOOL( Map_offsetExists, offset);
|
H A D | php_set_ce.c | 247 PARSE_ZVAL_ZVAL(offset, value); in METHOD() 249 if (Z_TYPE_P(offset) == IS_NULL) { in METHOD()
|
H A D | php_sequence_ce.h | 57 ARGINFO_ZVAL_RETURN_BOOL( Sequence_offsetExists, offset);
|
/ext-ds/src/ |
H A D | common.c | 115 zend_long *offset, in ds_normalize_slice_args() argument 119 zend_long idx = *offset; in ds_normalize_slice_args() 124 *offset = 0; in ds_normalize_slice_args() 144 *offset = idx; in ds_normalize_slice_args()
|
H A D | common.h | 283 zend_long *offset,
|