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

/PHP_TRUNK/ext/standard/
H A Dstring.c876 int textlen, breakcharlen = 1, newtextlen, chk; local
882 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lsb", &text, &textlen, &linelength, &breakchar, &breakcharlen, &docut) == FAILURE) {
890 if (breakcharlen == 0) {
902 if (breakcharlen == 1 && !docut) {
926 newtext = safe_emalloc(chk, breakcharlen, textlen + 1);
927 alloced = textlen + chk * breakcharlen + 1;
930 alloced = textlen * (breakcharlen + 1) + 1;
931 newtext = safe_emalloc(textlen, (breakcharlen + 1), 1);
940 alloced += (int) (((textlen - current + 1)/linelength + 1) * breakcharlen) + 1;
947 && current + breakcharlen < textle
[all...]

Completed in 5 milliseconds