Lines Matching refs:start
213 * Sometimes we want to get the BER encoding of a particular tag. $start lets us do that without having to reencode.
218 * @param int $start
222 private static function decode_ber($encoded, $start = 0, $encoded_pos = 0)
224 $current = ['start' => $start];
255 $start += $startOffset;
262 $start++;
275 $start += $length;
310 'length' => $length + $start - $current['start']
317 $temp = self::decode_ber($content, $start, $content_pos);
325 $start += $length;
329 $start += $length;
343 'length' => $start - $current['start']
374 $temp = self::decode_ber($content, $start, $content_pos);
401 $temp = self::decode_ber($content, $length + $start, $content_pos);
439 $temp = self::decode_ber($content, $start + $offset, $content_pos);
501 $start += $length;
504 return $current + ['length' => $start - $current['start']];
529 if (isset($decoded['constant']) || !array_key_exists($intype, self::ANY_MAP) || (ord(self::$encoded[$decoded['start']]) & 0x20)) {
530 return new Element(substr(self::$encoded, $decoded['start'], $decoded['length']));