Home
last modified time | relevance | path

Searched refs:s (Results 1 – 19 of 19) sorted by relevance

/ext-ds/src/ds/
H A Dds_stack.h7 #define DS_STACK_SIZE(s) ((s)->vector->size) argument
8 #define DS_STACK_CAPACITY(s) ((s)->vector->capacity) argument
9 #define DS_STACK_IS_EMPTY(s) (DS_STACK_SIZE(s) == 0) argument
H A Dds_set.h7 #define DS_SET_SIZE(s) ((s)->table->size) argument
8 #define DS_SET_CAPACITY(s) ((s)->table->capacity) argument
9 #define DS_SET_IS_EMPTY(s) (DS_SET_SIZE(s) == 0) argument
H A Dds_htable.c231 if (buffer.s) { in get_array_hash()
232 hash = get_string_hash(buffer.s); in get_array_hash()
233 zend_string_free(buffer.s); in get_array_hash()
793 return str.s; in ds_htable_join_keys()
1203 SERIALIZE_SET_ZSTR(buf.s); in ds_htable_serialize()
1204 zend_string_release(buf.s); in ds_htable_serialize()
H A Dds_vector.c243 zend_string *s; in ds_vector_join() local
244 s = ds_join_zval_buffer(vector->buffer, DS_VECTOR_SIZE(vector), str, len); in ds_vector_join()
245 ZVAL_STR(return_value, s); in ds_vector_join()
/ext-ds/src/php/objects/
H A Dphp_stack.h19 #define ZVAL_DS_STACK(z, s) ZVAL_OBJ(z, php_ds_stack_create_object_ex(s)) argument
21 #define RETURN_DS_STACK(s) \ argument
23 ds_stack_t *_s = s; \
H A Dphp_set.h21 #define RETURN_DS_SET(s) \ argument
23 ds_set_t *_s = s; \
H A Dphp_queue.c52 SERIALIZE_SET_ZSTR(buf.s); in php_ds_queue_serialize()
53 zend_string_release(buf.s); in php_ds_queue_serialize()
H A Dphp_deque.c51 SERIALIZE_SET_ZSTR(buf.s); in php_ds_deque_serialize()
52 zend_string_release(buf.s); in php_ds_deque_serialize()
H A Dphp_stack.c51 SERIALIZE_SET_ZSTR(buf.s); in php_ds_stack_serialize()
52 zend_string_release(buf.s); in php_ds_stack_serialize()
H A Dphp_vector.c51 SERIALIZE_SET_ZSTR(buf.s); in php_ds_vector_serialize()
52 zend_string_release(buf.s); in php_ds_vector_serialize()
H A Dphp_set.c51 SERIALIZE_SET_ZSTR(buf.s); in php_ds_set_serialize()
52 zend_string_release(buf.s); in php_ds_set_serialize()
H A Dphp_priority_queue.c59 SERIALIZE_SET_ZSTR(buf.s); in php_ds_priority_queue_serialize()
60 zend_string_release(buf.s); in php_ds_priority_queue_serialize()
H A Dphp_pair.c119 SERIALIZE_SET_ZSTR(buf.s); in php_ds_pair_serialize()
120 zend_string_release(buf.s); in php_ds_pair_serialize()
/ext-ds/src/
H A Dcommon.h140 #define ZVAL_EQUALS_STRING(z, s) zend_string_equals_literal(Z_STR_P(z), s) argument
154 #define SERIALIZE_SET_ZSTR(s) \ argument
155 *buffer = (unsigned char *) estrndup(ZSTR_VAL((s)), ZSTR_LEN((s))); \
156 *length = ZSTR_LEN((s));
H A Dcommon.c206 return str.s; in ds_join_zval_buffer()
/ext-ds/
H A DCHANGELOG.md53 - Vector's minimum and default capacity down from 10 to 8.
54 - Map and Set's minimum and default capacity down from 16 to 8.
118 - `htable` bucket copy macro didn't copy the bucket's "next".
H A Dappveyor.yml58 xcopy C:\projects\php-ds C:\projects\php-src\ext\ds /s /e /y /q
/ext-ds/src/php/handlers/
H A Dphp_common_handlers.c22 ZVAL_STR(return_value, buffer.s);
/ext-ds/src/php/
H A Darginfo.h25 #define ARGINFO_OPTIONAL_STRING(name, s) \ argument
27 ZEND_ARG_TYPE_INFO(0, s, IS_STRING, 0) \
215 #define ARGINFO_OPTIONAL_STRING_RETURN_STRING(name, s) \ argument
217 ZEND_ARG_TYPE_INFO(0, s, IS_STRING, 0) \

Completed in 23 milliseconds