Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 588) sorted by relevance

12345678910>>...24

/PHP-8.2/main/
H A Dphp_ini_builder.c25 if (b->length > 0) in php_ini_builder_prepend()
26 memmove(b->value + length, b->value, b->length); in php_ini_builder_prepend()
28 b->length += length; in php_ini_builder_prepend()
36 b->length += name_length; in php_ini_builder_unquoted()
38 b->value[b->length++] = '='; in php_ini_builder_unquoted()
41 b->length += value_length; in php_ini_builder_unquoted()
51 b->length += name_length; in php_ini_builder_quoted()
53 b->value[b->length++] = '='; in php_ini_builder_quoted()
54 b->value[b->length++] = '"'; in php_ini_builder_quoted()
57 b->length += value_length; in php_ini_builder_quoted()
[all …]
/PHP-8.2/ext/hash/sha3/generic32lc/
H A DSnP-Relaned.h24 (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.2/ext/hash/sha3/generic64lc/
H A DSnP-Relaned.h24 (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.2/ext/standard/tests/array/
H A Darray_slice_variation6.phpt29 -- $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 Darray_splice_variation3.phpt12 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.2/ext/iconv/tests/
H A Diconv_mime_encode.phpt35 -------- 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.2/ext/standard/tests/file/
H A Dbug26938.phpt11 . '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 Dfgets_variation3.phpt2 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 Dfgets_basic.phpt52 -- 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 Dfgets_variation4-win32-mb.phpt74 -- 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 Dfgets_variation4-win32.phpt74 -- 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 Dfgets_variation4.phpt74 -- 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 Dfgets_variation5.phpt57 -- 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 Dfgets_error.phpt9 // 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 Dfgetcsv_error_conditions.phpt9 $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 between 0 and %d
54 fgetcsv(): Argument #2 ($length) must be between 0 and %d
55 fgetcsv(): Argument #2 ($length) must be between 0 and %d
/PHP-8.2/ext/standard/tests/strings/
H A Dstrlen.phpt7 /* returns the length of a given string */
136 String length of '' is => int(0)
137 String length of ' ' is => int(1)
138 String length of '%0' is => int(1)
142 String length of '0' is => int(1)
143 String length of '0' is => int(1)
144 String length of ' ' is => int(1)
146 String length of '1' is => int(1)
147 String length of '' is => int(0)
151 String length of 'Hello, World
[all …]
/PHP-8.2/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c43 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.2/ext/intl/formatter/
H A Dformatter_attr.c94 int32_t length = 0; in PHP_FUNCTION() local
111 value = eumalloc(length); in PHP_FUNCTION()
112length = 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
236length = 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.2/ext/pcre/pcre2lib/
H A Dpcre2_valid_utf.c66 (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.2/ext/zlib/tests/
H A Dgzuncompress_basic1.phpt19 $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.2/ext/dom/
H A Dcharacterdata.c90 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.2/ext/dom/tests/
H A Dbug42082.phpt2 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.2/ext/standard/
H A Dbase64.c588 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.2/ext/hash/
H A Dhash_tiger.c140 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.2/ext/bcmath/libbcmath/src/
H A Dinit.c43 _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);

Completed in 62 milliseconds

12345678910>>...24