Home
last modified time | relevance | path

Searched refs:buffer (Results 226 – 250 of 342) sorted by relevance

12345678910>>...14

/PHP-8.3/ext/fileinfo/tests/
H A Dfinfo_buffer_variation1.phpt28 var_dump( $finfo->buffer( $string, $option ) );
/PHP-8.3/Zend/tests/
H A Dgh13670_003.phpt44 // Add potential garbage to buffer
/PHP-8.3/Zend/
H A Dzend_language_parser.y1627 char buffer[120]; variable
1678 snprintf(buffer, sizeof(buffer), "token \"%.*s\"", (int)toktype_len-2, toktype+1);
1679 yystpcpy(yyres, buffer);
1692 snprintf(buffer, sizeof(buffer), "character 0x%02hhX", *tokcontent);
1693 yystpcpy(yyres, buffer);
1728 snprintf(buffer, sizeof(buffer), "%.*s \"%.*s...\"", (int)toktype_len, toktype, 30, tokcontent);
1729 yystpcpy(yyres, buffer);
1735 …snprintf(buffer, sizeof(buffer), "%.*s \"%.*s\"", (int)toktype_len, toktype, (int)tokcontent_len, …
1736 yystpcpy(yyres, buffer);
H A Dzend_interfaces.h74 ZEND_API int zend_user_serialize(zval *object, unsigned char **buffer, size_t *buf_len, zend_serial…
/PHP-8.3/ext/standard/tests/file/
H A Dfile_get_contents_file_put_contents_variation1.phpt16 fill_buffer($buffer, $type, 100);
17 file_put_contents( $file_path."/file_put_contents_variation1.tmp", $buffer);
H A Dfgets_socket_variation2.phpt2 fgets() over a socket with more than a buffer's worth of data
H A Dfile.inc10 fill_buffer() : fills buffer with specified contents
38 Function : bool fill_buffer(string &$buffer, string $fill_type, int $fill_size);
39 Description: Fills the $buffer with data as specified with requested size.
40 $buffer = buffer to be filled
48 function fill_buffer(&$buffer, $fill_type, $fill_size) {
74 $buffer = substr($tmp_buff, 0, $fill_size);
76 $buffer = $tmp_buff;
/PHP-8.3/ext/fileinfo/libmagic/
H A Dis_csv.c133 file_is_csv(struct magic_set *ms, const struct buffer *b, int looks_text) in file_is_csv()
H A Dis_tar.c63 file_is_tar(struct magic_set *ms, const struct buffer *b) in file_is_tar()
H A Dsoftmagic.c47 const struct buffer *, size_t, int, int, int, uint16_t *,
49 private int mget(struct magic_set *, struct magic *, const struct buffer *,
53 private int msetoffset(struct magic_set *, struct magic *, struct buffer *,
54 const struct buffer *, size_t, unsigned int);
117 file_softmagic(struct magic_set *ms, const struct buffer *b, in file_softmagic()
221 struct buffer bb; in match()
840 moffset(struct magic_set *ms, struct magic *m, const struct buffer *b, in moffset()
1500 msetoffset(struct magic_set *ms, struct magic *m, struct buffer *bb, in msetoffset()
1501 const struct buffer *b, size_t o, unsigned int cont_level) in msetoffset()
1572 mget(struct magic_set *ms, struct magic *m, const struct buffer *b, in mget()
[all …]
/PHP-8.3/ext/fileinfo/
H A Dconfig.m415 libmagic/buffer.c libmagic/is_csv.c"
H A Dlibmagic.patch292 + char buffer[BUFSIZ + 1];
533 - * handle a buffer containing a compiled file.
547 - if (check_buffer(ms, map, "buffer") != 0) {
916 diff -u libmagic.orig/buffer.c libmagic/buffer.c
918 +++ libmagic/buffer.c 2023-10-25 17:56:17.069962152 +0200
945 buffer_fini(struct buffer *b)
1442 struct buffer {
1500 protected void buffer_fini(struct buffer *);
1501 protected int buffer_fill(const struct buffer *);
1947 struct buffer b;
[all …]
H A Dfileinfo_arginfo.h80 ZEND_ME_MAPPING(buffer, finfo_buffer, arginfo_class_finfo_buffer, ZEND_ACC_PUBLIC)
/PHP-8.3/main/
H A DSAPI.h189 SAPI_API size_t sapi_read_post_block(char *buffer, size_t buflen);
236 size_t (*read_post)(char *buffer, size_t count_bytes);
/PHP-8.3/ext/standard/
H A Duser_filters.c440 char *buffer; in PHP_FUNCTION() local
447 Z_PARAM_STRING(buffer, buffer_len) in PHP_FUNCTION()
453 memcpy(pbuffer, buffer, buffer_len); in PHP_FUNCTION()
/PHP-8.3/ext/posix/
H A Dposix.c402 char buffer[L_ctermid]; in PHP_FUNCTION() local
406 if (NULL == ctermid(buffer)) { in PHP_FUNCTION()
414 RETURN_STRING(buffer); in PHP_FUNCTION()
559 char buffer[MAXPATHLEN]; in PHP_FUNCTION() local
564 p = VCWD_GETCWD(buffer, MAXPATHLEN); in PHP_FUNCTION()
570 RETURN_STRING(buffer); in PHP_FUNCTION()
/PHP-8.3/ext/phar/tests/
H A Dgh13833.phpt47 internal corruption of phar "%sgh13833.phar.copy.phar" (trying to read past buffer end)
/PHP-8.3/ext/opcache/jit/dynasm/
H A Ddasm_arm64.h409 do { if (!(x) && !(n = DASM_ADD_VENEER(D, buffer, ins, b, cp, o))) \
424 int dasm_encode(Dst_DECL, void *buffer) in dasm_encode() argument
427 char *base = (char *)buffer; in dasm_encode()
428 unsigned int *cp = (unsigned int *)buffer; in dasm_encode()
H A Ddasm_mips.h323 int dasm_encode(Dst_DECL, void *buffer) in dasm_encode() argument
326 char *base = (char *)buffer; in dasm_encode()
327 unsigned int *cp = (unsigned int *)buffer; in dasm_encode()
H A Ddasm_ppc.h327 int dasm_encode(Dst_DECL, void *buffer) in dasm_encode() argument
330 char *base = (char *)buffer; in dasm_encode()
331 unsigned int *cp = (unsigned int *)buffer; in dasm_encode()
/PHP-8.3/ext/openssl/
H A Dphp_openssl.h76 int buffer[ERR_NUM_ERRORS]; member
/PHP-8.3/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_max_buffer_size.phpt28 /* buffer is only relevant with native PS */
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_debug.c148 char * message_line, *buffer; in MYSQLND_METHOD() local
217 mnd_vsprintf(&buffer, 0, format, args); in MYSQLND_METHOD()
226 pipe_buffer, type? type:"", buffer); in MYSQLND_METHOD()
227 mnd_sprintf_free(buffer); in MYSQLND_METHOD()
/PHP-8.3/ext/ftp/
H A Dftp.c631 char *buffer; in ftp_chmod() local
638 buffer_len = spprintf(&buffer, 0, "CHMOD %o %s", mode, filename); in ftp_chmod()
640 if (!buffer) { in ftp_chmod()
644 if (!ftp_putcmd(ftp, "SITE", sizeof("SITE")-1, buffer, buffer_len)) { in ftp_chmod()
645 efree(buffer); in ftp_chmod()
649 efree(buffer); in ftp_chmod()
663 char buffer[64]; in ftp_alloc() local
670 buffer_len = snprintf(buffer, sizeof(buffer) - 1, ZEND_LONG_FMT, size); in ftp_alloc()
676 if (!ftp_putcmd(ftp, "ALLO", sizeof("ALLO")-1, buffer, buffer_len)) { in ftp_alloc()
/PHP-8.3/ext/exif/tests/
H A Dbug76557.phpt2 Bug 76557 (heap-buffer-overflow (READ of size 48) while reading exif data)

Completed in 51 milliseconds

12345678910>>...14