/haiku/src/tests/system/libroot/posix/string/ |
H A D | compare_test.cpp | 17 printf("strcmp(): %d\n", strcmp(a, b));
|
/haiku/src/bin/ |
H A D | tty.c | 38 if (!strcmp(argv[1], "-s"))
|
H A D | setversion.cpp | 57 if (!strcmp(str, "d") || !strcmp(str, "development")) 59 if (!strcmp(str, "a") || !strcmp(str, "alpha")) 61 if (!strcmp(str, "b") || !strcmp(str, "beta")) 63 if (!strcmp(str, "g") || !strcmp(str, "gamma")) 65 if (!strcmp(str, "gm") || !strcmp(st [all...] |
H A D | installsound.cpp | 48 if(strcmp(argv[1], "--list")==0) { 59 if(strcmp(argv[1], "--test")==0) { 67 } else if(strcmp(argv[1], "--clear")==0) { 75 } else if(strcmp(argv[1], "--remove")==0) {
|
H A D | mountvolume.cpp | 182 && strcmp(type, kPartitionTypeBFS) == 0) { 185 && strcmp(type, kPartitionTypeHFS) == 0) { 188 && (strcmp(type, kPartitionTypeFAT12) == 0 189 || strcmp(type, kPartitionTypeFAT32) == 0)) { 287 if (!strcmp(type, kPartitionTypeMultisession)) 289 else if (!strcmp(type, kPartitionTypeIntelExtended)) 397 } else if (strcmp(arg, "-s") == 0) { 399 } else if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) { 401 } else if (strcmp(ar [all...] |
H A D | alert.cpp | 91 if (!strcmp(option, "modal")) 93 else if (!strcmp(option, "empty") && !iconFlag) { 96 } else if (!strcmp(option, "info") && !iconFlag) { 99 } else if (!strcmp(option, "idea") && !iconFlag) { 102 } else if (!strcmp(option, "warning") && !iconFlag) { 105 } else if (!strcmp(option, "stop") && !iconFlag) {
|
H A D | draggers.cpp | 37 if (!strcmp(argv[i], "1") 42 else if (!strcmp(argv[i], "0")
|
/haiku/src/system/libroot/posix/string/ |
H A D | strcmp.c | 16 strcmp(char const *a, char const *b) function
|
H A D | strcoll.cpp | 34 return strcmp(a, b); 54 return strcmp(a, b);
|
/haiku/src/build/libbe/app/ |
H A D | AppMisc.cpp | 54 return (uname(&info) == 0 && strcmp(info.sysname, "Haiku") == 0);
|
/haiku/src/add-ons/kernel/file_systems/netfs/netfs_config/ |
H A D | netfs_config.cpp | 70 if (strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-h") == 0) { 81 if (strcmp(argv[2], "-a") == 0) { 83 } else if (strcmp(argv[2], "-r") == 0) {
|
/haiku/src/tests/kits/storage/testapps/ |
H A D | clipboard.cpp | 132 if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) { 134 } else if (strcmp(arg, "-c") == 0) { 151 if (uname(&unameInfo) < 0 || strcmp(unameInfo.sysname, "Haiku") != 0) 172 if (strcmp(command, "clear") == 0) { 177 } else if (strcmp(command, "dump") == 0) { 183 } else if (strcmp(command, "set") == 0) {
|
/haiku/src/tests/apps/miniterminal/ |
H A D | Arguments.cpp | 72 if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) { 75 } else if (strcmp(arg, "-l") == 0) { 86 } else if (strcmp(arg, "-s") == 0) { 98 } else if (strcmp(arg, "-t") == 0) {
|
/haiku/src/apps/cortex/RouteApp/ |
H A D | DormantNodeIO.cpp | 414 // if(!strcmp(data, "B_BUFFER_PRODUCER")) 416 // else if(!strcmp(data, "B_BUFFER_CONSUMER")) 418 // else if(!strcmp(data, "B_TIME_SOURCE")) 420 // else if(!strcmp(data, "B_CONTROLLABLE")) 422 // else if(!strcmp(data, "B_FILE_INTERFACE")) 424 // else if(!strcmp(data, "B_ENTITY_INTERFACE")) 426 // else if(!strcmp(data, "B_PHYSICAL_INPUT")) 428 // else if(!strcmp(data, "B_PHYSICAL_OUTPUT")) 430 // else if(!strcmp(data, "B_SYSTEM_MIXER")) 444 if(!strcmp(dat [all...] |
H A D | route_app_io.cpp | 119 if(!strcmp(data, "B_BUFFER_PRODUCER")) 121 else if(!strcmp(data, "B_BUFFER_CONSUMER")) 123 else if(!strcmp(data, "B_TIME_SOURCE")) 125 else if(!strcmp(data, "B_CONTROLLABLE")) 127 else if(!strcmp(data, "B_FILE_INTERFACE")) 129 else if(!strcmp(data, "B_ENTITY_INTERFACE")) 131 else if(!strcmp(data, "B_PHYSICAL_INPUT")) 133 else if(!strcmp(data, "B_PHYSICAL_OUTPUT")) 135 else if(!strcmp(data, "B_SYSTEM_MIXER")) 251 if(!strcmp(ke [all...] |
/haiku/src/add-ons/kernel/drivers/power/acpi_button/ |
H A D | acpi_button.cpp | 108 device->fixed = strcmp(hid, "PNP0C0C") != 0 && strcmp(hid, "PNP0C0E") != 0; 110 if (strcmp(hid, "PNP0C0C") == 0 || strcmp(hid, "ACPI_FPB") == 0) 112 else if (strcmp(hid, "PNP0C0E") == 0 || strcmp(hid, "ACPI_FSB") == 0) 264 if (strcmp(bus, "acpi")) 275 false) != B_OK || (strcmp(hid, "PNP0C0C") != 0 276 && strcmp(hid, "ACPI_FPB") != 0 && strcmp(hi [all...] |
/haiku/src/add-ons/kernel/busses/i2c/pch/ |
H A D | pch_i2c_acpi.cpp | 187 if (strcmp(bus, "acpi") != 0) 209 if (strcmp(name, "INT33C2") == 0 210 || strcmp(name, "INT33C3") == 0 211 || strcmp(name, "INT3432") == 0 212 || strcmp(name, "INT3433") == 0 213 || strcmp(name, "INT3442") == 0 214 || strcmp(name, "INT3443") == 0 215 || strcmp(name, "INT3444") == 0 216 || strcmp(name, "INT3445") == 0 217 || strcmp(nam [all...] |
/haiku/src/bin/listdev/ |
H A D | listdev.cpp | 192 if (!strcmp(attr.name, B_DEVICE_BUS) 195 } else if (!strcmp(attr.name, "scsi/path_id") 198 } else if (!strcmp(attr.name, B_DEVICE_TYPE) 201 else if (!strcmp(attr.name, B_DEVICE_SUB_TYPE) 204 else if (!strcmp(attr.name, B_DEVICE_INTERFACE) 207 else if (!strcmp(attr.name, B_DEVICE_VENDOR_ID) 210 else if (!strcmp(attr.name, B_DEVICE_ID) 213 else if (!strcmp(attr.name, SCSI_DEVICE_TARGET_LUN_ITEM) 216 else if (!strcmp(attr.name, SCSI_DEVICE_TARGET_ID_ITEM) 219 else if (!strcmp(att [all...] |
/haiku/src/tests/add-ons/kernel/debugger/ |
H A D | c++filt.cpp | 124 if (strcmp(argv[1], "-h") == 0 || strcmp(argv[1], "--help") == 0) { 127 } else if (strcmp(argv[1], "-m") == 0) { 129 } else if (strcmp(argv[1], "--no-gcc2") == 0) { 131 } else if (strcmp(argv[1], "-u") == 0) { 133 } else if (strcmp(argv[1], "--") == 0) {
|
/haiku/src/tests/add-ons/accelerants/intel_extreme/ |
H A D | intel_reg.cpp | 59 if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) { 61 } else if (strcmp(arg, "--count") == 0) { 80 if (strcmp(programArgs[0], "read") == 0) { 84 if (strcmp(arg, "--count") == 0) { 95 } else if (strcmp(programArgs[0], "write") == 0) {
|
/haiku/src/apps/screenshot/ |
H A D | Screenshot.cpp | 65 if (strcmp(argv[i], "-h") == 0 || strcmp(argv[i], "--help") == 0) 67 else if (strcmp(argv[i], "-b") == 0 68 || strcmp(argv[i], "--border") == 0) 70 else if (strcmp(argv[i], "-m") == 0 71 || strcmp(argv[i], "--mouse-pointer") == 0) 73 else if (strcmp(argv[i], "-w") == 0 74 || strcmp(argv[i], "--window") == 0) 76 else if (strcmp(argv[i], "-s") == 0 77 || strcmp(arg [all...] |
/haiku/src/tests/apps/delay_shutdown/ |
H A D | DelayShutdown.cpp | 33 if (strcmp(argv[index], "-d") == 0) { 40 } else if (strcmp(argv[index], "-q") == 0) {
|
/haiku/src/tests/kits/support/bmemoryio/ |
H A D | ConstTest.cpp | 38 CPPUNIT_ASSERT(strcmp(readBuf, "") == 0); 43 CPPUNIT_ASSERT(strcmp(readBuf, "") == 0);
|
/haiku/src/tests/system/libroot/posix/ |
H A D | tst-swscanf2.c | 30 if (n != 5 || strcmp (buf1, "one") != 0 || wcscmp (wbuf2, L"two") != 0 31 || strcmp (buf3, "three") != 0 || c4 != '!' || wc5 != L'!') {
|
/haiku/src/system/libnetwork/netresolv/net/ |
H A D | getprotobyname_r.c | 64 if (strcmp(p->p_name, name) == 0) 67 if (strcmp(*cp, name) == 0)
|