/PHP-5.3/ext/pdo_mysql/ |
H A D | get_error_codes.php | 3 $maxlen = 0; variable 10 $maxlen = max($maxlen, strlen($matches[1])); variable 22 printf(" case %-{$maxlen}s: return \"%s\";\n", $code, $state);
|
/PHP-5.3/main/ |
H A D | php_streams.h | 64 …define php_stream_copy_to_mem_rel(src, buf, maxlen, persistent) _php_stream_copy_to_mem((src), (bu… argument 316 PHPAPI char *_php_stream_get_line(php_stream *stream, char *buf, size_t maxlen, size_t *returned_le… 317 #define php_stream_gets(stream, buf, maxlen) _php_stream_get_line((stream), (buf), (maxlen), NULL T… argument 319 #define php_stream_get_line(stream, buf, maxlen, retlen) _php_stream_get_line((stream), (buf), (max… argument 320 PHPAPI char *php_stream_get_record(php_stream *stream, size_t maxlen, size_t *returned_len, char *d… 430 PHPAPI size_t _php_stream_copy_to_stream(php_stream *src, php_stream *dest, size_t maxlen STREAMS_D… 431 #define php_stream_copy_to_stream(src, dest, maxlen) _php_stream_copy_to_stream((src), (dest), (max… argument 432 PHPAPI size_t _php_stream_copy_to_stream_ex(php_stream *src, php_stream *dest, size_t maxlen, size_… 433 …ine php_stream_copy_to_stream_ex(src, dest, maxlen, len) _php_stream_copy_to_stream_ex((src), (des… argument 438 PHPAPI size_t _php_stream_copy_to_mem(php_stream *src, char **buf, size_t maxlen, [all …]
|
H A D | spprintf.c | 189 static size_t strnlen(const char *s, size_t maxlen) { in strnlen() argument 190 char *r = memchr(s, '\0', maxlen); in strnlen() 191 return r ? r-s : maxlen; in strnlen()
|
/PHP-5.3/main/streams/ |
H A D | streams.c | 874 cpysz = maxlen - 1; in _php_stream_get_line() 884 maxlen -= cpysz; in _php_stream_get_line() 899 toread = maxlen - 1; in _php_stream_get_line() 963 if (maxlen == 0) { in php_stream_get_record() 998 stream, maxlen, in php_stream_get_record() 1359 if (maxlen == 0) { in _php_stream_copy_to_mem() 1364 maxlen = 0; in _php_stream_copy_to_mem() 1367 if (maxlen > 0) { in _php_stream_copy_to_mem() 1434 if (maxlen == 0) { in _php_stream_copy_to_stream_ex() 1440 maxlen = 0; in _php_stream_copy_to_stream_ex() [all …]
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | file_get_contents_error.phpt | 8 * resource $context[, int $offset[, int $maxlen]]]] ) 29 echo "\n-- Testing for invalid negative maxlen values --"; 63 -- Testing for invalid negative maxlen values --
|
H A D | file_get_contents_file_put_contents_error.phpt | 6 * resource $context[, int $offset[, int $maxlen]]]] ) 31 echo "\n-- Testing for invalid negative maxlen values --"; 67 -- Testing for invalid negative maxlen values --
|
H A D | file_get_contents_basic.phpt | 9 * resource $context[, int $offset[, int $maxlen]]]] )
|
H A D | file_get_contents_variation1.phpt | 7 …nts(string filename [, bool use_include_path [, resource context [, long offset [, long maxlen]]]])
|
H A D | file_get_contents_variation2.phpt | 7 …nts(string filename [, bool use_include_path [, resource context [, long offset [, long maxlen]]]])
|
H A D | file_get_contents_file_put_contents_basic.phpt | 7 * resource $context[, int $offset[, int $maxlen]]]] )
|
H A D | bug38086.phpt | 2 Bug #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length)
|
H A D | file_get_contents_variation6.phpt | 7 …nts(string filename [, bool use_include_path [, resource context [, long offset [, long maxlen]]]]) 107 // loop through each element of the array for maxlen
|
/PHP-5.3/ext/standard/ |
H A D | var_unserializer.re | 145 unsigned char *end = *(unsigned char **)p+maxlen; 522 size_t len, maxlen; 526 maxlen = max - YYCURSOR; 527 if (maxlen < len) { 550 size_t len, maxlen; 554 maxlen = max - YYCURSOR; 555 if (maxlen < len) { 560 if ((str = unserialize_str(&YYCURSOR, &len, maxlen)) == NULL) { 607 size_t len, len2, len3, maxlen; 627 maxlen = max - YYCURSOR; [all …]
|
H A D | var_unserializer.c | 147 unsigned char *end = *(unsigned char **)p+maxlen; in unserialize_str() 549 size_t len, len2, len3, maxlen; in php_var_unserialize() local 569 maxlen = max - YYCURSOR; in php_var_unserialize() 570 if (maxlen < len || len == 0) { in php_var_unserialize() 761 size_t len, maxlen; in php_var_unserialize() local 765 maxlen = max - YYCURSOR; in php_var_unserialize() 766 if (maxlen < len) { in php_var_unserialize() 771 if ((str = unserialize_str(&YYCURSOR, &len, maxlen)) == NULL) { in php_var_unserialize() 811 size_t len, maxlen; in php_var_unserialize() local 815 maxlen = max - YYCURSOR; in php_var_unserialize() [all …]
|
H A D | html.c | 1127 int i, j, maxlen, len; in php_escape_html_entities_ex() local 1132 maxlen = 2 * oldlen; in php_escape_html_entities_ex() 1133 if (maxlen < 128) in php_escape_html_entities_ex() 1134 maxlen = 128; in php_escape_html_entities_ex() 1135 replaced = emalloc (maxlen); in php_escape_html_entities_ex() 1158 if (len + 16 > maxlen) in php_escape_html_entities_ex() 1159 replaced = erealloc (replaced, maxlen += 128); in php_escape_html_entities_ex() 1185 if (len + 2 + l >= maxlen) { in php_escape_html_entities_ex() 1186 replaced = erealloc(replaced, maxlen += 128); in php_escape_html_entities_ex() 1190 strlcpy(replaced + len, rep, maxlen); in php_escape_html_entities_ex()
|
/PHP-5.3/ext/standard/tests/streams/ |
H A D | bug60455_04.phpt | 2 Bug #60455: stream_get_line and 1-line with maxlen size followed by 0-length
|
/PHP-5.3/ext/pdo_dblib/ |
H A D | dblib_stmt.c | 137 S->cols[i].maxlen = dbcollen(H->link, i+1); 261 col->maxlen = S->cols[colno].maxlen;
|
H A D | php_pdo_dblib_int.h | 119 int maxlen; member
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_fetch_fields.phpt | 41 if ($field->length != (1 * $charsets['results']['maxlen'])) { 43 $charsets['results']['maxlen'],
|
H A D | mysqli_fetch_field_oo.phpt | 45 if ($tmp->length != (1 * $charsets['results']['maxlen'])) { 47 $charsets['results']['maxlen'],
|
H A D | mysqli_stmt_get_result_metadata_fetch_field.phpt | 47 if ($field->length != (1 * $charsets['results']['maxlen'])) { 49 $charsets['results']['maxlen'],
|
H A D | connect.inc | 163 'maxlen' => $details['Maxlen'], 186 'maxlen' => $details['Maxlen'], 210 'maxlen' => $details['Maxlen'],
|
H A D | mysqli_fetch_field.phpt | 42 if ($tmp->length != (1 * $charsets['results']['maxlen'])) { 44 $charsets['results']['maxlen'],
|
/PHP-5.3/ext/sockets/ |
H A D | php_sockets.h | 104 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags);
|
/PHP-5.3/ |
H A D | README.STREAMS | 35 PHPAPI char *php_stream_gets(php_stream * stream, char *buf, size_t maxlen); 107 php_stream *dest, size_t maxlen); 110 PHP_STREAM_COPY_ALL as the maxlen parameter, otherwise maxlen indicates the 119 size_t maxlen, int persistent); 122 which will be maxlen bytes in length, or will be the entire length of the 123 data remaining on the stream if you set maxlen to PHP_STREAM_COPY_ALL.
|