Lines Matching refs:this

9  * file that was distributed with this source code.
75 return $this->parse($data, !$context->isServerMode());
89 $response .= $key . '=' . $this->encodeOptValue(
101 $this->binary = $binary;
102 $this->pos = 0;
103 $this->length = strlen($binary);
104 $this->occurrences = [];
109 $this->binary = '';
110 $this->pos = 0;
111 $this->length = 0;
112 $this->occurrences = [];
120 $this->startParsing($digest);
123 while ($this->pos < $this->length) {
125 if (!preg_match(self::MATCH_KEY, substr($this->binary, $this->pos), $keyMatches)) {
128 $this->pos += strlen($keyMatches[1]);
129 if (!isset($this->binary[$this->pos])) {
132 $message->set($keyMatches[2], $this->parseOptValue($keyMatches[2], $isServerMode));
134 $this->endParsing();
154 $value = $this->parseQuotedValue();
159 $value = $this->parseQuotedCommaList();
161 $value = $this->parseRegex(self::MATCH_ALPHA_NUMERIC, 'The value is malformed.');
165 $value = $this->parseExact('true');
168 $value = $this->parseRegex(self::MATCH_DIGITS, 'Expected a series of digits for a key value.');
171 $value = $this->parseExact('md5-sess');
174 $value = $this->parseExact('utf-8');
177 $value = $this->parseLHexValue(8);
181 $value = $this->parseLHexValue(32);
191 if (isset($this->binary[$this->pos]) && $this->binary[$this->pos] !== ',') {
197 if (isset($this->binary[$this->pos]) && $this->binary[$this->pos] === ',') {
198 $this->pos++;
201 if (isset($this->occurrences[$opt]) && in_array($opt, self::ONCE_ONLY, true)) {
203 } elseif (isset($this->occurrences[$opt])) {
204 $this->occurrences[$opt]++;
206 $this->occurrences[$opt] = 1;
250 $encoded = $this->encodeLHexValue($value, 32);
269 if (substr($this->binary, $this->pos, $length) !== $expected) {
275 $this->pos += $length;
285 if (!preg_match(self::MATCH_QD_STR_VAL, substr($this->binary, $this->pos), $matches)) {
288 $this->pos += strlen($matches[1]);
298 $value = $this->parseQuotedValue();
308 if (!preg_match(self::MATCH_LHEX, substr($this->binary, $this->pos), $matches)) {
314 $this->pos += strlen($matches[1]);
324 if (!preg_match($regex, substr($this->binary, $this->pos), $matches)) {
327 $this->pos += strlen($matches[1]);