Home
last modified time | relevance | path

Searched refs:ZX_OK (Results 1 – 25 of 53) sorted by relevance

123

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_fuchsia.cpp36 CHECK_EQ(status, ZX_OK); in internal_sched_yield()
42 CHECK_EQ(status, ZX_OK); in internal_nanosleep()
55 CHECK_EQ(status, ZX_OK); in NanoTime()
66 CHECK_EQ(status, ZX_OK); in internal_getpid()
137 CHECK_EQ(status, ZX_OK); in Lock()
147 CHECK_EQ(status, ZX_OK); in Unlock()
175 if (status != ZX_OK) { in DoAnonymousMmapOrDie()
191 if (status != ZX_OK) { in DoAnonymousMmapOrDie()
226 if (status != ZX_OK) in Init()
242 if (status != ZX_OK) { in DoMmapFixedOrDie()
[all …]
Dsanitizer_coverage_fuchsia.cpp137 CHECK_EQ(status, ZX_OK); in Setup()
147 CHECK_EQ(status, ZX_OK); in Setup()
157 CHECK_EQ(status, ZX_OK); in Setup()
179 CHECK_EQ(status, ZX_OK); in Setup()
183 CHECK_EQ(status, ZX_OK); in Setup()
Dsanitizer_procmaps_fuchsia.cpp34 if (status != ZX_OK) { in Reset()
44 if (status != ZX_OK) { in Reset()
/external/swiftshader/src/Vulkan/
DVkSemaphoreExternalFuchsia.hpp40 if(status != ZX_OK) in init()
48 if(status != ZX_OK) in init()
70 if(status != ZX_OK) in exportHandle()
84 if(status != ZX_OK) in wait()
96 if(status != ZX_OK) in wait()
108 if(status != ZX_OK && status != ZX_ERR_TIMED_OUT) in tryWait()
119 if(status != ZX_OK) in tryWait()
130 if(status != ZX_OK) in signal()
DVkDeviceMemoryExternalFuchsia.hpp112 if(status != ZX_OK) in allocate()
128 if(status != ZX_OK) in allocate()
142 if(status != ZX_OK) in deallocate()
161 if(status != ZX_OK) in exportHandle()
/external/scudo/standalone/
Dfuchsia.cpp42 if (UNLIKELY(Status != ZX_OK)) { in allocateVmar()
72 if (Status != ZX_OK) { in map()
80 if (UNLIKELY(Status != ZX_OK)) { in map()
104 CHECK_EQ(_zx_handle_close(Vmo), ZX_OK); in map()
106 if (UNLIKELY(Status != ZX_OK)) { in map()
123 CHECK_EQ(_zx_vmar_destroy(Vmar), ZX_OK); in unmap()
124 CHECK_EQ(_zx_handle_close(Vmar), ZX_OK); in unmap()
129 if (UNLIKELY(Status != ZX_OK)) in unmap()
134 CHECK_EQ(_zx_handle_close(Data->Vmo), ZX_OK); in unmap()
145 if (_zx_vmar_protect(Data->Vmar, Prot, Addr, Size) != ZX_OK) in setMemoryPermission()
[all …]
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dfuchsia.cpp43 if (UNLIKELY(Status != ZX_OK)) { in allocateVmar()
73 if (Status != ZX_OK) { in map()
81 if (UNLIKELY(Status != ZX_OK)) { in map()
103 CHECK_EQ(_zx_handle_close(Vmo), ZX_OK); in map()
105 if (UNLIKELY(Status != ZX_OK)) { in map()
122 CHECK_EQ(_zx_vmar_destroy(Vmar), ZX_OK); in unmap()
123 CHECK_EQ(_zx_handle_close(Vmar), ZX_OK); in unmap()
128 if (UNLIKELY(Status != ZX_OK)) in unmap()
133 CHECK_EQ(_zx_handle_close(Data->Vmo), ZX_OK); in unmap()
145 CHECK_EQ(Status, ZX_OK); in releasePagesToOS()
[all …]
/external/gwp_asan/gwp_asan/platform_specific/
Dguarded_pool_allocator_fuchsia.cpp27 Check(Status == ZX_OK, "Failed to create Vmo"); in map()
33 Check(Status == ZX_OK, "Vmo mapping failed"); in map()
43 Check(Status == ZX_OK, "Vmo unmapping failed"); in unmap()
53 Check(Status == ZX_OK, "Failed to reserve guarded pool allocator memory"); in reserveGuardedPool()
62 Check(_zx_vmar_destroy(Vmar) == ZX_OK, "Failed to destroy a vmar"); in unreserveGuardedPool()
63 Check(_zx_handle_close(Vmar) == ZX_OK, "Failed to close a vmar"); in unreserveGuardedPool()
72 Check(Status == ZX_OK, "Failed to create vmo"); in allocateInGuardedPool()
84 Check(Status == ZX_OK, "Vmo mapping failed"); in allocateInGuardedPool()
96 Check(Status == ZX_OK, "Vmar unmapping failed"); in deallocateInGuardedPool()
Dmutex_fuchsia.cpp17 return sync_mutex_trylock(&Mu) == ZX_OK; in tryLock()
/external/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/
Dguarded_pool_allocator_fuchsia.cpp28 Check(Status == ZX_OK, "Failed to create Vmo"); in map()
34 Check(Status == ZX_OK, "Vmo mapping failed"); in map()
44 Check(Status == ZX_OK, "Vmo unmapping failed"); in unmap()
54 Check(Status == ZX_OK, "Failed to reserve guarded pool allocator memory"); in reserveGuardedPool()
63 Check(_zx_vmar_destroy(Vmar) == ZX_OK, "Failed to destroy a vmar"); in unreserveGuardedPool()
64 Check(_zx_handle_close(Vmar) == ZX_OK, "Failed to close a vmar"); in unreserveGuardedPool()
73 Check(Status == ZX_OK, "Failed to create vmo"); in allocateInGuardedPool()
85 Check(Status == ZX_OK, "Vmo mapping failed"); in allocateInGuardedPool()
97 Check(Status == ZX_OK, "Vmar unmapping failed"); in deallocateInGuardedPool()
Dmutex_fuchsia.cpp17 return sync_mutex_trylock(&Mu) == ZX_OK; in tryLock()
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingPlatformFuchsia.c78 if (Status != ZX_OK) in lprofVMOWriter()
86 if (Status != ZX_OK) in lprofVMOWriter()
138 if (Status != ZX_OK) { in __llvm_profile_initialize()
162 if (Status != ZX_OK) { in __llvm_profile_initialize()
173 if (Status != ZX_OK) { in __llvm_profile_initialize()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_utils.cpp59 if (Status != ZX_OK) { in WriteAll()
67 if (Status != ZX_OK) { in WriteAll()
86 if (Status != ZX_OK) { in Open()
95 if (Status != ZX_OK) { in Open()
111 if (Status != ZX_OK) { in Open()
Dxray_allocator.h44 if (Status != ZX_OK) { in allocate()
55 if (Status != ZX_OK) { in allocate()
95 if (Status != ZX_OK) { in allocateBuffer()
105 if (Status != ZX_OK) { in allocateBuffer()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerUtilFuchsia.cpp57 if (Status != ZX_OK) { in ExitOnErr()
379 sizeof(Info), NULL, NULL)) != ZX_OK) { in GetPid()
391 sizeof(Info), NULL, NULL)) != ZX_OK) { in GetPeakRSSMb()
495 if (rc != ZX_OK) { in ExecuteCommand()
504 ZX_TIME_INFINITE, nullptr)) != ZX_OK) { in ExecuteCommand()
512 sizeof(Info), nullptr, nullptr)) != ZX_OK) { in ExecuteCommand()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerUtilFuchsia.cpp57 if (Status != ZX_OK) { in ExitOnErr()
379 sizeof(Info), NULL, NULL)) != ZX_OK) { in GetPid()
391 sizeof(Info), NULL, NULL)) != ZX_OK) { in GetPeakRSSMb()
495 if (rc != ZX_OK) { in ExecuteCommand()
504 ZX_TIME_INFINITE, nullptr)) != ZX_OK) { in ExecuteCommand()
512 sizeof(Info), nullptr, nullptr)) != ZX_OK) { in ExecuteCommand()
/external/swiftshader/src/Reactor/
DExecutableMemory.cpp305 if(zx_vmo_create(length, 0, &vmo) != ZX_OK) in allocateMemoryPages()
310 zx_vmo_replace_as_executable(vmo, ZX_HANDLE_INVALID, &vmo) != ZX_OK) in allocateMemoryPages()
319 if(status != ZX_OK) in allocateMemoryPages()
374 ASSERT(status == ZX_OK); in protectMemoryPages()
400 ASSERT(status == ZX_OK); in deallocateMemoryPages()
/external/swiftshader/third_party/marl/src/
Dmemory.cpp68 if (zx_vmo_create(length, 0, &vmo) != ZX_OK) { in allocatePages()
77 MARL_ASSERT(status == ZX_OK, "Failed to allocate %d pages", int(count)); in allocatePages()
85 MARL_ASSERT(status == ZX_OK, "Failed to free %d pages at %p", int(count), in freePages()
92 MARL_ASSERT(status == ZX_OK, "Failed to protect page at %p", addr); in protectPage()
/external/mesa3d/src/gtest/src/
Dgtest-death-test.cc889 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
894 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
900 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
905 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
912 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
919 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
938 } while (status_zx == ZX_OK); in Wait()
946 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
960 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
1008 GTEST_DEATH_TEST_CHECK_(status == ZX_OK); in AssumeRole()
[all …]
/external/googletest/googletest/src/
Dgtest-death-test.cc890 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
895 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
900 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
905 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
912 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
919 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
938 } while (status_zx == ZX_OK); in Wait()
945 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
959 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
1007 GTEST_DEATH_TEST_CHECK_(status == ZX_OK); in AssumeRole()
[all …]
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-death-test.cc868 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
873 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
879 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
884 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
891 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
898 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
917 } while (status_zx == ZX_OK); in Wait()
925 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
939 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
986 GTEST_DEATH_TEST_CHECK_(status == ZX_OK); in AssumeRole()
[all …]
/external/libchrome/base/
Dlogging_unittest.cc330 if (status != ZX_OK) { in CrashThread()
352 ASSERT_EQ(status, ZX_OK); in SpawnCrashThread()
354 ASSERT_EQ(status, ZX_OK); in SpawnCrashThread()
359 ASSERT_EQ(status, ZX_OK); in SpawnCrashThread()
371 ASSERT_EQ(status, ZX_OK); in SpawnCrashThread()
379 ASSERT_EQ(status, ZX_OK); in SpawnCrashThread()
383 ASSERT_EQ(status, ZX_OK); in SpawnCrashThread()
393 ASSERT_EQ(status, ZX_OK); in SpawnCrashThread()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-death-test.cc887 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
892 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
899 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
907 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
927 } while (status_zx == ZX_OK); in Wait()
945 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
993 GTEST_DEATH_TEST_CHECK_(status != ZX_OK); in AssumeRole()
1024 GTEST_DEATH_TEST_CHECK_(status == ZX_OK); in AssumeRole()
1030 GTEST_DEATH_TEST_CHECK_(status == ZX_OK); in AssumeRole()
1035 GTEST_DEATH_TEST_CHECK_(status == ZX_OK); in AssumeRole()
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-death-test.cc815 GTEST_DEATH_TEST_CHECK_(status == ZX_OK); in ~FuchsiaDeathTest()
817 GTEST_DEATH_TEST_CHECK_(status == ZX_OK); in ~FuchsiaDeathTest()
885 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
890 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
896 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
902 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
920 GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK); in Wait()
982 GTEST_DEATH_TEST_CHECK_(status == ZX_OK); in AssumeRole()
987 GTEST_DEATH_TEST_CHECK_(status == ZX_OK); in AssumeRole()
990 GTEST_DEATH_TEST_CHECK_(status == ZX_OK); in AssumeRole()
/external/libchrome/base/process/
Dprocess_util_unittest.cc431 ZX_CHECK(ZX_OK == result, result) << "zx_channel_create"; in TEST_F()
446 ZX_OK); in TEST_F()
455 ZX_CHECK(ZX_OK == result, result) << "zx_channel_create"; in TEST_F()
472 ZX_OK); in TEST_F()
1107 CHECK_EQ(ZX_OK, result); in MULTIPROCESS_TEST_MAIN()
1110 CHECK_EQ(ZX_OK, zx_handle_close(handle)); in MULTIPROCESS_TEST_MAIN()
1119 ASSERT_EQ(ZX_OK, result); in TEST_F()
1134 ASSERT_EQ(ZX_OK, result); in TEST_F()
1140 EXPECT_EQ(ZX_OK, result); in TEST_F()
1144 CHECK_EQ(ZX_OK, zx_handle_close(handles[1])); in TEST_F()

123