Home
last modified time | relevance | path

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

/PHP-5.6/ext/date/
H A Dphp_date.c1644 size_t buf_len = 256, real_len; in php_strftime() local
1701 while ((real_len=strftime(buf, buf_len, format, &ta))==buf_len || real_len==0) { in php_strftime()
1711 if (real_len > 0) { in php_strftime()
1712 real_len = strlen(buf); in php_strftime()
1721 if (real_len && real_len != buf_len) { in php_strftime()
1722 buf = (char *) erealloc(buf, real_len + 1); in php_strftime()
1723 RETURN_STRINGL(buf, real_len, 0); in php_strftime()
/PHP-5.6/ext/soap/
H A Dphp_encoding.c2985 size_t buf_len=64, real_len; in to_xml_datetime_ex() local
3004 while ((real_len = strftime(buf, buf_len, format, ta)) == buf_len || real_len == 0) { in to_xml_datetime_ex()
3022 real_len++; in to_xml_datetime_ex()
3024 real_len += 6; in to_xml_datetime_ex()
3026 if (real_len >= buf_len) { in to_xml_datetime_ex()
3027 buf = (char *) erealloc(buf, real_len+1); in to_xml_datetime_ex()

Completed in 35 milliseconds