Home
last modified time | relevance | path

Searched refs:real_len (Results 1 – 3 of 3) sorted by relevance

/PHP-8.0/ext/date/
H A Dphp_date.c1198 size_t buf_len = 256, real_len; in php_strftime() local
1263 …while ((real_len = strftime(ZSTR_VAL(buf), buf_len, ZSTR_VAL(format), &ta)) == buf_len || real_len in php_strftime()
1273 if (real_len > 0) { in php_strftime()
1274 real_len = strlen(buf->val); in php_strftime()
1283 if (real_len && real_len != buf_len) { in php_strftime()
1284 buf = zend_string_truncate(buf, real_len, 0); in php_strftime()
/PHP-8.0/ext/mbstring/
H A Dmbstring.c2137 size_t real_from, real_len; in PHP_FUNCTION() local
2179 real_len = MBFL_SUBSTR_UNTIL_END; in PHP_FUNCTION()
2181 real_len = (size_t) len; in PHP_FUNCTION()
2183 real_len = (mblen - real_from) + len; in PHP_FUNCTION()
2185 real_len = 0; in PHP_FUNCTION()
2188 ret = mbfl_substr(&string, &result, real_from, real_len); in PHP_FUNCTION()
/PHP-8.0/ext/soap/
H A Dphp_encoding.c2838 size_t buf_len=64, real_len; in to_xml_datetime_ex() local
2857 while ((real_len = strftime(buf, buf_len, format, ta)) == buf_len || real_len == 0) { in to_xml_datetime_ex()
2877 real_len++; in to_xml_datetime_ex()
2879 real_len += 6; in to_xml_datetime_ex()
2881 if (real_len >= buf_len) { in to_xml_datetime_ex()
2882 buf = (char *) erealloc(buf, real_len+1); in to_xml_datetime_ex()

Completed in 34 milliseconds