Lines Matching refs:url_app

185 static inline void append_modified_url(smart_str *url, smart_str *dest, smart_str *url_app, const c…
235 smart_str_append_smart_str(dest, url_app);
268 smart_str_append_smart_str(dest, url_app);
270 smart_str_append_smart_str(dest, url_app);
310 append_modified_url(&ctx->val, &ctx->result, &ctx->url_app, PG(arg_separator).output);
592 smart_str url_app = {0};
599 smart_str_appendl(&url_app, ZSTR_VAL(encoded), ZSTR_LEN(encoded));
602 smart_str_appends(&url_app, name);
604 smart_str_appendc(&url_app, '=');
607 smart_str_appendl(&url_app, ZSTR_VAL(encoded), ZSTR_LEN(encoded));
610 smart_str_appends(&url_app, value);
613 append_modified_url(&surl, &buf, &url_app, PG(arg_separator).output);
619 smart_str_free(&url_app);
696 if (ZSTR_LEN(url_state->url_app.s) != 0) {
703 } else if (ZSTR_LEN(url_state->url_app.s) == 0) {
756 if (url_state->url_app.s && ZSTR_LEN(url_state->url_app.s) != 0) {
757 smart_str_appends(&url_state->url_app, PG(arg_separator).output);
776 smart_str_append_smart_str(&url_state->url_app, &sname);
777 smart_str_appendc(&url_state->url_app, '=');
778 smart_str_append_smart_str(&url_state->url_app, &svalue);
819 if (url_state->url_app.s) {
820 ZSTR_LEN(url_state->url_app.s) = 0;
845 smart_str url_app = {0};
858 /* Short circuit check. Only check url_app. */
859 if (!url_state->url_app.s || !ZSTR_LEN(url_state->url_app.s)) {
877 smart_str_append_smart_str(&url_app, &sname);
878 smart_str_appendc(&url_app, '=');
879 smart_str_0(&url_app);
886 /* Short circuit check. Only check url_app. */
887 start = (char *) php_memnstr(ZSTR_VAL(url_state->url_app.s),
888 ZSTR_VAL(url_app.s), ZSTR_LEN(url_app.s),
889 ZSTR_VAL(url_state->url_app.s) + ZSTR_LEN(url_state->url_app.s));
896 limit = ZSTR_VAL(url_state->url_app.s) + ZSTR_LEN(url_state->url_app.s);
897 end = start + ZSTR_LEN(url_app.s);
908 if (ZSTR_LEN(url_state->url_app.s) == end - start) {
920 ZSTR_LEN(url_state->url_app.s) - (end - ZSTR_VAL(url_state->url_app.s)));
921 ZSTR_LEN(url_state->url_app.s) -= end - start;
922 ZSTR_VAL(url_state->url_app.s)[ZSTR_LEN(url_state->url_app.s)] = '\0';
951 smart_str_free(&url_app);
1004 smart_str_free(&BG(url_adapt_session_ex).url_app);
1013 smart_str_free(&BG(url_adapt_output_ex).url_app);