Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 24 of 24) sorted by relevance

/ext-ds/src/php/handlers/
H A Dphp_pair_handlers.c9 (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 Dphp_vector_handlers.c20 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 Dphp_deque_handlers.c20 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 Dphp_map_handlers.c13 (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 Dphp_common_handlers.h18 (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 Dphp_common_handlers.c36 (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 Dphp_set_handlers.c11 (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 Dphp_stack_handlers.c10 (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 Dphp_queue_handlers.c12 (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 Dphp_priority_queue_handlers.c79 php_priority_queue_handlers.offset = XtOffsetOf(php_ds_priority_queue_t, std);
/ext-ds/src/php/
H A Darginfo.h89 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 Dphp_map_ce.c295 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 Dphp_deque_ce.c283 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 Dphp_vector_ce.c283 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 Dphp_queue_ce.h18 ARGINFO_ZVAL_RETURN_BOOL( Queue_offsetExists, offset);
H A Dphp_stack_ce.h18 ARGINFO_ZVAL_RETURN_BOOL( Stack_offsetExists, offset);
H A Dphp_stack_ce.c112 PARSE_ZVAL_ZVAL(offset, value); in METHOD()
114 if (Z_TYPE_P(offset) == IS_NULL) { in METHOD()
H A Dphp_queue_ce.c109 PARSE_ZVAL_ZVAL(offset, value); in METHOD()
111 if (Z_TYPE_P(offset) == IS_NULL) { in METHOD()
H A Dphp_set_ce.h36 ARGINFO_ZVAL_RETURN_BOOL( Set_offsetExists, offset);
H A Dphp_map_ce.h45 ARGINFO_ZVAL_RETURN_BOOL( Map_offsetExists, offset);
H A Dphp_set_ce.c247 PARSE_ZVAL_ZVAL(offset, value); in METHOD()
249 if (Z_TYPE_P(offset) == IS_NULL) { in METHOD()
H A Dphp_sequence_ce.h57 ARGINFO_ZVAL_RETURN_BOOL( Sequence_offsetExists, offset);
/ext-ds/src/
H A Dcommon.c115 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 Dcommon.h283 zend_long *offset,

Completed in 51 milliseconds