Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 615) sorted by relevance

12345678910>>...25

/reactos/modules/rostests/winetests/msvcrt/
H A Dlocale.c53 ok(!strcmp(ret, "C"), "ret = %s\n", ret); in test_setlocale()
56 ok(!strcmp(ret, "C"), "ret = %s\n", ret); in test_setlocale()
73 ok(!strcmp(ret, lc_all), "ret = %s\n", ret); in test_setlocale()
77 ok(!strcmp(ret, lc_all), "ret = %s\n", ret); in test_setlocale()
201 ok(!strcmp(ret, "Dutch_Belgium.1252") in test_setlocale()
218 ok(!strcmp(ret, "English_Canada.1252") in test_setlocale()
290 ok(!strcmp(ret, "Spanish_Spain.1252") in test_setlocale()
296 ok(!strcmp(ret, "Spanish_Spain.1252") in test_setlocale()
323 ok(!strcmp(ret, "French_Canada.1252") in test_setlocale()
340 ok(!strcmp(ret, "French_Canada.1252") in test_setlocale()
[all …]
H A Dprintf.c547 ok(!strcmp(buffer,"b"), "failed\n"); in test_sprintf()
562 ok(!strcmp(buffer,""), "failed\n"); in test_sprintf()
588 ok(!strcmp(buffer,"2"), "failed\n"); in test_sprintf()
603 ok(!strcmp(buffer,"1"), "failed\n"); in test_sprintf()
643 ok(!strcmp(buffer,"1"), "failed\n"); in test_sprintf()
686 ok(!strcmp(buffer,""), "failed\n"); in test_sprintf()
691 ok(!strcmp(buffer,""), "failed\n"); in test_sprintf()
696 ok(!strcmp(buffer,"z"), "failed\n"); in test_sprintf()
701 ok(!strcmp(buffer,"j"), "failed\n"); in test_sprintf()
706 ok(!strcmp(buffer,""), "failed\n"); in test_sprintf()
[all …]
H A Ddir.c373 ok(strcmp(full,teststring)==0,"Invalid Path returned %s\n",full); in test_fullpath()
378 ok(strcmp(full,teststring)==0,"Invalid Path returned %s\n",full); in test_fullpath()
382 ok(strcmp(full,teststring)==0,"Invalid Path returned %s\n",full); in test_fullpath()
408 ok(!strcmp(drive, "c:"), "got %s\n", drive); in test_splitpath()
409 ok(!strcmp(dir, "\\\x83\x5c"), "got %s\n", dir); in test_splitpath()
410 ok(!strcmp(fname, "\x83\x74\x83\x67"), "got %s\n", fname); in test_splitpath()
411 ok(!strcmp(ext, ".bin"), "got %s\n", ext); in test_splitpath()
416 ok(!strcmp(drive, "c:"), "got %s\n", drive); in test_splitpath()
417 ok(!strcmp(dir, "\\"), "got %s\n", dir); in test_splitpath()
419 ok(!strcmp(ext, ".bin"), "got %s\n", ext); in test_splitpath()
[all …]
H A Dtime.c677 ok(!strcmp(bufA, "") || broken(!strcmp(bufA, "copy it")), "got %s\n", bufA); in test_strftime()
683 ok(!strcmp(bufA, "") || broken(!strcmp(bufA, "a")), "got %s\n", bufA); in test_strftime()
736 ok(!strcmp(bufA, "01"), "got %s\n", bufA); in test_strftime()
740 ok(!strcmp(bufA, "1"), "got %s\n", bufA); in test_strftime()
744 ok(!strcmp(bufA, "00"), "got %s\n", bufA); in test_strftime()
748 ok(!strcmp(bufA, "12"), "got %s\n", bufA); in test_strftime()
756 ok(!strcmp(bufA, "01"), "got %s\n", bufA); in test_strftime()
760 ok(!strcmp(bufA, "0"), "got %s\n", bufA); in test_strftime()
764 ok(!strcmp(bufA, "AM"), "got %s\n", bufA); in test_strftime()
768 ok(!strcmp(bufA, "00"), "got %s\n", bufA); in test_strftime()
[all …]
H A Ddata.c144 ok(!strcmp(argv[1], "data"), "argv[1] = %s\n", argv[1]); in test___getmainargs()
146 ok(!strcmp(argv[2], filepath), "argv[2] = %s\n", argv[2]); in test___getmainargs()
148 ok(!strcmp(argv[3], filepath), "argv[3] = %s\n", argv[3]); in test___getmainargs()
162 ok(!strcmp(argv[1], "data"), "argv[1] = %s\n", argv[1]); in test___getmainargs()
164 ok(!strcmp(argv[2], filepath), "argv[2] = %s\n", argv[2]); in test___getmainargs()
167 ok(!strcmp(argv[3], filepath), "argv[3] = %s\n", argv[3]); in test___getmainargs()
169 ok(!strcmp(argv[4], filepath), "argv[4] = %s\n", argv[4]); in test___getmainargs()
171 ok(!strcmp(argv[4], filepath), "argv[4] = %s\n", argv[4]); in test___getmainargs()
173 ok(!strcmp(argv[3], filepath), "argv[3] = %s\n", argv[3]); in test___getmainargs()
/reactos/sdk/lib/3rdparty/libxml2/
H A Dlegacy.c177 if (!strcmp(name, "validate")) { in xmlGetFeature()
189 } else if (!strcmp(name, "user data")) { in xmlGetFeature()
191 } else if (!strcmp(name, "is html")) { in xmlGetFeature()
195 } else if (!strcmp(name, "document")) { in xmlGetFeature()
199 } else if (!strcmp(name, "is valid")) { in xmlGetFeature()
201 } else if (!strcmp(name, "SAX block")) { in xmlGetFeature()
286 if (!strcmp(name, "validate")) { in xmlSetFeature()
307 } else if (!strcmp(name, "user data")) { in xmlSetFeature()
309 } else if (!strcmp(name, "is html")) { in xmlSetFeature()
313 } else if (!strcmp(name, "document")) { in xmlSetFeature()
[all …]
H A Dxmlcatalog.c182 if (!strcmp(command, "exit") || in usershell()
183 !strcmp(command, "quit") || in usershell()
184 !strcmp(command, "bye")) { in usershell()
189 if (!strcmp(command, "public")) { in usershell()
270 if (strcmp(command, "help")) { in usershell()
325 if (!strcmp(argv[i], "-")) in main()
331 (!strcmp(argv[i], "-v")) || in main()
373 if ((!strcmp(argv[i], "-add")) || in main()
414 if (!strcmp(argv[i], "-")) in main()
419 if (strcmp(argv[i], "-add") && strcmp(argv[i], "--add") && in main()
[all …]
H A Dxmllint.c3126 if ((!strcmp(argv[i], "-maxmem")) || in main()
3143 if ((!strcmp(argv[i], "-debug")) || (!strcmp(argv[i], "--debug"))) in main()
3147 if ((!strcmp(argv[i], "-shell")) || in main()
3154 if ((!strcmp(argv[i], "-copy")) || (!strcmp(argv[i], "--copy"))) in main()
3190 else if ((!strcmp(argv[i], "-o")) || in main()
3340 (!strcmp(argv[i], "--c14n"))) { in main()
3345 (!strcmp(argv[i], "--c14n11"))) { in main()
3654 if ((!strcmp(argv[i], "-encode")) || in main()
3670 if ((!strcmp(argv[i], "-path")) || in main()
3686 if ((!strcmp(argv[i], "-maxmem")) || in main()
[all …]
/reactos/sdk/lib/3rdparty/stlport/test/unit/
H A Dinsert_test.cpp42 CPPUNIT_ASSERT( !strcmp(names[0], "laurie") ); in insert1()
44 CPPUNIT_ASSERT( !strcmp(names[2], "amanda") ); in insert1()
45 CPPUNIT_ASSERT( !strcmp(names[3], "saskia") ); in insert1()
46 CPPUNIT_ASSERT( !strcmp(names[4], "carrie") ); in insert1()
47 CPPUNIT_ASSERT( !strcmp(names[5], "leisa") ); in insert1()
50 CPPUNIT_ASSERT( !strcmp(names[5], "laurie") ); in insert1()
52 CPPUNIT_ASSERT( !strcmp(names[7], "leisa") ); in insert1()
53 CPPUNIT_ASSERT( !strcmp(names[8], "leisa") ); in insert1()
64 CPPUNIT_ASSERT( !strcmp(names[0], "laurie") ); in insert2()
66 CPPUNIT_ASSERT( !strcmp(names[2], "amanda") ); in insert2()
[all …]
H A Dbinsert_test.cpp37 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); in binsert1()
38 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); in binsert1()
39 CPPUNIT_ASSERT(!strcmp(names[2],array[2])); in binsert1()
42 CPPUNIT_ASSERT(!strcmp(names[3],array[0])); in binsert1()
43 CPPUNIT_ASSERT(!strcmp(names[4],array[1])); in binsert1()
44 CPPUNIT_ASSERT(!strcmp(names[5],array[2])); in binsert1()
51 CPPUNIT_ASSERT(!strcmp(names[0],array[0])); in binsert2()
52 CPPUNIT_ASSERT(!strcmp(names[1],array[1])); in binsert2()
53 CPPUNIT_ASSERT(!strcmp(names[2],array[2])); in binsert2()
H A Dpartial_test.cpp52 return strcmp(a_, b_) < 0 ? 1 : 0; in str_compare()
109 CPPUNIT_ASSERT( strcmp(v1[0], "aa") == 0 ); in parsrt2()
111 CPPUNIT_ASSERT( strcmp(v1[1], "bb") == 0 ); in parsrt2()
113 CPPUNIT_ASSERT( strcmp(v1[2], "cc") == 0 ); in parsrt2()
115 CPPUNIT_ASSERT( strcmp(v1[3], "ff") == 0 ); in parsrt2()
117 CPPUNIT_ASSERT( strcmp(v1[4], "ee") == 0 ); in parsrt2()
119 CPPUNIT_ASSERT( strcmp(v1[5], "dd") == 0 ); in parsrt2()
165 CPPUNIT_ASSERT( strcmp( result[0], "aa" ) == 0 ); in parsrtc2()
167 CPPUNIT_ASSERT( strcmp( result[1], "bb" ) == 0 ); in parsrtc2()
169 CPPUNIT_ASSERT( strcmp( result[2], "cc" ) == 0 ); in parsrtc2()
H A Dsort_test.cpp44 return strcmp(a_, b_) < 0 ? 1 : 0; in string_less()
69 CPPUNIT_ASSERT( strcmp(letters[0], "aa") == 0 ); in stblsrt1()
70 CPPUNIT_ASSERT( strcmp(letters[1], "bb") == 0 ); in stblsrt1()
71 CPPUNIT_ASSERT( strcmp(letters[2], "cc") == 0 ); in stblsrt1()
72 CPPUNIT_ASSERT( strcmp(letters[3], "dd") == 0 ); in stblsrt1()
73 CPPUNIT_ASSERT( strcmp(letters[4], "ll") == 0 ); in stblsrt1()
74 CPPUNIT_ASSERT( strcmp(letters[5], "qq") == 0 ); in stblsrt1()
/reactos/modules/rostests/winetests/msi/
H A Dformat.c215 ok( 0 == strcmp(buffer,"%1"), "wrong output\n"); in test_formatrecord()
224 ok( 0 == strcmp(buffer,"x"), "wrong output\n"); in test_formatrecord()
242 ok( 0 == strcmp(buffer,"%"), "wrong output\n"); in test_formatrecord()
251 ok( 0 == strcmp(buffer,"%1"), "wrong output\n"); in test_formatrecord()
260 ok( 0 == strcmp(buffer,""), "wrong output\n"); in test_formatrecord()
880 ok( 0 == strcmp(buffer,""), "wrong output\n"); in test_formatrecord()
900 ok( 0 == strcmp(buffer,""), "wrong output\n"); in test_formatrecord()
928 ok( 0 == strcmp(buffer,""), "wrong output\n"); in test_formatrecord()
961 ok( 0 == strcmp(buffer,""), "wrong output\n"); in test_formatrecord()
971 ok( 0 == strcmp(buffer,""), "wrong output\n"); in test_formatrecord()
[all …]
/reactos/modules/rostests/winetests/kernel32/
H A Dformat_msg.c747 ok(!strcmp( " 001, 0002", out) || in test_message_from_string()
782 ok(!strcmp(" ", out),"failed out=[%s]\n",out); in test_message_from_string()
1152 ok(!strcmp(ref, out),"failed out=[%s]\n",out); in test_message_wrap()
1387 ok(!strcmp("test", buf), in test_message_allocate_buffer()
1400 ok(!strcmp("test", buf), in test_message_allocate_buffer()
1413 ok(!strcmp("test", buf), in test_message_allocate_buffer()
1426 ok(!strcmp("test", buf), in test_message_allocate_buffer()
1439 ok(!strcmp("test", buf), in test_message_allocate_buffer()
1686 ok(!strcmp("test", out), in test_message_invalid_flags()
1693 ok(!strcmp("test", out), in test_message_invalid_flags()
[all …]
/reactos/boot/freeldr/freeldr/lib/
H A Ddebug.c347 else if (strcmp(level, "err") == 0) in DbgAddDebugChannel()
349 else if (strcmp(level, "fixme") == 0) in DbgAddDebugChannel()
351 else if (strcmp(level, "warn") == 0) in DbgAddDebugChannel()
353 else if (strcmp(level, "trace") == 0) in DbgAddDebugChannel()
358 if (strcmp(channel, "memory" ) == 0) iChannel = DPRINT_MEMORY; in DbgAddDebugChannel()
361 else if (strcmp(channel, "ui" ) == 0) iChannel = DPRINT_UI; in DbgAddDebugChannel()
362 else if (strcmp(channel, "disk" ) == 0) iChannel = DPRINT_DISK; in DbgAddDebugChannel()
363 else if (strcmp(channel, "cache" ) == 0) iChannel = DPRINT_CACHE; in DbgAddDebugChannel()
365 else if (strcmp(channel, "linux" ) == 0) iChannel = DPRINT_LINUX; in DbgAddDebugChannel()
370 else if (strcmp(channel, "heap" ) == 0) iChannel = DPRINT_HEAP; in DbgAddDebugChannel()
[all …]
/reactos/sdk/lib/3rdparty/stlport/test/eh/
H A Dmain.cpp239 if (EH_CSTD::strcmp(p, "algo")==0) { in main()
241 } else if (EH_CSTD::strcmp(p, "vector")==0) { in main()
245 } else if (EH_CSTD::strcmp(p, "list")==0) { in main()
247 } else if (EH_CSTD::strcmp(p, "slist")==0) { in main()
249 } else if (EH_CSTD::strcmp(p, "deque")==0) { in main()
251 } else if (EH_CSTD::strcmp(p, "set")==0) { in main()
253 } else if (EH_CSTD::strcmp(p, "map")==0) { in main()
255 } else if (EH_CSTD::strcmp(p, "hash_set")==0) { in main()
259 } else if (EH_CSTD::strcmp(p, "rope")==0) { in main()
261 } else if (EH_CSTD::strcmp(p, "string")==0) { in main()
[all …]
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/
H A Dseamless.c79 if (!strcmp("CREATE", tok1)) in seamless_process_line()
103 else if (!strcmp("DESTROY", tok1)) in seamless_process_line()
134 else if (!strcmp("SETICON", tok1)) in seamless_process_line()
169 else if (!strcmp("ZCHANGE", tok1)) in seamless_process_line()
187 else if (!strcmp("TITLE", tok1)) in seamless_process_line()
202 else if (!strcmp("STATE", tok1)) in seamless_process_line()
223 else if (!strcmp("DEBUG", tok1)) in seamless_process_line()
249 else if (!strcmp("HELLO", tok1)) in seamless_process_line()
260 else if (!strcmp("ACK", tok1)) in seamless_process_line()
270 else if (!strcmp("HIDE", tok1)) in seamless_process_line()
[all …]
/reactos/modules/rostests/tests/wclickat/
H A Dwclickat.c463 else if (strcmp(arg, "click") == 0 || strcmp(arg, "lclick") == 0) in parse_arguments()
467 else if (strcmp(arg, "mclick") == 0) in parse_arguments()
471 else if (strcmp(arg, "rclick") == 0) in parse_arguments()
501 else if (strcmp(arg, "find") == 0) in parse_arguments()
511 else if (strcmp(arg, "--winclass") == 0) in parse_arguments()
523 else if (strcmp(arg, "--ctrlid") == 0) in parse_arguments()
555 else if (strcmp(arg, "--dragto") == 0) in parse_arguments()
583 else if (strcmp(arg, "--delay") == 0) in parse_arguments()
587 else if (strcmp(arg, "--timeout") == 0) in parse_arguments()
591 else if (strcmp(arg, "--repeat") == 0) in parse_arguments()
[all …]
/reactos/modules/rostests/winetests/winmm/
H A Dmci.c477 ok(!strcmp(buf,"Y"), "output buffer %s\n", buf); in test_openCloseWAVE()
505 ok(!strcmp(buf,"M"), "output buffer %s\n", buf); in test_openCloseWAVE()
516 ok(!strcmp(buf,"K"), "output buffer %s\n", buf); in test_openCloseWAVE()
532 ok(!strcmp(buf,"K"), "info output buffer %s\n", buf); in test_openCloseWAVE()
917 ok(!strcmp(buf,"stopped"), "mci status mode: %s\n", buf); in test_playWAVE()
963 ok(!strcmp(buf,"stopped"), "mci status mode: %s\n", buf); in test_asyncWAVE()
1026 ok(!strcmp(buf,"stopped"), "mci status mode: %s\n", buf); in test_asyncWAVE()
1114 ok(strcmp(buf,"1000"), "mci resume waited\n"); in test_asyncWAVE()
1115 ok(strcmp(buf,"2000"), "mci resume played to end\n"); in test_asyncWAVE()
1320 ok(!strcmp(buf,"playing"), "mci status mode: %s\n", buf); in test_playWaveTypeMpegvideo()
[all …]
H A Dmcicda.c115 ok(!strcmp(buf,"1"), "mci open deviceId: %s, expected 1\n", buf); in test_play()
124 if(!err) ok(!strcmp(buf, "false"), "capability video is %s\n", buf); in test_play()
129 if(!err) ok(!strcmp(buf, "true"), "capability play is %s\n", buf); in test_play()
199 if(!err) ok(!strcmp(buf, "stopped"), "status mode is initially %s\n", buf); in test_play()
203 if(!err) ok(!strcmp(buf, "true"), "status ready with media is %s\n", buf); in test_play()
238 …if(!err) todo_wine ok(!strcmp(buf, "00:02:00") || !strcmp(buf, "00:02:33") || !strcmp(buf, "00:03:… in test_play()
244 if(!err) ok(!strcmp(buf, "00:02:00") || !strcmp(buf, "00:02:33") || !strcmp(buf, "00:03:00"), in test_play()
502 …if(!err) ok(!strcmp(buf, "stopped") || broken(!strcmp(buf, "playing")), "status mode after play is… in test_play()
503 if(!err && !strcmp(buf, "playing")) trace("status playing after sleep\n"); in test_play()
510 …if(!err) ok(!strcmp(buf, "stopped") || broken(!strcmp(buf, "playing")), "status mode after play is… in test_play()
[all …]
/reactos/sdk/lib/3rdparty/stlport/src/
H A Dlocale.cpp174 if (strcmp(ctype_name, numeric_name) == 0 && in locale()
175 strcmp(ctype_name, time_name) == 0 && in locale()
176 strcmp(ctype_name, collate_name) == 0 && in locale()
177 strcmp(ctype_name, monetary_name) == 0 && in locale()
178 strcmp(ctype_name, messages_name) == 0) { in locale()
211 if ((c & locale::all) == 0 || strcmp(name1, name2) == 0) in _Stl_loc_combine_names()
225 if ((c & locale::all) == 0 || (strcmp(name, ctype_name) == 0 && in _Stl_loc_combine_names()
226 strcmp(name, time_name) == 0 && in _Stl_loc_combine_names()
227 strcmp(name, numeric_name) == 0 && in _Stl_loc_combine_names()
228 strcmp(name, collate_name) == 0 && in _Stl_loc_combine_names()
[all …]
/reactos/modules/rostests/tests/wcstombs-tests/
H A Dwcstombs-tests.c59 OK(!strcmp(mbs, "Th"), "mbs is %s", mbs); in CRT_Tests()
124 OK(!strcmp(mbs, "Th�i"), "mbs is %s", mbs); in CRT_Tests()
144 OK(!strcmp(mbs, "Th?i"), "mbs is %s", mbs); in CRT_Tests()
152 OK(!strcmp(mbs, "Th?i"), "mbs is %s", mbs); in CRT_Tests()
159 OK(!strcmp(mbs, "Th?"), "mbs is %s", mbs); in CRT_Tests()
165 OK(!strcmp(mbs, "�H��"), "mbs is %s", mbs); in CRT_Tests()
234 OK(!strcmp(mbs, "??"), "mbs is %s", mbs); in Win32_Tests()
241 OK(!strcmp(mbs, "??"), "mbs is %s", mbs); in Win32_Tests()
272 OK(!strcmp(mbs, "Th?"), "mbs is %s", mbs); in Win32_Tests()
307 OK(!strcmp(mbs, "�H"), "mbs is %s", mbs); in Win32_Tests()
[all …]
/reactos/sdk/tools/log2lines/
H A Dcmd.c53 if (arg && (strcmp(arg,"") != 0)) in handle_switch()
79 if (strcmp(arg,"") != 0) in handle_switch_str()
81 if (strcmp(arg,KDBG_ESC_OFF) == 0) in handle_switch_str()
87 else if (strcmp(arg, sw) != 0) in handle_switch_str()
189 if (handle_switch_str(outFile, opt_logFile, arg, "-l logfile") || (strcmp(opt_mod,"a")!=0)) in handle_escape_cmd()
196 if (handle_switch_str(outFile, opt_logFile, arg, "-L logfile") || (strcmp(opt_mod,"w")!=0)) in handle_escape_cmd()
219 if (strcmp(arg,"clear") == 0) in handle_escape_cmd()
/reactos/sdk/tools/mkisofs/schilytools/mkisofs/
H A Dtree.c177 if (strcmp(&s1[l1 - l2], s2) == 0)
566 strcmp(s_entry->name, "..") == 0)
709 strcmp(s_entry->name, "..") == 0)
1343 if (strcmp(d_name, ".") == 0 &&
1347 if (strcmp(d_name, "..") == 0 &&
1492 strcmp(short_name, ".") != 0 && strcmp(short_name, "..") != 0) {
1612 strcmp(short_name, ".") != 0 &&
1657 strcmp(short_name, ".") != 0 &&
1916 strcmp(short_name, "..") != 0) {
2009 if (strcmp(short_name, ".") == 0) {
[all …]
/reactos/dll/3rdparty/libtirpc/src/
H A Drpc_generic.c270 if (strcmp(nconf->nc_proto, NC_TCP) == 0 &&
276 if (strcmp(nconf->nc_proto, NC_UDP) == 0 &&
286 if (strcmp(nettype, "udp") == 0)
288 else if (strcmp(nettype, "tcp") == 0)
396 (strcmp(nconf->nc_protofmly, NC_INET)
398 && strcmp(nconf->nc_protofmly, NC_INET6))
403 strcmp(nconf->nc_proto, NC_TCP))
408 (strcmp(nconf->nc_protofmly, NC_INET)
410 && strcmp(nconf->nc_protofmly, NC_INET6))
415 strcmp(nconf->nc_proto, NC_UDP))
[all …]

12345678910>>...25