Home
last modified time | relevance | path

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

/php-src/ext/intl/uchar/
H A Duchar.c55 int buffer_len = 0; in IC_METHOD() local
64 U8_APPEND_UNSAFE(buffer, buffer_len, cp); in IC_METHOD()
65 buffer[buffer_len] = 0; in IC_METHOD()
66 RETURN_STRINGL(buffer, buffer_len); in IC_METHOD()
221 int32_t buffer_len; in IC_METHOD() local
417 int buffer_len = 0; in IC_METHOD() local
419 buffer[buffer_len] = 0; in IC_METHOD()
420 RETURN_STRINGL(buffer, buffer_len); in IC_METHOD()
607 int buffer_len = 0; \
609 buffer[buffer_len] = 0; \
[all …]
/php-src/ext/fileinfo/
H A Dfileinfo.c294 size_t buffer_len; in _php_finfo_get_type() local
311 buffer_len = Z_STRLEN_P(what); in _php_finfo_get_type()
331 …D_NUM_ARGS(), getThis(), "Os|lr!", &self, finfo_class_entry, &buffer, &buffer_len, &options, &zcon… in _php_finfo_get_type()
346 ret_val = (char *) magic_buffer(magic, buffer, buffer_len); in _php_finfo_get_type()
378 if (buffer == NULL || buffer_len == 0) { in _php_finfo_get_type()
382 if (CHECK_NULL_PATH(buffer, buffer_len)) { in _php_finfo_get_type()
/php-src/ext/standard/
H A Duser_filters.c446 size_t buffer_len; in PHP_FUNCTION() local
451 Z_PARAM_STRING(buffer, buffer_len) in PHP_FUNCTION()
455 pbuffer = pemalloc(buffer_len, php_stream_is_persistent(stream)); in PHP_FUNCTION()
457 memcpy(pbuffer, buffer, buffer_len); in PHP_FUNCTION()
459 bucket = php_stream_bucket_new(stream, pbuffer, buffer_len, 1, php_stream_is_persistent(stream)); in PHP_FUNCTION()
/php-src/ext/ftp/
H A Dftp.c628 size_t buffer_len; in ftp_chmod() local
634 buffer_len = spprintf(&buffer, 0, "CHMOD %o %s", mode, filename); in ftp_chmod()
640 if (!ftp_putcmd(ftp, "SITE", sizeof("SITE")-1, buffer, buffer_len)) { in ftp_chmod()
660 int buffer_len; in ftp_alloc() local
666 buffer_len = snprintf(buffer, sizeof(buffer) - 1, ZEND_LONG_FMT, size); in ftp_alloc()
668 if (buffer_len < 0) { in ftp_alloc()
672 if (!ftp_putcmd(ftp, "ALLO", sizeof("ALLO")-1, buffer, buffer_len)) { in ftp_alloc()
/php-src/main/
H A Dmain.c975 static zend_string *escape_html(const char *buffer, size_t buffer_len) { in escape_html() argument
977 (const unsigned char *) buffer, buffer_len, 0, ENT_COMPAT, in escape_html()
982 (const unsigned char *) buffer, buffer_len, 0, ENT_COMPAT | ENT_HTML_SUBSTITUTE_ERRORS, in escape_html()

Completed in 21 milliseconds