/prebuilts/go/linux-x86/test/fixedbugs/ |
issue7998.go | 13 case _, ok := <-ch: 14 return ok 16 _, ok := <-ch 17 _ = ok
|
bug184.go | 26 func h() (b *Buffer, ok bool) { return } 28 func i() (r Reader, ok bool) { 37 bb, ok := b.(*Buffer) 38 _, _, _ = b, bb, ok 40 b, ok = i() 41 bb, ok = b.(*Buffer) 42 _, _, _ = b, bb, ok
|
/prebuilts/go/linux-x86/test/interface/ |
assertinline.go | 14 z, ok := x.(*int) // ERROR "type assertion inlined" 15 return z, ok 23 z, ok := x.(func()) // ERROR "type assertion inlined" 24 return z, ok 32 z, ok := x.(struct{ *int }) // ERROR "type assertion inlined" 33 return z, ok 41 z, ok := x.(complex128) // ERROR "type assertion inlined" 42 return z, ok 46 _, ok := x.(complex128) // ERROR "type assertion inlined" 47 return 0, ok [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug184.go | 26 func h() (b *Buffer, ok bool) { return } 28 func i() (r Reader, ok bool) { 37 bb, ok := b.(*Buffer) 38 _, _, _ = b, bb, ok 40 b, ok = i() 41 bb, ok = b.(*Buffer) 42 _, _, _ = b, bb, ok
|
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/ |
CommonToken.pm | 23 ok(ANTLR::Runtime::Token->EOF_TOKEN == ANTLR::Runtime::Token->EOF_TOKEN); 24 ok(ANTLR::Runtime::Token->SKIP_TOKEN == ANTLR::Runtime::Token->SKIP_TOKEN); 28 ok !(ANTLR::Runtime::Token->EOF_TOKEN != ANTLR::Runtime::Token->EOF_TOKEN); 29 ok !(ANTLR::Runtime::Token->SKIP_TOKEN != ANTLR::Runtime::Token->SKIP_TOKEN); 33 ok !ANTLR::Runtime::Token->EOF_TOKEN;
|
/external/fio/arch/ |
arch-x86_64.h | 47 int ok; local 54 : "=r" (ok), "=a" (*val) 57 return ok; 62 unsigned char ok; local 66 : "=qm" (ok), "=a" (*seed));
|
/external/libchrome/base/ |
base64_unittest.cc | 17 bool ok; local 22 ok = Base64Decode(encoded, &decoded); 23 EXPECT_TRUE(ok); 35 bool ok = Base64Decode(text, &text); local 36 EXPECT_TRUE(ok);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
MutateDrawable.java | 32 Button ok = new Button(this); local 33 ok.setId(R.id.a); 34 ok.setBackgroundDrawable(getResources().getDrawable( 42 layout.addView(ok); 45 ok.getBackground().mutate().setAlpha(127);
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/testdata/ |
assert.go | 56 err, ok := e.(*runtime.TypeAssertionError) 57 if !ok { 87 err, ok := e.(*runtime.TypeAssertionError) 88 if !ok { 104 t, ok := e.(*T) 105 return t, ok 109 t, ok := i.(*T) 110 return t, ok 114 if got, ok := e2t2_ssa(t); !ok || got != t [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/testdata/ |
assert.go | 56 err, ok := e.(*runtime.TypeAssertionError) 57 if !ok { 87 err, ok := e.(*runtime.TypeAssertionError) 88 if !ok { 104 t, ok := e.(*T) 105 return t, ok 109 t, ok := i.(*T) 110 return t, ok 114 if got, ok := e2t2_ssa(t); !ok || got != t [all...] |
/system/media/audio_utils/tests/ |
fifo_multiprocess.cpp | 74 int ok = munmap(frontIndex, sizeof(audio_utils_fifo_index)); local 75 printf("writer unmap front ok=%d\n", ok); 76 ok = ashmem_set_prot_region(frontFd, PROT_READ); 77 printf("writer prot read front ok=%d\n", ok); 137 int ok = munmap(rearIndex, sizeof(audio_utils_fifo_index)); local 138 printf("reader unmap rear ok=%d\n", ok); 139 ok = ashmem_set_prot_region(rearFd, PROT_READ) 212 int ok = munmap(frontIndex, sizeof(audio_utils_fifo_index)); local [all...] |
/external/clang/test/CXX/expr/expr.const/ |
p5-0x.cpp | 17 X<a> x; // ok, unique conversion to int 22 struct OK { 23 constexpr OK() {} 25 } constexpr ok; variable in typeref:struct:OK 37 constexpr int test_ok = ok; // ok 38 constexpr int test_explicit(expl); // ok 39 constexpr int test_ambiguous = ambig; // ok 47 auto new1 = new int[1][ok]; 55 enum1 = ok, [all...] |
/prebuilts/go/darwin-x86/src/net/ |
error_unix_test.go | 22 _, ok := err.(syscall.Errno) 23 return ok 27 if op, ok := err.(*OpError); ok { 30 if sys, ok := err.(*os.SyscallError); ok {
|
/prebuilts/go/linux-x86/src/net/ |
error_unix_test.go | 22 _, ok := err.(syscall.Errno) 23 return ok 27 if op, ok := err.(*OpError); ok { 30 if sys, ok := err.(*os.SyscallError); ok {
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/sh/ |
err-at.s | 5 mov.l r1,@r0 ! ok 8 mov.l r1,@(r0,r0) ! ok 9 mov.l r1,@(r0,r1) ! ok
|
/toolchain/binutils/binutils-2.25/gas/testsuite/lib/ |
doobjcmp | 18 echo Sizes ok. 27 echo Headers ok. 35 echo Text ok. 44 echo Data ok. 53 echo Symbols ok. 73 echo Reloc ok.
|
/frameworks/wilhelm/src/ |
ThreadPool.cpp | 169 int ok; local 175 ok = pthread_mutex_lock(&tp->mMutex); 176 assert(0 == ok); 178 ok = pthread_cond_broadcast(&tp->mCondNotEmpty); 179 assert(0 == ok); 180 ok = pthread_cond_broadcast(&tp->mCondNotFull); 181 assert(0 == ok); 182 ok = pthread_mutex_unlock(&tp->mMutex); 183 assert(0 == ok); 186 ok = pthread_join(tp->mThreadArray[i], (void **) NULL) 279 int ok; local 330 int ok; local [all...] |
/external/libvpx/libvpx/vpx_util/ |
vpx_thread.h | 133 int ok = 1; local 137 ok &= (CloseHandle(condition->waiting_sem_) != 0); 138 ok &= (CloseHandle(condition->received_sem_) != 0); 139 ok &= (CloseHandle(condition->signal_event_) != 0); 141 return !ok; 163 int ok = 1; local 169 ok = SetEvent(condition->signal_event_); 172 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != 176 return !ok; 181 int ok; local 282 int ok = 1; local 290 int ok = 1; local 305 int ok = 1; local 316 int ok = 1; local 326 int ok = 1; local [all...] |
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.codecvt/ |
codecvt_base.pass.cpp | 15 // enum result {ok, partial, error, noconv}; 23 assert(std::codecvt_base::ok == 0);
|
/frameworks/native/libs/vr/libpdx/ |
status_tests.cpp | 10 EXPECT_FALSE(status.ok()); 19 EXPECT_TRUE(status_int.ok()); 23 EXPECT_TRUE(status_int.ok()); 27 EXPECT_TRUE(status_int.ok()); 32 EXPECT_TRUE(status_str.ok()); 39 EXPECT_FALSE(status_int.ok()); 45 EXPECT_FALSE(status_str.ok()); 65 EXPECT_TRUE(status1.ok()); 66 EXPECT_FALSE(status2.ok()); 75 EXPECT_FALSE(status1.ok()); [all...] |
/prebuilts/go/darwin-x86/src/cmd/fix/ |
netipv6zone.go | 30 cl, ok := n.(*ast.CompositeLit) 31 if !ok { 34 se, ok := cl.Type.(*ast.SelectorExpr) 35 if !ok { 44 if _, ok := e.(*ast.KeyValueExpr); ok { 54 if elit, ok := e.(*ast.BasicLit); ok && elit.Value == "0" {
|
/prebuilts/go/linux-x86/src/cmd/fix/ |
netipv6zone.go | 30 cl, ok := n.(*ast.CompositeLit) 31 if !ok { 34 se, ok := cl.Type.(*ast.SelectorExpr) 35 if !ok { 44 if _, ok := e.(*ast.KeyValueExpr); ok { 54 if elit, ok := e.(*ast.BasicLit); ok && elit.Value == "0" {
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/ |
codecvt_base.pass.cpp | 15 // enum result {ok, partial, error, noconv}; 23 assert(std::codecvt_base::ok == 0);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/localization/locale.categories/category.ctype/locale.codecvt/ |
codecvt_base.pass.cpp | 15 // enum result {ok, partial, error, noconv}; 23 assert(std::codecvt_base::ok == 0);
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
crash_read_write.cc | 16 bool ok = VirtualFree(p, 0, MEM_RELEASE); local 17 if (!ok) {
|