/external/libtextclassifier/common/ |
mmap.h | 39 // are ok keeping that file in memory the whole time). 53 bool ok() const { return start() != nullptr; } function in class:libtextclassifier::nlp_core::MmapHandle 76 // TC_DCHECK(mmap_handle.ok()) << "Unable to mmap " << filename; 106 if (handle_.ok()) {
|
/external/mdnsresponder/mDNSWindows/DLL/ |
dllmain.c | 44 BOOL ok; local 65 ok = EnumServicesStatus ( sc, srvType, srvState, lpService, dwBytes, &bytesNeeded, &srvCount, &resumeHandle ); 67 if ( ok || ( GetLastError() != ERROR_MORE_DATA ) ) 83 err = translate_errno( ok, GetLastError(), kUnknownErr );
|
/external/protobuf/src/google/protobuf/stubs/ |
statusor.h | 35 // value to be Status::OK. Further, StatusOr<T*> does not allow the 44 // if (result.ok()) { 54 // if (result.ok()) { 64 // if (result.ok()) { 104 // Construct a new StatusOr with the given non-ok status. After calling 111 // REQUIRES: status != Status::OK. This requirement is DCHECKed. 112 // In optimized builds, passing Status::OK here will have the effect 118 // ValueOrDie() will succeed, and calls to status() will return OK. 144 // returns Status::OK. 147 // Returns this->status().ok() 244 inline bool StatusOr<T>::ok() const { function in class:google::protobuf::util::StatusOr [all...] |
/external/syslinux/win/ |
ntfstest.c | 51 BOOL ok; local
|
/external/valgrind/none/tests/s390x/ |
spechelper-icm-1.c | 26 int wrong, ok; local 32 wrong = ok = 0; 34 if (branch(0, 0, v1)) ++wrong; else ++ok; 35 if (branch(1, 0, v1)) ++wrong; else ++ok; 36 if (branch(2, 0, v1)) ++wrong; else ++ok; 37 if (branch(3, 0, v1)) ++wrong; else ++ok; 38 if (branch(4, 0, v1)) ++wrong; else ++ok; 39 if (branch(5, 0, v1)) ++wrong; else ++ok; 40 if (branch(6, 0, v1)) ++wrong; else ++ok; 41 if (branch(7, 0, v1)) ++wrong; else ++ok; 60 int wrong, ok; local 95 int wrong, ok; local 181 int wrong, ok; local 301 int wrong, ok; local 387 int wrong, ok; local 422 int wrong, ok, v1; local 507 int wrong, ok; local 628 int wrong, ok; local 714 int wrong, ok; local [all...] |
spechelper-icm-2.c | 26 int wrong, ok; local 32 wrong = ok = 0; 34 if (branch(0, 0, v1)) ++wrong; else ++ok; 35 if (branch(1, 0, v1)) ++wrong; else ++ok; 36 if (branch(2, 0, v1)) ++wrong; else ++ok; 37 if (branch(3, 0, v1)) ++wrong; else ++ok; 38 if (branch(4, 0, v1)) ++wrong; else ++ok; 39 if (branch(5, 0, v1)) ++wrong; else ++ok; 40 if (branch(6, 0, v1)) ++wrong; else ++ok; 41 if (branch(7, 0, v1)) ++wrong; else ++ok; 60 int wrong, ok; local 95 int wrong, ok; local 181 int wrong, ok; local 301 int wrong, ok; local 387 int wrong, ok; local 422 int wrong, ok, v1; local 507 int wrong, ok; local 628 int wrong, ok; local 714 int wrong, ok; local [all...] |
spechelper-tm.c | 22 int wrong, ok; local 28 wrong = ok = 0; 30 if (branch(0, 0, v)) ++wrong; else ++ok; 31 if (branch(1, 0, v)) ++wrong; else ++ok; 32 if (branch(2, 0, v)) ++wrong; else ++ok; 33 if (branch(3, 0, v)) ++wrong; else ++ok; 34 if (branch(4, 0, v)) ++wrong; else ++ok; 35 if (branch(5, 0, v)) ++wrong; else ++ok; 36 if (branch(6, 0, v)) ++wrong; else ++ok; 37 if (branch(7, 0, v)) ++wrong; else ++ok; 56 int wrong, ok; local 90 int wrong, ok; local 124 int wrong, ok; local 158 int wrong, ok; local 192 int wrong, ok; local [all...] |
spechelper-tmll.c | 22 int wrong, ok; local 28 wrong = ok = 0; 30 if (branch(0, 0, v)) ++wrong; else ++ok; 31 if (branch(1, 0, v)) ++wrong; else ++ok; 32 if (branch(2, 0, v)) ++wrong; else ++ok; 33 if (branch(3, 0, v)) ++wrong; else ++ok; 34 if (branch(4, 0, v)) ++wrong; else ++ok; 35 if (branch(5, 0, v)) ++wrong; else ++ok; 36 if (branch(6, 0, v)) ++wrong; else ++ok; 37 if (branch(7, 0, v)) ++wrong; else ++ok; 56 int wrong, ok; local 90 int wrong, ok; local 124 int wrong, ok; local 158 int wrong, ok; local 192 int wrong, ok; local [all...] |
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
rtp_rtcp_extensions.cc | 36 bool ok = true; variable 39 ok = false; 43 ok = false; 45 if (!ok) {
|
/frameworks/av/services/audioflinger/ |
ServiceUtilities.cpp | 52 // we're always OK. 60 const bool ok = checkPermission(sRecordAudio, pid, uid); local 61 if (!ok) { 111 bool ok = checkPermission(sCaptureAudioOutput, pid, uid); local 112 if (!ok) ALOGE("Request requires android.permission.CAPTURE_AUDIO_OUTPUT"); 113 return ok; 119 bool ok = PermissionCache::checkCallingPermission(sCaptureHotwordAllowed); local 120 if (!ok) ALOGE("android.permission.CAPTURE_AUDIO_HOTWORD"); 121 return ok; 128 bool ok = PermissionCache::checkCallingPermission(sAudioSettings) local 136 bool ok = PermissionCache::checkCallingPermission(sModifyAudioRoutingAllowed); local 145 bool ok = PermissionCache::checkCallingPermission(sDump); local [all...] |
/prebuilts/go/darwin-x86/misc/cgo/testcarchive/ |
main4.c | 22 static int ok = 1; variable 94 ok = 0; 97 ok = 0; 151 ok = 0; 154 ok = 0; 191 if (!ok) {
|
/prebuilts/go/darwin-x86/src/net/ |
tcpsock_posix.go | 124 if op, ok := err.(*OpError); ok { 127 if sys, ok := err.(*os.SyscallError); ok { 133 func (ln *TCPListener) ok() bool { return ln != nil && ln.fd != nil } func
|
/prebuilts/go/darwin-x86/src/sync/atomic/ |
asm_arm.s | 202 BEQ ok 208 ok: label
|
/prebuilts/go/darwin-x86/src/syscall/ |
asm_linux_386.s | 29 JLS ok 36 ok: label
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug244.go | 24 var v, ok = m[g()] var 27 if x != 1 || y != 2 || z != 3 || nf != 1 || v != 0 || ok != false || ng != 1 { 28 println("x=", x, " y=", y, " z=", z, " nf=", nf, " v=", v, " ok=", ok, " ng=", ng)
|
/prebuilts/go/darwin-x86/test/interface/ |
embed.go | 29 var ok = true var 34 ok = false 57 if !ok {
|
/prebuilts/go/linux-x86/misc/cgo/testcarchive/ |
main4.c | 22 static int ok = 1; variable 94 ok = 0; 97 ok = 0; 151 ok = 0; 154 ok = 0; 191 if (!ok) {
|
/prebuilts/go/linux-x86/src/net/ |
tcpsock_posix.go | 124 if op, ok := err.(*OpError); ok { 127 if sys, ok := err.(*os.SyscallError); ok { 133 func (ln *TCPListener) ok() bool { return ln != nil && ln.fd != nil } func
|
/prebuilts/go/linux-x86/src/sync/atomic/ |
asm_arm.s | 202 BEQ ok 208 ok: label
|
/prebuilts/go/linux-x86/src/syscall/ |
asm_linux_386.s | 29 JLS ok 36 ok: label
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug244.go | 24 var v, ok = m[g()] var 27 if x != 1 || y != 2 || z != 3 || nf != 1 || v != 0 || ok != false || ng != 1 { 28 println("x=", x, " y=", y, " z=", z, " nf=", nf, " v=", v, " ok=", ok, " ng=", ng)
|
/prebuilts/go/linux-x86/test/interface/ |
embed.go | 29 var ok = true var 34 ok = false 57 if !ok {
|
/system/update_engine/payload_generator/ |
zip_unittest.cc | 75 bool ok = writer->Init(nullptr, {}, 1); local 76 ok = writer->Write(in.data(), in.size()) && ok; 78 ok = writer->End() && ok; 79 return ok;
|
/art/runtime/ |
java_vm_ext_test.cc | 51 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); local 52 EXPECT_EQ(JNI_OK, ok); 64 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); local 65 EXPECT_EQ(JNI_OK, ok); 66 if (ok == JNI_OK) { 68 ok = vms_buf[0]->AttachCurrentThread(&env, nullptr); 70 ok = vms_buf[0]->AttachCurrentThreadAsDaemon(&env, nullptr); 76 EXPECT_EQ(JNI_OK, ok); 78 if (ok == JNI_OK) { 79 ok = vms_buf[0]->DetachCurrentThread() 128 jint ok = vm_->AttachCurrentThread(&env, nullptr); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
boolobject.c | 38 PyObject *PyBool_FromLong(long ok)
42 if (ok)
57 long ok;
local 61 ok = PyObject_IsTrue(x);
62 if (ok < 0)
64 return PyBool_FromLong(ok);
|