Lines Matching refs:BG

52 	ctx = &BG(url_adapt_state_ex);
388 ctx = &BG(url_adapt_state_ex);
412 ctx = &BG(url_adapt_state_ex);
423 ctx = &BG(url_adapt_state_ex);
437 if (BG(url_adapt_state_ex).url_app.len != 0) {
444 } else if (BG(url_adapt_state_ex).url_app.len == 0) {
445 url_adapt_state_ex_t *ctx = &BG(url_adapt_state_ex);
470 if (! BG(url_adapt_state_ex).active) {
473 BG(url_adapt_state_ex).active = 1;
477 if (BG(url_adapt_state_ex).url_app.len != 0) {
478 smart_str_appends(&BG(url_adapt_state_ex).url_app, PG(arg_separator).output);
488 smart_str_appendl(&BG(url_adapt_state_ex).url_app, name, name_len);
489 smart_str_appendc(&BG(url_adapt_state_ex).url_app, '=');
490 smart_str_append(&BG(url_adapt_state_ex).url_app, &val);
492 smart_str_appends(&BG(url_adapt_state_ex).form_app, "<input type=\"hidden\" name=\"");
493 smart_str_appendl(&BG(url_adapt_state_ex).form_app, name, name_len);
494 smart_str_appends(&BG(url_adapt_state_ex).form_app, "\" value=\"");
495 smart_str_append(&BG(url_adapt_state_ex).form_app, &val);
496 smart_str_appends(&BG(url_adapt_state_ex).form_app, "\" />");
506 BG(url_adapt_state_ex).form_app.len = 0;
507 BG(url_adapt_state_ex).url_app.len = 0;
514 BG(url_adapt_state_ex).tags = NULL;
516 BG(url_adapt_state_ex).form_app.c = BG(url_adapt_state_ex).url_app.c = 0;
517 BG(url_adapt_state_ex).form_app.len = BG(url_adapt_state_ex).url_app.len = 0;
532 BG(url_adapt_state_ex).active = 0;
539 if (BG(url_adapt_state_ex).active) {
541 BG(url_adapt_state_ex).active = 0;
544 smart_str_free(&BG(url_adapt_state_ex).form_app);
545 smart_str_free(&BG(url_adapt_state_ex).url_app);