Lines Matching refs:length

94 	int32_t length = 0;  in PHP_FUNCTION()  local
107length = unum_getTextAttribute( FORMATTER_OBJECT(nfo), attribute, value, value_buf_size, &INTL_DAT… in PHP_FUNCTION()
108 if(INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR && length >= value_buf_size) { in PHP_FUNCTION()
109 ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ in PHP_FUNCTION()
111 value = eumalloc(length); in PHP_FUNCTION()
112length = unum_getTextAttribute( FORMATTER_OBJECT(nfo), attribute, value, length, &INTL_DATA_ERROR_… in PHP_FUNCTION()
120 INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value != value_buf ) ); in PHP_FUNCTION()
218 uint32_t length = USIZE(value_buf); in PHP_FUNCTION() local
236length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value_buf, length, &INTL_DATA_ERROR_CODE(nf… in PHP_FUNCTION()
237 if(INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR && length >= USIZE( value_buf )) { in PHP_FUNCTION()
238 ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ in PHP_FUNCTION()
240 value = eumalloc(length); in PHP_FUNCTION()
241 length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value, length, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
249 INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value_buf != value ) ); in PHP_FUNCTION()
297 uint32_t length = USIZE( value_buf ); in PHP_FUNCTION() local
311 length = unum_toPattern(FORMATTER_OBJECT(nfo), 0, value, length, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
312 if(INTL_DATA_ERROR_CODE(nfo) == U_BUFFER_OVERFLOW_ERROR && length >= USIZE( value_buf )) { in PHP_FUNCTION()
313 ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ in PHP_FUNCTION()
315 value = eumalloc(length); in PHP_FUNCTION()
316 length = unum_toPattern( FORMATTER_OBJECT(nfo), 0, value, length, &INTL_DATA_ERROR_CODE(nfo) ); in PHP_FUNCTION()
324 INTL_METHOD_RETVAL_UTF8( nfo, value, length, ( value != value_buf ) ); in PHP_FUNCTION()