Lines Matching refs:cp
10 zend_long cp = -1; in convert_cp() local
13 cp = Z_LVAL_P(zcp); in convert_cp()
24 U8_NEXT(Z_STRVAL_P(zcp), i, zcp_len, cp); in convert_cp()
35 if ((cp < UCHAR_MIN_VALUE) || (cp > UCHAR_MAX_VALUE)) { in convert_cp()
40 *pcp = (UChar32)cp; in convert_cp()
52 UChar32 cp; in IC_METHOD() local
58 (convert_cp(&cp, zcp) == FAILURE)) { in IC_METHOD()
65 U8_APPEND_UNSAFE(buffer, buffer_len, cp); in IC_METHOD()
79 UChar32 cp; in IC_METHOD() local
83 (convert_cp(&cp, zcp) == FAILURE)) { in IC_METHOD()
87 RETURN_LONG(cp); in IC_METHOD()
97 UChar32 cp; in IC_METHOD() local
102 (convert_cp(&cp, zcp) == FAILURE)) { in IC_METHOD()
106 RETURN_BOOL(u_hasBinaryProperty(cp, (UProperty)prop)); in IC_METHOD()
116 UChar32 cp; in IC_METHOD() local
121 (convert_cp(&cp, zcp) == FAILURE)) { in IC_METHOD()
125 RETURN_LONG(u_getIntPropertyValue(cp, (UProperty)prop)); in IC_METHOD()
164 UChar32 cp; in IC_METHOD() local
168 (convert_cp(&cp, zcp) == FAILURE)) { in IC_METHOD()
172 RETURN_DOUBLE(u_getNumericValue(cp)); in IC_METHOD()
226 UChar32 cp; in ZEND_END_ARG_INFO() local
230 (convert_cp(&cp, zcp) == FAILURE)) { in ZEND_END_ARG_INFO()
234 RETURN_LONG(ublock_getCode(cp)); in ZEND_END_ARG_INFO()
244 UChar32 cp; in ZEND_END_ARG_INFO() local
252 (convert_cp(&cp, zcp) == FAILURE)) { in ZEND_END_ARG_INFO()
256 buffer_len = u_charName(cp, (UCharNameChoice)nameChoice, NULL, 0, &error); in ZEND_END_ARG_INFO()
259 …buffer_len = u_charName(cp, (UCharNameChoice)nameChoice, ZSTR_VAL(buffer), ZSTR_LEN(buffer) + 1, &… in ZEND_END_ARG_INFO()
435 UChar32 cp, ret; in IC_METHOD() local
440 (convert_cp(&cp, zcp) == FAILURE)) { in IC_METHOD()
444 ret = u_foldCase(cp, options); in IC_METHOD()
463 UChar32 cp; in IC_METHOD() local
469 (convert_cp(&cp, zcp) == FAILURE)) { in IC_METHOD()
473 ret = u_digit(cp, radix); in IC_METHOD()
504 UChar32 cp; in IC_METHOD() local
510 (convert_cp(&cp, zcp) == FAILURE)) { in IC_METHOD()
514 u_charAge(cp, version); in IC_METHOD()
543 UChar32 cp; in IC_METHOD() local
551 (convert_cp(&cp, zcp) == FAILURE)) { in IC_METHOD()
555 closure_len = u_getFC_NFKC_Closure(cp, NULL, 0, &error); in IC_METHOD()
561 closure_len = u_getFC_NFKC_Closure(cp, closure, closure_len, &error); in IC_METHOD()
581 UChar32 cp; zval *zcp; \
583 (convert_cp(&cp, zcp) == FAILURE)) { return; } \
584 RETURN_BOOL(u_##name(cp)); \
623 UChar32 cp; zval *zcp; \
625 (convert_cp(&cp, zcp) == FAILURE)) { return; } \
626 RETURN_LONG(u_##name(cp)); \
644 UChar32 cp, ret; zval *zcp; \
646 (convert_cp(&cp, zcp) == FAILURE)) { return; } \
647 ret = u_##name(cp); \