Home
last modified time | relevance | path

Searched refs:buffer (Results 201 – 225 of 321) sorted by relevance

12345678910>>...13

/PHP-8.0/ext/xmlwriter/tests/
H A D009.phpt32 // Force to write and empty the buffer
H A DOO_007.phpt27 // Force to write and empty the buffer
H A DOO_009.phpt32 // Force to write and empty the buffer
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_auth.h99 PHPAPI void php_mysqlnd_scramble(zend_uchar * const buffer, const zend_uchar * const scramble, cons…
H A Dmysqlnd_auth.c536 php_mysqlnd_crypt(zend_uchar *buffer, const zend_uchar *s1, const zend_uchar *s2, size_t len) in php_mysqlnd_crypt() argument
540 *buffer++= *s1++ ^ *s2++; in php_mysqlnd_crypt()
547 void php_mysqlnd_scramble(zend_uchar * const buffer, const zend_uchar * const scramble, const zend_… in php_mysqlnd_scramble() argument
567 PHP_SHA1Final(buffer, &context); in php_mysqlnd_scramble()
570 php_mysqlnd_crypt(buffer, (const zend_uchar *)buffer, (const zend_uchar *)sha1, SHA1_MAX_LENGTH); in php_mysqlnd_scramble()
983 void php_mysqlnd_scramble_sha2(zend_uchar * const buffer, const zend_uchar * const scramble, const … in php_mysqlnd_scramble_sha2() argument
1003 PHP_SHA256Final(buffer, &context); in php_mysqlnd_scramble_sha2()
1006 php_mysqlnd_crypt(buffer, (const zend_uchar *)sha1, (const zend_uchar *)buffer, SHA256_LENGTH); in php_mysqlnd_scramble_sha2()
/PHP-8.0/Zend/
H A Dzend_language_parser.y1498 char buffer[120]; variable
1541 snprintf(buffer, sizeof(buffer), "token \"%.*s\"", (int)toktype_len-2, toktype+1);
1542 yystpcpy(yyres, buffer);
1555 snprintf(buffer, sizeof(buffer), "character 0x%02hhX", *tokcontent);
1556 yystpcpy(yyres, buffer);
1591 snprintf(buffer, sizeof(buffer), "%.*s \"%.*s...\"", (int)toktype_len, toktype, 30, tokcontent);
1592 yystpcpy(yyres, buffer);
1598 …snprintf(buffer, sizeof(buffer), "%.*s \"%.*s\"", (int)toktype_len, toktype, (int)tokcontent_len, …
1599 yystpcpy(yyres, buffer);
/PHP-8.0/ext/standard/
H A Dftp_fopen_wrapper.c77 static inline int get_ftp_result(php_stream *stream, char *buffer, size_t buffer_size) in get_ftp_result() argument
79 buffer[0] = '\0'; /* in case read fails to read anything */ in get_ftp_result()
80 while (php_stream_gets(stream, buffer, buffer_size-1) && in get_ftp_result()
81 !(isdigit((int) buffer[0]) && isdigit((int) buffer[1]) && in get_ftp_result()
82 isdigit((int) buffer[2]) && buffer[3] == ' ')); in get_ftp_result()
83 return strtol(buffer, NULL, 10); in get_ftp_result()
H A Dimage.c175 static unsigned long int php_swf_get_bits (unsigned char* buffer, unsigned int pos, unsigned int co… in php_swf_get_bits() argument
183 ((((buffer[loop / 8]) >> (7 - (loop % 8))) & 0x01) << (count - (loop - pos) - 1)); in php_swf_get_bits()
431 char *buffer; in php_read_APP() local
441 buffer = emalloc(length); in php_read_APP()
443 if (php_stream_read(stream, buffer, (size_t) length) != length) { in php_read_APP()
444 efree(buffer); in php_read_APP()
452 add_assoc_stringl(info, markername, buffer, length); in php_read_APP()
455 efree(buffer); in php_read_APP()
H A Duser_filters.c496 char *buffer; in PHP_FUNCTION() local
503 Z_PARAM_STRING(buffer, buffer_len) in PHP_FUNCTION()
509 memcpy(pbuffer, buffer, buffer_len); in PHP_FUNCTION()
/PHP-8.0/main/
H A Drfc1867.c211 char *buffer; member
240 if (self->bytes_in_buffer > 0 && self->buf_begin != self->buffer) { in fill_buffer()
241 memmove(self->buffer, self->buf_begin, self->bytes_in_buffer); in fill_buffer()
244 self->buf_begin = self->buffer; in fill_buffer()
252 char *buf = self->buffer + self->bytes_in_buffer; in fill_buffer()
284 self->buffer = (char *) ecalloc(1, minsize + 1); in multipart_buffer_new()
291 self->buf_begin = self->buffer; in multipart_buffer_new()
1317 if (mbuff->buffer) efree(mbuff->buffer);
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.0/ext/fileinfo/tests/
H A Dfinfo_buffer_variation1-mb.phpt28 var_dump( $finfo->buffer( $string, $option ) );
H A Dfinfo_buffer_variation1.phpt28 var_dump( $finfo->buffer( $string, $option ) );
/PHP-8.0/ext/fileinfo/libmagic/
H A Dis_csv.c134 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()
/PHP-8.0/ext/fileinfo/
H A Dfileinfo_arginfo.h77 ZEND_ME_MAPPING(buffer, finfo_buffer, arginfo_class_finfo_buffer, ZEND_ACC_PUBLIC)
H A Dconfig.m415 libmagic/buffer.c libmagic/is_csv.c"
H A Dlibmagic.patch349 + char buffer[BUFSIZ + 1];
600 - * handle a buffer containing a compiled file.
614 - if (check_buffer(ms, map, "buffer") != 0) {
950 struct buffer bb;
967 struct buffer bb;
996 diff -u libmagic.orig/buffer.c libmagic/buffer.c
1027 buffer_fini(struct buffer *b)
1775 struct buffer {
1885 protected void buffer_fini(struct buffer *);
2322 - * Like printf, only we append to a buffer.
[all …]
/PHP-8.0/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.0/ext/posix/
H A Dposix.c469 char buffer[L_ctermid]; in PHP_FUNCTION() local
473 if (NULL == ctermid(buffer)) { in PHP_FUNCTION()
481 RETURN_STRING(buffer); in PHP_FUNCTION()
596 char buffer[MAXPATHLEN]; in PHP_FUNCTION() local
601 p = VCWD_GETCWD(buffer, MAXPATHLEN); in PHP_FUNCTION()
607 RETURN_STRING(buffer); in PHP_FUNCTION()
/PHP-8.0/ext/openssl/
H A Dphp_openssl.h76 int buffer[ERR_NUM_ERRORS]; member
/PHP-8.0/ext/opcache/jit/dynasm/
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()

Completed in 89 milliseconds

12345678910>>...13