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()
399 UChar32 cp, ret; in IC_METHOD() local
410 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { in IC_METHOD()
414 ret = u_foldCase(cp, options); in IC_METHOD()
429 UChar32 cp; in IC_METHOD() local
441 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { in IC_METHOD()
445 ret = u_digit(cp, radix); in IC_METHOD()
471 UChar32 cp; in IC_METHOD() local
475 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
479 u_charAge(cp, version); in IC_METHOD()
504 UChar32 cp; in IC_METHOD() local
510 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
514 closure_len = u_getFC_NFKC_Closure(cp, NULL, 0, &error); in IC_METHOD()
520 closure_len = u_getFC_NFKC_Closure(cp, closure, closure_len, &error); in IC_METHOD()
537 UChar32 cp; \
538 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { \
541 RETURN_BOOL(u_##name(cp)); \
577 UChar32 cp; \ in IC_BOOL_METHOD_CHAR()
578 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { \ in IC_BOOL_METHOD_CHAR()
581 RETURN_LONG(u_##name(cp)); \ in IC_BOOL_METHOD_CHAR()
595 UChar32 cp, ret; \
601 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { \
604 ret = u_##name(cp); \