Lines Matching refs:cp

39 static zend_never_inline int parse_code_point_param(INTERNAL_FUNCTION_PARAMETERS, UChar32 *cp) {  in parse_code_point_param()  argument
45 return convert_cp(cp, string_codepoint, int_codepoint); in parse_code_point_param()
52 UChar32 cp; in IC_METHOD() local
56 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
63 U8_APPEND_UNSAFE(buffer, buffer_len, cp); in IC_METHOD()
73 UChar32 cp; in IC_METHOD() local
75 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
79 RETURN_LONG(cp); in IC_METHOD()
85 UChar32 cp; in IC_METHOD() local
95 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { in IC_METHOD()
99 RETURN_BOOL(u_hasBinaryProperty(cp, (UProperty)prop)); in IC_METHOD()
105 UChar32 cp; in IC_METHOD() local
115 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { in IC_METHOD()
119 RETURN_LONG(u_getIntPropertyValue(cp, (UProperty)prop)); in IC_METHOD()
149 UChar32 cp; in IC_METHOD() local
151 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
155 RETURN_DOUBLE(u_getNumericValue(cp)); in IC_METHOD()
202 UChar32 cp; in IC_METHOD() local
204 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
208 RETURN_LONG(ublock_getCode(cp)); in IC_METHOD()
214 UChar32 cp; in IC_METHOD() local
228 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { in IC_METHOD()
232 buffer_len = u_charName(cp, (UCharNameChoice)nameChoice, NULL, 0, &error); in IC_METHOD()
235 …buffer_len = u_charName(cp, (UCharNameChoice)nameChoice, ZSTR_VAL(buffer), ZSTR_LEN(buffer) + 1, &… in IC_METHOD()
389 UChar32 cp, ret; in IC_METHOD() local
399 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { in IC_METHOD()
403 ret = u_foldCase(cp, options); in IC_METHOD()
418 UChar32 cp; in IC_METHOD() local
430 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { in IC_METHOD()
434 ret = u_digit(cp, radix); in IC_METHOD()
458 UChar32 cp; in IC_METHOD() local
462 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
466 u_charAge(cp, version); in IC_METHOD()
493 UChar32 cp; in IC_METHOD() local
499 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { in IC_METHOD()
503 closure_len = u_getFC_NFKC_Closure(cp, NULL, 0, &error); in IC_METHOD()
509 closure_len = u_getFC_NFKC_Closure(cp, closure, closure_len, &error); in IC_METHOD()
526 UChar32 cp; \
527 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { \
530 RETURN_BOOL(u_##name(cp)); \
566 UChar32 cp; \ in IC_BOOL_METHOD_CHAR()
567 if (parse_code_point_param(INTERNAL_FUNCTION_PARAM_PASSTHRU, &cp) == FAILURE) { \ in IC_BOOL_METHOD_CHAR()
570 RETURN_LONG(u_##name(cp)); \ in IC_BOOL_METHOD_CHAR()
584 UChar32 cp, ret; \
590 if (convert_cp(&cp, string_codepoint, int_codepoint) == FAILURE) { \
593 ret = u_##name(cp); \