Home
last modified time | relevance | path

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

/PHP-5.5/ext/date/
H A Dphp_date.c1636 size_t buf_len = 256, real_len; in php_strftime() local
1693 while ((real_len=strftime(buf, buf_len, format, &ta))==buf_len || real_len==0) { in php_strftime()
1703 if (real_len > 0) { in php_strftime()
1704 real_len = strlen(buf); in php_strftime()
1713 if (real_len && real_len != buf_len) { in php_strftime()
1714 buf = (char *) erealloc(buf, real_len + 1); in php_strftime()
1715 RETURN_STRINGL(buf, real_len, 0); in php_strftime()
/PHP-5.5/ext/soap/
H A Dphp_encoding.c2987 size_t buf_len=64, real_len; in to_xml_datetime_ex() local
3006 while ((real_len = strftime(buf, buf_len, format, ta)) == buf_len || real_len == 0) { in to_xml_datetime_ex()
3024 real_len++; in to_xml_datetime_ex()
3026 real_len += 6; in to_xml_datetime_ex()
3028 if (real_len >= buf_len) { in to_xml_datetime_ex()
3029 buf = (char *) erealloc(buf, real_len+1); in to_xml_datetime_ex()

Completed in 26 milliseconds