| /mirbsd/src/gnu/usr.bin/lynx/WWW/Library/Implementation/ |
| D | HTRules.c | 404 if (r->equiv && 0 == strcasecomp(r->equiv, "none")) { in HTTranslate() 489 if (0 == strcasecomp(word1, "defprot") || in HTSetConfiguration() 490 0 == strcasecomp(word1, "protect")) in HTSetConfiguration() 501 if (0 == strcasecomp(word1, "suffix")) { in HTSetConfiguration() 512 } else if (0 == strcasecomp(word1, "presentation")) { in HTSetConfiguration() 546 op = 0 == strcasecomp(word1, "map") ? HT_Map in HTSetConfiguration() 547 : 0 == strcasecomp(word1, "pass") ? HT_Pass in HTSetConfiguration() 548 : 0 == strcasecomp(word1, "fail") ? HT_Fail in HTSetConfiguration() 549 : 0 == strcasecomp(word1, "redirect") ? HT_Redirect in HTSetConfiguration() 551 : 0 == strcasecomp(word1, "redirecttemp") ? HT_Redirect in HTSetConfiguration() [all …]
|
| D | HTParse.c | 165 if ((!parts->host && strcasecomp(parts->access, "lynxcgi")) || in scan() 166 !strcasecomp(parts->access, "nntp") || in scan() 167 !strcasecomp(parts->access, "snews") || in scan() 168 !strcasecomp(parts->access, "news") || in scan() 169 !strcasecomp(parts->access, "data")) { in scan() 591 if (!strcasecomp(acc_method, "nntp") || in HTParse() 592 (!strcasecomp(acc_method, "news") && in HTParse() 600 if (!strcasecomp(acc_method, "snews")) { in HTParse()
|
| D | HTAAUtil.c | 145 if (0 == strcasecomp(name, "GET")) in HTAAMethod_enum() 147 else if (0 == strcasecomp(name, "PUT")) in HTAAMethod_enum() 291 if (strcasecomp(p, q + m)) in HTAA_templateCaseMatch()
|
| D | HTFile.c | 714 if ((0 == strcasecomp(host, HTHostName())) || in HTnameOfFile_WWW() 715 (0 == strcasecomp(host, "localhost")) || !*host) { in HTnameOfFile_WWW() 912 if ((ls <= lf) && 0 == strcasecomp(suff->suffix, filename + lf - ls)) { in HTFileFormat() 1249 && !strcasecomp((ftype - 3), "bz2") in HTCompressFileType() 1254 && !strcasecomp((ftype - 2), "gz") in HTCompressFileType() 1259 && !strcasecomp((ftype - 2), "zz") in HTCompressFileType() 1347 } else if (!strcasecomp(coding, "gzip") || in HTEncodingToCompressType() 1348 !strcasecomp(coding, "x-gzip")) { in HTEncodingToCompressType() 1350 } else if (!strcasecomp(coding, "compress") || in HTEncodingToCompressType() 1351 !strcasecomp(coding, "x-compress")) { in HTEncodingToCompressType() [all …]
|
| D | HTString.h | 30 #define AS_casecomp( a, b ) ( strcasecomp( ( a ), ( b ) ) ) 48 extern int strcasecomp(const char *a, const char *b);
|
| D | HTNews.c | 1279 if (followupto && !strcasecomp(followupto, "poster")) { in read_article() 1675 strcasecomp((line + (i - len)), pattern)))) { in read_list() 1690 strcasecomp((line + (i - len)), pattern)))) { in read_list() 2231 if (s >= 0 && NewsHost && strcasecomp(NewsHost, HTNewsHost)) { in HTLoadNews() 2237 if (s >= 0 && NewsHost && strcasecomp(NewsHost, cp)) { in HTLoadNews() 2288 if (s >= 0 && NewsHost && strcasecomp(NewsHost, HTNewsHost)) { in HTLoadNews() 2294 if (s >= 0 && NewsHost && strcasecomp(NewsHost, cp)) { in HTLoadNews() 2322 if (s >= 0 && NewsHost && strcasecomp(NewsHost, HTNewsHost)) { in HTLoadNews() 2328 if (s >= 0 && NewsHost && strcasecomp(NewsHost, cp)) { in HTLoadNews() 2356 if (s >= 0 && NewsHost && strcasecomp(NewsHost, HTNewsHost)) { in HTLoadNews() [all …]
|
| D | HTAtom.c | 73 if (0 == strcasecomp(a->name, string)) { in HTAtom_for()
|
| D | HTAABrow.c | 1090 0 == strcasecomp(fieldname, "Proxy-Authenticate:")) || in HTAA_shouldRetryWithAuth() 1092 0 == strcasecomp(fieldname, "WWW-Authenticate:"))) { in HTAA_shouldRetryWithAuth() 1129 0 == strcasecomp(fieldname, "WWW-Protection-Template:")) { in HTAA_shouldRetryWithAuth()
|
| D | HTMIME.c | 236 if (actual != 0 && !strcasecomp(actual, expected)) { in UncompressedContentType() 751 !strcasecomp(me->value, "identity")) in dispatchField() 971 if (!strcasecomp(me->value, "YES") || in dispatchField() 972 !strcasecomp(me->value, "TRUE")) { in dispatchField() 974 } else if (!strcasecomp(me->value, "NO") || in dispatchField() 975 !strcasecomp(me->value, "FALSE")) { in dispatchField()
|
| D | HTFormat.c | 572 && strcasecomp(s, "www/mime") in HTFilterPresentations() 573 && strcasecomp(s, "www/compressed") in HTFilterPresentations() 580 if (!strcasecomp(s, t)) { in HTFilterPresentations()
|
| D | SGML.c | 514 current_is_class = (!strcasecomp("class", s)); in handle_attribute_name() 1034 if (context->inSELECT && !strcasecomp(stacked->tag->name, "SELECT")) { in do_close_stacked() 1121 if (!strcasecomp(old_tag->name, "SELECT")) { in end_element() 1315 if (strcasecomp(new_tag->name, "OPTION")) { in start_element() 1409 if (!strcasecomp((*res)->name, s)) in SGMLFindTag() 2996 string->size == 4 && 0 == strcasecomp(string->data, "URL")) || in SGML_character() 3941 if (strcasecomp(string->data, "FORM")) { in SGML_character() 3968 } else if (!strcasecomp(string->data, "P")) { in SGML_character()
|
| D | HTFTP.c | 630 0 == strcasecomp(cmd, "CDUP"))) { in response() 1465 if (!strcasecomp(month, months[i])) { in set_years_and_date() 2178 if ((0 == strcasecomp(cp, "DIR")) && (cp - line) > 17) { in parse_cms_dir_entry() 2625 if (!strcasecomp(month, months[i])) { in formatDate() 2666 status = strcasecomp(entry1->type, entry2->type); in compare_EntryInfo_structs() 2687 status = strcasecomp(date2, date1); in compare_EntryInfo_structs()
|
| D | HTAccess.c | 459 if (!strcasecomp(acc_method, "news")) { in get_physical() 476 } else if (!strcasecomp(acc_method, "wais")) { in get_physical()
|
| /mirbsd/src/gnu/usr.bin/lynx/src/ |
| D | LYmktime.c | 30 #define strcasecomp strcasecmp macro 138 if (!strcasecomp(temp, "Apr")) { in LYmktime() 140 } else if (!strcasecomp(temp, "Aug")) { in LYmktime() 147 if (!strcasecomp(temp, "Dec")) { in LYmktime() 154 if (!strcasecomp(temp, "Feb")) { in LYmktime() 161 if (!strcasecomp(temp, "Jan")) { in LYmktime() 163 } else if (!strcasecomp(temp, "Jun")) { in LYmktime() 165 } else if (!strcasecomp(temp, "Jul")) { in LYmktime() 172 if (!strcasecomp(temp, "Mar")) { in LYmktime() 174 } else if (!strcasecomp(temp, "May")) { in LYmktime() [all …]
|
| D | UCdomap.c | 1542 !strcasecomp(value, LYCharSet_UC[i].MIMEname)) { in UCGetLYhndl_byMIME() 1551 if (!strcasecomp(value, "unicode-1-1-utf-8") || in UCGetLYhndl_byMIME() 1552 !strcasecomp(value, "utf8")) { in UCGetLYhndl_byMIME() 1562 if (!strcasecomp(value, "iso-8859-8-i") || in UCGetLYhndl_byMIME() 1563 !strcasecomp(value, "iso-8859-8-e")) { in UCGetLYhndl_byMIME() 1567 if (!strcasecomp(value, "x-euc-jp") || in UCGetLYhndl_byMIME() 1568 !strcasecomp(value, "eucjp")) { in UCGetLYhndl_byMIME() 1573 if ((!strcasecomp(value, "x-shift-jis")) || in UCGetLYhndl_byMIME() 1574 (!strcasecomp(value, "x-sjis")) || in UCGetLYhndl_byMIME() 1575 (!strcasecomp(value, "pck"))) { in UCGetLYhndl_byMIME() [all …]
|
| D | HTML.c | 1336 (!strcasecomp("made", value[HTML_LINK_REV]) || in HTML_start_element() 1337 !strcasecomp("owner", value[HTML_LINK_REV]))) || in HTML_start_element() 1340 (!strcasecomp("author", value[HTML_LINK_REL]))))) { in HTML_start_element() 1380 if (!strcasecomp(value[HTML_LINK_REL], "StyleSheet") || in HTML_start_element() 1381 !strcasecomp(value[HTML_LINK_REL], "Style")) { in HTML_start_element() 1399 if (!strcasecomp(value[HTML_LINK_REL], "Home") || in HTML_start_element() 1400 !strcasecomp(value[HTML_LINK_REL], "ToC") || in HTML_start_element() 1401 !strcasecomp(value[HTML_LINK_REL], "Contents") || in HTML_start_element() 1402 !strcasecomp(value[HTML_LINK_REL], "Index") || in HTML_start_element() 1403 !strcasecomp(value[HTML_LINK_REL], "Glossary") || in HTML_start_element() [all …]
|
| D | HTFWriter.c | 204 (!strcasecomp(&path[len - 2], "gz") || in HTFWriter_free() 205 !strcasecomp(&path[len - 2], "zz"))) { in HTFWriter_free() 215 } else if (len > 4 && !strcasecomp(&path[len - 3], "bz2")) { in HTFWriter_free() 225 } else if (len > 2 && !strcasecomp(&path[len - 1], "Z")) { in HTFWriter_free() 701 if (!strcasecomp(pres->rep->name, "text/html")) { in HTSaveAndExecute() 857 if (!strcasecomp(pres->rep->name, "text/html")) { in HTSaveToFile() 878 0 == strcasecomp(pres->rep->name, "application/postscript") || in HTSaveToFile() 879 0 == strcasecomp(pres->rep->name, "application/x-RUNOFF-MANUAL")) in HTSaveToFile() 1029 if (!strcasecomp(Pnow->rep->name, anchor->content_type) && in HTCompressed() 1095 !strcasecomp(pres->rep_out->name, "www/download") || /* download */ in HTCompressed() [all …]
|
| D | LYUtils.h | 54 #define LYSameFilename(a,b) (!strcasecomp(a,b)) 55 #define LYSameHostname(a,b) (!strcasecomp(a,b)) 61 #define LYSameFilename(a,b) (!strcasecomp(a,b)) 62 #define LYSameHostname(a,b) (!strcasecomp(a,b)) 68 #define LYSameFilename(a,b) (!strcasecomp(a,b)) 69 #define LYSameHostname(a,b) (!strcasecomp(a,b))
|
| D | LYReadCFG.c | 53 if (!strcasecomp(string, "TRUE") || !strcasecomp(string, "ON")) in is_true() 221 if (!strcasecomp(last_colon + 1, "XWINDOWS")) { in add_item_to_list() 229 else if (!strcasecomp(last_colon + 1, "NON_XWINDOWS")) { in add_item_to_list() 397 if (!strcasecomp(color, "default")) { in check_color() 405 if (!strcasecomp(color, "nocolor")) in check_color() 409 if (!strcasecomp(color, Color_Strings[i])) { in check_color() 805 if (!success && strcasecomp(efunc, "PASS!") == 0) { in keymap_fun() 1055 if (!strcasecomp(optn, "NO_BUILTIN")) { in suffix_order_fun() 1057 } else if (!strcasecomp(optn, "PRECEDENCE_HERE")) { in suffix_order_fun() 1059 } else if (!strcasecomp(optn, "PRECEDENCE_OTHER")) { in suffix_order_fun() [all …]
|
| D | LYrcFile.c | 194 if (!strcasecomp(table->name, name)) { in LYgetEnum() 258 if (!strcasecomp(value, LYCharSet_UC[i].MIMEname)) { in get_assume_charset() 646 && (0 == strcasecomp(name, tbl->name))) in lookup_config() 700 if (!strcasecomp(value, tbl->strings[n])) { in LYsetRcValue() 733 if (!strcasecomp(name, MBM_line)) { in LYsetRcValue() 1065 if (!strcasecomp(value, tbl->name)) { in enable_lynxrc()
|
| D | LYCharUtils.c | 2085 (!strcasecomp(NonNull(http_equiv), "Content-Type") && content))) { in LYHandleMETA() 2281 if (!strcasecomp(NonNull(http_equiv), "Pragma") || in LYHandleMETA() 2282 !strcasecomp(NonNull(http_equiv), "Cache-Control")) { in LYHandleMETA() 2285 if (!strcasecomp(content, "no-cache")) { in LYHandleMETA() 2296 !strcasecomp(NonNull(http_equiv), "Cache-Control")) { in LYHandleMETA() 2342 } else if (!strcasecomp(NonNull(http_equiv), "Expires")) { in LYHandleMETA() 2384 } else if (!strcasecomp(NonNull(http_equiv), "Refresh")) { in LYHandleMETA() 2502 !strcasecomp((http_equiv ? in LYHandleMETA() 2544 } else if (!strcasecomp(NonNull(http_equiv), "Set-Cookie")) { in LYHandleMETA() 2655 if (!strcasecomp(value[align_idx], "center") && in LYHandlePlike() [all …]
|
| D | LYCurses.c | 250 if (!strcasecomp(Mono_Attrs[i].name, name)) { in string_to_attr() 1958 !strcasecomp(terminal, "network") || in dumbterm() 1959 !strcasecomp(terminal, "unknown") || in dumbterm() 1960 !strcasecomp(terminal, "dialup") || in dumbterm() 1961 !strcasecomp(terminal, "dumb") || in dumbterm() 1962 !strcasecomp(terminal, "switch") || in dumbterm() 1963 !strcasecomp(terminal, "ethernet")) in dumbterm()
|
| D | LYCookie.c | 239 if (!strcasecomp(value, domain)) { in domain_matches() 248 && !strcasecomp(value + offset, domain)) { in domain_matches() 341 if (!strcasecomp(find, de->ddomain)) { in find_domain_entry() 437 if (strcasecomp(co->domain, hostname) != 0) { in store_cookie() 607 !strcasecomp(co->ddomain, c2->ddomain) && in store_cookie() 984 value[1] != '\0' && strcasecomp(value, hostname)) { in parse_attribute()
|
| D | LYMain.c | 1420 !strcasecomp((LYGetEnv("USER") == NULL ? " " : LYGetEnv("USER")), in main() 2702 if (i < 0 && !strcasecomp(next_arg, "auto")) in display_charset_fun() 2933 if (strcasecomp(next_arg, "initially") == 0) in nozap_fun() 4205 #define is_true(s) (*s == '1' || *s == '+' || !strcasecomp(s, "on") || !strcasecomp(s, "true")) 4206 #define is_false(s) (*s == '0' || *s == '-' || !strcasecomp(s, "off") || !strcasecomp(s, "false"))
|
| D | LYStyle.c | 368 if (!strcasecomp(element, table[n].name)) { in parse_style() 378 if (!strcasecomp(element, "normal")) { in parse_style()
|