Lines Matching refs:p

199 	const char* p = *begin;  in php_firebird_get_token()  local
201 char c = *p++; in php_firebird_get_token()
211 while (p < end) in php_firebird_get_token()
213 if (*p++ == c) in php_firebird_get_token()
222 if (p < end && *p == '*') in php_firebird_get_token()
225 p++; in php_firebird_get_token()
226 while (p < end) in php_firebird_get_token()
228 if (*p++ == '*' && p < end && *p == '/') in php_firebird_get_token()
230 p++; in php_firebird_get_token()
242 if (p < end && *p == '-') in php_firebird_get_token()
244 while (++p < end) in php_firebird_get_token()
246 if (*p == '\r') in php_firebird_get_token()
248 p++; in php_firebird_get_token()
249 if (p < end && *p == '\n') in php_firebird_get_token()
250 p++; in php_firebird_get_token()
253 else if (*p == '\n') in php_firebird_get_token()
266 while (p < end && (php_firebird_classes(*p) & CHR_DIGIT)) in php_firebird_get_token()
267 p++; in php_firebird_get_token()
272 while (p < end && (php_firebird_classes(*p) & CHR_IDENT)) in php_firebird_get_token()
273 p++; in php_firebird_get_token()
278 while (p < end && (php_firebird_classes(*p) & CHR_WHITE)) in php_firebird_get_token()
279 p++; in php_firebird_get_token()
284 while (p < end && !(php_firebird_classes(*p) & (CHR_DIGIT | CHR_IDENT | CHR_WHITE)) && in php_firebird_get_token()
285 (*p != '/') && (*p != '-') && (*p != ':') && (*p != '?') && in php_firebird_get_token()
286 (*p != '\'') && (*p != '"')) in php_firebird_get_token()
288 p++; in php_firebird_get_token()
294 *begin = p; in php_firebird_get_token()
304 const char* p = ZSTR_VAL(sql), * end = ZSTR_VAL(sql) + ZSTR_LEN(sql); in php_firebird_preprocess() local
305 const char* start = p; in php_firebird_preprocess()
306 FbTokenType tok = php_firebird_get_token(&p, end); in php_firebird_preprocess()
309 while (p < end && (tok == ttComment || tok == ttWhite)) in php_firebird_preprocess()
311 i = p; in php_firebird_preprocess()
312 tok = php_firebird_get_token(&p, end); in php_firebird_preprocess()
315 if (p >= end || tok != ttIdent) in php_firebird_preprocess()
323 l = p - i; in php_firebird_preprocess()
335 const char* i2 = p; in php_firebird_preprocess()
336 tok = php_firebird_get_token(&p, end); in php_firebird_preprocess()
337 while (p < end && (tok == ttComment || tok == ttWhite)) in php_firebird_preprocess()
339 i2 = p; in php_firebird_preprocess()
340 tok = php_firebird_get_token(&p, end); in php_firebird_preprocess()
342 if (p >= end || tok != ttIdent) in php_firebird_preprocess()
348 l = p - i2; in php_firebird_preprocess()
374 strncat(sql_out, start, p - start); in php_firebird_preprocess()
376 while (p < end) in php_firebird_preprocess()
378 start = p; in php_firebird_preprocess()
379 tok = php_firebird_get_token(&p, end); in php_firebird_preprocess()
383 tok = php_firebird_get_token(&p, end); in php_firebird_preprocess()
387 l = p - start; in php_firebird_preprocess()
413 strncat(sql_out, start, p - start); in php_firebird_preprocess()
422 l = p - start; in php_firebird_preprocess()
443 strncat(sql_out, start, p - start); in php_firebird_preprocess()