/haiku/src/bin/ |
H A D | safemode.c | 45 if (!strncasecmp(buffer, "true", size) 46 || !strncasecmp(buffer, "yes", size) 47 || !strncasecmp(buffer, "on", size) 48 || !strncasecmp(buffer, "enabled", size)) {
|
H A D | fstrim.cpp | 127 if (strncasecmp(buffer, "yes\n", bufferSize) == 0) 130 if (strncasecmp(buffer, "no\n", bufferSize) == 0
|
H A D | hey.cpp | 877 if (strncasecmp(valuestring, "int8", strlen("int8")) == 0) 879 else if (strncasecmp(valuestring, "int16", strlen("int16")) == 0) 881 else if (strncasecmp(valuestring, "int32", strlen("int32")) == 0) 883 else if (strncasecmp(valuestring, "int64", strlen("int64")) == 0) 885 else if (strncasecmp(valuestring, "bool", strlen("bool")) == 0) { 886 if (strncasecmp(valuestring + strlen("bool("), "true", 4) == 0) 888 else if (strncasecmp(valuestring + strlen("bool("), "false", 5) == 0) 892 } else if (strncasecmp(valuestring, "float", strlen("float")) == 0) 894 else if (strncasecmp(valuestring, "double", strlen("double")) == 0) 896 else if (strncasecmp(valuestrin [all...] |
H A D | open.cpp | 81 } else if (!strncasecmp("application/", *argv, 12)) {
|
/haiku/src/tests/system/libroot/posix/string/ |
H A D | compare_test.cpp | 21 printf("strncasecmp(): %d\n", strncasecmp(a, b, 1));
|
/haiku/src/system/libroot/posix/string/ |
H A D | strcasestr.c | 63 } while (strncasecmp(s, find, len) != 0);
|
H A D | strcasecmp.c | 57 strncasecmp(const char *s1, const char *s2, size_t n) function
|
/haiku/headers/posix/ |
H A D | strings.h | 20 extern int strncasecmp(const char *string1, const char *string2,
|
/haiku/src/system/libnetwork/netresolv/nameser/ |
H A D | ns_samedomain.c | 109 return (strncasecmp(a, b, lb) == 0); 149 return (strncasecmp(cp, b, lb) == 0);
|
/haiku/src/system/libroot/posix/musl/time/ |
H A D | strptime.c | 107 if (!strncasecmp(s, ex, len)) { 114 if (!strncasecmp(s, ex, len)) { 204 if (strncasecmp(s, ex, len)) continue;
|
/haiku/src/libs/util/ |
H A D | trimdomain.c | 79 if (strncasecmp(s + 1, domain, dlen) == 0) {
|
/haiku/src/add-ons/print/transports/ipp/ |
H A D | IppURLConnection.cpp | 18 #define strnicmp strncasecmp
|
H A D | IppSetupDlg.cpp | 125 || strncasecmp(content_type, "application/ipp", 15) == 0) {
|
H A D | IppTransport.cpp | 110 if (content_type == NULL || strncasecmp(content_type, "application/ipp", 15) == 0) {
|
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | NoWindows.h | 51 #define _strnicmp strncasecmp
|
/haiku/src/apps/poorman/libhttpd/ |
H A D | libhttpd.c | 2012 if ( strncasecmp( url, "http://", 7 ) == 0 ) 2102 if ( strncasecmp( buf, "Referer:", 8 ) == 0 ) 2108 else if ( strncasecmp( buf, "Referrer:", 9 ) == 0 ) 2114 else if ( strncasecmp( buf, "User-Agent:", 11 ) == 0 ) 2120 else if ( strncasecmp( buf, "Host:", 5 ) == 0 ) 2134 else if ( strncasecmp( buf, "Accept:", 7 ) == 0 ) 2157 else if ( strncasecmp( buf, "Accept-Encoding:", 16 ) == 0 ) 2180 else if ( strncasecmp( buf, "Accept-Language:", 16 ) == 0 ) 2186 else if ( strncasecmp( buf, "If-Modified-Since:", 18 ) == 0 ) 2193 else if ( strncasecmp( bu [all...] |
/haiku/src/apps/networkstatus/ |
H A D | WirelessNetworkMenuItem.cpp | 113 return strncasecmp(aNetwork.name, bNetwork.name, 32);
|
/haiku/headers/private/shared/ |
H A D | cpu_type.h | 102 if (!strncasecmp(&name[index], "Mobile ", 7)) { 111 if (!strncasecmp(&name[index], "(r)", 3)) { 115 } else if (!strncasecmp(&name[index], "(tm)", 4)) { 137 if (!strncasecmp(&name[index], kWords[i], length)) {
|
/haiku/src/add-ons/input_server/filters/shortcut_catcher/ |
H A D | CommandActuators.cpp | 1529 if (strncasecmp(typeStr, "string", 6) == 0) 1531 else if (strncasecmp(typeStr, "int8", 4) == 0) 1533 else if (strncasecmp(typeStr, "int16", 5) == 0) 1535 else if (strncasecmp(typeStr, "int32", 5) == 0) 1537 else if (strncasecmp(typeStr, "int64", 5) == 0) 1539 else if (strncasecmp(typeStr, "bool", 4) == 0) 1541 else if (strncasecmp(typeStr, "float", 5) == 0) 1543 else if (strncasecmp(typeStr, "double", 6) == 0) 1545 else if (strncasecmp(typeStr, "point", 5) == 0) 1547 else if (strncasecmp(typeSt [all...] |
/haiku/src/tools/fs_shell/ |
H A D | string.cpp | 211 return strncasecmp(string1, string2, length);
|
/haiku/src/bin/network/traceroute/ |
H A D | as.c | 191 if (as == 0 && strncasecmp(buf, "origin:", 7) == 0) {
|
/haiku/src/kits/mail/ |
H A D | MailComponent.cpp | 100 && (strncasecmp(disposition, "Attachment", strlen("Attachment")) == 0)) 374 if (typeAsString != NULL && strncasecmp(typeAsString, "multipart", 9) != 0) { 382 if (typeAsString != NULL && strncasecmp(typeAsString, "multipart", 9) == 0) {
|
/haiku/src/apps/mail/ |
H A D | Content.cpp | 243 if (!strncasecmp(a, (char *)newlineTags[i], length) && !isalnum(a[length])) { 251 if (!strncasecmp(a, "head", 4)) { // skip "head" completely 255 if (strncasecmp (a, "</head", 6) == 0 || 256 strncasecmp (a, "<body", 5) == 0) 1141 if (!strncasecmp(type, "text/", 5) && size > 0) { 1809 if (!strncasecmp(enclosure->name, 2487 if (!strncasecmp(header, "Reply-To: ", 10) 2488 || !strncasecmp(header, "To: ", 4) 2489 || !strncasecmp(header, "From: ", 6) 2490 || !strncasecmp(heade [all...] |
/haiku/src/system/kernel/debug/ |
H A D | debug_builtin_commands.cpp | 248 if (strncasecmp(line + i, pattern, patternLen) == 0) {
|
/haiku/src/bin/network/telnet/ |
H A D | commands.c | 1823 if (strncasecmp((char *)what, "status", len) == 0) { 1831 } else if (strncasecmp((char *)what, "auto", len) == 0) { 1835 } else if (strncasecmp((char *)what, "right", len) == 0) { 1839 } else if (strncasecmp((char *)what, "wrong", len) == 0) { 2768 if (strncasecmp(line, m1, l1) == 0) 2770 else if (strncasecmp(line, m2, l2) == 0) 2772 else if (strncasecmp(line, "DEFAULT", 7) == 0)
|