Home
last modified time | relevance | path

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

12345678910>>...27

/PHP-7.3/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-7.3/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-7.3/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-7.3/ext/standard/tests/array/
H A Darray_slice_variation6.phpt34 -- $length is -6 --
38 -- $length is -5 --
42 -- $length is -4 --
46 -- $length is -3 --
52 -- $length is -2 --
70 -- $length is 0 --
74 -- $length is 1 --
80 -- $length is 2 --
88 -- $length is 3 --
98 -- $length is 4 --
[all …]
H A Darray_splice_variation3.phpt13 function test_splice ($offset, $length)
17 var_dump (array_splice ($input_array,$offset,$length));
117 absolute offset - absolute length - cut from middle
158 absolute offset - absolute length - cut from end
240 absolute offset - absolute length - cut everything
281 absolute offset - absolute length - cut nothing
445 absolute offset - relative length - cut nothing
568 relative offset - absolute length - cut from end
650 relative offset - absolute length - cut everything
691 relative offset - absolute length - cut nothing
[all …]
/PHP-7.3/ext/mbstring/libmbfl/tests/strcut.tests/
H A Diso2022jp.exp3 global spawn_id from length
5 set length $_length
17 set test "asciish characters ($from, $length)"
23 set test "non-asciish characters ($from, $length)"
33 set test "asciish characters ($from, $length)"
39 set test "non-asciish characters ($from, $length)"
49 set test "asciish characters ($from, $length)"
55 set test "non-asciish characters ($from, $length)"
65 set test "asciish characters ($from, $length)"
71 set test "non-asciish characters ($from, $length)"
[all …]
H A Dujis.exp3 global spawn_id from length
5 set length $_length
17 set test "asciish characters ($from, $length)"
23 set test "non-asciish characters ($from, $length)"
32 set test "asciish characters ($from, $length)"
38 set test "non-asciish characters ($from, $length)"
47 set test "asciish characters ($from, $length)"
53 set test "non-asciish characters ($from, $length)"
62 set test "asciish characters ($from, $length)"
68 set test "non-asciish characters ($from, $length)"
[all …]
H A Dutf8.exp3 global spawn_id from length
5 set length $_length
17 set test "asciish characters ($from, $length)"
23 set test "non-asciish characters ($from, $length)"
32 set test "asciish characters ($from, $length)"
38 set test "non-asciish characters ($from, $length)"
47 set test "asciish characters ($from, $length)"
53 set test "non-asciish characters ($from, $length)"
62 set test "asciish characters ($from, $length)"
68 set test "non-asciish characters ($from, $length)"
[all …]
/PHP-7.3/ext/zip/lib/
H A Dzip_io_util.c44 if (length > ZIP_INT64_MAX) { in _zip_read()
49 if ((n = zip_source_read(src, b, length)) < 0) { in _zip_read()
54 if (n < (zip_int64_t)length) { in _zip_read()
68 if (length == 0 && !nulp) { in _zip_read_data()
72 r = (zip_uint8_t *)malloc(length + (nulp ? 1 : 0)); in _zip_read_data()
79 zip_uint8_t *data = _zip_buffer_get(buffer, length); in _zip_read_data()
86 memcpy(r, data, length); in _zip_read_data()
89 if (_zip_read(src, r, length, error) < 0) { in _zip_read_data()
98 r[length] = 0; in _zip_read_data()
99 for (o=r; o<r+length; o++) in _zip_read_data()
[all …]
H A Dzip_string.c49 crc = (zip_uint32_t)crc32(crc, s->raw, s->length); in _zip_string_crc32()
61 if (a->length != b->length) in _zip_string_equal()
66 return (memcmp(a->raw, b->raw, a->length) == 0); in _zip_string_equal()
113 *lenp = string->length; in _zip_string_get()
124 return s->length; in _zip_string_length()
134 if (length == 0) in _zip_string_new()
157 if ((s->raw=(zip_uint8_t *)malloc((size_t)(length+1))) == NULL) { in _zip_string_new()
162 memcpy(s->raw, raw, length); in _zip_string_new()
163 s->raw[length] = '\0'; in _zip_string_new()
164 s->length = length; in _zip_string_new()
[all …]
/PHP-7.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.c51 device->length = 0; in mbfl_memory_device_init()
56 device->length = initsz; in mbfl_memory_device_init()
78 device->length = initsz; in mbfl_memory_device_realloc()
97 device->length = 0; in mbfl_memory_device_clear()
126 device->length = 0; in mbfl_memory_device_result()
159 device->length = newlen; in mbfl_memory_device_output()
187 device->length = newlen; in mbfl_memory_device_output2()
217 device->length = newlen; in mbfl_memory_device_output4()
257 device->length = newlen; in mbfl_memory_device_strncat()
279 device->length = 0; in mbfl_wchar_device_init()
[all …]
/PHP-7.3/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
6 Prototype: string fgets ( resource $handle [, int $length] );
71 -- fgets() with default length, file pointer at 0 --
82 -- fgets() with default length, file pointer at 0 --
93 -- fgets() with default length, file pointer at 0 --
106 -- fgets() with default length, file pointer at 0 --
119 -- fgets() with default length, file pointer at 0 --
130 -- fgets() with default length, file pointer at 0 --
141 -- fgets() with default length, file pointer at 0 --
154 -- fgets() with default length, file pointer at 0 --
[all …]
H A Dfgets_basic.phpt6 Prototype: string fgets ( resource $handle [, int $length] );
57 -- fgets() with default length, file pointer at 0 --
67 -- fgets() with default length, file pointer at 0 --
77 -- fgets() with default length, file pointer at 0 --
89 -- fgets() with default length, file pointer at 0 --
101 -- fgets() with default length, file pointer at 0 --
111 -- fgets() with default length, file pointer at 0 --
121 -- fgets() with default length, file pointer at 0 --
133 -- fgets() with default length, file pointer at 0 --
145 -- fgets() with default length, file pointer at 0 --
[all …]
H A Dfgets_variation4-win32-mb.phpt12 Prototype: string fgets ( resource $handle [, int $length] );
79 -- fgets() with location set by fseek() with length = 20 --
92 -- fgets() with location set by fseek() with length = 20 --
106 -- fgets() with location set by fseek() with length = 20 --
120 -- fgets() with location set by fseek() with length = 20 --
135 -- fgets() with location set by fseek() with length = 20 --
148 -- fgets() with location set by fseek() with length = 20 --
162 -- fgets() with location set by fseek() with length = 20 --
176 -- fgets() with location set by fseek() with length = 20 --
191 -- fgets() with location set by fseek() with length = 20 --
[all …]
H A Dfgets_variation4-win32.phpt12 Prototype: string fgets ( resource $handle [, int $length] );
79 -- fgets() with location set by fseek() with length = 20 --
92 -- fgets() with location set by fseek() with length = 20 --
106 -- fgets() with location set by fseek() with length = 20 --
120 -- fgets() with location set by fseek() with length = 20 --
135 -- fgets() with location set by fseek() with length = 20 --
148 -- fgets() with location set by fseek() with length = 20 --
162 -- fgets() with location set by fseek() with length = 20 --
176 -- fgets() with location set by fseek() with length = 20 --
191 -- fgets() with location set by fseek() with length = 20 --
[all …]
H A Dfgets_variation4.phpt12 Prototype: string fgets ( resource $handle [, int $length] );
79 -- fgets() with location set by fseek() with length = 20 --
92 -- fgets() with location set by fseek() with length = 20 --
106 -- fgets() with location set by fseek() with length = 20 --
120 -- fgets() with location set by fseek() with length = 20 --
135 -- fgets() with location set by fseek() with length = 20 --
148 -- fgets() with location set by fseek() with length = 20 --
162 -- fgets() with location set by fseek() with length = 20 --
176 -- fgets() with location set by fseek() with length = 20 --
191 -- fgets() with location set by fseek() with length = 20 --
[all …]
H A Dfgets_variation5.phpt62 -- fgets() with length > filesize --
68 -- fgets() with length > filesize --
74 -- fgets() with length > filesize --
81 -- fgets() with length > filesize --
89 -- fgets() with length > filesize --
95 -- fgets() with length > filesize --
101 -- fgets() with length > filesize --
108 -- fgets() with length > filesize --
116 -- fgets() with length > filesize --
122 -- fgets() with length > filesize --
[all …]
/PHP-7.3/ext/standard/tests/strings/
H A Dstrlen.phpt7 /* returns the length of a given string */
162 String length of '' is => int(0)
163 String length of '' is => int(0)
165 String length of '�' is => int(1)
166 String length of '�0' is => int(2)
168 String length of '�0' is => int(2)
175 String length of 'Hello, World�' is => int(13)
176 String length of 'Hello�World' is => int(11)
178 String length of 'Hello, World
180 String length of 'Hello, World
[all …]
/PHP-7.3/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-7.3/ext/intl/formatter/
H A Dformatter_attr.c108 int32_t length = 0; in PHP_FUNCTION() local
128 value = eumalloc(length); in PHP_FUNCTION()
129length = unum_getTextAttribute( FORMATTER_OBJECT(nfo), attribute, value, length, &INTL_DATA_ERROR_… 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()
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()
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()
367 value = eumalloc(length); in PHP_FUNCTION()
[all …]
/PHP-7.3/ext/zlib/tests/
H A Dgzuncompress_basic1.phpt11 /* Prototype : string gzuncompress(string data [, int length])
29 $length = 3547;
30 echo "\n-- Calling gzuncompress() with max length of $length --\n";
31 echo "Result length is ". strlen(gzuncompress($compressed, $length)) . "\n";
41 -- Calling gzuncompress() with max length of 3547 --
42 Result length is 3547
/PHP-7.3/ext/standard/
H A Dbase64.c409 while (length > 15) { \
419 length -= 12; \
440 if (length > 31) { in php_base64_encode()
453 length -= 24; in php_base64_encode()
454 if (length < 28) { in php_base64_encode()
624 length -= 16; \
644 result = zend_string_alloc(length, 0); in php_base64_decode_ex()
650 while (length > 31 + 11 + 2) { in php_base64_decode_ex()
695 length -= 32; in php_base64_decode_ex()
720 result = zend_string_alloc(length, 0); in php_base64_decode_ex_ssse3()
[all …]
/PHP-7.3/ext/dom/
H A Dcharacterdata.c126 long length = 0; in dom_characterdata_length_read() local
140 ZVAL_LONG(retval, length); in dom_characterdata_length_read()
158 int length; in PHP_FUNCTION() local
172 length = xmlUTF8Strlen(cur); in PHP_FUNCTION()
181 count = length - offset; in PHP_FUNCTION()
241 int length; in PHP_FUNCTION() local
289 int length; in PHP_FUNCTION() local
318 count = length - offset; in PHP_FUNCTION()
345 int length; in PHP_FUNCTION() local
375 count = length - offset; in PHP_FUNCTION()
[all …]
/PHP-7.3/main/
H A Dphp_memory_streams.h33 #define php_stream_memory_open(mode, buf, length) _php_stream_memory_open((mode), (buf), (length) S… argument
34 #define php_stream_memory_get_buffer(stream, length) _php_stream_memory_get_buffer((stream), (lengt… argument
40 …_temp_open(mode, max_memory_usage, buf, length) _php_stream_temp_open((mode), (max_memory_usage), … argument
45 PHPAPI php_stream *_php_stream_memory_open(int mode, char *buf, size_t length STREAMS_DC);
46 PHPAPI char *_php_stream_memory_get_buffer(php_stream *stream, size_t *length STREAMS_DC);
50 …eam *_php_stream_temp_open(int mode, size_t max_memory_usage, char *buf, size_t length STREAMS_DC);

Completed in 47 milliseconds

12345678910>>...27