HomeSort by relevance Sort by last modified time
    Searched refs:CHECK_EQ (Results 1 - 25 of 235) sorted by null

1 2 3 4 5 6 7 8 910

  /external/v8/test/cctest/
test-flags.cc 38 CHECK_EQ(13, FLAG_testing_int_flag);
39 CHECK_EQ(2.5, FLAG_testing_float_flag);
40 CHECK_EQ(0, strcmp(FLAG_testing_string_flag, "Hello, world!"));
61 CHECK_EQ(0, FlagList::SetFlagsFromCommandLine(&argc,
64 CHECK_EQ(7, argc);
66 CHECK_EQ(77, FLAG_testing_int_flag);
67 CHECK_EQ(.25, FLAG_testing_float_flag);
68 CHECK_EQ(0, strcmp(FLAG_testing_string_flag, "no way!"));
78 CHECK_EQ(0, FlagList::SetFlagsFromString(str, StrLength(str)));
80 CHECK_EQ(77, FLAG_testing_int_flag)
    [all...]
test-fixed-dtoa.cc 49 CHECK_EQ("1", buffer.start());
50 CHECK_EQ(1, point);
53 CHECK_EQ("1", buffer.start());
54 CHECK_EQ(1, point);
57 CHECK_EQ("1", buffer.start());
58 CHECK_EQ(1, point);
61 CHECK_EQ("4294967295", buffer.start());
62 CHECK_EQ(10, point);
65 CHECK_EQ("4294967296", buffer.start());
66 CHECK_EQ(10, point)
    [all...]
test-strtod.cc 29 CHECK_EQ(0.0, Strtod(vector, 1));
30 CHECK_EQ(0.0, Strtod(vector, 2));
31 CHECK_EQ(0.0, Strtod(vector, -2));
32 CHECK_EQ(0.0, Strtod(vector, -999));
33 CHECK_EQ(0.0, Strtod(vector, +999));
36 CHECK_EQ(1.0, Strtod(vector, 0));
37 CHECK_EQ(10.0, Strtod(vector, 1));
38 CHECK_EQ(100.0, Strtod(vector, 2));
39 CHECK_EQ(1e20, Strtod(vector, 20));
40 CHECK_EQ(1e22, Strtod(vector, 22))
    [all...]
test-conversions.cc 15 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX | ALLOW_OCTALS));
16 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX | ALLOW_OCTALS));
17 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX | ALLOW_OCTALS));
18 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX | ALLOW_OCTALS));
19 CHECK_EQ(255.0, StringToDouble(&uc, "0xff", ALLOW_HEX | ALLOW_OCTALS));
20 CHECK_EQ(175.0, StringToDouble(&uc, "0xAF", ALLOW_HEX | ALLOW_OCTALS));
22 CHECK_EQ(0.0, StringToDouble(&uc, "0x0", ALLOW_HEX));
23 CHECK_EQ(0.0, StringToDouble(&uc, "0X0", ALLOW_HEX));
24 CHECK_EQ(1.0, StringToDouble(&uc, "0x1", ALLOW_HEX));
25 CHECK_EQ(16.0, StringToDouble(&uc, "0x10", ALLOW_HEX))
    [all...]
test-bignum-dtoa.cc 66 CHECK_EQ("1", buffer.start());
67 CHECK_EQ(1, point);
72 CHECK_EQ("1", buffer.start());
73 CHECK_EQ(1, point);
78 CHECK_EQ("1", buffer.start());
79 CHECK_EQ(1, point);
82 CHECK_EQ("15", buffer.start());
83 CHECK_EQ(1, point);
88 CHECK_EQ("15", buffer.start());
89 CHECK_EQ(1, point)
    [all...]
test-list.cc 66 CHECK_EQ(1, list[4]);
76 CHECK_EQ(3, list.length());
78 CHECK_EQ(i, list[i]);
85 CHECK_EQ(3, list.length());
87 CHECK_EQ(i, list[i]);
97 CHECK_EQ(6, list.length());
99 CHECK_EQ(i % 3, list[i]);
106 CHECK_EQ(0, list.length());
108 CHECK_EQ(1, list.length());
109 CHECK_EQ(1, list.last())
    [all...]
test-dtoa.cc 67 CHECK_EQ("0", buffer.start());
68 CHECK_EQ(1, point);
71 CHECK_EQ(1, length);
72 CHECK_EQ("0", buffer.start());
73 CHECK_EQ(1, point);
76 CHECK_EQ(1, length);
77 CHECK_EQ("0", buffer.start());
78 CHECK_EQ(1, point);
81 CHECK_EQ("1", buffer.start());
82 CHECK_EQ(1, point)
    [all...]
test-profile-generator.cc 38 CHECK_EQ(TokenEnumerator::kNoSecurityToken, te.GetTokenId(NULL));
41 CHECK_EQ(0, te.GetTokenId(*v8::Utils::OpenHandle(*token1)));
42 CHECK_EQ(0, te.GetTokenId(*v8::Utils::OpenHandle(*token1)));
44 CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2)));
45 CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2)));
46 CHECK_EQ(0, te.GetTokenId(*v8::Utils::OpenHandle(*token1)));
50 CHECK_EQ(2, te.GetTokenId(*v8::Utils::OpenHandle(*token3)));
51 CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2)));
52 CHECK_EQ(0, te.GetTokenId(*v8::Utils::OpenHandle(*token1)));
57 CHECK_EQ(1, te.GetTokenId(*v8::Utils::OpenHandle(*token2)))
    [all...]
test-ast.cc 40 CHECK_EQ(0, list->length());
46 CHECK_EQ(1, list->length());
47 CHECK_EQ(node, list->at(0));
48 CHECK_EQ(node, list->last());
54 CHECK_EQ(1 + kElements, list->length());
57 CHECK_EQ(0, list->length());
test-fast-dtoa.cc 42 CHECK_EQ("5", buffer.start());
43 CHECK_EQ(-323, point);
49 CHECK_EQ("17976931348623157", buffer.start());
50 CHECK_EQ(309, point);
55 CHECK_EQ("4294967272", buffer.start());
56 CHECK_EQ(10, point);
61 CHECK_EQ("4185580496821357", buffer.start());
62 CHECK_EQ(299, point);
67 CHECK_EQ("5562684646268003", buffer.start());
68 CHECK_EQ(-308, point)
    [all...]
test-bignum.cc 57 CHECK_EQ("0", buffer);
60 CHECK_EQ("A", buffer);
63 CHECK_EQ("20", buffer);
68 CHECK_EQ("0", buffer);
71 CHECK_EQ("A", buffer);
74 CHECK_EQ("20", buffer);
77 CHECK_EQ("100", buffer);
82 CHECK_EQ("12345678", buffer);
87 CHECK_EQ("FFFFFFFFFFFFFFFF", buffer);
92 CHECK_EQ("123456789ABCDEF0", buffer)
    [all...]
test-lock.cc 19 CHECK_EQ(0, mutex->Lock()); // acquire the lock with the right token
20 CHECK_EQ(0, mutex->Unlock()); // can unlock with the right token
27 CHECK_EQ(0, mutex->Lock());
28 CHECK_EQ(0, mutex->Unlock());
35 CHECK_EQ(0, mutex->Lock());
36 CHECK_EQ(0, mutex->Unlock());
37 CHECK_EQ(0, mutex->Lock());
38 CHECK_EQ(0, mutex->Unlock());
test-deoptimization.cc 131 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value());
133 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current()));
147 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value());
149 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current()));
169 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value());
171 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current()));
186 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value());
188 CHECK_EQ(0, Deoptimizer::GetDeoptimizedCodeCount(Isolate::Current()));
209 CHECK_EQ(1, env->Global()->Get(v8_str("count"))->Int32Value());
210 CHECK_EQ(6, env->Global()->Get(v8_str("result"))->Int32Value())
    [all...]
test-utils.cc 40 CHECK_EQ(-1000000, FastD2I(-1000000.0));
41 CHECK_EQ(-1, FastD2I(-1.0));
42 CHECK_EQ(0, FastD2I(0.0));
43 CHECK_EQ(1, FastD2I(1.0));
44 CHECK_EQ(1000000, FastD2I(1000000.0));
46 CHECK_EQ(-1000000, FastD2I(-1000000.123));
47 CHECK_EQ(-1, FastD2I(-1.234));
48 CHECK_EQ(0, FastD2I(0.345));
49 CHECK_EQ(1, FastD2I(1.234));
50 CHECK_EQ(1000000, FastD2I(1000000.123))
    [all...]
test-cpu-profiler.cc 120 CHECK_EQ(aaa_str, entry1->name());
123 CHECK_EQ("bbb", entry2->name());
126 CHECK_EQ("5", entry3->name());
127 CHECK_EQ(NULL, generator.code_map()->FindEntry(ToAddress(0x1400)));
130 CHECK_EQ("ddd", entry4->name());
131 CHECK_EQ(NULL, generator.code_map()->FindEntry(ToAddress(0x1600)));
173 CHECK_EQ(1, top_down_root_children->length());
174 CHECK_EQ("bbb", top_down_root_children->last()->entry()->name());
177 CHECK_EQ(1, top_down_bbb_children->length());
178 CHECK_EQ("5", top_down_bbb_children->last()->entry()->name())
    [all...]
test-double.cc 19 CHECK_EQ(3512700564088504e-318, Double(ordered).value());
22 CHECK_EQ(5e-324, Double(min_double64).value());
25 CHECK_EQ(1.7976931348623157e308, Double(max_double64).value());
31 CHECK_EQ(0x12 - 0x3FF - 52, diy_fp.e());
37 CHECK_EQ(-0x3FF - 52 + 1, diy_fp.e());
43 CHECK_EQ(0x7FE - 0x3FF - 52, diy_fp.e());
51 CHECK_EQ(0x12 - 0x3FF - 52 - 11, diy_fp.e());
57 CHECK_EQ(-0x3FF - 52 + 1 - 63, diy_fp.e());
63 CHECK_EQ(0x7FE - 0x3FF - 52 - 11, diy_fp.e());
131 CHECK_EQ(1, Double(1.0).Sign())
    [all...]
test-weakmaps.cc 88 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements());
92 CHECK_EQ(0, NumberOfWeakCalls);
93 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements());
94 CHECK_EQ(
110 CHECK_EQ(1, NumberOfWeakCalls);
111 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements());
112 CHECK_EQ(
115 CHECK_EQ(1, NumberOfWeakCalls);
116 CHECK_EQ(0, ObjectHashTable::cast(weakmap->table())->NumberOfElements());
117 CHECK_EQ(
    [all...]
test-dictionary.cc 49 CHECK_EQ(table->NumberOfElements(), 1);
50 CHECK_EQ(table->Lookup(*a), *b);
51 CHECK_EQ(table->Lookup(*b), HEAP->undefined_value());
55 CHECK_EQ(table->NumberOfElements(), 1);
56 CHECK_EQ(table->Lookup(*a), *b);
57 CHECK_EQ(table->Lookup(*b), HEAP->undefined_value());
61 CHECK_EQ(table->NumberOfElements(), 1);
66 CHECK_EQ(table->NumberOfElements(), 0);
67 CHECK_EQ(table->NumberOfDeletedElements(), 1);
68 CHECK_EQ(table->Lookup(*a), HEAP->undefined_value())
    [all...]
test-diy-fp.cc 21 CHECK_EQ(0, diff.e());
24 CHECK_EQ(0, diy_fp1.e());
34 CHECK_EQ(64, product.e());
37 CHECK_EQ(64, diy_fp1.e());
43 CHECK_EQ(11 + 13 + 64, product.e());
50 CHECK_EQ(11 + 13 + 64, product.e());
56 CHECK_EQ(11 + 13 + 64, product.e());
66 CHECK_EQ(11 + 13 + 64, product.e());
test-platform-linux.cc 30 CHECK_EQ(0, mutex->Lock());
32 CHECK_EQ(0, mutex->Unlock());
36 CHECK_EQ(0, mutex->Lock());
37 CHECK_EQ(count, busy_lock_counter);
41 CHECK_EQ(0, mutex->Unlock());
62 CHECK_EQ(0, thread_created);
test-platform-nullos.cc 30 CHECK_EQ(0, mutex->Lock());
32 CHECK_EQ(0, mutex->Unlock());
36 CHECK_EQ(0, mutex->Lock());
37 CHECK_EQ(count, busy_lock_counter);
41 CHECK_EQ(0, mutex->Unlock());
62 CHECK_EQ(0, thread_created);
test-hashmap.cc 52 CHECK_EQ(reinterpret_cast<void*>(x), p->key);
65 CHECK_EQ(reinterpret_cast<void*>(x), p->key);
79 CHECK_EQ(map_.occupancy(), static_cast<double>(count));
95 CHECK_EQ(0, set.occupancy());
100 CHECK_EQ(3, set.occupancy());
104 CHECK_EQ(3, set.occupancy());
110 CHECK_EQ(3, set.occupancy());
116 CHECK_EQ(2, set.occupancy());
122 CHECK_EQ(1, set.occupancy());
125 CHECK_EQ(0, set.occupancy())
    [all...]
test-circular-queue.cc 23 CHECK_EQ(NULL, scq.StartDequeue());
28 CHECK_EQ(NULL, scq.StartDequeue());
32 CHECK_EQ(NULL, scq.StartDequeue());
37 CHECK_EQ(NULL, scq.StartDequeue());
51 CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(*rec));
52 CHECK_EQ(rec, reinterpret_cast<Record*>(scq.StartDequeue()));
58 CHECK_EQ(NULL, scq.StartDequeue());
68 CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(*rec));
69 CHECK_EQ(rec, reinterpret_cast<Record*>(scq.StartDequeue()));
137 CHECK_EQ(NULL, scq.StartDequeue())
    [all...]
  /external/chromium/base/threading/
thread_local_posix.cc 18 CHECK_EQ(error, 0);
35 CHECK_EQ(error, 0);
  /external/openfst/src/test/
fst_test.h 63 CHECK_EQ(fst.Start(), 0);
72 CHECK_EQ(fst.Final(s), NthWeight(s));
79 CHECK_EQ(arc.ilabel, na);
80 CHECK_EQ(arc.olabel, 0);
81 CHECK_EQ(arc.weight, NthWeight(na));
82 CHECK_EQ(arc.nextstate, s);
85 CHECK_EQ(matcher.Value().ilabel, arc.ilabel);
88 CHECK_EQ(na, s);
89 CHECK_EQ(na, aiter.Position());
90 CHECK_EQ(fst.NumArcs(s), s)
    [all...]

Completed in 968 milliseconds

1 2 3 4 5 6 7 8 910