Searched refs:newlen (Results 1 – 7 of 7) sorted by relevance
/PHP-8.4/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_memory_device.c | 100 size_t newlen = device->length + device->allocsz; in mbfl_memory_device_output() local 101 device->buffer = erealloc(device->buffer, newlen); in mbfl_memory_device_output() 102 device->length = newlen; in mbfl_memory_device_output() 125 size_t newlen = device->length + len + MBFL_MEMORY_DEVICE_ALLOC_SIZE; in mbfl_memory_device_strncat() local 126 device->buffer = erealloc(device->buffer, newlen); in mbfl_memory_device_strncat() 127 device->length = newlen; in mbfl_memory_device_strncat() 165 size_t newlen; in mbfl_wchar_device_output() local 172 newlen = device->length + device->allocsz; in mbfl_wchar_device_output() 173 if (newlen > SIZE_MAX / sizeof(int)) { in mbfl_wchar_device_output() 178 device->buffer = erealloc(device->buffer, newlen * sizeof(int)); in mbfl_wchar_device_output() [all …]
|
/PHP-8.4/main/ |
H A D | SAPI.c | 368 size_t newlen; in sapi_apply_default_charset() local 374 newtype = emalloc(newlen + 1); in sapi_apply_default_charset() 375 PHP_STRLCPY(newtype, *mimetype, newlen + 1, len); in sapi_apply_default_charset() 376 strlcat(newtype, ";charset=", newlen + 1); in sapi_apply_default_charset() 377 strlcat(newtype, charset, newlen + 1); in sapi_apply_default_charset() 380 return newlen; in sapi_apply_default_charset() 790 if (newlen != 0) { in sapi_header_op() 791 newlen += sizeof("Content-type: "); in sapi_header_op() 792 newheader = emalloc(newlen); in sapi_header_op() 794 strlcat(newheader, mimetype, newlen); in sapi_header_op() [all …]
|
/PHP-8.4/ext/standard/ |
H A D | url_scanner_ex.h | 26 …(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen, bool encode);
|
H A D | url_scanner_ex.re | 503 static inline void xx_mainloop(url_adapt_state_ex_t *ctx, const char *newdata, size_t newlen) 510 smart_str_appendl(&ctx->buf, newdata, newlen); 592 …l(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen, bool encode) 621 if (newlen) *newlen = ZSTR_LEN(buf.s); 631 static char *url_adapt_ext(const char *src, size_t srclen, size_t *newlen, bool do_flush, url_adapt… 639 *newlen = 0; 641 *newlen = ZSTR_LEN(ctx->result.s); 646 *newlen += ZSTR_LEN(ctx->buf.s);
|
H A D | string.c | 3800 size_t newlen; local 3827 newlen = target - ZSTR_VAL(new_str); 3828 if (newlen < len * 4) { 3829 new_str = zend_string_truncate(new_str, newlen, 0);
|
/PHP-8.4/ext/xml/ |
H A D | xml.c | 776 size_t newlen = Z_STRLEN_P(myval) + ZSTR_LEN(decoded_value); in xml_characterDataHandler() local 777 Z_STR_P(myval) = zend_string_extend(Z_STR_P(myval), newlen, 0); in xml_characterDataHandler() 795 size_t newlen = Z_STRLEN_P(myval) + ZSTR_LEN(decoded_value); in xml_characterDataHandler() local 796 Z_STR_P(myval) = zend_string_extend(Z_STR_P(myval), newlen, 0); in xml_characterDataHandler()
|
/PHP-8.4/sapi/litespeed/ |
H A D | lsapilib.c | 2532 int newlen = pReq->m_pRespHeaderBufPos + len + 4096 - pReq->m_pRespHeaderBuf; in LSAPI_AppendRespHeader2_r() local 2533 newlen -= newlen % 4096; in LSAPI_AppendRespHeader2_r() 2534 if ( allocateRespHeaderBuf( pReq, newlen ) == -1 ) in LSAPI_AppendRespHeader2_r() 2570 int newlen = pReq->m_pRespHeaderBufPos + len + 4096 - pReq->m_pRespHeaderBuf; in LSAPI_AppendRespHeader_r() local 2571 newlen -= newlen % 4096; in LSAPI_AppendRespHeader_r() 2572 if ( allocateRespHeaderBuf( pReq, newlen ) == -1 ) in LSAPI_AppendRespHeader_r()
|
Completed in 42 milliseconds