Searched refs:strncmp (Results 26 - 50 of 255) sorted by path

1234567891011

/haiku/src/apps/serialconnect/libvterm/src/
H A Dstate.c6 #define strneq(a,b,n) (strncmp(a,b,n)==0)
/haiku/src/bin/bfs_tools/lib/
H A DBPlusTree.cpp501 int result = strncmp((const char *)key1,(const char *)key2,len);
H A DDisk.cpp123 if (!rawMode && !strncmp(deviceName, "/dev/", 5)
/haiku/src/bin/
H A Ddraggers.cpp34 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 Deject.cpp88 if (strncmp(argv[i], "--h", 3) == 0) {
90 } else if (strncmp(argv[i], "-", 1) == 0) {
H A Dmkindex.cpp133 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 Dnotify.cpp119 if (strncmp(kTypeNames[i], argument, strlen(argument)) == 0)
H A Dspybmessage.cpp149 if (strncmp(argv[i], "-", 1))
182 if (strncmp(argv[0], "/", 1)) {
H A Dtrash.cpp75 if (!strncmp(f, trash_dir, strlen(trash_dir)))
/haiku/src/bin/keymap/
H A DKeymap.cpp419 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 DFsCreator.cpp77 if (!strncmp(fPath, "/dev", 4)) {
95 if (!strncmp(fPath, "/dev", 4)) {
H A Dmain.cpp142 if (!strncmp(device, "/dev", 4))
/haiku/src/bin/network/telnet/
H A Dcommands.c1664 || (strncmp((char *)ep->value, "unix:", 5) == 0))) {
H A Dmain.c142 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 Dtelnetd.c600 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 Dpc.c358 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 Ddecompile.cpp157 if (strncmp(name, PREFIX, prefix_len) == 0)
H A Drdef.cpp94 if (!strncmp(dir, path, length)
/haiku/src/bin/unzip/
H A Dextract.c360 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 Dlist.c158 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 Dprocess.c781 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 Dunzip.c820 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 Dzipinfo.c746 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 DDebugEventStream.cpp218 if (strncmp(header.signature, B_DEBUG_EVENT_STREAM_SIGNATURE,
/haiku/src/kits/device/
H A DUSBRoster.cpp91 if (strncmp(ref->name, "raw", 3) == 0)

Completed in 906 milliseconds

1234567891011