Searched refs:linelength (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dstring.c953 zend_long linelength = 75; local
957 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|lsb", &text, &linelength, &breakchar, &breakchar_len, &docut) == FAILURE) {
970 if (linelength == 0 && docut) {
985 if (current - laststart >= linelength) {
990 } else if (current - laststart >= linelength && laststart != lastspace) {
999 if (linelength > 0) {
1000 chk = (size_t)(ZSTR_LEN(text)/linelength + 1);
1015 alloced += (size_t) (((ZSTR_LEN(text) - current + 1)/linelength + 1) * breakchar_len) + 1;
1017 chk = (size_t) ((ZSTR_LEN(text) - current)/linelength) + 1;
1033 if (current - laststart >= linelength) {
[all...]

Completed in 5 milliseconds