Home
last modified time | relevance | path

Searched refs:StrAllocCopy (Results 1 – 25 of 65) sorted by relevance

123

/mirbsd/src/gnu/usr.bin/lynx/src/
DLYMain.c1121 StrAllocCopy(program_dir, pgm); in main()
1126 StrAllocCopy(program_dir, "."); in main()
1187 StrAllocCopy(list_format, LIST_FORMAT); in main()
1188 StrAllocCopy(ftp_format, FTP_FORMAT); in main()
1197 StrAllocCopy(LYTransferName, "KiB"); in main()
1198 StrAllocCopy(helpfile, HELPFILE); in main()
1199 StrAllocCopy(startfile, STARTFILE); in main()
1201 StrAllocCopy(indexfile, DEFAULT_INDEX_FILE); in main()
1202 StrAllocCopy(global_type_map, GLOBAL_MAILCAP); in main()
1203 StrAllocCopy(personal_type_map, PERSONAL_MAILCAP); in main()
[all …]
DHTFWriter.c202 StrAllocCopy(path, me->anchor->FileCache); in HTFWriter_free()
275 StrAllocCopy(new_path, path); in HTFWriter_free()
291 StrAllocCopy(me->anchor->FileCache, path); in HTFWriter_free()
292 StrAllocCopy(me->anchor->content_encoding, "binary"); in HTFWriter_free()
689 StrAllocCopy(me->viewer_command, pres->command); in HTSaveAndExecute()
723 StrAllocCopy(me->viewer_command, pres->command); in HTSaveAndExecute()
736 StrAllocCopy(anchor->FileCache, fnam); in HTSaveAndExecute()
896 StrAllocCopy(WWW_Download_File, fnam); in HTSaveToFile()
907 StrAllocCopy(ret_obj->end_command, "SaveVMSBinaryFile"); in HTSaveToFile()
914 StrAllocCopy(ret_obj->end_command, "SaveToFile"); in HTSaveToFile()
[all …]
DLYMap.c193 StrAllocCopy(tmp->address, address); in LYAddImageMap()
195 StrAllocCopy(tmp->title, title); in LYAddImageMap()
270 StrAllocCopy(tmp->address, address); in LYAddMapElement()
272 StrAllocCopy(tmp->title, title); in LYAddMapElement()
274 StrAllocCopy(tmp->title, address); in LYAddMapElement()
326 StrAllocCopy(doc_address, address); in fill_DocAddress()
474 StrAllocCopy(redirecting_url, address); in LYLoadIMGmap()
479 StrAllocCopy(redirecting_url, address); in LYLoadIMGmap()
534 StrAllocCopy(MapTitle, theMap->title); in LYLoadIMGmap()
536 StrAllocCopy(MapTitle, anAnchor->title); in LYLoadIMGmap()
[all …]
DLYJump.c64 StrAllocCopy(tmp, shortcut); in LYAddJumpShortcut()
113 StrAllocCopy(jtp->file, cp); in LYJumpInit()
136 StrAllocCopy(jtptmp->file, jumpfile); in LYJumpInit()
137 StrAllocCopy(jtptmp->msg, jumpprompt); in LYJumpInit()
147 StrAllocCopy(JThead->msg, jumpprompt); in LYJumpInit()
149 StrAllocCopy(jumpfile, JThead->file); in LYJumpInit()
158 StrAllocCopy(jtp->file, JThead->file); in LYJumpInit()
168 StrAllocCopy(jtp->msg, cp); /* prompt is present, load it */ in LYJumpInit()
173 StrAllocCopy(jtp->msg, jumpprompt); in LYJumpInit()
256 StrAllocCopy(jtp->shortcut, buf->str); in LYJump()
[all …]
DLYCgi.c168 StrAllocCopy(command, linktext); in can_exec_cgi()
212 StrAllocCopy(pgm, arg + 19); in LYLoadCGI()
214 StrAllocCopy(pgm, arg + 8); in LYLoadCGI()
222 StrAllocCopy(orig_pgm, pgm); in LYLoadCGI()
237 StrAllocCopy(pgm_buff, pgm); in LYLoadCGI()
253 StrAllocCopy(path_info, pgm + strlen(pgm_buff)); in LYLoadCGI()
549 StrAllocCopy(cp, "HTTP_ACCEPT_CHARSET="); in LYLoadCGI()
557 StrAllocCopy(cp, "CONTENT_TYPE="); in LYLoadCGI()
612 StrAllocCopy(cp, "QUERY_STRING="); in LYLoadCGI()
643 StrAllocCopy(cp, "DOCUMENT_ROOT="); in LYLoadCGI()
[all …]
DLYHistory.c185 StrAllocCopy(tmp->address, doc->address); in LYAddVisitedLink()
441 StrAllocCopy(HDOC(nhist).address, doc->address); in LYpush()
447 StrAllocCopy(HDOC(nhist).post_content_type, doc->post_content_type); in LYpush()
450 StrAllocCopy(HDOC(nhist).bookmark, doc->bookmark); in LYpush()
498 StrAllocCopy(temp, STR_LYNXIMGMAP); in LYpush()
632 StrAllocCopy(doc->title, HDOC(number).title); in LYpop_num()
633 StrAllocCopy(doc->address, HDOC(number).address); in LYpop_num()
635 StrAllocCopy(doc->post_content_type, HDOC(number).post_content_type); in LYpop_num()
636 StrAllocCopy(doc->bookmark, HDOC(number).bookmark); in LYpop_num()
686 StrAllocCopy(Title, HDOC(x).title); in showhistory()
[all …]
DHTML.c508 StrAllocCopy(translated_string, s); in HTML_put_string()
881 StrAllocCopy(href, src); in LYHandleFIG()
1206 StrAllocCopy(base, value[HTML_BASE_HREF]); in HTML_start_element()
1239 StrAllocCopy(me->base_href, temp); in HTML_start_element()
1290 StrAllocCopy(me->node_anchor->content_base, me->base_href); in HTML_start_element()
1317 StrAllocCopy(href, Base); in HTML_start_element()
1319 StrAllocCopy(href, value[HTML_LINK_HREF]); in HTML_start_element()
1355 StrAllocCopy(title, value[HTML_LINK_TITLE]); in HTML_start_element()
1427 StrAllocCopy(title, value[HTML_LINK_REL]); in HTML_start_element()
1445 StrAllocCopy(title, value[HTML_LINK_REL]); in HTML_start_element()
[all …]
DLYMainLoop.c437 StrAllocCopy(doc->address, address); in set_address()
442 StrAllocCopy(dst->address, src->address); in copy_address()
659 StrAllocCopy(*old_user_input, (*user_input)->str); in do_check_goto_URL()
692 StrAllocCopy(newdoc.title, in do_check_goto_URL()
724 StrAllocCopy(*old_user_input, ""); in do_check_recall()
954 StrAllocCopy(traversal_link_to_add, in DoTraversal()
1158 StrAllocCopy(newdoc.title, in handle_LYK_ACTIVATE()
1205 StrAllocCopy(newdoc.title, HText_getTitle()); in handle_LYK_ACTIVATE()
1207 StrAllocCopy(newdoc.title, curdoc.title); in handle_LYK_ACTIVATE()
1221 StrAllocCopy(newdoc.title, curdoc.title); in handle_LYK_ACTIVATE()
[all …]
DLYUtils.c2147 StrAllocCopy(LocalAlias, alias); in LYAddLocalhostAlias()
2222 StrAllocCopy(cp2, cp); in LYCheckForProxyURL()
2705 StrAllocCopy(temp0, address); in LYCanDoHEAD()
3135 StrAllocCopy(tmp, fname); in HTAddSugFilename()
3197 StrAllocCopy(temp, NonNull(cp)); in change_sug_filename()
4032 StrAllocCopy(*href, temp); in LYEnsureAbsoluteURL()
4069 StrAllocCopy(*AllocatedString, "file://localhost"); in LYConvertToURL()
4099 StrAllocCopy(temp, cp); in LYConvertToURL()
4133 StrAllocCopy(cur_dir, dir_name); in LYConvertToURL()
4173 StrAllocCopy(*AllocatedString, "http://"); in LYConvertToURL()
[all …]
DLYGetFile.c395 StrAllocCopy(LYRequestReferer, ref_url); in getfile()
408 StrAllocCopy(LYRequestReferer, ref_url); in getfile()
411 StrAllocCopy(LYRequestReferer, HTLoadedDocumentURL()); in getfile()
472 StrAllocCopy(p, doc->address); in getfile()
537 StrAllocCopy(tmptitle, "Re: "); in getfile()
669 StrAllocCopy(temp, doc->address); in getfile()
678 StrAllocCopy(doc->address, temp); in getfile()
720 StrAllocCopy(tmp, "http://"); in getfile()
734 StrAllocCopy(doc->address, tmp); in getfile()
762 StrAllocCopy(bibpTmp, BibP_bibhost); in getfile()
[all …]
DHTAlert.c661 StrAllocCopy(rep, data->str); in HTPrompt()
680 StrAllocCopy(result, data->str); in HTPromptPassword()
684 StrAllocCopy(result, ""); in HTPromptPassword()
726 StrAllocCopy(*username, (IsProxy ? in HTPromptUsernameAndPassword()
733 StrAllocCopy(*password, (IsProxy ? in HTPromptUsernameAndPassword()
751 StrAllocCopy(*username, (IsProxy ? in HTPromptUsernameAndPassword()
762 StrAllocCopy(*username, "WWWuser"); in HTPromptUsernameAndPassword()
769 StrAllocCopy(*password, (IsProxy ? in HTPromptUsernameAndPassword()
780 StrAllocCopy(*password, ""); in HTPromptUsernameAndPassword()
796 StrAllocCopy(*username, (IsProxy ? in HTPromptUsernameAndPassword()
[all …]
DLYCookie.c357 StrAllocCopy(co->ddomain, SkipLeadingDot(domain)); in SetCookieDomain()
579 StrAllocCopy(de->domain, co->domain); in store_cookie()
580 StrAllocCopy(de->ddomain, co->ddomain); in store_cookie()
938 StrAllocCopy(cur_cookie->comment, value); in parse_attribute()
998 StrAllocCopy(cur_cookie->domain, value); in parse_attribute()
1001 StrAllocCopy(cur_cookie->domain, value); in parse_attribute()
1004 StrAllocCopy(cur_cookie->domain, value); in parse_attribute()
1018 StrAllocCopy(cur_cookie->path, value); in parse_attribute()
1039 StrAllocCopy(cur_cookie->PortList, value); in parse_attribute()
1401 StrAllocCopy(cur_cookie->domain, hostname); in LYProcessSetCookies()
[all …]
DLYCharUtils.c268 StrAllocCopy(*target, source); in LYEntifyTitle()
282 StrAllocCopy(*target, source); in LYEntifyValue()
470 StrAllocCopy(temp, STR_FILE_URL); in LYFillLocalFileURL()
472 StrAllocCopy(*href, temp); in LYFillLocalFileURL()
481 StrAllocCopy(temp, (*href + 7)); in LYFillLocalFileURL()
484 StrAllocCopy(temp, (*href + 5)); in LYFillLocalFileURL()
494 StrAllocCopy(temp, *href); in LYFillLocalFileURL()
1887 StrAllocCopy(*str, chunk->data); in LYUCFullyTranslateString()
1958 StrAllocCopy(result, string); in LYParseTagParam()
2025 StrAllocCopy(http_equiv, value[HTML_META_HTTP_EQUIV]); in LYHandleMETA()
[all …]
DLYNews.c151 StrAllocCopy(NewsGroups, newsgroups); in LYNewsPost()
156 StrAllocCopy(References, cp); in LYNewsPost()
158 StrAllocCopy(References, "<"); in LYNewsPost()
257 StrAllocCopy(cp, "Organization: "); in LYNewsPost()
451 StrAllocCopy(postfile, CJKfile); in LYNewsPost()
457 StrAllocCopy(postfile, my_tempfile); in LYNewsPost()
460 StrAllocCopy(postfile, my_tempfile); in LYNewsPost()
DLYPrint.c93 StrAllocCopy(envbuffer, value); in set_environ()
95 StrAllocCopy(envbuffer, no_value); in set_environ()
104 StrAllocCopy(envbuffer, names[name]); in set_environ()
122 StrAllocCopy(sug_filename, HText_getSugFname()); /* must be freed */ in suggested_filename()
124 StrAllocCopy(sug_filename, newdoc->address); /* must be freed */ in suggested_filename()
547 StrAllocCopy(subject, "HEAD "); in send_file_to_mail()
1049 StrAllocCopy(link_info, newdoc->address + 12); in printfile()
1069 StrAllocCopy(content_base, HText_getContentBase()); in printfile()
1081 StrAllocCopy(content_location, HText_getContentLocation()); in printfile()
1089 StrAllocCopy(content_base, content_location); in printfile()
[all …]
DLYReadCFG.c301 StrAllocCopy(cur_item->menu_name, cur_item->command); in add_item_to_list()
484 StrAllocCopy(temp_fg, fg); in parse_color()
561 StrAllocCopy(UCAssume_MIMEcharset, in assume_charset_fun()
628 StrAllocCopy(temp_fg, fg); in assumed_color_fun()
702 StrAllocCopy(editor, value); in default_editor_fun()
858 StrAllocCopy(LynxSigFile, temp); in lynx_sig_file_fun()
860 StrAllocCopy(LynxSigFile, temp); in lynx_sig_file_fun()
910 StrAllocCopy(rulesfile1, value); in cern_rulesfile_fun()
914 StrAllocCopy(rulesfile2, value); in cern_rulesfile_fun()
952 StrAllocCopy(startfile, value); in startfile_fun()
[all …]
/mirbsd/src/gnu/usr.bin/lynx/WWW/Library/Implementation/
DHTNews.c185 StrAllocCopy(auth->host, the_host); in load_NNTP_AuthInfo()
186 StrAllocCopy(auth->pass, the_pass); in load_NNTP_AuthInfo()
187 StrAllocCopy(auth->user, the_user); in load_NNTP_AuthInfo()
203 StrAllocCopy(HTNewsHost, value); in HTSetNewsHost()
237 StrAllocCopy(HTNewsHost, DEFAULT_NEWS_HOST); in initialize()
241 StrAllocCopy(HTNewsHost, cp); in initialize()
246 StrAllocCopy(HTNewsHost, LYGetEnv("NNTPSERVER")); in initialize()
260 StrAllocCopy(HTNewsHost, server_name); in initialize()
268 StrAllocCopy(HTNewsHost, DEFAULT_NEWS_HOST); in initialize()
460 StrAllocCopy(auth->host, host); in HTHandleAuthInfo()
[all …]
DHTRules.c99 StrAllocCopy(pEquiv, equiv); in HTAddRule()
105 StrAllocCopy(temp->condition_op, cond_op); in HTAddRule()
106 StrAllocCopy(temp->condition, cond); in HTAddRule()
108 StrAllocCopy(pPattern, pattern); in HTAddRule()
224 StrAllocCopy(current, required); in HTTranslate()
270 StrAllocCopy(local_copy, r->equiv); in HTTranslate()
332 StrAllocCopy(temp, "NoProxy="); in HTTranslate()
347 StrAllocCopy(current, r->equiv); /* use entire translation */ in HTTranslate()
368 StrAllocCopy(temp, r->equiv); in HTTranslate()
379 StrAllocCopy(temp, "NoProxy="); in HTTranslate()
[all …]
DHTFTP.c440 StrAllocCopy(help_message_buffer, string); in help_message_cache_add()
880 StrAllocCopy(last_username_and_host, tmp); in get_connection()
951 StrAllocCopy(anchor->server, cp); in get_connection()
982 StrAllocCopy(user, the_address); in get_connection()
1600 StrAllocCopy(info->filename, cp + 1); in parse_eplf_line()
1614 StrAllocCopy(info->date, ct); in parse_eplf_line()
1617 StrAllocCopy(info->type, ENTRY_IS_DIRECTORY); in parse_eplf_line()
1650 StrAllocCopy(entry->date, &line[i - 12]); in parse_ls_line()
1668 StrAllocCopy(entry->filename, &line[i + 1]); in parse_ls_line()
1679 StrAllocCopy(entry->file_mode, line); in parse_ls_line()
[all …]
DHTAABrow.c208 StrAllocCopy(server->hostname, hostname); in HTAAServer_new()
408 StrAllocCopy(setup->ctemplate, ctemplate); in HTAASetup_new()
531 StrAllocCopy(realm->realmname, realmname); in HTAARealm_new()
536 StrAllocCopy(realm->username, username); in HTAARealm_new()
538 StrAllocCopy(realm->password, password); in HTAARealm_new()
641 StrAllocCopy(username, realm->username); in compose_auth_string()
660 StrAllocCopy(compose_auth_stringResult, ""); in compose_auth_string()
671 StrAllocCopy(secret_key, HTAA_generateRandomKey()); in compose_auth_string()
847 StrAllocCopy(HTAA_composeAuthResult, HTAAForwardAuth); in HTAA_composeAuth()
873 StrAllocCopy(proxy_hostname, hostname); in HTAA_composeAuth()
[all …]
DHTAAProt.c171 StrAllocCopy(local_copy, ids); in HTAA_setIds()
175 StrAllocCopy(prot->gid_name, point); in HTAA_setIds()
177 StrAllocCopy(prot->gid_name, "nogroup"); in HTAA_setIds()
179 StrAllocCopy(prot->uid_name, local_copy); in HTAA_setIds()
182 StrAllocCopy(prot->uid_name, "nobody"); in HTAA_setIds()
183 StrAllocCopy(prot->gid_name, "nogroup"); in HTAA_setIds()
213 StrAllocCopy(fieldname, HTlex_buffer); in HTAA_parseProtFile()
369 StrAllocCopy(cache_item->prot_filename, prot_filename); in HTAAProt_new()
379 StrAllocCopy(prot->filename, cur_docname); in HTAAProt_new()
582 StrAllocCopy(data->name, name); in save_gid_info()
[all …]
DHTAccess.c431 StrAllocCopy(physical, addr); in get_physical()
466 StrAllocCopy(Server_addr, "news://"); in get_physical()
472 StrAllocCopy(Server_addr, "news://"); in get_physical()
483 StrAllocCopy(Server_addr, "wais://"); in get_physical()
489 StrAllocCopy(Server_addr, addr); in get_physical()
491 StrAllocCopy(Server_addr, addr); in get_physical()
529 StrAllocCopy(gatewayed, proxy); in get_physical()
625 StrAllocCopy(UCAssume_MIMEcharset, pushed_assume_MIMEname); in LYUCPushAssumed()
627 StrAllocCopy(UCAssume_MIMEcharset, anchor_UCI->MIMEname); in LYUCPushAssumed()
827 StrAllocCopy(use_this_url_instead, cp + 9); in HTLoadDocument()
[all …]
DHTMIME.c272 StrAllocCopy(me->anchor->content_encoding, new_encoding); in pumpData()
274 StrAllocCopy(me->compression_encoding, new_encoding); in pumpData()
277 StrAllocCopy(me->anchor->content_type_params, me->value); in pumpData()
286 StrAllocCopy(cp, HTAtom_name(me->format)); in pumpData()
306 StrAllocCopy(cp3, cp2); /* copy to mutilate more */ in pumpData()
318 StrAllocCopy(me->anchor->charset, cp4); in pumpData()
347 StrAllocCopy(me->anchor->charset, cp4); in pumpData()
437 StrAllocCopy(me->anchor->charset, cp4); in pumpData()
484 StrAllocCopy(me->anchor->content_type, in pumpData()
634 StrAllocCopy(me->anchor->cache_control, me->value); in dispatchField()
[all …]
DHTFile.c189 StrAllocCopy(*bufp, entry); in FormatStr()
207 StrAllocCopy(*bufp, fmt); in FormatSize()
223 StrAllocCopy(*bufp, fmt); in FormatNum()
287 StrAllocCopy(str, fmtstr); in LYListFmtParse()
560 StrAllocCopy(suff->suffix, suffix); in HTSetSuffix5()
574 StrAllocCopy(suff->desc, desc); in HTSetSuffix5()
665 StrAllocCopy(path, name); in HTURLPath_toFile()
673 StrAllocCopy(result, is_remote ? path : HTDOS_name(path)); in HTURLPath_toFile()
675 StrAllocCopy(result, path); in HTURLPath_toFile()
717 StrAllocCopy(result, HTSYS_name(path)); in HTnameOfFile_WWW()
[all …]
DHTAnchor.c92 StrAllocCopy(newAnchor->address, address); in HTParentAnchor0_new()
261 StrAllocCopy(child->tag, tag); /* should be set before HTBTree_add */ in HTAnchor_findNamedChild()
492 StrAllocCopy(p->post_content_type, in HTAnchor_findAddress_in_adult_table()
495 StrAllocCopy(p->bookmark, newdoc->bookmark); in HTAnchor_findAddress_in_adult_table()
877 StrAllocCopy(addr, me->parent->address); in HTAnchor_address()
903 StrAllocCopy(me->isIndexAction, address); in HTAnchor_setIndex()
911 StrAllocCopy(me->isIndexPrompt, prompt); in HTAnchor_setPrompt()
944 StrAllocCopy(me->style, style); in HTAnchor_setStyle()
963 StrAllocCopy(me->title, title); in HTAnchor_setTitle()
1009 StrAllocCopy(me->bookmark, bookmark); in HTAnchor_setBookmark()
[all …]

123