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);
590 smart_str url_app = {0};
597 smart_str_appendl(&url_app, ZSTR_VAL(encoded), ZSTR_LEN(encoded));
600 smart_str_appends(&url_app, name);
602 smart_str_appendc(&url_app, '=');
605 smart_str_appendl(&url_app, ZSTR_VAL(encoded), ZSTR_LEN(encoded));
608 smart_str_appends(&url_app, value);
611 append_modified_url(&surl, &buf, &url_app, PG(arg_separator).output);
617 smart_str_free(&url_app);
694 if (ZSTR_LEN(url_state->url_app.s) != 0) {
701 } else if (ZSTR_LEN(url_state->url_app.s) == 0) {
755 if (url_state->url_app.s && ZSTR_LEN(url_state->url_app.s) != 0) {
756 smart_str_appends(&url_state->url_app, PG(arg_separator).output);
775 smart_str_append_smart_str(&url_state->url_app, &sname);
776 smart_str_appendc(&url_state->url_app, '=');
777 smart_str_append_smart_str(&url_state->url_app, &svalue);
822 if (url_state->url_app.s) {
823 ZSTR_LEN(url_state->url_app.s) = 0;
848 smart_str url_app = {0};
861 /* Short circuit check. Only check url_app. */
862 if (!url_state->url_app.s || !ZSTR_LEN(url_state->url_app.s)) {
880 smart_str_append_smart_str(&url_app, &sname);
881 smart_str_appendc(&url_app, '=');
882 smart_str_0(&url_app);
889 /* Short circuit check. Only check url_app. */
890 start = (char *) php_memnstr(ZSTR_VAL(url_state->url_app.s),
891 ZSTR_VAL(url_app.s), ZSTR_LEN(url_app.s),
892 ZSTR_VAL(url_state->url_app.s) + ZSTR_LEN(url_state->url_app.s));
899 limit = ZSTR_VAL(url_state->url_app.s) + ZSTR_LEN(url_state->url_app.s);
900 end = start + ZSTR_LEN(url_app.s);
911 if (ZSTR_LEN(url_state->url_app.s) == end - start) {
923 ZSTR_LEN(url_state->url_app.s) - (end - ZSTR_VAL(url_state->url_app.s)));
924 ZSTR_LEN(url_state->url_app.s) -= end - start;
925 ZSTR_VAL(url_state->url_app.s)[ZSTR_LEN(url_state->url_app.s)] = '\0';
954 smart_str_free(&url_app);
1007 smart_str_free(&BG(url_adapt_session_ex).url_app);
1016 smart_str_free(&BG(url_adapt_output_ex).url_app);