/PHP-8.1/ext/hash/sha3/generic32lc/ |
H A D | SnP-Relaned.h | 24 (length)/SnP_laneLengthInBytes, \ 27 (length)%SnP_laneLengthInBytes); \ 30 unsigned int _sizeLeft = (length); \ 52 (length)/SnP_laneLengthInBytes, \ 55 (length)%SnP_laneLengthInBytes); \ 58 unsigned int _sizeLeft = (length); \ 80 (length)/SnP_laneLengthInBytes, \ 83 (length)%SnP_laneLengthInBytes); \ 86 unsigned int _sizeLeft = (length); \ 108 (length)/SnP_laneLengthInBytes, \ [all …]
|
/PHP-8.1/ext/hash/sha3/generic64lc/ |
H A D | SnP-Relaned.h | 24 (length)/SnP_laneLengthInBytes, \ 27 (length)%SnP_laneLengthInBytes); \ 30 unsigned int _sizeLeft = (length); \ 52 (length)/SnP_laneLengthInBytes, \ 55 (length)%SnP_laneLengthInBytes); \ 58 unsigned int _sizeLeft = (length); \ 80 (length)/SnP_laneLengthInBytes, \ 83 (length)%SnP_laneLengthInBytes); \ 86 unsigned int _sizeLeft = (length); \ 108 (length)/SnP_laneLengthInBytes, \ [all …]
|
/PHP-8.1/ext/iconv/tests/ |
H A D | iconv_mime_encode.phpt | 35 -------- line length=0 39 -------- line length=1 43 -------- line length=2 47 -------- line length=3 51 -------- line length=4 55 -------- line length=5 59 -------- line length=6 63 -------- line length=7 67 -------- line length=8 71 -------- line length=9 [all …]
|
/PHP-8.1/ext/standard/tests/array/ |
H A D | array_slice_variation6.phpt | 29 -- $length is -6 -- 33 -- $length is -5 -- 37 -- $length is -4 -- 41 -- $length is -3 -- 47 -- $length is -2 -- 65 -- $length is 0 -- 69 -- $length is 1 -- 75 -- $length is 2 -- 83 -- $length is 3 -- 93 -- $length is 4 -- [all …]
|
H A D | array_splice_variation3.phpt | 12 function test_splice ($offset, $length) 116 absolute offset - absolute length - cut from middle 157 absolute offset - absolute length - cut from end 239 absolute offset - absolute length - cut everything 280 absolute offset - absolute length - cut nothing 362 absolute offset - relative length - cut from middle 444 absolute offset - relative length - cut nothing 567 relative offset - absolute length - cut from end 649 relative offset - absolute length - cut everything 690 relative offset - absolute length - cut nothing [all …]
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | bug26938.phpt | 11 . 'foreach($lengths as $length) {' 12 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);' 18 . 'foreach($lengths as $length) {' 19 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);' 24 print "md5(line $i)= " . md5($out[$i]) . " (length " . 28 md5(line 0)= e86410fa2d6e2634fd8ac5f4b3afe7f3 (length 10) 29 md5(line 1)= e84debf3a1d132871d7fe45c1c04c566 (length 20000) 30 md5(line 2)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000) 31 md5(line 3)= 2ecdde3959051d913f61b14579ea136d (length 5) 32 md5(line 4)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000) [all …]
|
H A D | fgets_variation3.phpt | 2 Test fgets() function : usage variations - read with/without length 66 -- fgets() with default length, file pointer at 0 -- 77 -- fgets() with default length, file pointer at 0 -- 88 -- fgets() with default length, file pointer at 0 -- 101 -- fgets() with default length, file pointer at 0 -- 114 -- fgets() with default length, file pointer at 0 -- 125 -- fgets() with default length, file pointer at 0 -- 136 -- fgets() with default length, file pointer at 0 -- 149 -- fgets() with default length, file pointer at 0 -- 162 -- fgets() with default length, file pointer at 0 -- [all …]
|
H A D | fgets_basic.phpt | 52 -- fgets() with default length, file pointer at 0 -- 62 -- fgets() with default length, file pointer at 0 -- 72 -- fgets() with default length, file pointer at 0 -- 84 -- fgets() with default length, file pointer at 0 -- 96 -- fgets() with default length, file pointer at 0 -- 106 -- fgets() with default length, file pointer at 0 -- 116 -- fgets() with default length, file pointer at 0 -- 128 -- fgets() with default length, file pointer at 0 -- 140 -- fgets() with default length, file pointer at 0 -- 150 -- fgets() with default length, file pointer at 0 -- [all …]
|
H A D | fgets_variation4-win32-mb.phpt | 74 -- fgets() with location set by fseek() with length = 20 -- 87 -- fgets() with location set by fseek() with length = 20 -- 101 -- fgets() with location set by fseek() with length = 20 -- 115 -- fgets() with location set by fseek() with length = 20 -- 130 -- fgets() with location set by fseek() with length = 20 -- 143 -- fgets() with location set by fseek() with length = 20 -- 157 -- fgets() with location set by fseek() with length = 20 -- 171 -- fgets() with location set by fseek() with length = 20 -- 186 -- fgets() with location set by fseek() with length = 20 -- 199 -- fgets() with location set by fseek() with length = 20 -- [all …]
|
H A D | fgets_variation4-win32.phpt | 74 -- fgets() with location set by fseek() with length = 20 -- 87 -- fgets() with location set by fseek() with length = 20 -- 101 -- fgets() with location set by fseek() with length = 20 -- 115 -- fgets() with location set by fseek() with length = 20 -- 130 -- fgets() with location set by fseek() with length = 20 -- 143 -- fgets() with location set by fseek() with length = 20 -- 157 -- fgets() with location set by fseek() with length = 20 -- 171 -- fgets() with location set by fseek() with length = 20 -- 186 -- fgets() with location set by fseek() with length = 20 -- 199 -- fgets() with location set by fseek() with length = 20 -- [all …]
|
H A D | fgets_variation4.phpt | 74 -- fgets() with location set by fseek() with length = 20 -- 87 -- fgets() with location set by fseek() with length = 20 -- 101 -- fgets() with location set by fseek() with length = 20 -- 115 -- fgets() with location set by fseek() with length = 20 -- 130 -- fgets() with location set by fseek() with length = 20 -- 143 -- fgets() with location set by fseek() with length = 20 -- 157 -- fgets() with location set by fseek() with length = 20 -- 171 -- fgets() with location set by fseek() with length = 20 -- 186 -- fgets() with location set by fseek() with length = 20 -- 199 -- fgets() with location set by fseek() with length = 20 -- [all …]
|
H A D | fgets_variation5.phpt | 57 -- fgets() with length > filesize -- 63 -- fgets() with length > filesize -- 69 -- fgets() with length > filesize -- 76 -- fgets() with length > filesize -- 84 -- fgets() with length > filesize -- 90 -- fgets() with length > filesize -- 96 -- fgets() with length > filesize -- 103 -- fgets() with length > filesize -- 111 -- fgets() with length > filesize -- 117 -- fgets() with length > filesize -- [all …]
|
H A D | fgets_error.phpt | 9 // invalid length argument 10 echo "-- Testing fgets() with invalid length arguments --\n"; 25 var_dump( fgets($fp, $len) ); // return length - 1 always, expect false 30 -- Testing fgets() with invalid length arguments -- 31 fgets(): Argument #2 ($length) must be greater than 0 32 fgets(): Argument #2 ($length) must be greater than 0
|
H A D | fgetcsv_error_conditions.phpt | 9 $length = 1024; 13 echo 'fgetcsv() with negative length' . \PHP_EOL; 32 var_dump( fgetcsv($file_handle, $length, '', $enclosure) ); 39 var_dump( fgetcsv($file_handle, $length, $delimiter, '') ); 46 var_dump( fgetcsv($file_handle, $length, '', '') ); 52 fgetcsv() with negative length 53 fgetcsv(): Argument #2 ($length) must be a greater than or equal to 0 54 fgetcsv(): Argument #2 ($length) must be a greater than or equal to 0 55 fgetcsv(): Argument #2 ($length) must be a greater than or equal to 0
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | strlen.phpt | 7 /* returns the length of a given string */ 135 String length of '' is => int(0) 136 String length of ' ' is => int(1) 137 String length of '%0' is => int(1) 141 String length of '0' is => int(1) 142 String length of '0' is => int(1) 143 String length of ' ' is => int(1) 145 String length of '1' is => int(1) 146 String length of '' is => int(0) 150 String length of 'Hello, World [all …]
|
/PHP-8.1/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_memory_device.c | 43 device->length = initsz; in mbfl_memory_device_init() 50 if (initsz > device->length) { in mbfl_memory_device_realloc() 52 device->length = initsz; in mbfl_memory_device_realloc() 63 device->length = device->pos = 0; in mbfl_memory_device_clear() 84 device->length = device->pos = 0; in mbfl_memory_device_result() 92 if (device->pos >= device->length) { in mbfl_memory_device_output() 102 device->length = newlen; in mbfl_memory_device_output() 127 device->length = newlen; in mbfl_memory_device_strncat() 145 device->length = 0; in mbfl_wchar_device_init() 156 device->length = device->pos = 0; in mbfl_wchar_device_clear() [all …]
|
/PHP-8.1/ext/intl/formatter/ |
H A D | formatter_attr.c | 94 int32_t length = 0; in PHP_FUNCTION() local 111 value = eumalloc(length); in PHP_FUNCTION() 112 …length = unum_getTextAttribute( FORMATTER_OBJECT(nfo), attribute, value, length, &INTL_DATA_ERROR_… in PHP_FUNCTION() 218 uint32_t length = USIZE(value_buf); in PHP_FUNCTION() local 236 …length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value_buf, length, &INTL_DATA_ERROR_CODE(nf… 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() 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() 315 value = eumalloc(length); in PHP_FUNCTION() [all …]
|
/PHP-8.1/ext/pcre/pcre2lib/ |
H A D | pcre2_valid_utf.c | 66 (void)length; in PRIV() 134 for (p = string; length > 0; p++) in PRIV() 139 length--; in PRIV() 156 if (length < ab) /* Missing bytes */ in PRIV() 159 switch(ab - length) in PRIV() 168 length -= ab; /* Length remaining */ in PRIV() 329 for (p = string; length > 0; p++) in PRIV() 332 length--; in PRIV() 341 if (length == 0) in PRIV() 347 length--; in PRIV() [all …]
|
/PHP-8.1/ext/zlib/tests/ |
H A D | gzuncompress_basic1.phpt | 19 $length = 3547; 20 echo "\n-- Calling gzuncompress() with max length of $length --\n"; 21 echo "Result length is ". strlen(gzuncompress($compressed, $length)) . "\n"; 30 -- Calling gzuncompress() with max length of 3547 -- 31 Result length is 3547
|
/PHP-8.1/ext/dom/ |
H A D | characterdata.c | 90 long length = 0; in dom_characterdata_length_read() local 104 ZVAL_LONG(retval, length); in dom_characterdata_length_read() 121 int length; in PHP_METHOD() local 136 length = xmlUTF8Strlen(cur); in PHP_METHOD() 145 count = length - offset; in PHP_METHOD() 192 int length; in PHP_METHOD() local 240 int length; in PHP_METHOD() local 270 count = length - offset; in PHP_METHOD() 296 int length; in PHP_METHOD() local 327 count = length - offset; in PHP_METHOD() [all …]
|
/PHP-8.1/ext/dom/tests/ |
H A D | bug42082.phpt | 2 Bug #42082 (NodeList length zero should be empty) 11 var_dump($nodes->length); 12 $length = $nodes->length; 13 var_dump(empty($nodes->length), empty($length));
|
/PHP-8.1/ext/standard/ |
H A D | base64.c | 588 while (length > 15) { \ 598 length -= 12; \ 619 if (length > 31) { in php_base64_encode() 632 length -= 24; in php_base64_encode() 633 if (length < 28) { in php_base64_encode() 770 length -= 16; \ 790 result = zend_string_alloc(length, 0); in php_base64_decode_ex() 796 while (length > 31 + 11 + 2) { in php_base64_decode_ex() 841 length -= 32; in php_base64_decode_ex() 866 result = zend_string_alloc(length, 0); in php_base64_decode_ex_ssse3() [all …]
|
/PHP-8.1/ext/hash/ |
H A D | hash_tiger.c | 140 if (context->length % 8) { in TigerFinalize() 141 memset(&context->buffer[context->length], 0, 8-context->length%8); in TigerFinalize() 142 context->length += 8-context->length%8; in TigerFinalize() 145 if (context->length > 56) { in TigerFinalize() 146 memset(&context->buffer[context->length], 0, 64 - context->length); in TigerFinalize() 150 memset(&context->buffer[context->length], 0, 56 - context->length); in TigerFinalize() 196 if (context->length + len < 64) { in PHP_TIGERUpdate() 198 context->length += len; in PHP_TIGERUpdate() 202 if (context->length) { in PHP_TIGERUpdate() 203 i = 64 - context->length; in PHP_TIGERUpdate() [all …]
|
/PHP-8.1/ext/bcmath/libbcmath/src/ |
H A D | init.c | 43 _bc_new_num_ex (length, scale, persistent) in _bc_new_num_ex() argument 44 int length, scale, persistent; in _bc_new_num_ex() 48 temp = (bc_num) safe_pemalloc (1, sizeof(bc_struct)+length, scale, persistent); 50 temp->n_len = length; 54 temp->n_ptr = (char *) safe_pemalloc (1, length, scale, persistent); 56 memset (temp->n_ptr, 0, length+scale);
|
/PHP-8.1/ext/intl/dateformat/ |
H A D | dateformat_attr.c | 70 uint32_t length = USIZE( value_buf ); in PHP_FUNCTION() local 85 …length = udat_toPattern(DATE_FORMAT_OBJECT(dfo), is_pattern_localized, value, length, &INTL_DATA_E… in PHP_FUNCTION() 86 if(INTL_DATA_ERROR_CODE(dfo) == U_BUFFER_OVERFLOW_ERROR && length >= USIZE( value_buf )) { in PHP_FUNCTION() 87 ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ in PHP_FUNCTION() 89 value = eumalloc(length); in PHP_FUNCTION() 90 …length = udat_toPattern(DATE_FORMAT_OBJECT(dfo), is_pattern_localized, value, length, &INTL_DATA_E… in PHP_FUNCTION() 98 INTL_METHOD_RETVAL_UTF8( dfo, value, length, ( value != value_buf ) ); in PHP_FUNCTION()
|