Lines Matching refs:len
116 q = (p = url->c) + url->len;
156 if (strncasecmp(ctx->arg.c, ctx->lookup_data, ctx->arg.len) == 0)
210 if (ctx->form_app.len > 0) {
211 switch (ctx->tag.len) {
217 char *e, *p = zend_memnstr(ctx->val.c, "://", sizeof("://") - 1, ctx->val.c + ctx->val.len);
219 e = memchr(p, '/', (ctx->val.c + ctx->val.len) - p);
221 e = ctx->val.c + ctx->val.len;
254 ctx->tag.len = 0;
256 for (i = 0; i < ctx->tag.len; i++)
258 if (zend_hash_find(ctx->tags, ctx->tag.c, ctx->tag.len, (void **) &ctx->lookup_data) == SUCCESS)
265 ctx->arg.len = 0;
285 YYLIMIT = ctx->buf.c + ctx->buf.len;
357 ctx->buf.len = rest;
375 if (newlen) *newlen = buf.len;
392 *newlen = ctx->result.len;
398 smart_str_appendl(&ctx->result, ctx->buf.c, ctx->buf.len);
399 *newlen += ctx->buf.len;
404 ctx->result.len = 0;
435 size_t len;
437 if (BG(url_adapt_state_ex).url_app.len != 0) {
438 …*handled_output = url_adapt_ext(output, output_len, &len, (zend_bool) (mode & (PHP_OUTPUT_HANDLER_…
440 if (len > UINT_MAX)
441 len = UINT_MAX;
443 *handled_output_len = len;
444 } else if (BG(url_adapt_state_ex).url_app.len == 0) {
446 if (ctx->buf.len) {
447 smart_str_appendl(&ctx->result, ctx->buf.c, ctx->buf.len);
451 *handled_output_len = ctx->buf.len + output_len;
454 ctx->result.len = 0;
477 if (BG(url_adapt_state_ex).url_app.len != 0) {
506 BG(url_adapt_state_ex).form_app.len = 0;
507 BG(url_adapt_state_ex).url_app.len = 0;
517 BG(url_adapt_state_ex).form_app.len = BG(url_adapt_state_ex).url_app.len = 0;