/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | state.c | 6 #define strneq(a,b,n) (strncmp(a,b,n)==0)
|
/haiku/src/bin/bfs_tools/lib/ |
H A D | BPlusTree.cpp | 501 int result = strncmp((const char *)key1,(const char *)key2,len);
|
H A D | Disk.cpp | 123 if (!rawMode && !strncmp(deviceName, "/dev/", 5)
|
/haiku/src/bin/ |
H A D | draggers.cpp | 34 if (!strncmp(argv[i], "-h", 2)) { 38 || !strncmp(argv[i], "en", 2) 39 || !strncmp(argv[i], "sh", 2) 40 || !strncmp(argv[i], "on", 2)) 43 || !strncmp(argv[i], "di", 2) 44 || !strncmp(argv[i], "hi", 2) 45 || !strncmp(argv[i], "of", 2))
|
H A D | eject.cpp | 88 if (strncmp(argv[i], "--h", 3) == 0) { 90 } else if (strncmp(argv[i], "-", 1) == 0) {
|
H A D | mkindex.cpp | 133 if (strncmp("int", optarg, 3) == 0) 135 else if (strncmp("llong", optarg, 5) == 0) 137 else if (strncmp("string", optarg, 6) == 0) 139 else if (strncmp("float", optarg, 5) == 0) 141 else if (strncmp("double", optarg, 6) == 0)
|
H A D | notify.cpp | 119 if (strncmp(kTypeNames[i], argument, strlen(argument)) == 0)
|
H A D | spybmessage.cpp | 149 if (strncmp(argv[i], "-", 1)) 182 if (strncmp(argv[0], "/", 1)) {
|
H A D | trash.cpp | 75 if (!strncmp(f, trash_dir, strlen(trash_dir)))
|
/haiku/src/bin/keymap/ |
H A D | Keymap.cpp | 419 if (!strncmp(start, "CapsLock", length)) 421 else if (!strncmp(start, "NumLock", length)) 423 else if (!strncmp(start, "ScrollLock", length)) 1056 if (strncmp(buffer + regs.start[i], "''", regs.end[i] - regs.start[i]) 1087 if (strncmp(start, "Normal", length) == 0) 1089 else if (strncmp(start, "Shift", length) == 0) 1091 else if (strncmp(start, "Control", length) == 0) 1093 else if (strncmp(start, "Option", length) == 0) 1095 else if (strncmp(start, "Option-Shift", length) == 0) 1097 else if (strncmp(star [all...] |
/haiku/src/bin/mkfs/ |
H A D | FsCreator.cpp | 77 if (!strncmp(fPath, "/dev", 4)) { 95 if (!strncmp(fPath, "/dev", 4)) {
|
H A D | main.cpp | 142 if (!strncmp(device, "/dev", 4))
|
/haiku/src/bin/network/telnet/ |
H A D | commands.c | 1664 || (strncmp((char *)ep->value, "unix:", 5) == 0))) {
|
H A D | main.c | 142 rlogin = (strncmp(prompt, "rlog", 4) == 0) ? '~' : _POSIX_VDISABLE; 338 if (!strncmp("in", optarg, 2)) 340 else if (!strncmp("out", optarg, 3))
|
/haiku/src/bin/network/telnetd/ |
H A D | telnetd.c | 600 if ((strncmp(last, terminaltype, sizeof(last)) == 0) || 606 if (strncmp(first, terminaltype, sizeof(first)) == 0) 614 if (strncmp(first, terminaltype, sizeof(first)) != 0) {
|
/haiku/src/bin/pc/ |
H A D | pc.c | 358 strncmp(*str, "<<=", 3) == 0 || strncmp(*str, ">>=", 3) == 0) 653 while((strncmp(*str, "<<", 2) == 0) || (strncmp(*str, ">>", 2) == 0)) 724 strncmp(*str, "<<", 2) != 0 && strncmp(*str, ">>", 2) && 905 if (strncmp(*str, "++", 2) == 0 || strncmp(*str, "--", 2) == 0)
|
/haiku/src/bin/rc/ |
H A D | decompile.cpp | 157 if (strncmp(name, PREFIX, prefix_len) == 0)
|
H A D | rdef.cpp | 94 if (!strncmp(dir, path, length)
|
/haiku/src/bin/unzip/ |
H A D | extract.c | 360 if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a new entry? */ 370 (strncmp(G.sig, end_central_sig, 4) != 0); 936 if (strncmp(G.sig, local_hdr_sig, 4)) { 961 if (strncmp(G.sig, local_hdr_sig, 4)) {
|
H A D | list.c | 158 if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a CentDir entry? */ 455 if (strncmp(G.sig, end_central_sig, 4)) { /* just to make sure again */ 524 if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a CentDir entry? */ 614 if (strncmp(G.sig, end_central_sig, 4)) { /* just to make sure again */
|
H A D | process.c | 781 if (strncmp(G.sig, central_hdr_sig, 4)) 784 strncmp(G.sig, central_hdr_sig, 4)) 794 strncmp(G.sig, central_hdr_sig, 4)) 916 !strncmp((char *)G.inptr, end_central_sig, 4)) { 946 !strncmp((char *)G.inptr, end_central_sig, 4)) { 976 !strncmp((char *)G.inptr, end_central_sig, 4)) {
|
H A D | unzip.c | 820 if (strncmp(p, "ZIPINFO.",8) == 0 || strstr(p, ".ZIPINFO:") != NULL || 821 strncmp(p, "II.",3) == 0 || strstr(p, ".II:") != NULL || 826 (argc > 1 && strncmp(argv[1], "-Z", 2) == 0)) 927 if (!uO.exdir && strncmp(*pp, "-d", 2) == 0) {
|
H A D | zipinfo.c | 746 if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a CentDir entry? */ 909 if (strncmp(G.sig, end_central_sig, 4)) { /* just to make sure again */ 1462 if (strncmp((char *)ef_ptr, "VFAB", 4) == 0) 1464 else if (strncmp((char *)ef_ptr, "VALL", 4) == 0) 1466 else if (strncmp((char *)ef_ptr, "VFHC", 4) == 0) 1468 else if (strncmp((char *)ef_ptr, "VDAT", 4) == 0) 1470 else if (strncmp((char *)ef_ptr, "VRDT", 4) == 0) 1472 else if (strncmp((char *)ef_ptr, "VPRO", 4) == 0) 1474 else if (strncmp((char *)ef_ptr, "VKEY", 4) == 0) 1476 else if (strncmp((cha [all...] |
/haiku/src/kits/debug/ |
H A D | DebugEventStream.cpp | 218 if (strncmp(header.signature, B_DEBUG_EVENT_STREAM_SIGNATURE,
|
/haiku/src/kits/device/ |
H A D | USBRoster.cpp | 91 if (strncmp(ref->name, "raw", 3) == 0)
|