Lines Matching refs:ZSTR_LEN
44 len += ZSTR_LEN(str->s); in END_EXTERN_C()
59 char *ret = ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s); in smart_str_extend_ex()
60 ZSTR_LEN(dest->s) = new_len; in smart_str_extend_ex()
84 ZSTR_VAL(str->s)[ZSTR_LEN(str->s)] = '\0'; in smart_str_0()
89 return str->s ? ZSTR_LEN(str->s) : 0; in smart_str_get_len()
94 if (str->s && str->a > ZSTR_LEN(str->s)) { in smart_str_trim_to_size_ex()
95 str->s = zend_string_realloc(str->s, ZSTR_LEN(str->s), persistent); in smart_str_trim_to_size_ex()
96 str->a = ZSTR_LEN(str->s); in smart_str_trim_to_size_ex()
126 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex()
131 memcpy(ZSTR_VAL(dest->s) + ZSTR_LEN(dest->s), str, len); in smart_str_appendl_ex()
132 ZSTR_LEN(dest->s) = new_len; in smart_str_appendl_ex()
136 smart_str_appendl_ex(dest, ZSTR_VAL(src), ZSTR_LEN(src), persistent); in smart_str_append_ex()
140 if (src->s && ZSTR_LEN(src->s)) { in smart_str_append_smart_str_ex()