Home
last modified time | relevance | path

Searched refs:len (Results 1 – 14 of 14) sorted by relevance

/ext-ds/src/
H A Dcommon.c120 zend_long len = *length; in ds_normalize_slice_args() local
135 if (len < 0) { in ds_normalize_slice_args()
136 len = MAX(0, (size + len) - idx); in ds_normalize_slice_args()
140 if ((idx + len) > size) { in ds_normalize_slice_args()
141 len = MAX(0, size - idx); in ds_normalize_slice_args()
145 *length = len; in ds_normalize_slice_args()
169 size_t len in ds_join_zval_buffer() argument
182 if (glue && len) { in ds_join_zval_buffer()
189 smart_str_appendl(&str, glue, len); in ds_join_zval_buffer()
H A Dcommon.h126 #define COPY_ZVAL_BUFFER(dst, src, len) \ argument
130 zval *_end = src + len; \
274 size_t len
/ext-ds/src/php/
H A Dparameters.h25 size_t len; \
26 PARSE_2("s", &str, &len)
/ext-ds/src/ds/
H A Dds_vector.c241 void ds_vector_join(ds_vector_t *vector, char *str, size_t len, zval *return_value) in ds_vector_join() argument
244 s = ds_join_zval_buffer(vector->buffer, DS_VECTOR_SIZE(vector), str, len); in ds_vector_join()
251 zend_long len; in ds_vector_insert_va() local
261 len = vector->size - index; in ds_vector_insert_va()
263 if (len > 0) { in ds_vector_insert_va()
H A Dds_set.h47 void ds_set_join (ds_set_t *set, const char *glue, const size_t len, zval *return_value);
H A Dds_deque.h74 void ds_deque_join(ds_deque_t *deque, char *str, size_t len, zval *return_value);
H A Dds_vector.h91 void ds_vector_join(ds_vector_t *vector, char *str, size_t len, zval *return_value);
H A Dds_set.c166 void ds_set_join(ds_set_t *set, const char *glue, const size_t len, zval *return_value) in ds_set_join() argument
168 zend_string *str = ds_htable_join_keys(set->table, glue, len); in ds_set_join()
H A Dds_htable.h193 zend_string *ds_htable_join_keys(ds_htable_t *table, const char* glue, const size_t len);
H A Dds_htable.c758 zend_string *ds_htable_join_keys(ds_htable_t *table, const char* glue, const size_t len) in ds_htable_join_keys() argument
770 if (glue && len) { in ds_htable_join_keys()
776 smart_str_appendl(&str, glue, len); in ds_htable_join_keys()
H A Dds_deque.c490 void ds_deque_join(ds_deque_t *deque, char *str, size_t len, zval *return_value) in ds_deque_join() argument
496 ds_join_zval_buffer(deque->buffer, deque->size, str, len) in ds_deque_join()
/ext-ds/src/php/classes/
H A Dphp_deque_ce.c31 ds_deque_join(THIS_DS_DEQUE(), str, len, return_value); in METHOD()
H A Dphp_vector_ce.c113 ds_vector_join(THIS_DS_VECTOR(), str, len, return_value); in METHOD()
H A Dphp_set_ce.c31 ds_set_join(THIS_DS_SET(), str, len, return_value); in METHOD()

Completed in 34 milliseconds