Lines Matching refs:ret
208 smart_str ret = {0}; in intl_parse_error_to_string() local
215 smart_str_appends( &ret, "parse error " ); in intl_parse_error_to_string()
218 smart_str_appends( &ret, "on line " ); in intl_parse_error_to_string()
219 smart_str_append_long( &ret, (zend_long ) pe->line ); in intl_parse_error_to_string()
224 smart_str_appends( &ret, ", " ); in intl_parse_error_to_string()
226 smart_str_appends( &ret, "at " ); in intl_parse_error_to_string()
228 smart_str_appends( &ret, "offset " ); in intl_parse_error_to_string()
229 smart_str_append_long( &ret, (zend_long ) pe->offset ); in intl_parse_error_to_string()
235 smart_str_appends( &ret, ", " ); in intl_parse_error_to_string()
237 smart_str_appends( &ret, "after \"" ); in intl_parse_error_to_string()
241 smart_str_appends( &ret, "(could not convert parser error pre-context to UTF-8)" ); in intl_parse_error_to_string()
244 smart_str_append( &ret, u8str ); in intl_parse_error_to_string()
247 smart_str_appends( &ret, "\"" ); in intl_parse_error_to_string()
254 smart_str_appends( &ret, ", " ); in intl_parse_error_to_string()
256 smart_str_appends( &ret, "before or at \"" ); in intl_parse_error_to_string()
260 smart_str_appends( &ret, "(could not convert parser error post-context to UTF-8)" ); in intl_parse_error_to_string()
264 smart_str_append( &ret, u8str ); in intl_parse_error_to_string()
267 smart_str_appends( &ret, "\"" ); in intl_parse_error_to_string()
273 smart_str_free( &ret ); in intl_parse_error_to_string()
274 smart_str_appends( &ret, "no parse error" ); in intl_parse_error_to_string()
277 smart_str_0( &ret ); in intl_parse_error_to_string()
278 return ret; in intl_parse_error_to_string()