/external/chromium/base/ |
rand_util_win.cc | 16 CHECK_EQ(rand_s(&number), 0);
|
/external/v8/test/cctest/ |
test-platform-tls.cc | 32 CHECK_EQ(GetValue(i), Thread::GetThreadLocal(keys[i])); 33 CHECK_EQ(GetValue(i), Thread::GetExistingThreadLocal(keys[i])); 42 CHECK_EQ(GetValue(kValueCount - i - 1), 44 CHECK_EQ(GetValue(kValueCount - i - 1),
|
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-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-assembler-arm.cc | 80 CHECK_EQ(7, res); 117 CHECK_EQ(5050, res); 163 CHECK_EQ(3628800, res); 214 CHECK_EQ(101010, res); 215 CHECK_EQ(100000/2, t.i); 216 CHECK_EQ(10*4, t.c); 217 CHECK_EQ(1000/8, t.s); 339 CHECK_EQ(4.5, t.y); 340 CHECK_EQ(9.0, t.x); 341 CHECK_EQ(-123.456, t.n) [all...] |
test-reloc-info.cc | 74 CHECK_EQ(pc, it.rinfo()->pc()); 75 CHECK_EQ(mode, it.rinfo()->rmode()); 76 CHECK_EQ(pos, static_cast<int>(it.rinfo()->data())); 91 CHECK_EQ(pc, it.rinfo()->pc()); 92 CHECK_EQ(mode, it.rinfo()->rmode()); 93 CHECK_EQ(pos, static_cast<int>(it.rinfo()->data())); 107 CHECK_EQ(pc, it.rinfo()->pc()); 108 CHECK_EQ(mode, it.rinfo()->rmode()); 109 CHECK_EQ(pos, static_cast<int>(it.rinfo()->data()));
|
test-api.cc | 80 CHECK_EQ(expected, *ascii); 86 CHECK_EQ(expected, result->Int32Value()); 92 CHECK_EQ(expected, result->BooleanValue()); 159 CHECK_EQ(6, script->Run()->Int32Value()); 180 CHECK_EQ(1, signature_callback_count); 187 CHECK_EQ(2, signature_callback_count); 194 CHECK_EQ(2, signature_callback_count); 204 CHECK_EQ(2, signature_callback_count); 278 CHECK_EQ(0, strcmp(value, "undefined")); 294 CHECK_EQ(bar_str, foo_after) [all...] |
test-debug.cc | 68 // Helper function used by the CHECK_EQ function when given Address 76 V8_Fatal(file, line, "CHECK_EQ(%s, %s) failed\n# " 105 V8_Fatal(file, line, "CHECK_EQ(%s, %s) failed\n# " 422 CHECK_EQ(NULL, Isolate::Current()->debug()->debug_info_list_); 506 CHECK_EQ(mode, actual_mode); 508 CHECK_EQ(debug_break, 525 CHECK_EQ(mode, actual_mode); [all...] |
test-heap-profiler.cc | 57 CHECK_EQ(2, snapshot->GetRoot()->GetChildrenCount()); 60 CHECK_EQ(0, strncmp("Object", const_cast<i::HeapEntry*>( 155 CHECK_EQ(x->GetSelfSize() * 3, x->GetRetainedSize()); 156 CHECK_EQ(x1->GetSelfSize(), x1->GetRetainedSize()); 157 CHECK_EQ(x2->GetSelfSize(), x2->GetRetainedSize()); 174 CHECK_EQ(v8::String::New("native_bind"), f->GetName()); 178 CHECK_EQ(v8::HeapGraphNode::kArray, bindings->GetType()); 179 CHECK_EQ(4, bindings->GetChildrenCount()); 184 CHECK_EQ(v8::HeapGraphNode::kObject, bound_this->GetType()); 189 CHECK_EQ(v8::HeapGraphNode::kClosure, bound_function->GetType()) [all...] |
test-unbound-queue.cc | 20 CHECK_EQ(1, rec); 39 CHECK_EQ(i, rec); 48 CHECK_EQ(i, rec);
|
test-serialize.cc | 107 CHECK_EQ(make_code(BUILTIN, Builtins::kArrayCode), 109 CHECK_EQ(make_code(v8::internal::RUNTIME_FUNCTION, Runtime::kAbort), 111 CHECK_EQ(make_code(IC_UTILITY, IC::kLoadCallbackProperty), 115 CHECK_EQ(make_code(STATS_COUNTER, Counters::k_keyed_load_function_prototype), 119 CHECK_EQ(make_code(UNCLASSIFIED, 4), 123 CHECK_EQ(make_code(UNCLASSIFIED, 5), 126 CHECK_EQ(make_code(UNCLASSIFIED, 16), 129 CHECK_EQ(make_code(UNCLASSIFIED, 10), 132 CHECK_EQ(make_code(UNCLASSIFIED, 3), 144 CHECK_EQ(AddressOf(Builtins::kArrayCode) [all...] |
test-dataflow.cc | 63 CHECK_EQ(27, iter.Current()); 65 CHECK_EQ(30, iter.Current()); 67 CHECK_EQ(31, iter.Current()); 69 CHECK_EQ(33, iter.Current());
|
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); 328 CHECK_EQ(10, mixed->Utf8Length()) [all...] |
test-regexp.cc | 131 #define CHECK_PARSE_EQ(input, expected) CHECK_EQ(expected, *Parse(input)) 132 #define CHECK_SIMPLE(input, simple) CHECK_EQ(simple, CheckSimple(input)); 135 CHECK_EQ(min, min_max.min_match); \ 136 CHECK_EQ(max, min_max.max_match); \ 395 CHECK_EQ(expected, *str); 480 CHECK_EQ(pred(i), in_class); 563 CHECK_EQ(seen[k], tree.Find(k, &loc)); \ 573 CHECK_EQ(next, loc.key()); 574 CHECK_EQ(3 * next, loc.value()); 583 CHECK_EQ(next, loc.key()) [all...] |
test-parsing.cc | 72 CHECK_EQ(key_token.token, scanner.Next()); 73 CHECK_EQ(i::Token::EOS, scanner.Next()); 80 CHECK_EQ(i::Token::IDENTIFIER, scanner.Next()); 81 CHECK_EQ(i::Token::EOS, scanner.Next()); 91 CHECK_EQ(i::Token::IDENTIFIER, scanner.Next()); 92 CHECK_EQ(i::Token::EOS, scanner.Next()); 101 CHECK_EQ(i::Token::IDENTIFIER, scanner.Next()); 102 CHECK_EQ(i::Token::EOS, scanner.Next()); 230 CHECK_EQ(10, error_location.beg_pos); 231 CHECK_EQ(11, error_location.end_pos) [all...] |
/frameworks/wilhelm/tests/sandbox/ |
nativewindow.cpp | 32 #define CHECK_EQ(a,b) CHECK((a)==(b)) 50 CHECK_EQ(composerClient->initCheck(), (status_t)OK); 65 CHECK_EQ(control->setLayer(30000), (status_t)OK); 66 CHECK_EQ(control->show(), (status_t)OK);
|
/external/chromium/chrome/browser/sync/notifier/ |
chrome_system_resources.cc | 30 CHECK_EQ(created_on_loop_, MessageLoop::current()); 36 CHECK_EQ(created_on_loop_, MessageLoop::current()); 42 CHECK_EQ(created_on_loop_, MessageLoop::current()); 49 CHECK_EQ(created_on_loop_, MessageLoop::current()); 58 CHECK_EQ(created_on_loop_, MessageLoop::current()); 70 CHECK_EQ(created_on_loop_, MessageLoop::current()); 83 CHECK_EQ(created_on_loop_, MessageLoop::current()); 91 CHECK_EQ(created_on_loop_, MessageLoop::current()); 150 CHECK_EQ(created_on_loop_, MessageLoop::current()); 164 CHECK_EQ(created_on_loop_, MessageLoop::current()) [all...] |
/external/regex-re2/util/ |
test.h | 26 #define EXPECT_EQ CHECK_EQ 39 #define ASSERT_EQUALS(x, y) CHECK_EQ(x, y)
|
/frameworks/av/cmds/stagefright/ |
codec.cpp | 87 CHECK_EQ(err, (status_t)OK); 106 CHECK_EQ(err, (status_t)OK); 125 CHECK_EQ(err, (status_t)OK); 140 CHECK_EQ((status_t)OK, codec->start()); 142 CHECK_EQ((status_t)OK, codec->getInputBuffers(&state->mInBuffers)); 143 CHECK_EQ((status_t)OK, codec->getOutputBuffers(&state->mOutBuffers)); 171 CHECK_EQ(err, (status_t)OK); 175 CHECK_EQ(err, (status_t)OK); 186 CHECK_EQ(err, (status_t)OK); 190 CHECK_EQ(err, -EAGAIN) [all...] |
SimplePlayer.cpp | 233 CHECK_EQ(onStop(), (status_t)OK); 274 CHECK_EQ(mState, UNPREPARED); 295 CHECK_EQ(err, (status_t)OK); 309 CHECK_EQ(err, (status_t)OK); 327 CHECK_EQ(err, (status_t)OK); 342 CHECK_EQ(err, (status_t)OK); 345 CHECK_EQ(err, (status_t)OK); 348 CHECK_EQ(err, (status_t)OK); 355 CHECK_EQ(err, (status_t)OK); 369 CHECK_EQ(err, (status_t)OK) [all...] |
/frameworks/base/media/tests/omxjpegdecoder/ |
SkOmxPixelRef.cpp | 35 CHECK_EQ(mDecoder->stop(), (status_t)OK);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
ATSParser.cpp | 223 CHECK_EQ(table_id, 0x02u); 227 CHECK_EQ(section_syntax_indicator, 1u); 229 CHECK_EQ(br->getBits(1), 0u); 234 CHECK_EQ(section_length & 0xc00, 0u); 249 CHECK_EQ(program_info_length & 0xc00, 0u); 275 CHECK_EQ(ES_info_length & 0xc00, 0u); 295 CHECK_EQ(info_bytes_remaining, 0u); 306 CHECK_EQ(infoBytesRemaining, 0u); 502 CHECK_EQ(payloadSizeBits % 8, 0u); 606 CHECK_EQ(packet_startcode_prefix, 0x000001u) [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
SoftwareRenderer.cpp | 97 CHECK_EQ(0, 103 CHECK_EQ(0, 109 CHECK_EQ(0, native_window_set_buffers_geometry( 125 CHECK_EQ(0, native_window_set_buffers_transform( 149 CHECK_EQ(0, mNativeWindow->lockBuffer(mNativeWindow.get(), buf)); 156 CHECK_EQ(0, mapper.lock( 196 CHECK_EQ(mColorFormat, OMX_TI_COLOR_FormatYUV420PackedSemiPlanar); 232 CHECK_EQ(0, mapper.unlock(buf->handle));
|
/frameworks/av/media/libstagefright/rtsp/ |
rtp_test.cpp | 166 CHECK_EQ(session->setup(desc), (status_t)OK); 178 CHECK_EQ(session->countTracks(), 1u); 182 CHECK_EQ(client.connect(), (status_t)OK); 192 CHECK_EQ(decoder->start(), (status_t)OK); 225 CHECK_EQ(decoder->stop(), (status_t)OK);
|
/frameworks/av/media/libstagefright/ |
OMXCodec.cpp | 468 CHECK_EQ(esds.InitCheck(), (status_t)OK); 617 CHECK_EQ(err, (status_t)OK); 626 CHECK_EQ(err, (status_t)OK); 630 CHECK_EQ(err, (status_t)OK); 635 CHECK_EQ(def.nBufferSize, size); 663 // CHECK_EQ(format.nIndex, index); 759 CHECK_EQ(index, portFormat.nIndex); 803 CHECK_EQ((status_t)OK, findTargetColorFormat(meta, &colorFormat)); 810 CHECK_EQ(setVideoPortFormatType( 819 CHECK_EQ(err, (status_t)OK) [all...] |