Lines Matching refs:length

108 	int32_t length = 0;  in PHP_FUNCTION()  local
124length = 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()
129length = 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()
253 uint32_t length = USIZE(value_buf); in PHP_FUNCTION() local
274length = 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()
276 ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ in PHP_FUNCTION()
278 value = eumalloc(length); in PHP_FUNCTION()
279 length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value, length, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
287 INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value_buf != value ) ); in PHP_FUNCTION()
346 uint32_t length = USIZE( value_buf ); in PHP_FUNCTION() local
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()
365 ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ in PHP_FUNCTION()
367 value = eumalloc(length); in PHP_FUNCTION()
368 length = unum_toPattern( FORMATTER_OBJECT(nfo), 0, value, length, &INTL_DATA_ERROR_CODE(nfo) ); in PHP_FUNCTION()
376 INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value != value_buf ) ); in PHP_FUNCTION()