/haiku/src/bin/package/ |
H A D | package.cpp | 141 if (strcmp(arg, "zstd") == 0) { 143 } else if (strcmp(arg, "zlib") == 0) { 159 if (strcmp(command, "add") == 0) 162 if (strcmp(command, "checksum") == 0) 165 if (strcmp(command, "create") == 0) 168 if (strcmp(command, "dump") == 0) 171 if (strcmp(command, "extract") == 0) 174 if (strcmp(command, "list") == 0) 177 if (strcmp(command, "info") == 0) 180 if (strcmp(comman [all...] |
/haiku/src/tests/kits/support/bstring/ |
H A D | StringFormatAppendTest.cpp | 27 CPPUNIT_ASSERT(strcmp(string->String(), "some text") == 0); 35 CPPUNIT_ASSERT(strcmp(string->String(), "some text") == 0); 43 CPPUNIT_ASSERT(strcmp(string->String(), "string") == 0); 50 CPPUNIT_ASSERT(strcmp(string->String(), "level 42") == 0); 56 CPPUNIT_ASSERT(strcmp(string->String(), "error -1") == 0); 63 CPPUNIT_ASSERT(strcmp(string->String(), "number 296") == 0); 70 CPPUNIT_ASSERT(strcmp(string->String(), "102456") == 0); 77 CPPUNIT_ASSERT(strcmp(string->String(), "112456") == 0); 83 CPPUNIT_ASSERT(strcmp(string->String(), "-112475") == 0); 90 CPPUNIT_ASSERT(strcmp(strin [all...] |
H A D | StringEscapeTest.cpp | 26 CPPUNIT_ASSERT(strcmp(string1->String(), "/ab/cde/fghi") == 0); 33 CPPUNIT_ASSERT(strcmp(string1->String(), "") == 0); 40 CPPUNIT_ASSERT(strcmp(string1->String(), "abcdefghi") == 0); 47 CPPUNIT_ASSERT(strcmp(string1->String(), "n0ew0str0ing") == 0); 56 CPPUNIT_ASSERT(strcmp(string1->String(), "") == 0); 64 CPPUNIT_ASSERT(strcmp(string1->String(), "n0ew0str0ing") == 0); 71 CPPUNIT_ASSERT(strcmp(string1->String(), "anhgbhhgyfgtuhjkb") == 0); 78 CPPUNIT_ASSERT(strcmp(string1->String(), "") == 0); 85 CPPUNIT_ASSERT(strcmp(string1->String(), "/a/nh/g/bhhgy/fgtuhjkb/") == 0); 92 CPPUNIT_ASSERT(strcmp(string [all...] |
H A D | StringReplaceTest.cpp | 28 CPPUNIT_ASSERT(strcmp(str1->String(), "best string") == 0); 34 CPPUNIT_ASSERT(strcmp(str1->String(), "test string") == 0); 41 CPPUNIT_ASSERT(strcmp(str1->String(), "test swring") == 0); 47 CPPUNIT_ASSERT(strcmp(str1->String(), "test string") == 0); 54 CPPUNIT_ASSERT(strcmp(str1->String(), "iesi siring") == 0); 60 CPPUNIT_ASSERT(strcmp(str1->String(), "test string") == 0); 66 CPPUNIT_ASSERT(strcmp(str1->String(), "test string") == 0); 72 CPPUNIT_ASSERT(strcmp(str1->String(), "tesi siring") == 0); 79 CPPUNIT_ASSERT(strcmp(str1->String(), 86 CPPUNIT_ASSERT(strcmp(str [all...] |
H A D | StringAssignTest.cpp | 25 CPPUNIT_ASSERT(strcmp(string.String(), string2.String()) == 0); 26 CPPUNIT_ASSERT(strcmp(string.String(), "Something") == 0); 32 CPPUNIT_ASSERT(strcmp(str->String(), "Something Else") == 0); 41 CPPUNIT_ASSERT(strcmp(str->String(), "Something movable") == 0); 42 CPPUNIT_ASSERT(strcmp(movableString.String(), "") == 0); 51 CPPUNIT_ASSERT(strcmp(str->String(), "") == 0); 58 CPPUNIT_ASSERT(strcmp(str->String(), "") == 0); 64 CPPUNIT_ASSERT(strcmp(str->String(), "BLA") == 0); 71 CPPUNIT_ASSERT(strcmp(str->String(), string.String()) == 0); 78 CPPUNIT_ASSERT(strcmp(st [all...] |
H A D | StringCaseTest.cpp | 26 CPPUNIT_ASSERT(strcmp(string->String(), "This is a sentence") == 0); 32 CPPUNIT_ASSERT(strcmp(string->String(), "134this is a sentence") == 0); 38 CPPUNIT_ASSERT(strcmp(string->String(), "") == 0); 45 CPPUNIT_ASSERT(strcmp(string->String(), "1a2b3c4d5e6f7g") == 0); 51 CPPUNIT_ASSERT(strcmp(string->String(), "") == 0); 58 CPPUNIT_ASSERT(strcmp(string->String(), "1A2B3C4D5E6F7G") == 0); 64 CPPUNIT_ASSERT(strcmp(string->String(), "") == 0); 71 CPPUNIT_ASSERT(strcmp(string->String(), "Each Word 3Will_Be >Capitalized") == 0); 77 CPPUNIT_ASSERT(strcmp(string->String(), "") == 0);
|
H A D | StringAppendTest.cpp | 27 CPPUNIT_ASSERT(strcmp(str1->String(), "BASEAPPENDED") == 0); 35 CPPUNIT_ASSERT(strcmp(str1->String(), "BaseAPPENDED") == 0); 41 CPPUNIT_ASSERT(strcmp(str1->String(), "APPENDEDTONOTHING") == 0); 49 CPPUNIT_ASSERT(strcmp(str1->String(), "Base") == 0); 56 CPPUNIT_ASSERT(strcmp(str1->String(), "BaseC") == 0); 64 CPPUNIT_ASSERT(strcmp(str1->String(), "BASEAPPENDED") == 0); 72 CPPUNIT_ASSERT(strcmp(str1->String(), "BaseAPPENDED") == 0); 78 CPPUNIT_ASSERT(strcmp(str1->String(), "APPENDEDTONOTHING") == 0); 85 CPPUNIT_ASSERT(strcmp(str1->String(), "Base") == 0); 93 CPPUNIT_ASSERT(strcmp(str [all...] |
H A D | StringInsertTest.cpp | 26 CPPUNIT_ASSERT(strcmp(str1->String(), "StrINSERTEDing") == 0); 35 CPPUNIT_ASSERT(strcmp(str1->String(), "String") == 0); 42 CPPUNIT_ASSERT(strcmp(str1->String(), "NSERTED") == 0); 50 CPPUNIT_ASSERT(strcmp(str1->String(), "") == 0); 58 CPPUNIT_ASSERT(strcmp(str1->String(), "stINring") == 0); 67 CPPUNIT_ASSERT(strcmp(str1->String(), "string") == 0); 74 CPPUNIT_ASSERT(strcmp(str1->String(), "stINSERTEDring") == 0); 81 CPPUNIT_ASSERT(strcmp(str1->String(), "stRTEDring") == 0); 88 CPPUNIT_ASSERT(strcmp(str1->String(), "strPPPPPing") == 0); 95 CPPUNIT_ASSERT(strcmp(str [all...] |
H A D | StringRemoveTest.cpp | 28 CPPUNIT_ASSERT(strcmp(string1->String(), "This is a long") == 0); 36 CPPUNIT_ASSERT(strcmp(string1->String(), "This is a long") == 0); 47 CPPUNIT_ASSERT(strcmp(string1->String(), "") == 0); 56 CPPUNIT_ASSERT(strcmp(string1->String(), "This is a long string") == 0); 64 CPPUNIT_ASSERT(strcmp(string1->String(), "") == 0); 72 CPPUNIT_ASSERT(strcmp(string1->String(), "a ring") == 0); 79 CPPUNIT_ASSERT(strcmp(string1->String(), "") == 0); 86 CPPUNIT_ASSERT(strcmp(string1->String(), "a String") == 0); 93 CPPUNIT_ASSERT(strcmp(string1->String(), "a St") == 0); 99 CPPUNIT_ASSERT(strcmp(string [all...] |
H A D | StringPrependTest.cpp | 28 CPPUNIT_ASSERT(strcmp(str1->String(), "PREPENDEDa String") == 0); 36 CPPUNIT_ASSERT(strcmp(str1->String(), "PREPENDString") == 0); 43 CPPUNIT_ASSERT(strcmp(str1->String(), "String") == 0); 50 CPPUNIT_ASSERT(strcmp(str1->String(), "PREString") == 0); 58 CPPUNIT_ASSERT(strcmp(str1->String(), "PREPString") == 0); 66 CPPUNIT_ASSERT(strcmp(str1->String(), "ccccaString") == 0); 73 CPPUNIT_ASSERT(strcmp(str1->String(), "PREPENDED") == 0);
|
/haiku/src/tests/add-ons/print/ppd/model/ |
H A D | StatementWrapper.cpp | 39 return strcmp(GetKeyword(), kOpenUIStatement) == 0; 44 return strcmp(GetKeyword(), kOpenGroupStatement) == 0; 49 return strcmp(GetKeyword(), kOpenSubGroupStatement) == 0; 61 return strcmp(keyword, kOpenUIStatement) == 0 || 62 strcmp(keyword, kOpenGroupStatement) == 0 || 63 strcmp(keyword, kOpenSubGroupStatement) == 0 || 64 strcmp(keyword, kJCLOpenUIStatement) == 0; 71 return strcmp(keyword, kCloseUIStatement) == 0 || 72 strcmp(keyword, kCloseGroupStatement) == 0 || 73 strcmp(keywor [all...] |
/haiku/src/bin/ |
H A D | dpms.cpp | 27 if (!strcmp(argv[1], "on")) 29 else if (!strcmp(argv[1], "standby")) 31 else if (!strcmp(argv[1], "suspend")) 33 else if (!strcmp(argv[1], "off")) 35 else if (!strcmp(argv[1], "caps")) { 41 } else if (!strcmp(argv[1], "state")) {
|
H A D | isvolume.cpp | 51 if (!strcmp(argv[i], "--help")) { 57 if (strcmp(argv[i], "-readonly") == 0) 59 else if (strcmp(argv[i], "-query") == 0) 61 else if (strcmp(argv[i], "-attribute") == 0) 63 else if (strcmp(argv[i], "-mime") == 0) 65 else if (strcmp(argv[i], "-shared") == 0) 67 else if (strcmp(argv[i], "-persistent") == 0) 69 else if (strcmp(argv[i], "-removable") == 0) 71 else if (strcmp(argv[i], "-readonly-partion"))
|
/haiku/src/libs/glut/ |
H A D | glutDstr.cpp | 66 if(!strcmp(word, "alpha")) { 68 } else if((!strcmp(word, "acc")) || (!strcmp(word, "acca"))) { 70 } else if(!strcmp(word, "depth")) { 72 } else if(!strcmp(word, "double")) { 74 } else if(!strcmp(word, "stencil")) {
|
/haiku/src/bin/package_repo/ |
H A D | package_repo.cpp | 68 if (strcmp(command, "create") == 0) 71 if (strcmp(command, "list") == 0) 74 if (strcmp(command, "update") == 0) 77 if (strcmp(command, "help") == 0)
|
/haiku/src/tests/servers/debug/ |
H A D | crashing_app.cpp | 37 " segv2 - strcmp() using a 0x1 pointer\n" 78 return strcmp(str, "Test"); 152 if (strcmp(mode, "segv") == 0) { 154 } else if (strcmp(mode, "segv2") == 0) { 156 } else if (strcmp(mode, "div") == 0) { 158 } else if (strcmp(mode, "debugger") == 0) { 160 } else if (strcmp(mode, "assert") == 0) { 163 } else if (strcmp(mode, "int3") == 0) { 165 } else if (strcmp(mode, "protection") == 0) { 212 if (strcmp(ar [all...] |
/haiku/src/bin/debug/ |
H A D | kernel_debugger.cpp | 27 if (strcmp(argv[1], "-h") == 0 || strcmp(argv[1], "--help") == 0) {
|
/haiku/src/tests/system/libroot/posix/ |
H A D | tst-wcstof.c | 19 printf("\"%s\" -> %s\n", buf, strcmp(buf, "81 = 81.000000") == 0 ? "okay" 21 result |= strcmp(buf, "81 = 81.000000") != 0;
|
/haiku/src/servers/mail/ |
H A D | main.cpp | 18 if (strcmp(argv[i], "-E") == 0) { 22 if (strcmp(argv[i], "-M") == 0)
|
/haiku/src/bin/media_client/ |
H A D | media_client.cpp | 33 if (strcmp(argv[1], "play") == 0) { 38 } else if (strcmp(argv[1], "test") == 0)
|
/haiku/src/preferences/notifications/ |
H A D | AppRefFilter.cpp | 29 bool isSymlink = strcmp("application/x-vnd.Be-symlink", filetype) == 0; 51 if (strcmp("application/x-vnd.Be-directory", constFileType) == 0) 54 else if (strcmp("application/x-vnd.Be-volume", constFileType) == 0) 57 else if (strcmp("application/x-vnd.Be-elfexecutable", constFileType) == 0) 60 else if (strcmp("application/x-vnd.be-elfexecutable", constFileType) == 0)
|
/haiku/src/apps/haikudepot/model/ |
H A D | Logger.cpp | 49 if (strcmp(name, "off") == 0) { 51 } else if (strcmp(name, "info") == 0) { 53 } else if (strcmp(name, "debug") == 0) { 55 } else if (strcmp(name, "trace") == 0) { 57 } else if (strcmp(name, "error") == 0) {
|
/haiku/src/apps/cortex/Persistence/Wrappers/ |
H A D | MediaFormatIO.cpp | 341 if(!strcmp(value, "B_RGB32")) 343 else if(!strcmp(value, "B_RGBA32")) 345 else if(!strcmp(value, "B_RGB24")) 347 else if(!strcmp(value, "B_RGB16")) 349 else if(!strcmp(value, "B_RGB15")) 351 else if(!strcmp(value, "B_RGBA15")) 353 else if(!strcmp(value, "B_CMAP8")) 355 else if(!strcmp(value, "B_GRAY8")) 357 else if(!strcmp(value, "B_GRAY1")) 359 else if(!strcmp(valu [all...] |
/haiku/src/bin/rc/ |
H A D | rc.cpp | 137 return strcmp(name + nameLength - extLength, ext) == 0; 168 if (strcmp(argv[i], "-o") == 0 169 || strcmp(argv[i], "--output") == 0) { 178 } else if (strcmp(argv[i], "-I") == 0 179 || strcmp(argv[i], "--include") == 0) { 188 } else if (strcmp(argv[i], "-d") == 0 189 || strcmp(argv[i], "--decompile") == 0) { 193 } else if (strcmp(argv[i], "-m") == 0 194 || strcmp(argv[i], "--merge") == 0) { 198 } else if (strcmp(arg [all...] |
/haiku/src/apps/terminal/ |
H A D | Arguments.cpp | 55 if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) 57 else if (strcmp(arg, "-t") == 0 || strcmp(arg, "--title") == 0) { 63 } else if (strcmp(arg, "-w") == 0 64 || strcmp(arg, "--working-directory") == 0) { 69 } else if (strcmp(arg, "-f") == 0 70 || strcmp(arg, "--fullscreen") == 0)
|