Lines Matching refs:ret
246 smart_str ret = {0}; in intl_parse_error_to_string() local
253 smart_str_appends( &ret, "parse error " ); in intl_parse_error_to_string()
256 smart_str_appends( &ret, "on line " ); in intl_parse_error_to_string()
257 smart_str_append_long( &ret, (zend_long ) pe->line ); in intl_parse_error_to_string()
262 smart_str_appends( &ret, ", " ); in intl_parse_error_to_string()
264 smart_str_appends( &ret, "at " ); in intl_parse_error_to_string()
266 smart_str_appends( &ret, "offset " ); in intl_parse_error_to_string()
267 smart_str_append_long( &ret, (zend_long ) pe->offset ); in intl_parse_error_to_string()
273 smart_str_appends( &ret, ", " ); in intl_parse_error_to_string()
275 smart_str_appends( &ret, "after \"" ); in intl_parse_error_to_string()
279 smart_str_appends( &ret, "(could not convert parser error pre-context to UTF-8)" ); in intl_parse_error_to_string()
282 smart_str_append( &ret, u8str ); in intl_parse_error_to_string()
285 smart_str_appends( &ret, "\"" ); in intl_parse_error_to_string()
292 smart_str_appends( &ret, ", " ); in intl_parse_error_to_string()
294 smart_str_appends( &ret, "before or at \"" ); in intl_parse_error_to_string()
298 smart_str_appends( &ret, "(could not convert parser error post-context to UTF-8)" ); in intl_parse_error_to_string()
302 smart_str_append( &ret, u8str ); in intl_parse_error_to_string()
305 smart_str_appends( &ret, "\"" ); in intl_parse_error_to_string()
311 smart_str_free( &ret ); in intl_parse_error_to_string()
312 smart_str_appends( &ret, "no parse error" ); in intl_parse_error_to_string()
315 smart_str_0( &ret ); in intl_parse_error_to_string()
316 return ret; in intl_parse_error_to_string()