Home
last modified time | relevance | path

Searched refs:buffer_len (Results 1 – 7 of 7) sorted by relevance

/PHP-8.0/ext/intl/uchar/
H A Duchar.c54 int buffer_len = 0; in IC_METHOD() local
63 U8_APPEND_UNSAFE(buffer, buffer_len, cp); in IC_METHOD()
64 buffer[buffer_len] = 0; in IC_METHOD()
65 RETURN_STRINGL(buffer, buffer_len); in IC_METHOD()
220 int32_t buffer_len; in IC_METHOD() local
406 int buffer_len = 0; in IC_METHOD() local
408 buffer[buffer_len] = 0; in IC_METHOD()
409 RETURN_STRINGL(buffer, buffer_len); in IC_METHOD()
596 int buffer_len = 0; \
598 buffer[buffer_len] = 0; \
[all …]
/PHP-8.0/ext/fileinfo/
H A Dfileinfo.c355 size_t buffer_len; in _php_finfo_get_type() local
374 buffer_len = Z_STRLEN_P(what); in _php_finfo_get_type()
393 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lr!", &buffer, &buffer_len, &options, &zcontext) == … in _php_finfo_get_type()
399 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|lr!", &zfinfo, &buffer, &buffer_len, &options, &zco… in _php_finfo_get_type()
416 ret_val = (char *) magic_buffer(magic, buffer, buffer_len); in _php_finfo_get_type()
446 if (buffer == NULL || buffer_len == 0) { in _php_finfo_get_type()
450 if (CHECK_NULL_PATH(buffer, buffer_len)) { in _php_finfo_get_type()
/PHP-8.0/ext/standard/
H A Duser_filters.c498 size_t buffer_len; in PHP_FUNCTION() local
503 Z_PARAM_STRING(buffer, buffer_len) in PHP_FUNCTION()
507 pbuffer = pemalloc(buffer_len, php_stream_is_persistent(stream)); in PHP_FUNCTION()
509 memcpy(pbuffer, buffer, buffer_len); in PHP_FUNCTION()
511 bucket = php_stream_bucket_new(stream, pbuffer, buffer_len, 1, php_stream_is_persistent(stream)); in PHP_FUNCTION()
/PHP-8.0/ext/oci8/
H A Doci8_interface.c313 ub4 buffer_len; in PHP_FUNCTION() local
326 if (php_oci_lob_read(descriptor, -1, 0, &buffer, &buffer_len)) { in PHP_FUNCTION()
329 if (buffer_len > 0) { in PHP_FUNCTION()
330 zend_string *ret = zend_string_init(buffer, buffer_len, 0); in PHP_FUNCTION()
348 ub4 buffer_len; in PHP_FUNCTION() local
366 if (php_oci_lob_read(descriptor, length, descriptor->lob_current_position, &buffer, &buffer_len)) { in PHP_FUNCTION()
369 if (buffer_len > 0) { in PHP_FUNCTION()
370 zend_string *ret = zend_string_init(buffer, buffer_len, 0); in PHP_FUNCTION()
/PHP-8.0/ext/ftp/
H A Dftp.c608 size_t buffer_len; in ftp_chmod() local
614 buffer_len = spprintf(&buffer, 0, "CHMOD %o %s", mode, filename); in ftp_chmod()
620 if (!ftp_putcmd(ftp, "SITE", sizeof("SITE")-1, buffer, buffer_len)) { in ftp_chmod()
640 int buffer_len; in ftp_alloc() local
646 buffer_len = snprintf(buffer, sizeof(buffer) - 1, ZEND_LONG_FMT, size); in ftp_alloc()
648 if (buffer_len < 0) { in ftp_alloc()
652 if (!ftp_putcmd(ftp, "ALLO", sizeof("ALLO")-1, buffer, buffer_len)) { in ftp_alloc()
/PHP-8.0/main/
H A Dmain.c909 static zend_string *escape_html(const char *buffer, size_t buffer_len) { in escape_html() argument
911 (const unsigned char *) buffer, buffer_len, 0, ENT_COMPAT, in escape_html()
916 (const unsigned char *) buffer, buffer_len, 0, ENT_COMPAT | ENT_HTML_SUBSTITUTE_ERRORS, in escape_html()
934 int buffer_len = 0; in php_verror() local
944 buffer_len = (int)vspprintf(&buffer, 0, format, args); in php_verror()
947 replace_buffer = escape_html(buffer, buffer_len); in php_verror()
952 buffer_len = (int)ZSTR_LEN(replace_buffer); in php_verror()
955 buffer_len = 0; in php_verror()
/PHP-8.0/ext/pdo_pgsql/
H A Dpgsql_driver.c642 size_t buffer_len = 0; in PHP_METHOD() local
653 if (buffer_len < Z_STRLEN_P(tmp)) { in PHP_METHOD()
654 buffer_len = Z_STRLEN_P(tmp); in PHP_METHOD()
655 query = erealloc(query, buffer_len + 2); /* room for \n\0 */ in PHP_METHOD()

Completed in 31 milliseconds