Searched refs:strncasecmp (Results 1 - 25 of 43) sorted by relevance

12

/haiku/src/bin/
H A Dsafemode.c45 if (!strncasecmp(buffer, "true", size)
46 || !strncasecmp(buffer, "yes", size)
47 || !strncasecmp(buffer, "on", size)
48 || !strncasecmp(buffer, "enabled", size)) {
H A Dfstrim.cpp127 if (strncasecmp(buffer, "yes\n", bufferSize) == 0)
130 if (strncasecmp(buffer, "no\n", bufferSize) == 0
H A Dhey.cpp877 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 Dopen.cpp81 } else if (!strncasecmp("application/", *argv, 12)) {
/haiku/src/tests/system/libroot/posix/string/
H A Dcompare_test.cpp21 printf("strncasecmp(): %d\n", strncasecmp(a, b, 1));
/haiku/src/system/libroot/posix/string/
H A Dstrcasestr.c63 } while (strncasecmp(s, find, len) != 0);
H A Dstrcasecmp.c57 strncasecmp(const char *s1, const char *s2, size_t n) function
/haiku/headers/posix/
H A Dstrings.h20 extern int strncasecmp(const char *string1, const char *string2,
/haiku/src/system/libnetwork/netresolv/nameser/
H A Dns_samedomain.c109 return (strncasecmp(a, b, lb) == 0);
149 return (strncasecmp(cp, b, lb) == 0);
/haiku/src/system/libroot/posix/musl/time/
H A Dstrptime.c107 if (!strncasecmp(s, ex, len)) {
114 if (!strncasecmp(s, ex, len)) {
204 if (strncasecmp(s, ex, len)) continue;
/haiku/src/libs/util/
H A Dtrimdomain.c79 if (strncasecmp(s + 1, domain, dlen) == 0) {
/haiku/src/add-ons/print/transports/ipp/
H A DIppURLConnection.cpp18 #define strnicmp strncasecmp
H A DIppSetupDlg.cpp125 || strncasecmp(content_type, "application/ipp", 15) == 0) {
H A DIppTransport.cpp110 if (content_type == NULL || strncasecmp(content_type, "application/ipp", 15) == 0) {
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DNoWindows.h51 #define _strnicmp strncasecmp
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.c2012 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 DWirelessNetworkMenuItem.cpp113 return strncasecmp(aNetwork.name, bNetwork.name, 32);
/haiku/headers/private/shared/
H A Dcpu_type.h102 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 DCommandActuators.cpp1529 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 Dstring.cpp211 return strncasecmp(string1, string2, length);
/haiku/src/bin/network/traceroute/
H A Das.c191 if (as == 0 && strncasecmp(buf, "origin:", 7) == 0) {
/haiku/src/kits/mail/
H A DMailComponent.cpp100 && (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 DContent.cpp243 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 Ddebug_builtin_commands.cpp248 if (strncasecmp(line + i, pattern, patternLen) == 0) {
/haiku/src/bin/network/telnet/
H A Dcommands.c1823 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)

Completed in 176 milliseconds

12