Lines Matching refs:nfo

71 			value = unum_getAttribute(FORMATTER_OBJECT(nfo), attribute);  in PHP_FUNCTION()
73 INTL_DATA_ERROR_CODE(nfo) = U_UNSUPPORTED_ERROR; in PHP_FUNCTION()
80 double value_double = unum_getDoubleAttribute(FORMATTER_OBJECT(nfo), attribute); in PHP_FUNCTION()
82 INTL_DATA_ERROR_CODE(nfo) = U_UNSUPPORTED_ERROR; in PHP_FUNCTION()
89 INTL_DATA_ERROR_CODE(nfo) = U_UNSUPPORTED_ERROR; in PHP_FUNCTION()
93 INTL_METHOD_CHECK_STATUS( nfo, "Error getting attribute value" ); in PHP_FUNCTION()
124 …h = unum_getTextAttribute( FORMATTER_OBJECT(nfo), attribute, value, value_buf_size, &INTL_DATA_ERR… in PHP_FUNCTION()
125 if(INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR && length >= value_buf_size) { in PHP_FUNCTION()
127 INTL_DATA_ERROR_CODE(nfo) = U_ZERO_ERROR; in PHP_FUNCTION()
129 …ength = unum_getTextAttribute( FORMATTER_OBJECT(nfo), attribute, value, length, &INTL_DATA_ERROR_C… in PHP_FUNCTION()
130 if(U_FAILURE(INTL_DATA_ERROR_CODE(nfo))) { in PHP_FUNCTION()
135 INTL_METHOD_CHECK_STATUS( nfo, "Error getting attribute value" ); in PHP_FUNCTION()
137 INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value != value_buf ) ); in PHP_FUNCTION()
185 unum_setAttribute(FORMATTER_OBJECT(nfo), attribute, zval_get_long(value)); in PHP_FUNCTION()
188 unum_setDoubleAttribute(FORMATTER_OBJECT(nfo), attribute, zval_get_double(value)); in PHP_FUNCTION()
191 INTL_DATA_ERROR_CODE(nfo) = U_UNSUPPORTED_ERROR; in PHP_FUNCTION()
195 INTL_METHOD_CHECK_STATUS( nfo, "Error setting attribute value" ); in PHP_FUNCTION()
229 intl_convert_utf8_to_utf16(&svalue, &slength, value, len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
230 INTL_METHOD_CHECK_STATUS( nfo, "Error converting attribute value to UTF-16" ); in PHP_FUNCTION()
233 …unum_setTextAttribute(FORMATTER_OBJECT(nfo), attribute, svalue, slength, &INTL_DATA_ERROR_CODE(nfo in PHP_FUNCTION()
237 INTL_METHOD_CHECK_STATUS( nfo, "Error setting text attribute" ); in PHP_FUNCTION()
274 …length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value_buf, length, &INTL_DATA_ERROR_CODE(nf… in PHP_FUNCTION()
275 if(INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR && length >= USIZE( value_buf )) { in PHP_FUNCTION()
277 INTL_DATA_ERROR_CODE(nfo) = U_ZERO_ERROR; in PHP_FUNCTION()
279 length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value, length, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
280 if(U_FAILURE(INTL_DATA_ERROR_CODE(nfo))) { in PHP_FUNCTION()
285 INTL_METHOD_CHECK_STATUS( nfo, "Error getting symbol value" ); in PHP_FUNCTION()
287 INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value_buf != value ) ); in PHP_FUNCTION()
324 intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
325 INTL_METHOD_CHECK_STATUS( nfo, "Error converting symbol value to UTF-16" ); in PHP_FUNCTION()
328 unum_setSymbol(FORMATTER_OBJECT(nfo), symbol, svalue, slength, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
332 INTL_METHOD_CHECK_STATUS( nfo, "Error setting symbol value" ); in PHP_FUNCTION()
363 length = unum_toPattern(FORMATTER_OBJECT(nfo), 0, value, length, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
364 if(INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR && length >= USIZE( value_buf )) { in PHP_FUNCTION()
366 INTL_DATA_ERROR_CODE(nfo) = U_ZERO_ERROR; in PHP_FUNCTION()
368 length = unum_toPattern( FORMATTER_OBJECT(nfo), 0, value, length, &INTL_DATA_ERROR_CODE(nfo) ); in PHP_FUNCTION()
369 if(U_FAILURE(INTL_DATA_ERROR_CODE(nfo))) { in PHP_FUNCTION()
374 INTL_METHOD_CHECK_STATUS( nfo, "Error getting formatter pattern" ); in PHP_FUNCTION()
376 INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value != value_buf ) ); in PHP_FUNCTION()
406 intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
407 INTL_METHOD_CHECK_STATUS( nfo, "Error converting pattern to UTF-16" ); in PHP_FUNCTION()
410 unum_applyPattern(FORMATTER_OBJECT(nfo), 0, svalue, slength, NULL, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
414 INTL_METHOD_CHECK_STATUS( nfo, "Error setting pattern value" ); in PHP_FUNCTION()
444 loc = (char *)unum_getLocaleByType(FORMATTER_OBJECT(nfo), type, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
445 INTL_METHOD_CHECK_STATUS( nfo, "Error getting locale" ); in PHP_FUNCTION()