HomeSort by relevance Sort by last modified time
    Searched full:assert_eq (Results 126 - 150 of 543) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/compile/mclinker/unittests/
BinTreeTest.cpp 130 ASSERT_EQ(111, **dfs_it);
159 ASSERT_EQ(0, **dfs_it);
161 ASSERT_EQ(1, **dfs_it);
163 ASSERT_EQ(2, **dfs_it);
165 ASSERT_EQ(3, **dfs_it);
167 ASSERT_EQ(4, **dfs_it);
182 ASSERT_EQ(1, counter);
200 ASSERT_EQ(111, **bfs_it);
202 ASSERT_EQ(10, **bfs_it);
204 ASSERT_EQ(9, **bfs_it)
    [all...]
ELFReaderTest.cpp 83 ASSERT_EQ(m_pInput->context()->numOfSections(), 13u);
86 ASSERT_EQ(".text", (*iter)->name());
87 ASSERT_EQ(llvm::ELF::SHT_PROGBITS, (*iter)->type());
88 ASSERT_EQ(0x40u, (*iter)->offset());
89 ASSERT_EQ(0x15u, (*iter)->size());
91 ASSERT_EQ(0x4u, (*iter)->align());
92 ASSERT_EQ(NULL, (*iter)->getLink());
93 ASSERT_EQ(0u, (*iter)->getInfo());
117 ASSERT_EQ("hello.c", std::string(m_pInput->context()->getSymbol(1)->name()));
118 ASSERT_EQ("puts", std::string(m_pInput->context()->getSymbol(10)->name()))
    [all...]
FactoriesTest.cpp 41 ASSERT_EQ(1, m_pNodeAlloc->size());
44 ASSERT_EQ(2, m_pNodeAlloc->size());
47 ASSERT_EQ(3, m_pNodeAlloc->size());
63 ASSERT_EQ(counter, *(*data).data);
79 ASSERT_EQ(100, m_pNodeAlloc->size());
84 ASSERT_EQ(counter, *(*data).data);
101 ASSERT_EQ(100, m_pNodeAlloc->size());
106 ASSERT_EQ(counter, *(*data).data);
111 ASSERT_EQ(0, delegatee->size());
137 ASSERT_EQ(200, m_pNodeAlloc->size())
    [all...]
  /system/core/libutils/tests/
BasicHashtable_test.cpp 222 ASSERT_EQ(-1, index);
225 ASSERT_EQ(1U, h.size());
227 ASSERT_EQ(index, find(h, -1, 8));
228 ASSERT_EQ(8, h.entryAt(index).key);
229 ASSERT_EQ(1, h.entryAt(index).value);
232 ASSERT_EQ(-1, index);
235 ASSERT_EQ(0U, h.size());
238 ASSERT_EQ(-1, index);
247 ASSERT_EQ(-1, index);
250 ASSERT_EQ(i + 1, h.size())
    [all...]
  /external/google-breakpad/src/processor/
minidump_unittest.cc 88 ASSERT_EQ(minidump.path(), minidump_file_);
92 ASSERT_EQ(header->signature, uint32_t(MD_HEADER_SIGNATURE));
114 ASSERT_EQ(minidump.path(), "");
118 ASSERT_EQ(header->signature, uint32_t(MD_HEADER_SIGNATURE));
130 ASSERT_EQ(0U, minidump.GetDirectoryEntryCount());
141 ASSERT_EQ(0U, minidump.GetDirectoryEntryCount());
156 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount());
164 ASSERT_EQ(15U, stream_length);
192 ASSERT_EQ(1U, minidump.GetDirectoryEntryCount());
200 ASSERT_EQ(1U, memory_list->region_count())
    [all...]
  /bionic/tests/
stubs_test.cpp 39 ASSERT_EQ(uid, pwd->pw_uid);
40 ASSERT_EQ(uid, pwd->pw_gid);
41 ASSERT_EQ(NULL, pwd->pw_passwd);
43 ASSERT_EQ(NULL, pwd->pw_gecos);
57 ASSERT_EQ(0, errno);
65 ASSERT_EQ(0, errno);
78 ASSERT_EQ(0, result);
79 ASSERT_EQ(0, errno);
92 ASSERT_EQ(0, result);
93 ASSERT_EQ(0, errno)
    [all...]
sys_uio_test.cpp 22 ASSERT_EQ(0, process_vm_readv(0, nullptr, 0, nullptr, 0, 0));
26 ASSERT_EQ(0, process_vm_writev(0, nullptr, 0, nullptr, 0, 0));
sys_statvfs_test.cpp 42 ASSERT_EQ(0, statvfs("/proc", &sb));
48 ASSERT_EQ(0, statvfs64("/proc", &sb));
55 ASSERT_EQ(0, fstatvfs(fd, &sb));
63 ASSERT_EQ(0, fstatvfs64(fd, &sb));
sys_vfs_test.cpp 43 ASSERT_EQ(0, statfs("/proc", &sb));
49 ASSERT_EQ(0, statfs64("/proc", &sb));
56 ASSERT_EQ(0, fstatfs(fd, &sb));
64 ASSERT_EQ(0, fstatfs64(fd, &sb));
regex_test.cpp 25 ASSERT_EQ(0, regcomp(&re, "ab*c", 0));
26 ASSERT_EQ(0, regexec(&re, "abbbc", 0, NULL, 0));
27 ASSERT_EQ(REG_NOMATCH, regexec(&re, "foo", 0, NULL, 0));
sys_socket_test.cpp 80 ASSERT_EQ(0, pthread_create(&thread, NULL, ConnectFn, &connect_data));
93 ASSERT_EQ(0, pthread_join(thread, &ret_val));
94 ASSERT_EQ(NULL, ret_val);
100 ASSERT_EQ(-1, accept4(-1, NULL, NULL, 0));
101 ASSERT_EQ(EBADF, errno);
110 ASSERT_EQ(FD_CLOEXEC, fcntl(fd_acc, F_GETFD) & FD_CLOEXEC);
160 ASSERT_EQ(NUM_RECV_MSGS,
175 ASSERT_EQ(-1, recvmmsg(-1, NULL, 0, 0, NULL));
176 ASSERT_EQ(EBADF, errno);
220 ASSERT_EQ(strlen(g_SendMsgs[i]) + 1
    [all...]
  /art/runtime/jit/
jit_code_cache_test.cc 39 ASSERT_EQ(code_cache->CodeCacheSize(), 0u);
42 ASSERT_EQ(code_cache->DataCacheSize(), 0u);
44 ASSERT_EQ(code_cache->CodeCacheRemain() + code_cache->DataCacheRemain(), kSize);
45 ASSERT_EQ(code_cache->NumMethods(), 0u);
51 ASSERT_EQ(code_cache->NumMethods(), 1u);
57 ASSERT_EQ(code_cache->GetCodeFor(method), reserved_code);
61 ASSERT_EQ(code_cache->GetCodeFor(method), reserved_code);
65 ASSERT_EQ(memcmp(data_ptr, data_arr, sizeof(data_arr)), 0);
  /external/clang/unittests/Tooling/
CompilationDatabaseTest.cpp 108 ASSERT_EQ(1u, Commands[0].CommandLine.size());
111 ASSERT_EQ(1u, Commands[1].CommandLine.size());
225 ASSERT_EQ(4u, FoundCommand.CommandLine.size()) << ErrorMessage;
253 ASSERT_EQ(2u, FoundCommand.CommandLine.size());
290 ASSERT_EQ(1u, FoundCommand.CommandLine.size()) << ErrorMessage;
312 ASSERT_EQ(3ul, Result.size());
320 ASSERT_EQ(2ul, Result.size());
327 ASSERT_EQ(1ul, Backslash.size());
330 ASSERT_EQ(1ul, Quote.size());
336 ASSERT_EQ(1ul, Result.size())
    [all...]
  /ndk/tests/device/fenv/jni/
test_fenv.c 26 #define ASSERT_EQ(x, y) \
74 ASSERT_EQ(expectation2, x);
85 ASSERT_EQ(FE_TONEAREST, fegetround());
91 ASSERT_EQ(FE_TOWARDZERO, fegetround());
97 ASSERT_EQ(FE_UPWARD, fegetround());
103 ASSERT_EQ(FE_DOWNWARD, fegetround());
110 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT));
125 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT));
  /system/core/libnativebridge/tests/
NativeBridge2Signal_test.cpp 35 ASSERT_EQ(2U, NativeBridgeGetVersion());
39 ASSERT_EQ(0, rmdir(kCodeCache));
CompleteFlow_test.cpp 34 ASSERT_EQ(nullptr, NativeBridgeLoadLibrary(nullptr, 0));
35 ASSERT_EQ(nullptr, NativeBridgeGetTrampoline(nullptr, nullptr, nullptr, 0));
44 ASSERT_EQ(0, rmdir(kCodeCache));
  /external/clang/unittests/Basic/
SourceManagerTest.cpp 101 ASSERT_EQ(3U, toks.size());
102 ASSERT_EQ(tok::l_square, toks[0].getKind());
103 ASSERT_EQ(tok::identifier, toks[1].getKind());
104 ASSERT_EQ(tok::r_square, toks[2].getKind());
116 ASSERT_EQ("M", PP.getSpelling(macroExpStartLoc, str));
117 ASSERT_EQ(")", PP.getSpelling(macroExpEndLoc, str));
218 ASSERT_EQ(4U, toks.size());
219 ASSERT_EQ(tok::numeric_constant, toks[0].getKind());
220 ASSERT_EQ(tok::numeric_constant, toks[1].getKind());
221 ASSERT_EQ(tok::numeric_constant, toks[2].getKind())
    [all...]
  /art/runtime/base/
hash_set_test.cc 68 ASSERT_EQ(hash_set.Size(), 0U);
71 ASSERT_EQ(*it, test_string);
75 ASSERT_EQ(hash_set.Size(), 0U);
90 ASSERT_EQ(*it, strings[i]);
92 ASSERT_EQ(strings.size(), hash_set.Size());
97 ASSERT_EQ(*it, strings[i]);
108 ASSERT_EQ(*it, strings[i]);
128 ASSERT_EQ(found_count[strings[i]], 1U);
135 ASSERT_EQ(hash_set.Verify(), 0U);
138 ASSERT_EQ(found_count[strings[i]], 1U)
    [all...]
  /frameworks/native/libs/gui/tests/
SurfaceTextureMultiContextGL.h 39 ASSERT_EQ(EGL_SUCCESS, eglGetError());
44 ASSERT_EQ(EGL_SUCCESS, eglGetError());
51 ASSERT_EQ(EGL_SUCCESS, eglGetError());
56 ASSERT_EQ(EGL_SUCCESS, eglGetError());
SurfaceTextureGL_test.cpp 31 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(),
33 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(),
35 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(),
39 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(),
50 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(),
53 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
79 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(),
81 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(),
83 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(),
87 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get()
    [all...]
  /hardware/libhardware/tests/camera3/
camera3tests.cpp 33 ASSERT_EQ(0, cam_module()->get_camera_info(i, &info))
37 ASSERT_EQ(0, find_camera_metadata_entry(
45 ASSERT_EQ(0, find_camera_metadata_entry(
65 ASSERT_EQ(0, find_camera_metadata_entry(
  /system/core/adb/
transport_test.cpp 31 ASSERT_EQ(42, t.fd);
32 ASSERT_EQ(1, t.kicked);
33 ASSERT_EQ(0, memcmp(&expected, &t, sizeof(atransport)));
44 ASSERT_EQ(0, memcmp(&expected, &t, sizeof(atransport)));
  /frameworks/native/services/inputflinger/tests/
InputDispatcher_test.cpp 126 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent(
135 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent(
156 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent(
167 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent(
177 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent(
188 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent(
198 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent(
208 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent(
217 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent(
228 ASSERT_EQ(INPUT_EVENT_INJECTION_FAILED, mDispatcher->injectInputEvent
    [all...]
  /system/core/libion/tests/
exit_test.cpp 38 ASSERT_EQ(0, ion_alloc(m_ionFd, size, 0, heapMask, 0, &handle));
56 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, 0, &handle_fd));
75 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, 0, &handle_fd));
98 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, 0, &map_fd));
121 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, 0, &map_fd));
128 ASSERT_EQ(0, munmap(ptr, size / 2));
145 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, ION_FLAG_CACHED, &map_fd));
168 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, ION_FLAG_CACHED, &map_fd));
175 ASSERT_EQ(0, munmap(ptr, size / 2));
192 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, size, 0, heapMask, ION_FLAG_CACHED | ION_FLAG_CACHED_NEEDS_SYNC, &map_fd) (…)
    [all...]
  /external/v8/src/compiler/arm/
instruction-selector-arm-unittest.cc 129 ASSERT_EQ(1U, s.size());
143 ASSERT_EQ(1U, s.size());
146 ASSERT_EQ(2U, s[0]->InputCount());
154 ASSERT_EQ(1U, s.size());
157 ASSERT_EQ(2U, s[0]->InputCount());
172 ASSERT_EQ(1U, s.size());
184 ASSERT_EQ(1U, s.size());
202 ASSERT_EQ(1U, s.size());
205 ASSERT_EQ(3U, s[0]->InputCount());
217 ASSERT_EQ(1U, s.size())
    [all...]

Completed in 481 milliseconds

1 2 3 4 56 7 8 91011>>