Lines Matching refs:laststart

922 	zend_long current = 0, laststart = 0, lastspace = 0;  in PHP_FUNCTION()  local
954 laststart = lastspace = 0; in PHP_FUNCTION()
957 laststart = lastspace = current + 1; in PHP_FUNCTION()
959 if (current - laststart >= linelength) { in PHP_FUNCTION()
961 laststart = current + 1; in PHP_FUNCTION()
964 } else if (current - laststart >= linelength && laststart != lastspace) { in PHP_FUNCTION()
966 laststart = lastspace + 1; in PHP_FUNCTION()
986 laststart = lastspace = 0; in PHP_FUNCTION()
998 …memcpy(ZSTR_VAL(newtext) + newtextlen, ZSTR_VAL(text) + laststart, current - laststart + breakchar… in PHP_FUNCTION()
999 newtextlen += current - laststart + breakchar_len; in PHP_FUNCTION()
1001 laststart = lastspace = current + 1; in PHP_FUNCTION()
1007 if (current - laststart >= linelength) { in PHP_FUNCTION()
1008 memcpy(ZSTR_VAL(newtext) + newtextlen, ZSTR_VAL(text) + laststart, current - laststart); in PHP_FUNCTION()
1009 newtextlen += current - laststart; in PHP_FUNCTION()
1012 laststart = current + 1; in PHP_FUNCTION()
1020 else if (current - laststart >= linelength in PHP_FUNCTION()
1021 && docut && laststart >= lastspace) { in PHP_FUNCTION()
1022 memcpy(ZSTR_VAL(newtext) + newtextlen, ZSTR_VAL(text) + laststart, current - laststart); in PHP_FUNCTION()
1023 newtextlen += current - laststart; in PHP_FUNCTION()
1026 laststart = lastspace = current; in PHP_FUNCTION()
1032 else if (current - laststart >= linelength in PHP_FUNCTION()
1033 && laststart < lastspace) { in PHP_FUNCTION()
1034 memcpy(ZSTR_VAL(newtext) + newtextlen, ZSTR_VAL(text) + laststart, lastspace - laststart); in PHP_FUNCTION()
1035 newtextlen += lastspace - laststart; in PHP_FUNCTION()
1038 laststart = lastspace = lastspace + 1; in PHP_FUNCTION()
1044 if (laststart != current) { in PHP_FUNCTION()
1045 memcpy(ZSTR_VAL(newtext) + newtextlen, ZSTR_VAL(text) + laststart, current - laststart); in PHP_FUNCTION()
1046 newtextlen += current - laststart; in PHP_FUNCTION()