Home
last modified time | relevance | path

Searched refs:equal (Results 1 – 25 of 1018) sorted by relevance

12345678910>>...41

/external/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/istreambuf.iterator_equal/
Dequal.pass.cpp31 assert( i1.equal(i1)); in main()
32 assert( i1.equal(i2)); in main()
33 assert(!i1.equal(i3)); in main()
34 assert(!i1.equal(i4)); in main()
35 assert(!i1.equal(i5)); in main()
37 assert( i2.equal(i1)); in main()
38 assert( i2.equal(i2)); in main()
39 assert(!i2.equal(i3)); in main()
40 assert(!i2.equal(i4)); in main()
41 assert(!i2.equal(i5)); in main()
[all …]
/external/valgrind/memcheck/tests/
Dstr_tester.c60 equal (const char *a, const char *b, int number) in equal() function
137 equal (one, "abcd", 2); /* Basic test. */ in test_strcpy()
140 equal (one, "x", 3); /* Writeover. */ in test_strcpy()
141 equal (one+2, "cd", 4); /* Wrote too much? */ in test_strcpy()
145 equal (one, "hi there", 5); /* Basic test encore. */ in test_strcpy()
146 equal (two, "hi there", 6); /* Stomped on source? */ in test_strcpy()
149 equal (one, "", 7); /* Boundary condition. */ in test_strcpy()
154 equal (one + i, "hi there", 8 + (i * 2)); in test_strcpy()
156 equal (two, "hi there", 9 + (i * 2)); in test_strcpy()
181 equal (dst, "frobozz", 2); in test_strcpy()
[all …]
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_autoexpand.py39 equal = self.assertEqual
41 equal(previous(), '')
44 equal(previous(), 't')
47 equal(previous(), 'this')
50 equal(previous(), '')
53 equal(previous(), 'is')
56 equal(previous(), 'string')
59 equal(previous(), '')
62 equal(previous(), '')
67 equal = self.assertEqual
[all …]
/external/valgrind/none/tests/s390x/
Dcgrj.stdout.exp1 not equal
2 equal
3 not equal
4 not equal
5 equal
6 not equal
7 less or equal
8 less or equal
11 greater or equal
12 greater or equal
[all …]
Dclrj.stdout.exp1 not equal
2 equal
3 not equal
4 not equal
5 equal
6 not equal
7 less or equal
8 less or equal
11 greater or equal
12 greater or equal
[all …]
Dclgrj.stdout.exp1 not equal
2 equal
3 not equal
4 not equal
5 equal
6 not equal
7 less or equal
8 less or equal
11 greater or equal
12 greater or equal
[all …]
Dcrj.stdout.exp1 not equal
2 equal
3 not equal
4 not equal
5 equal
6 not equal
7 less or equal
8 less or equal
11 greater or equal
12 greater or equal
[all …]
Dcij.stdout.exp1 not equal
2 equal
3 not equal
4 not equal
5 equal
6 not equal
7 less or equal
8 less or equal
11 greater or equal
12 greater or equal
[all …]
Dcgij.stdout.exp1 not equal
2 equal
3 not equal
4 not equal
5 equal
6 not equal
7 less or equal
8 less or equal
11 greater or equal
12 greater or equal
[all …]
Dclij.stdout.exp1 not equal
2 equal
3 not equal
4 not equal
5 equal
6 not equal
7 less or equal
8 less or equal
11 greater or equal
12 greater or equal
[all …]
Dclgij.stdout.exp1 not equal
2 equal
3 not equal
4 not equal
5 equal
6 not equal
7 less or equal
8 less or equal
11 greater or equal
12 greater or equal
[all …]
Dclst.stdout.exp11 comparing: equal with equal sentinel = 0
12 str1 = equal
13 str2 = equal
16 comparing: equal with equallong sentinel = 0
21 comparing: equallong with equal sentinel = 0
/external/python/cpython2/Lib/test/
Dtest_uuid.py16 equal = self.assertEqual
154 equal(str(u), string)
155 equal(int(u), integer)
156 equal(u.bytes, bytes)
157 equal(u.bytes_le, bytes_le)
158 equal(u.fields, fields)
159 equal(u.time_low, fields[0])
160 equal(u.time_mid, fields[1])
161 equal(u.time_hi_version, fields[2])
162 equal(u.clock_seq_hi_variant, fields[3])
[all …]
/external/valgrind/none/tests/x86/
Dbug126147-x86.c132 equal (const char *a, const char *b, int number) in equal() function
147 equal (one, "abc", 2); /* Did the copy go right? */ in test_strncpy()
151 equal (one, "xycdefgh", 3); /* Copy cut by count. */ in test_strncpy()
155 equal (one, "xyzdefgh", 4); in test_strncpy()
159 equal (one, "xyz", 5); in test_strncpy()
160 equal (one+4, "efgh", 6); /* Wrote too much? */ in test_strncpy()
164 equal (one, "xyz", 7); in test_strncpy()
165 equal (one+4, "", 8); in test_strncpy()
166 equal (one+5, "fgh", 9); in test_strncpy()
170 equal (one, "abc", 10); in test_strncpy()
[all …]
/external/proguard/src/proguard/evaluation/value/
DReferenceValue.java144 public abstract int equal(ReferenceValue other); in equal() method in ReferenceValue
167 return -equal(other); in notEqual()
188 public int equal(TypedReferenceValue other) in equal() method in ReferenceValue
190 return equal((ReferenceValue)other); in equal()
212 public int equal(IdentifiedReferenceValue other) in equal() method in ReferenceValue
214 return equal((TypedReferenceValue)other); in equal()
235 public int equal(ArrayReferenceValue other) in equal() method in ReferenceValue
237 return equal((TypedReferenceValue)other); in equal()
259 public int equal(IdentifiedArrayReferenceValue other) in equal() method in ReferenceValue
261 return equal((ArrayReferenceValue)other); in equal()
[all …]
/external/valgrind/gdbserver_tests/
Dhgtls.stdoutB.exp5 test race tls_ip 0x........ ip 0x........ equal 1
8 test race tls_ip 0x........ ip 0x........ equal 1
11 test local tls_ip 0x........ ip 0x........ equal 1
14 test local tls_ip 0x........ ip 0x........ equal 1
17 test global tls_ip 0x........ ip 0x........ equal 1
20 test global tls_ip 0x........ ip 0x........ equal 1
23 test static_extern tls_ip 0x........ ip 0x........ equal 1
26 test static_extern tls_ip 0x........ ip 0x........ equal 1
29 test so_extern tls_ip 0x........ ip 0x........ equal 1
32 test so_extern tls_ip 0x........ ip 0x........ equal 1
[all …]
/external/flatbuffers/samples/
Dsamplebinary.js77 assert.equal(monster.mana(), 150);
78 assert.equal(monster.hp(), 300);
79 assert.equal(monster.name(), 'Orc');
80 assert.equal(monster.color(), MyGame.Sample.Color.Red);
81 assert.equal(monster.pos().x(), 1.0);
82 assert.equal(monster.pos().y(), 2.0);
83 assert.equal(monster.pos().z(), 3.0);
87 assert.equal(monster.inventory(i), i);
94 assert.equal(monster.weapons(i).name(), expectedWeaponNames[i]);
95 assert.equal(monster.weapons(i).damage(), expectedWeaponDamages[i]);
[all …]
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/
Dequal.pass.cpp29 assert(std::equal(input_iterator<const int*>(ia), in main()
33 assert(std::equal(input_iterator<const int*>(ia), in main()
37 assert(std::equal(random_access_iterator<const int*>(ia), in main()
42 assert(!std::equal(input_iterator<const int*>(ia), in main()
46 assert(!std::equal(input_iterator<const int*>(ia), in main()
50 assert(!std::equal(random_access_iterator<const int*>(ia), in main()
54 assert(!std::equal(input_iterator<const int*>(ia), in main()
58 assert(!std::equal(random_access_iterator<const int*>(ia), in main()
Dequal_pred.pass.cpp37 assert(std::equal(input_iterator<const int*>(ia), in main()
42 assert(std::equal(input_iterator<const int*>(ia), in main()
47 assert(std::equal(random_access_iterator<const int*>(ia), in main()
54 assert(!std::equal(input_iterator<const int*>(ia), in main()
61 assert(!std::equal(random_access_iterator<const int*>(ia), in main()
68 assert(!std::equal(input_iterator<const int*>(ia), in main()
73 assert(!std::equal(input_iterator<const int*>(ia), in main()
78 assert(!std::equal(random_access_iterator<const int*>(ia), in main()
/external/valgrind/none/tests/amd64/
Dcmpxchg.stdout.exp2 al!=cl so al should equal cl (Result al=33 bl=44 cl=33)
4 al==cl so cl should equal bl (Result al=55 bl=55 cl=55)
6 ax!=cx so ax should equal cx (Result ax=3333 bx=4444 cx=3333)
8 ax==cx so cx should equal bx (Result ax=5555 bx=5555 cx=5555)
10 eax!=ecx so eax should equal ecx (Result eax=33333333 ebx=44444444 ecx=33333333)
12 eax==ecx so ecx should equal ebx (Result eax=55555555 ebx=55555555 ecx=55555555)
14 rax!=rcx so rax should equal rcx (Result rax=333333333 rbx=444444444 rcx=333333333)
16 rax==rcx so ecx should equal rbx (Result rax=555555555 rbx=555555555 rcx=555555555)
/external/e2fsprogs/lib/ext2fs/
Dtst_badblocks.c272 int equal; in main() local
320 equal = ext2fs_badblocks_equal(bb1, bb2); in main()
321 printf("bb1 and bb2 are %sequal.\n", equal ? "" : "NOT "); in main()
322 if (equal) in main()
325 equal = ext2fs_badblocks_equal(bb1, bb3); in main()
326 printf("bb1 and bb3 are %sequal.\n", equal ? "" : "NOT "); in main()
327 if (!equal) in main()
330 equal = ext2fs_badblocks_equal(bb1, bb4); in main()
331 printf("bb1 and bb4 are %sequal.\n", equal ? "" : "NOT "); in main()
332 if (equal) in main()
[all …]
/external/libese/libapdu/tests/
Dapdu_test.cpp34 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
41 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
48 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
55 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
62 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
69 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
82 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
90 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
100 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
107 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DObjectsTest.java32 assertTrue(Objects.equal(1, 1)); in testEqual()
33 assertTrue(Objects.equal(null, null)); in testEqual()
38 assertTrue(Objects.equal(s1, s2)); in testEqual()
40 assertFalse(Objects.equal(s1, null)); in testEqual()
41 assertFalse(Objects.equal(null, s1)); in testEqual()
42 assertFalse(Objects.equal("foo", "bar")); in testEqual()
43 assertFalse(Objects.equal("1", 1)); in testEqual()
/external/guava/guava-tests/test/com/google/common/base/
DObjectsTest.java34 assertTrue(Objects.equal(1, 1)); in testEqual()
35 assertTrue(Objects.equal(null, null)); in testEqual()
40 assertTrue(Objects.equal(s1, s2)); in testEqual()
42 assertFalse(Objects.equal(s1, null)); in testEqual()
43 assertFalse(Objects.equal(null, s1)); in testEqual()
44 assertFalse(Objects.equal("foo", "bar")); in testEqual()
45 assertFalse(Objects.equal("1", 1)); in testEqual()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DUTS46Test.java45 if(info.hasErrors() || !UTF16Plus.equal(result, expected)) { in TestAPI()
47 info.getErrors(), UTF16Plus.equal(result, expected))); in TestAPI()
53 !UTF16Plus.equal(result, expected) in TestAPI()
88 … if(!UTF16Plus.equal(result, input) || !info.getErrors().equals(EnumSet.of(IDNA.Error.BIDI))) { in TestNotSTD3()
94 if(!UTF16Plus.equal(result, input) || info.hasErrors()) { in TestNotSTD3()
514 if(!UTF16Plus.equal(uN, expected)) { in TestSomeCases()
531 if(!UTF16Plus.equal(uT, expected)) { in TestSomeCases()
573 if(!UTF16Plus.equal(aN, uNaN)) { in TestSomeCases()
580 if(!UTF16Plus.equal(aT, uTaN)) { in TestSomeCases()
587 if(!UTF16Plus.equal(uN, aNuN)) { in TestSomeCases()
[all …]

12345678910>>...41