Lines Matching refs:cp

40 static zend_never_inline int parse_code_point_param(INTERNAL_FUNCTION_PARAMETERS, UChar32 *cp) {  in parse_code_point_param()  argument
46 return convert_cp(cp, string_codepoint, int_codepoint); in parse_code_point_param()
53 UChar32 cp; in IC_METHOD() local
57 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
64 U8_APPEND_UNSAFE(buffer, buffer_len, cp); in IC_METHOD()
74 UChar32 cp; in IC_METHOD() local
76 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
80 RETURN_LONG(cp); in IC_METHOD()
86 UChar32 cp; in IC_METHOD() local
96 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { in IC_METHOD()
100 RETURN_BOOL(u_hasBinaryProperty(cp, (UProperty)prop)); in IC_METHOD()
106 UChar32 cp; in IC_METHOD() local
116 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { in IC_METHOD()
120 RETURN_LONG(u_getIntPropertyValue(cp, (UProperty)prop)); in IC_METHOD()
150 UChar32 cp; in IC_METHOD() local
152 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
156 RETURN_DOUBLE(u_getNumericValue(cp)); in IC_METHOD()
203 UChar32 cp; in IC_METHOD() local
205 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
209 RETURN_LONG(ublock_getCode(cp)); in IC_METHOD()
215 UChar32 cp; in IC_METHOD() local
229 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { in IC_METHOD()
233 buffer_len = u_charName(cp, (UCharNameChoice)nameChoice, NULL, 0, &error); in IC_METHOD()
236 …buffer_len = u_charName(cp, (UCharNameChoice)nameChoice, ZSTR_VAL(buffer), ZSTR_LEN(buffer) + 1, &… in IC_METHOD()
390 UChar32 cp, ret; in IC_METHOD() local
401 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { in IC_METHOD()
405 ret = u_foldCase(cp, options); in IC_METHOD()
420 UChar32 cp; in IC_METHOD() local
432 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { in IC_METHOD()
436 ret = u_digit(cp, radix); in IC_METHOD()
460 UChar32 cp; in IC_METHOD() local
464 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
468 u_charAge(cp, version); in IC_METHOD()
495 UChar32 cp; in IC_METHOD() local
501 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
505 closure_len = u_getFC_NFKC_Closure(cp, NULL, 0, &error); in IC_METHOD()
511 closure_len = u_getFC_NFKC_Closure(cp, closure, closure_len, &error); in IC_METHOD()
528 UChar32 cp; \
529 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { \
532 RETURN_BOOL(u_##name(cp)); \
568 UChar32 cp; \ in IC_BOOL_METHOD_CHAR()
569 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { \ in IC_BOOL_METHOD_CHAR()
572 RETURN_LONG(u_##name(cp)); \ in IC_BOOL_METHOD_CHAR()
586 UChar32 cp, ret; \
592 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { \
595 ret = u_##name(cp); \