Lines Matching refs:offset
309 $offset = $this->getActualOffset();
310 array_splice($this->callStack, $offset, 1, []);
318 $this->moveToOffset($offset);
321 array_splice($this->callStack, $offset, 1, []);
328 $this->moveToOffset($offset - 1);
593 $offset = $this->getActualOffset();
594 array_splice($this->callStack, $offset, 0, [$call->toCallArray()]);
598 $targetOffset = $offset + 1;
619 function moveToOffset($offset) argument
621 if ($offset < 0) {
622 if ($offset === -1) {
626 throw new ExceptionBadArgument("The offset value of ($offset) is off limit");
629 for ($i = 0; $i < $offset; $i++) {
665 $offset = array_search($actualKey, array_keys($this->callStack), true);
666 array_splice($this->callStack, $offset + 1, 0, [$call->toCallArray()]);
850 $offset = null;
853 $offset = $actualKey + 1;
855 array_splice($this->callStack, $offset, 0, $instructions);
934 $offset = array_search($key, array_keys($this->callStack), true);
935 if ($offset !== false) {
940 array_splice($this->callStack, $offset + 1);
966 $offset = $this->getActualOffset();
977 if ($offset == null) {
980 $this->moveToOffset($offset);
1095 $offset = array_search($key, array_keys($this->callStack), true);
1096 if ($offset !== false) {
1101 array_splice($this->callStack, 0, $offset);