Home
last modified time | relevance | path

Searched refs:dStrdup (Results 1 – 25 of 39) sorted by relevance

12

/dports/www/dillo2/dillo-3.0.5/src/
H A Dprefs.c46 prefs.font_cursive = dStrdup(PREFS_FONT_CURSIVE); in a_Prefs_init()
50 prefs.font_fantasy = dStrdup(PREFS_FONT_FANTASY); in a_Prefs_init()
51 prefs.font_monospace = dStrdup(PREFS_FONT_MONOSPACE); in a_Prefs_init()
52 prefs.font_sans_serif = dStrdup(PREFS_FONT_SANS_SERIF); in a_Prefs_init()
53 prefs.font_serif = dStrdup(PREFS_FONT_SERIF); in a_Prefs_init()
67 prefs.http_referer = dStrdup(PREFS_HTTP_REFERER); in a_Prefs_init()
68 prefs.http_user_agent = dStrdup(PREFS_HTTP_USER_AGENT); in a_Prefs_init()
76 prefs.no_proxy = dStrdup(PREFS_NO_PROXY); in a_Prefs_init()
79 prefs.save_dir = dStrdup(PREFS_SAVE_DIR); in a_Prefs_init()
81 dList_append(prefs.search_urls, dStrdup(PREFS_SEARCH_URL)); in a_Prefs_init()
[all …]
H A Dauth.c447 n_path = dStrdup(path); in Auth_realm_add_path()
480 ret = dStrdup(realm->authorization); in a_Auth_get_auth_str()
533 realm->nonce = dStrdup(auth_parse->nonce); in Auth_do_auth_required()
558 host->scheme = dStrdup(URL_SCHEME(data->url)); in Auth_do_auth_dialog_cb()
559 host->authority = dStrdup(URL_AUTHORITY(data->url)); in Auth_do_auth_dialog_cb()
567 realm->name = dStrdup(data->auth_parse->realm); in Auth_do_auth_dialog_cb()
589 realm->username = dStrdup(user); in Auth_do_auth_dialog_cb()
592 realm->nonce = dStrdup(data->auth_parse->nonce); in Auth_do_auth_dialog_cb()
594 realm->opaque = dStrdup(data->auth_parse->opaque); in Auth_do_auth_dialog_cb()
597 realm->domain = dStrdup(data->auth_parse->domain); in Auth_do_auth_dialog_cb()
H A Dcookies.c189 return dStrdup(""); in a_Cookies_get_query()
194 return dStrdup(""); in a_Cookies_get_query()
202 return dStrdup(""); in a_Cookies_get_query()
221 query = dStrdup(""); in a_Cookies_get_query()
300 cc.domain = dStrdup(domain); in Cookie_control_init()
H A Ddomain.c68 exceptions[num_exceptions].origin = dStrdup(tok1); in a_Domain_parse()
69 exceptions[num_exceptions].destination = dStrdup(tok2); in a_Domain_parse()
H A Dprefsparser.cc80 *(char **)node->pref = dStrdup(value); in parseOption()
93 dList_append(lp, dStrdup(value)); in parseOption()
234 oldLocale = dStrdup(setlocale(LC_NUMERIC, NULL)); in parse()
H A Durl.c138 url->buffer = dStrstrip(dStrdup(uri_str)); in Url_object_new()
432 url->alt = dStrdup(ori->alt); in a_Url_dup()
498 u->alt = dStrdup(alt); in a_Url_set_alt()
554 return dStrdup(str); in a_Url_decode_hex_str()
620 new_str = text = dStrdup(str); in a_Url_string_strip_delimiters()
H A Dkeys.cc157 node->name = dStrdup(default_keys[i].name); in init()
339 dStrdup(key); in parseKey()
361 node->name = dStrdup(commandName); in parseKey()
H A Dcookies.h10 # define a_Cookies_get_query(url, requester) dStrdup("")
H A Dcss.cc37 p->value.strVal = dStrdup (p->value.strVal); in CssPropertyList()
248 klass.set (klass.size () - 1, dStrdup (v)); in setSelect()
252 pseudo = dStrdup (v); in setSelect()
256 id = dStrdup (v); in setSelect()
H A Ddns.c108 dns_queue[dns_queue_size].hostname = dStrdup(hostname); in Dns_queue_add()
167 dns_cache[dns_cache_size].hostname = dStrdup(hostname); in Dns_cache_add()
361 dns_server[channel].hostname = dStrdup(hostname); in Dns_server_req()
H A Dcapi.c97 conn->server = dStrdup(server); in Capi_conn_new()
98 conn->datastr = dStrdup(datastr); in Capi_conn_new()
278 server = dStrdup("?"); in Capi_url_uses_dpi()
282 server = dStrdup("bookmarks"); in Capi_url_uses_dpi()
H A Dbookmark.c44 cmd4 = dStrdup(Cmd); in a_Bookmarks_chat_add()
H A Dform.cc379 char *ptr = first = dStrdup(attrbuf); in Html_tag_open_form()
468 init_str = (value) ? value : dStrdup("on"); in Html_tag_open_input()
485 init_str = (value) ? value : dStrdup("submit"); in Html_tag_open_input()
489 init_str = (value) ? value : dStrdup("Reset"); in Html_tag_open_input()
497 init_str = dStrdup(label); in Html_tag_open_input()
523 init_str = dStrdup("File selector"); in Html_tag_open_input()
670 name = dStrdup(attrbuf); in Html_tag_content_textarea()
999 submit_charset = dStrdup(charset); in DilloHtmlForm()
1085 char *action_str = dStrdup(URL_STR(action)); in buildQueryUrl()
1646 name = (name2) ? dStrdup(name2) : NULL; in DilloHtmlInput()
[all …]
H A Dhistory.c142 history[i].title = dStrdup(title); in a_History_set_title_by_url()
/dports/www/dillo2/dillo-3.0.5/test/
H A Dcookies.c476 query = dStrdup(""); in a_Cookies_get_query()
537 char *server_date = dStrdup(ctime(&t)); in maxage()
577 char *server_date = dStrdup(ctime(&t)); in expires_server_ahead()
579 char *exp_date = dStrdup(ctime(&expt)); in expires_server_ahead()
590 exp_date = dStrdup(ctime(&expt)); in expires_server_ahead()
601 exp_date = dStrdup(ctime(&expt)); in expires_server_ahead()
612 exp_date = dStrdup(ctime(&expt)); in expires_server_ahead()
643 exp_date = dStrdup(ctime(&expt)); in expires_server_behind()
654 exp_date = dStrdup(ctime(&expt)); in expires_server_behind()
694 server_date = dStrdup(ctime(&t)); in expires_extremes()
[all …]
/dports/www/dillo2/dillo-3.0.5/src/IO/
H A Dhttp.c113 dStrdup(""); in a_Http_init()
229 referer = dStrdup(""); in Http_get_referer()
475 np = dStrdup(prefs.no_proxy); in Http_must_use_proxy()
512 auth2 = dStrdup(auth1); in a_Http_make_connect_str()
516 dStrdup(""); in a_Http_make_connect_str()
602 hostname = dStrdup(URL_HOST(HTTP_Proxy)); in Http_get()
606 hostname = dStrdup(URL_HOST(S->web->url)); in Http_get()
724 hc->host = dStrdup(host); in Http_host_connection_get()
/dports/www/dillo2/dillo-3.0.5/dpi/
H A Ddatauri.c241 mime_type = dStrdup("text/plain;charset=US-ASCII"); in datauri_get_mime()
245 mime_type = dStrdup(buf); in datauri_get_mime()
276 data = (unsigned char *)dStrdup(""); in datauri_get_data()
H A Ddpiutil.c66 char *p, *buf = dStrdup(s); in Unescape_uri_str()
118 char *u_str = dStrdup(str); in Unescape_html_str()
H A Dcookies.c282 cookie->domain = dStrdup(dStrsep(&line_marker, "\t")); in Cookies_load_cookies()
286 cookie->path = dStrdup(dStrsep(&line_marker, "\t")); in Cookies_load_cookies()
304 cookie->name = dStrdup(dStrsep(&line_marker, "\t")); in Cookies_load_cookies()
305 cookie->value = dStrdup(line_marker ? line_marker : ""); in Cookies_load_cookies()
683 node->domain = dStrdup(cookie->domain); in Cookies_add_cookie()
977 cookie->path = dStrdup("/"); in Cookies_validate_path()
1075 cookie->domain = dStrdup(host); in Cookies_validate_domain()
1222 return dStrdup(""); in Cookies_get()
1368 cc.domain = dStrdup(domain); in Cookie_control_init()
H A Dbookmarks.c1042 url1 = dStrdup(url); in Bmsrv_send_modify_update()
1240 title = dStrdup(p + 2 + i); in Bmsrv_modify_update()
1259 title = dStrdup(p + 6 + i); in Bmsrv_modify_update()
1286 title = dStrdup (p + 7); in Bmsrv_modify_add_section()
1328 title = dStrdup (p + 7); in Bmsrv_modify_add_url()
1331 url = dStrdup (q + 5); in Bmsrv_modify_add_url()
1617 title = dStrdup("(Untitled)"); in Bmsrv_parse_token()
H A Dfile.c221 Ddir->dirname = dStrdup(dirname); in File_dillodir_new()
293 parent = dStrdup(dirname); in File_print_parent_dir()
560 client->orig_url = dStrdup(orig_url); in File_prepare_send_error_page()
623 client->orig_url = dStrdup(orig_url); in File_prepare_send_dir()
655 client->filename = dStrdup(filename); in File_prepare_send_file()
656 client->orig_url = dStrdup(orig_url); in File_prepare_send_file()
H A Dhello.c153 child_cmd = dStrdup("date -R"); in main()
H A Ddownloads.cc297 fullname = dStrdup(full_filename); in DLItem()
299 shortname = (p) ? dStrdup(p + 1) : dStrdup("??"); in DLItem()
301 target_dir= p ? dStrndup(full_filename,p-full_filename+1) : dStrdup("??"); in DLItem()
/dports/www/dillo2/dillo-3.0.5/dpid/
H A Ddpid.c197 value = dStrdup(p); in get_dpi_dir()
247 dpi_attr->id = dStrdup(service); in get_dpi_attr()
300 dpidrc = dStrdup(DPIDRC_SYS); in register_service()
356 dpidrc = dStrdup(DPIDRC_SYS); in register_all()
440 dpidrc = dStrdup(DPIDRC_SYS); in fill_services_list()
488 s->name = dStrdup(service); in fill_services_list()
/dports/www/dillo2/dillo-3.0.5/dlib/
H A Ddlib.c75 char *dStrdup(const char *s) in dStrdup() function
910 homedir = dStrdup(getenv("HOME")); in dGethomedir()
916 homedir = dStrdup("/"); in dGethomedir()

12