Lines Matching refs:laststart
948 zend_long current = 0, laststart = 0, lastspace = 0; in PHP_FUNCTION() local
980 laststart = lastspace = 0; in PHP_FUNCTION()
983 laststart = lastspace = current + 1; in PHP_FUNCTION()
985 if (current - laststart >= linelength) { in PHP_FUNCTION()
987 laststart = current + 1; in PHP_FUNCTION()
990 } else if (current - laststart >= linelength && laststart != lastspace) { in PHP_FUNCTION()
992 laststart = lastspace + 1; in PHP_FUNCTION()
1012 laststart = lastspace = 0; in PHP_FUNCTION()
1024 …memcpy(ZSTR_VAL(newtext) + newtextlen, ZSTR_VAL(text) + laststart, current - laststart + breakchar… in PHP_FUNCTION()
1025 newtextlen += current - laststart + breakchar_len; in PHP_FUNCTION()
1027 laststart = lastspace = current + 1; in PHP_FUNCTION()
1033 if (current - laststart >= linelength) { in PHP_FUNCTION()
1034 memcpy(ZSTR_VAL(newtext) + newtextlen, ZSTR_VAL(text) + laststart, current - laststart); in PHP_FUNCTION()
1035 newtextlen += current - laststart; in PHP_FUNCTION()
1038 laststart = current + 1; in PHP_FUNCTION()
1046 else if (current - laststart >= linelength in PHP_FUNCTION()
1047 && docut && laststart >= lastspace) { in PHP_FUNCTION()
1048 memcpy(ZSTR_VAL(newtext) + newtextlen, ZSTR_VAL(text) + laststart, current - laststart); in PHP_FUNCTION()
1049 newtextlen += current - laststart; in PHP_FUNCTION()
1052 laststart = lastspace = current; in PHP_FUNCTION()
1058 else if (current - laststart >= linelength in PHP_FUNCTION()
1059 && laststart < lastspace) { in PHP_FUNCTION()
1060 memcpy(ZSTR_VAL(newtext) + newtextlen, ZSTR_VAL(text) + laststart, lastspace - laststart); in PHP_FUNCTION()
1061 newtextlen += lastspace - laststart; in PHP_FUNCTION()
1064 laststart = lastspace = lastspace + 1; in PHP_FUNCTION()
1070 if (laststart != current) { in PHP_FUNCTION()
1071 memcpy(ZSTR_VAL(newtext) + newtextlen, ZSTR_VAL(text) + laststart, current - laststart); in PHP_FUNCTION()
1072 newtextlen += current - laststart; in PHP_FUNCTION()