Lines Matching refs:length
108 int length = 0; in PHP_FUNCTION() local
124 …length = unum_getTextAttribute( FORMATTER_OBJECT(nfo), attribute, value, value_buf_size, &INTL_DAT… in PHP_FUNCTION()
125 if(INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR && length >= value_buf_size) { in PHP_FUNCTION()
126 ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ in PHP_FUNCTION()
128 value = eumalloc(length); in PHP_FUNCTION()
129 …length = unum_getTextAttribute( FORMATTER_OBJECT(nfo), attribute, value, length, &INTL_DATA_ERROR_… in PHP_FUNCTION()
137 INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value != value_buf ) ); in PHP_FUNCTION()
255 int length = USIZE(value_buf); in PHP_FUNCTION() local
276 …length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value_buf, length, &INTL_DATA_ERROR_CODE(nf… in PHP_FUNCTION()
277 if(INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR && length >= USIZE( value_buf )) { in PHP_FUNCTION()
278 ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ in PHP_FUNCTION()
280 value = eumalloc(length); in PHP_FUNCTION()
281 length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value, length, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
289 INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value_buf != value ) ); in PHP_FUNCTION()
348 int length = USIZE( value_buf ); in PHP_FUNCTION() local
365 length = unum_toPattern(FORMATTER_OBJECT(nfo), 0, value, length, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
366 if(INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR && length >= USIZE( value_buf )) { in PHP_FUNCTION()
367 ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ in PHP_FUNCTION()
369 value = eumalloc(length); in PHP_FUNCTION()
370 length = unum_toPattern( FORMATTER_OBJECT(nfo), 0, value, length, &INTL_DATA_ERROR_CODE(nfo) ); in PHP_FUNCTION()
378 INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value != value_buf ) ); in PHP_FUNCTION()