Searched refs:len (Results 1 – 14 of 14) sorted by relevance
/ext-ds/src/ |
H A D | common.c | 120 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 D | common.h | 126 #define COPY_ZVAL_BUFFER(dst, src, len) \ argument 130 zval *_end = src + len; \ 274 size_t len
|
/ext-ds/src/php/ |
H A D | parameters.h | 25 size_t len; \ 26 PARSE_2("s", &str, &len)
|
/ext-ds/src/ds/ |
H A D | ds_vector.c | 241 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 D | ds_set.h | 47 void ds_set_join (ds_set_t *set, const char *glue, const size_t len, zval *return_value);
|
H A D | ds_deque.h | 74 void ds_deque_join(ds_deque_t *deque, char *str, size_t len, zval *return_value);
|
H A D | ds_vector.h | 91 void ds_vector_join(ds_vector_t *vector, char *str, size_t len, zval *return_value);
|
H A D | ds_set.c | 166 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 D | ds_htable.h | 193 zend_string *ds_htable_join_keys(ds_htable_t *table, const char* glue, const size_t len);
|
H A D | ds_htable.c | 758 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 D | ds_deque.c | 490 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 D | php_deque_ce.c | 31 ds_deque_join(THIS_DS_DEQUE(), str, len, return_value); in METHOD()
|
H A D | php_vector_ce.c | 113 ds_vector_join(THIS_DS_VECTOR(), str, len, return_value); in METHOD()
|
H A D | php_set_ce.c | 31 ds_set_join(THIS_DS_SET(), str, len, return_value); in METHOD()
|
Completed in 34 milliseconds