/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-conversions.cc | 14 CHECK_EQ(0.0, StringToDouble("0x0", ALLOW_HEX | ALLOW_OCTALS)); 15 CHECK_EQ(0.0, StringToDouble("0X0", ALLOW_HEX | ALLOW_OCTALS)); 16 CHECK_EQ(1.0, StringToDouble("0x1", ALLOW_HEX | ALLOW_OCTALS)); 17 CHECK_EQ(16.0, StringToDouble("0x10", ALLOW_HEX | ALLOW_OCTALS)); 18 CHECK_EQ(255.0, StringToDouble("0xff", ALLOW_HEX | ALLOW_OCTALS)); 19 CHECK_EQ(175.0, StringToDouble("0xAF", ALLOW_HEX | ALLOW_OCTALS)); 21 CHECK_EQ(0.0, StringToDouble("0x0", ALLOW_HEX)); 22 CHECK_EQ(0.0, StringToDouble("0X0", ALLOW_HEX)); 23 CHECK_EQ(1.0, StringToDouble("0x1", ALLOW_HEX)); 24 CHECK_EQ(16.0, StringToDouble("0x10", ALLOW_HEX)) [all...] |
test-utils.cc | 39 CHECK_EQ(-1000000, FastD2I(-1000000.0)); 40 CHECK_EQ(-1, FastD2I(-1.0)); 41 CHECK_EQ(0, FastD2I(0.0)); 42 CHECK_EQ(1, FastD2I(1.0)); 43 CHECK_EQ(1000000, FastD2I(1000000.0)); 45 CHECK_EQ(-1000000, FastD2I(-1000000.123)); 46 CHECK_EQ(-1, FastD2I(-1.234)); 47 CHECK_EQ(0, FastD2I(0.345)); 48 CHECK_EQ(1, FastD2I(1.234)); 49 CHECK_EQ(1000000, FastD2I(1000000.123)) [all...] |
test-ast.cc | 39 CHECK_EQ(0, list->length()); 44 CHECK_EQ(1, list->length()); 45 CHECK_EQ(node, list->at(0)); 46 CHECK_EQ(node, list->last()); 52 CHECK_EQ(1 + kElements, list->length()); 55 CHECK_EQ(0, list->length()); 62 CHECK_EQ(0, list.length()); 64 CHECK_EQ(1, list.length()); 65 CHECK_EQ(1, list.last()); 67 CHECK_EQ(0, list.length()) [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-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]);
|
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-parsing.cc | 71 CHECK_EQ(i::Token::IN, matcher.token()); 73 CHECK_EQ(i::Token::IDENTIFIER, matcher.token()); 77 CHECK_EQ(key_token.token, matcher.token()); 80 CHECK_EQ(i::Token::IDENTIFIER, matcher.token()); 84 CHECK_EQ(i::Token::IDENTIFIER, matcher.token()); 95 CHECK_EQ(i::Token::IDENTIFIER, matcher.token()); 101 CHECK_EQ(i::Token::IDENTIFIER, bad_start.token()); 104 CHECK_EQ(i::Token::IDENTIFIER, bad_start.token()); 110 CHECK_EQ(i::Token::IF, bad_end.token()); 112 CHECK_EQ(i::Token::IDENTIFIER, bad_end.token()) [all...] |
test-api.cc | 68 CHECK_EQ(expected, *ascii); 75 CHECK_EQ(expected, result->BooleanValue()); 126 CHECK_EQ(6, script->Run()->Int32Value()); 147 CHECK_EQ(1, signature_callback_count); 154 CHECK_EQ(2, signature_callback_count); 161 CHECK_EQ(2, signature_callback_count); 171 CHECK_EQ(2, signature_callback_count); 247 CHECK_EQ(0, strcmp(value, "undefined")); 263 CHECK_EQ(bar_str, foo_after); 273 CHECK_EQ(6, script->Run()->Int32Value()) [all...] |
test-version.cc | 62 CHECK_EQ(expected_version_string, version_str.start()); 64 CHECK_EQ(expected_generic_soname, soname_str.start()); 70 CHECK_EQ(expected_version_string, version_str.start()); 72 CHECK_EQ(soname, soname_str.start());
|
test-debug.cc | 64 // Helper function used by the CHECK_EQ function when given Address 72 V8_Fatal(file, line, "CHECK_EQ(%s, %s) failed\n# " 101 V8_Fatal(file, line, "CHECK_EQ(%s, %s) failed\n# " 408 CHECK_EQ(NULL, Debug::debug_info_list_); 480 CHECK_EQ(mode, it1.it()->rinfo()->rmode()); 482 CHECK_EQ(debug_break, 495 CHECK_EQ(mode, it2.it()->rinfo()->rmode()); 833 CHECK_EQ(1, StrLength(*function_name)); 834 CHECK_EQ((*function_name)[0], [all...] |
test-log-utils.cc | 34 CHECK_EQ(ref_buffer->length(), 45 // Helper function used by CHECK_EQ to compare Vectors. Templatized to 54 V8_Fatal(file, line, "CHECK_EQ(%s, %s) failed\n" 64 V8_Fatal(file, line, "CHECK_EQ(%s, %s) failed\n" 80 CHECK_EQ(32, dynabuf.Read(0, buf.start(), buf.length())); 81 CHECK_EQ(32, ReadData(&dynabuf, 0, &buf)); 82 CHECK_EQ(ref_buf, buf); 85 CHECK_EQ(0, dynabuf.Read(32, buf.start(), buf.length())); 86 CHECK_EQ(0, dynabuf.Write(buf.start(), buf.length())); 94 CHECK_EQ(48, dynabuf.Write(ref_buf.start(), ref_buf.length())) [all...] |
test-serialize.cc | 110 CHECK_EQ(make_code(BUILTIN, Builtins::ArrayCode), 112 CHECK_EQ(make_code(RUNTIME_FUNCTION, Runtime::kAbort), 114 CHECK_EQ(make_code(IC_UTILITY, IC::kLoadCallbackProperty), 116 CHECK_EQ(make_code(DEBUG_ADDRESS, register_code(3)), 120 CHECK_EQ(make_code(STATS_COUNTER, Counters::k_keyed_load_function_prototype), 124 CHECK_EQ(make_code(UNCLASSIFIED, 2), 128 CHECK_EQ(make_code(UNCLASSIFIED, 4), 132 CHECK_EQ(make_code(UNCLASSIFIED, 5), 134 CHECK_EQ(make_code(UNCLASSIFIED, 12), 136 CHECK_EQ(make_code(UNCLASSIFIED, 7) [all...] |
test-log.cc | 40 CHECK_EQ(0, Logger::GetLogLines(0, NULL, 0)); 41 CHECK_EQ(0, Logger::GetLogLines(100, NULL, 0)); 42 CHECK_EQ(0, Logger::GetLogLines(0, NULL, 100)); 43 CHECK_EQ(0, Logger::GetLogLines(100, NULL, 100)); 52 CHECK_EQ(0, Logger::GetLogLines(0, NULL, 0)); 56 CHECK_EQ(0, Logger::GetLogLines(0, log_lines, 3)); 61 CHECK_EQ(0, Logger::GetLogLines(0, log_lines, line_1_len - 1)); 63 CHECK_EQ(line_1_len, Logger::GetLogLines(0, log_lines, line_1_len)); 64 CHECK_EQ(line_1, log_lines); 67 CHECK_EQ(line_1_len, Logger::GetLogLines(0, log_lines, line_1_len + 3)) [all...] |
test-heap.cc | 29 CHECK_EQ(Heap::meta_map(), map->map()); 30 CHECK_EQ(type, map->instance_type()); 31 CHECK_EQ(instance_size, map->instance_size()); 90 CHECK_EQ(code, found); 112 CHECK_EQ(1.000123, value->Number()); 117 CHECK_EQ(1.0, value->Number()); 122 CHECK_EQ(1024.0, value->Number()); 127 CHECK_EQ(Smi::kMinValue, Smi::cast(value)->value()); 132 CHECK_EQ(Smi::kMaxValue, Smi::cast(value)->value()); 139 CHECK_EQ(static_cast<double>(Smi::kMinValue - 1), value->Number()) [all...] |
test-regexp.cc | 120 #define CHECK_PARSE_EQ(input, expected) CHECK_EQ(expected, *Parse(input)) 121 #define CHECK_SIMPLE(input, simple) CHECK_EQ(simple, CheckSimple(input)); 124 CHECK_EQ(min, min_max.min_match); \ 125 CHECK_EQ(max, min_max.max_match); \ 368 CHECK_EQ(false, v8::internal::ParseRegExp(&reader, false, &result)); 372 CHECK_EQ(expected, *str); 456 CHECK_EQ(pred(i), in_class); 535 CHECK_EQ(seen[k], tree.Find(k, &loc)); \ 545 CHECK_EQ(next, loc.key()); 546 CHECK_EQ(3 * next, loc.value()) [all...] |
test-strings.cc | 99 CHECK_EQ(buf[j], building_blocks[i]->Get(j)); 111 CHECK_EQ(buf[j], building_blocks[i]->Get(j)); 123 CHECK_EQ(buf[j], building_blocks[i]->Get(j)); 135 CHECK_EQ(buf[j], building_blocks[i]->Get(j)); 208 CHECK_EQ(c, buffer2.GetNext()); 211 CHECK_EQ(s1->length(), i); 212 CHECK_EQ(s2->length(), i); 223 CHECK_EQ(c, buffer2.GetNext()); 313 CHECK_EQ(StrLength(ascii_string), len); 327 CHECK_EQ(10, mixed->Utf8Length()) [all...] |
test-heap-profiler.cc | 38 CHECK_EQ(f_count_, 0); 69 CHECK_EQ(0, cons_profile.f_count()); 71 CHECK_EQ(2, cons_profile.f_count()); 116 V8_Fatal(file, line, "CHECK_EQ(%s, %s) failed\n%s", 174 CHECK_EQ(coarser.GetCoarseEquivalent(o1), coarser.GetCoarseEquivalent(o2)); 175 CHECK_EQ(coarser.GetCoarseEquivalent(o3), coarser.GetCoarseEquivalent(o4)); 177 CHECK_EQ(JSObjectsCluster(), coarser.GetCoarseEquivalent(o5)); 207 CHECK_EQ(coarser.GetCoarseEquivalent(o1), coarser.GetCoarseEquivalent(o2)); 208 CHECK_EQ(coarser.GetCoarseEquivalent(a1), coarser.GetCoarseEquivalent(a2)); 252 CHECK_EQ(JSObjectsCluster(), coarser.GetCoarseEquivalent(o)) [all...] |
/frameworks/base/include/media/stagefright/ |
MediaDebug.h | 10 #define CHECK_EQ(x,y) \
|
/frameworks/base/media/libstagefright/mpeg2ts/ |
ATSParser.cpp | 147 CHECK_EQ(table_id, 0x02u); 151 CHECK_EQ(section_syntax_indicator, 1u); 153 CHECK_EQ(br->getBits(1), 0u); 217 CHECK_EQ(info_bytes_remaining, 0u); 235 CHECK_EQ(infoBytesRemaining, 0u); 335 CHECK_EQ(packet_startcode_prefix, 0x000001u); 351 CHECK_EQ(br->getBits(2), 2u); 387 CHECK_EQ(br->getBits(4), PTS_DTS_flags); 390 CHECK_EQ(br->getBits(1), 1u); 392 CHECK_EQ(br->getBits(1), 1u) [all...] |
/external/chromium/net/tools/flip_server/ |
other_defines.h | 4 #define CHECK_EQ(X, Y) CHECK((X) == (Y))
|
/frameworks/base/media/tests/omxjpegdecoder/ |
SkOmxPixelRef.cpp | 35 CHECK_EQ(mDecoder->stop(), OK);
|
/frameworks/base/media/libstagefright/omx/ |
OMXPVCodecsPlugin.cpp | 83 CHECK_EQ(err, OMX_ErrorNone); 84 CHECK_EQ(numRoles, numRoles2);
|