Home
last modified time | relevance | path

Searched refs:length (Results 26 – 50 of 588) sorted by relevance

12345678910>>...24

/PHP-7.4/ext/standard/tests/file/
H A Dfgetss_basic2.phpt87 -- fgetss() with default length, file pointer at 0 --
92 -- fgets() with length = 30, file pointer at 0 --
102 -- fgetss() with default length, file pointer at 0 --
107 -- fgets() with length = 30, file pointer at 0 --
122 -- fgets() with length = 30, file pointer at 0 --
137 -- fgets() with length = 30, file pointer at 0 --
152 -- fgets() with length = 30, file pointer at 0 --
167 -- fgets() with length = 30, file pointer at 0 --
182 -- fgets() with length = 30, file pointer at 0 --
197 -- fgets() with length = 30, file pointer at 0 --
[all …]
H A Dfgetss_basic2-win32-mb.phpt89 -- fgetss() with default length, file pointer at 0 --
94 -- fgets() with length = 30, file pointer at 0 --
104 -- fgetss() with default length, file pointer at 0 --
109 -- fgets() with length = 30, file pointer at 0 --
124 -- fgets() with length = 30, file pointer at 0 --
139 -- fgets() with length = 30, file pointer at 0 --
154 -- fgets() with length = 30, file pointer at 0 --
169 -- fgets() with length = 30, file pointer at 0 --
184 -- fgets() with length = 30, file pointer at 0 --
199 -- fgets() with length = 30, file pointer at 0 --
[all …]
H A Dfgetss_basic2-win32.phpt89 -- fgetss() with default length, file pointer at 0 --
94 -- fgets() with length = 30, file pointer at 0 --
104 -- fgetss() with default length, file pointer at 0 --
109 -- fgets() with length = 30, file pointer at 0 --
124 -- fgets() with length = 30, file pointer at 0 --
139 -- fgets() with length = 30, file pointer at 0 --
154 -- fgets() with length = 30, file pointer at 0 --
169 -- fgets() with length = 30, file pointer at 0 --
184 -- fgets() with length = 30, file pointer at 0 --
199 -- fgets() with length = 30, file pointer at 0 --
[all …]
H A Dfgetss_basic1.phpt73 -- fgetss() with default length, file pointer at 0 --
78 -- fgets() with length = 30, file pointer at 0 --
84 -- fgetss() with default length, file pointer at 0 --
89 -- fgets() with length = 30, file pointer at 0 --
95 -- fgetss() with default length, file pointer at 0 --
100 -- fgets() with length = 30, file pointer at 0 --
106 -- fgetss() with default length, file pointer at 0 --
111 -- fgets() with length = 30, file pointer at 0 --
117 -- fgetss() with default length, file pointer at 0 --
122 -- fgets() with length = 30, file pointer at 0 --
[all …]
/PHP-7.4/ext/mbstring/tests/
H A Dbug54494.phpt20 $length = mb_strlen($string, $mode);
21 echo "Length: ", $length, "\n";
24 for ($i=0; $i < $length; $i++) {
36 $length = mb_strlen($string, $mode);
37 echo "Length: ", $length, "\n";
40 for ($i=0; $i < $length; $i++) {
/PHP-7.4/ext/com_dotnet/
H A Dcom_olechar.c75 uint32_t length = 0; in php_com_olestring_to_string() local
78 length = WideCharToMultiByte(codepage, 0, olestring, -1, NULL, 0, NULL, NULL); in php_com_olestring_to_string()
80 if (length) { in php_com_olestring_to_string()
81 string = (char*)safe_emalloc(length, sizeof(char), 0); in php_com_olestring_to_string()
82 length = WideCharToMultiByte(codepage, 0, olestring, -1, string, length, NULL, NULL); in php_com_olestring_to_string()
83 ok = length > 0; in php_com_olestring_to_string()
88 length = 0; in php_com_olestring_to_string()
101 *string_len = length-1; in php_com_olestring_to_string()
/PHP-7.4/ext/gd/tests/
H A Dbug66590.phpt2 Bug #66590 (imagewebp() doesn't pad to even length)
20 $length = fread($stream, 4);
22 $length = unpack('V', $length)[1] + 8;
23 var_dump($length === filesize($filename));
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat_attr.c89 uint32_t length = USIZE( value_buf ); in PHP_FUNCTION() local
106length = udat_toPattern(DATE_FORMAT_OBJECT(dfo), is_pattern_localized, value, length, &INTL_DATA_E… in PHP_FUNCTION()
107 if(INTL_DATA_ERROR_CODE(dfo) == U_BUFFER_OVERFLOW_ERROR && length >= USIZE( value_buf )) { in PHP_FUNCTION()
108 ++length; /* to avoid U_STRING_NOT_TERMINATED_WARNING */ in PHP_FUNCTION()
110 value = eumalloc(length); in PHP_FUNCTION()
111length = udat_toPattern(DATE_FORMAT_OBJECT(dfo), is_pattern_localized, value, length, &INTL_DATA_E… in PHP_FUNCTION()
119 INTL_METHOD_RETVAL_UTF8( dfo, value, length, ( value != value_buf ) ); in PHP_FUNCTION()
/PHP-7.4/ext/dom/tests/
H A Dbug35342.phpt2 Bug #35342 (isset(DOMNodeList->length) returns false)
12 var_dump($nodelist->length, isset($nodelist->length), isset($nodelist->foo));
13 var_dump(empty($nodelist->length), empty($nodelist->foo));
/PHP-7.4/ext/standard/tests/strings/
H A Dsubstr_replace_error.phpt5 … : mixed substr_replace ( mixed $string , string $replacement , int $start [, int $length ] )
25 echo "\n-- Testing substr_replace() function with start and length different types --\n";
29 echo "\n-- Testing substr_replace() function with start and length with a different number of eleme…
32 echo "\n-- Testing substr_replace() function with start and length as arrays but string not--\n";
53 -- Testing substr_replace() function with start and length different types --
55 Warning: substr_replace(): 'start' and 'length' should be of same type - numerical or array in %s …
58 Warning: substr_replace(): 'start' and 'length' should be of same type - numerical or array in %s …
61 -- Testing substr_replace() function with start and length with a different number of elements --
63 Warning: substr_replace(): 'start' and 'length' should have the same number of elements in %s on li…
66 -- Testing substr_replace() function with start and length as arrays but string not--
[all …]
H A Dsubstr_count_error.phpt21 /* Using offset and length to go beyond the size of the string:
22 Warning message expected, as length+offset > length of string */
28 /* length too small */
49 Warning: substr_count(): Invalid length value in %s on line %d
55 Warning: substr_count(): Invalid length value in %s on line %d
/PHP-7.4/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-SnP.h40 …akP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
41 …0_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
46 …600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length);
47 …tate, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
H A DKeccakP-1600-opt64.c97 if (length == 0) in KeccakP1600_AddBytesInLane()
99 if (length == 1) in KeccakP1600_AddBytesInLane()
103 memcpy(&lane, data, length); in KeccakP1600_AddBytesInLane()
109 for(i=0; i<length; i++) in KeccakP1600_AddBytesInLane()
188 SnP_AddBytes(state, data, offset, length, KeccakP1600_AddLanes, KeccakP1600_AddBytesInLane, 8); in KeccakP1600_AddBytes()
199 for(i=0; i<length; i++) in KeccakP1600_OverwriteBytesInLane()
205 memcpy((unsigned char*)state+lanePosition*8+offset, data, length); in KeccakP1600_OverwriteBytesInLane()
325 memcpy(data, (UINT8*)lane1+offset, length); in KeccakP1600_ExtractBytesInLane()
330 for(i=0; i<length; i++) { in KeccakP1600_ExtractBytesInLane()
402 for(i=0; i<length; i++) in KeccakP1600_ExtractAndAddBytesInLane()
[all …]
/PHP-7.4/main/streams/
H A Dmmap.c23 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mm… in _php_stream_mmap_range() argument
28 range.length = length; in _php_stream_mmap_range()
34 *mapped_len = range.length; in _php_stream_mmap_range()
H A Dphp_stream_mmap.h50 size_t length; member
70 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mm…
71 …php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (… argument
/PHP-7.4/ext/standard/
H A Dquot_print.c52 PHPAPI zend_string *php_quot_print_decode(const unsigned char *str, size_t length, int replace_us_b… in php_quot_print_decode() argument
85 i = length, p1 = str; buf_size = length; in php_quot_print_decode()
98 i = length; p1 = str; p2 = (unsigned char*)ZSTR_VAL(retval); in php_quot_print_decode()
146 PHPAPI zend_string *php_quot_print_encode(const unsigned char *str, size_t length) /* {{{ */ in php_quot_print_encode() argument
153 ret = zend_string_safe_alloc(3, (length + (((3 * length)/(PHP_QPRINT_MAXL-9)) + 1)), 0, 0); in php_quot_print_encode()
156 while (length--) { in php_quot_print_encode()
157 if (((c = *str++) == '\015') && (*str == '\012') && length > 0) { in php_quot_print_encode()
160 length--; in php_quot_print_encode()
/PHP-7.4/ext/zlib/tests/
H A Dinflate_get_read_len.phpt20 echo 'Original compressed length: ' . $compressed_len . "\n";
21 echo 'Detected compressed length: ' . $detected_compressed_len . "\n";
27 Original compressed length: 20
28 Detected compressed length: 20
/PHP-7.4/win32/build/
H A Dconfutils.js180 (path.charCodeAt(CWD.length) == 92 || path.charCodeAt(CWD.length) == 47)) {
199 if (j < b.length - 1)
291 if (this_line.length) {
312 if (this_line.length) {
346 if (arg.length > 1) {
606 place = place.substr(0, place.length - thing_to_find.length - 1);
781 var length = libnames.length;
1930 if(zend_exts.length)
2850 if (dir.length > 0 && dir.substr(dir.length - 1) != '/' && dir.substr(dir.length - 1) != '\\') {
2862 if (src.length > 0 && src.substr(src.length - 1) != '/' && src.substr(src.length - 1) != '\\') {
[all …]
H A Dbuildconf.js87 for (i = 0; i < calls.length; i++) {
91 deps[deps.length] = RegExp.$1;
144 if (item.deps.length) {
165 if (item.deps.length == 0) {
183 for (i = 0; i < args.length; i++) {
188 if (arg.length > 1) {
196 module_dirs[module_dirs.length] = argval;
218 if (module_dirs.length == 0) {
224 for (i = 0; i < module_dirs.length; i++) {
236 for (i = 0; i < calls.length; i++) {
/PHP-7.4/ext/standard/tests/image/
H A Dgetimagesize_jpgapp.phpt22 echo "$key - length: ". strlen($value) ."; md5: " . md5($value) . "\n" ;
28 APP1 - length: 1717; md5: 02cbf4ba6640c131422483138c968516
29 APP2 - length: 7275; md5: f5036ccca2031e8bf932bcbd4aca4355
30 APP13 - length: 42; md5: 2202998bd05e78bcb419f08c070d6f61
/PHP-7.4/ext/iconv/tests/
H A Diconv_set_encoding-charset-length-cve-2007-4840.phpt2 iconv_set_encoding() charset parameter length checks (CVE-2007-4840)
13 Warning: iconv_set_encoding(): Charset parameter exceeds the maximum allowed length of %d character…
16 Warning: iconv_set_encoding(): Charset parameter exceeds the maximum allowed length of %d character…
19 Warning: iconv_set_encoding(): Charset parameter exceeds the maximum allowed length of %d character…
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dbase64.h15 int length; member
24 void base64_encode_xmlrpc(struct buffer_st *b, const char *source, int length);
25 void base64_decode_xmlrpc(struct buffer_st *b, const char *source, int length);
/PHP-7.4/sapi/cli/
H A Dphp_cli_process_title.c53 int length = 0; in PHP_FUNCTION() local
61 rc = get_ps_title(&length, &title); in PHP_FUNCTION()
67 RETURN_STRINGL(title, length); in PHP_FUNCTION()
/PHP-7.4/ext/standard/tests/array/
H A Darray_slice_basic.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
6 * Description: Returns elements specified by offset and length
19 $length = 2;
24 var_dump( array_slice($input, $offset, $length, $preserve_keys) );
/PHP-7.4/ext/intl/collator/
H A Dcollator_is_numeric.c72 size_t length = u - nstart; in collator_u_strtod() local
76 if (length < sizeof(buf)) { in collator_u_strtod()
79 numbuf = (char *) do_alloca(length + 1, use_heap); in collator_u_strtod()
214 zend_uchar collator_is_numeric( UChar *str, int32_t length, zend_long *lval, double *dval, int allo… in collator_is_numeric() argument
221 if (!length) { in collator_is_numeric()
226 if (length>=2 && str[0]=='0' && (str[1]=='x' || str[1]=='X')) { in collator_is_numeric()
233 if (end_ptr_long == str+length) { /* integer string */ in collator_is_numeric()
254 if (end_ptr_double == str+length) { /* floating point string */ in collator_is_numeric()

Completed in 93 milliseconds

12345678910>>...24