Lines Matching refs:url_app

183 static inline void append_modified_url(smart_str *url, smart_str *dest, smart_str *url_app, const c…
233 smart_str_append_smart_str(dest, url_app);
266 smart_str_append_smart_str(dest, url_app);
268 smart_str_append_smart_str(dest, url_app);
308 append_modified_url(&ctx->val, &ctx->result, &ctx->url_app, PG(arg_separator).output);
588 smart_str url_app = {0};
595 smart_str_appendl(&url_app, ZSTR_VAL(encoded), ZSTR_LEN(encoded));
598 smart_str_appends(&url_app, name);
600 smart_str_appendc(&url_app, '=');
603 smart_str_appendl(&url_app, ZSTR_VAL(encoded), ZSTR_LEN(encoded));
606 smart_str_appends(&url_app, value);
609 append_modified_url(&surl, &buf, &url_app, PG(arg_separator).output);
615 smart_str_free(&url_app);
692 if (ZSTR_LEN(url_state->url_app.s) != 0) {
699 } else if (ZSTR_LEN(url_state->url_app.s) == 0) {
752 if (url_state->url_app.s && ZSTR_LEN(url_state->url_app.s) != 0) {
753 smart_str_appends(&url_state->url_app, PG(arg_separator).output);
772 smart_str_append_smart_str(&url_state->url_app, &sname);
773 smart_str_appendc(&url_state->url_app, '=');
774 smart_str_append_smart_str(&url_state->url_app, &svalue);
815 if (url_state->url_app.s) {
816 ZSTR_LEN(url_state->url_app.s) = 0;
841 smart_str url_app = {0};
854 /* Short circuit check. Only check url_app. */
855 if (!url_state->url_app.s || !ZSTR_LEN(url_state->url_app.s)) {
873 smart_str_append_smart_str(&url_app, &sname);
874 smart_str_appendc(&url_app, '=');
875 smart_str_0(&url_app);
882 /* Short circuit check. Only check url_app. */
883 start = (char *) php_memnstr(ZSTR_VAL(url_state->url_app.s),
884 ZSTR_VAL(url_app.s), ZSTR_LEN(url_app.s),
885 ZSTR_VAL(url_state->url_app.s) + ZSTR_LEN(url_state->url_app.s));
892 limit = ZSTR_VAL(url_state->url_app.s) + ZSTR_LEN(url_state->url_app.s);
893 end = start + ZSTR_LEN(url_app.s);
904 if (ZSTR_LEN(url_state->url_app.s) == end - start) {
916 ZSTR_LEN(url_state->url_app.s) - (end - ZSTR_VAL(url_state->url_app.s)));
917 ZSTR_LEN(url_state->url_app.s) -= end - start;
918 ZSTR_VAL(url_state->url_app.s)[ZSTR_LEN(url_state->url_app.s)] = '\0';
947 smart_str_free(&url_app);
1000 smart_str_free(&BG(url_adapt_session_ex).url_app);
1009 smart_str_free(&BG(url_adapt_output_ex).url_app);