/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);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/ |
DiagBigDecimal.java | 220 say("--- All OK ---" + " " 416 (new Test("con001")).ok = (android.icu.math.BigDecimal.ZERO.toString()).equals("0"); 417 (new Test("con002")).ok = (android.icu.math.BigDecimal.ONE.toString()).equals("1"); 418 (new Test("con003")).ok = (android.icu.math.BigDecimal.TEN.toString()).equals("10"); 419 (new Test("con004")).ok = (android.icu.math.BigDecimal.ZERO.intValueExact()) == 0; 420 (new Test("con005")).ok = (android.icu.math.BigDecimal.ONE.intValueExact()) == 1; 421 (new Test("con006")).ok = (android.icu.math.BigDecimal.TEN.intValueExact()) == 10; 424 (new Test("cbd001")).ok = ((new android.icu.math.BigDecimal(new java.math.BigDecimal("0"))).toString()).equals("0"); 425 (new Test("cbd002")).ok = ((new android.icu.math.BigDecimal(new java.math.BigDecimal("1"))).toString()).equals("1"); 426 (new Test("cbd003")).ok = ((new android.icu.math.BigDecimal(new java.math.BigDecimal("10"))).toString()).equals("10") 5570 transient boolean ok; field in class:DiagBigDecimal.Test [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/ |
DiagBigDecimal.java | 216 say("--- All OK ---" + " " 412 (new Test("con001")).ok = (com.ibm.icu.math.BigDecimal.ZERO.toString()).equals("0"); 413 (new Test("con002")).ok = (com.ibm.icu.math.BigDecimal.ONE.toString()).equals("1"); 414 (new Test("con003")).ok = (com.ibm.icu.math.BigDecimal.TEN.toString()).equals("10"); 415 (new Test("con004")).ok = (com.ibm.icu.math.BigDecimal.ZERO.intValueExact()) == 0; 416 (new Test("con005")).ok = (com.ibm.icu.math.BigDecimal.ONE.intValueExact()) == 1; 417 (new Test("con006")).ok = (com.ibm.icu.math.BigDecimal.TEN.intValueExact()) == 10; 420 (new Test("cbd001")).ok = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("0"))).toString()).equals("0"); 421 (new Test("cbd002")).ok = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("1"))).toString()).equals("1"); 422 (new Test("cbd003")).ok = ((new com.ibm.icu.math.BigDecimal(new java.math.BigDecimal("10"))).toString()).equals("10") 5566 transient boolean ok; field in class:DiagBigDecimal.Test [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...] |
/external/protobuf/src/google/protobuf/testing/ |
zcgunzip.cc | 61 bool ok; local 62 ok = in.Next(&inptr, &inlen); 63 if (!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.c | 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/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);
|
/ndk/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);
|
/external/google-breakpad/src/common/tests/ |
file_utils.cc | 106 bool ok = true; local 112 ok = false; 117 ok = false; 119 return ok; 129 bool ok = true; local 140 ok = false; 148 ok = false; 150 return ok;
|
/external/valgrind/none/tests/amd64/ |
tm1.stdout.exp | 1 transactionally_apply: ok = 0 (expected 0)
|
faultstatus.c | 60 int ok = 1; local 62 ok = ok && testsig(sig, cur_test->sig); 63 ok = ok && testcode(si->si_code, cur_test->code); 65 ok = ok && testaddr(si->si_addr, cur_test->addr); 67 if (ok) 70 siglongjmp(escape, ok + 1);
|
/external/libchrome/crypto/ |
symmetric_key_win.cc | 85 BOOL ok = local 92 if (!ok) 116 BOOL ok = CryptAcquireContext(safe_provider.receive(), NULL, NULL, local 118 if (!ok) 127 ok = CryptGenKey(safe_provider.get(), alg, CRYPT_EXPORTABLE, 129 if (!ok) 185 BOOL ok = CryptAcquireContext(safe_provider.receive(), NULL, NULL, local 187 if (!ok) 192 ok = CryptGenRandom(safe_provider, key_size_in_bytes, random.get()); 193 if (!ok) 218 BOOL ok = CryptCreateHash(provider, CALG_HMAC, key, 0, safe_hash.receive()); local 258 BOOL ok = CryptDuplicateHash(hash, NULL, 0, safe_hash.receive()); local 325 bool ok = false; local 388 BOOL ok = CryptAcquireContext(provider.receive(), NULL, NULL, provider_type, local 488 BOOL ok = CryptAcquireContext(provider.receive(), NULL, NULL, provider_type, local 509 BOOL ok = CryptExportKey(key_, 0, PLAINTEXTKEYBLOB, 0, NULL, &size); local [all...] |
/external/v8/src/parsing/ |
preparser.cc | 89 PreParserExpression PreParserTraits::ParseV8Intrinsic(bool* ok) { 90 return pre_parser_->ParseV8Intrinsic(ok); 98 LanguageMode language_mode, bool* ok) { 101 function_token_position, type, language_mode, ok); 123 bool ok = true; local 125 ParseLazyFunctionLiteralBody(&ok, bookmark); 131 } else if (!ok) { 137 CheckStrictOctalLiteral(start_position, end_pos, &ok); 139 if (!ok) return kPreParseSuccess; 148 int pos, bool* ok) { [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/ |
BitSet.pm | 14 ok my $bs = $class->new(); 21 ok !$bs->member(0); 22 ok !$bs->member(1); 23 ok $bs->member(2); 24 ok !$bs->member(3); 31 ok $bs->member(4); 45 ok $bs->member(16) ;
|
/external/opencv3/3rdparty/libwebp/dec/ |
alpha.c | 40 int ok = 0; local 66 ok = (alpha_data_size >= alpha_decoded_size); 67 if (ok) memcpy(output, alpha_data, alpha_decoded_size); 69 ok = VP8LDecodeAlphaImageStream(width, height, alpha_data, alpha_data_size, 73 if (ok) { 81 ok = DequantizeLevels(output, width, height); 85 return ok;
|
/external/valgrind/none/tests/mips32/ |
SignalException.c | 41 int ok = 1; local 43 ok = ok && testsig(sig, curr_test->sig); 44 ok = ok && testcode(si->si_code, curr_test->code); 46 if (ok) 49 siglongjmp(escape, ok + 1);
|
/external/libvpx/libvpx/vpx_util/ |
vpx_thread.h | 100 int ok = 1; local 101 ok &= (CloseHandle(condition->waiting_sem_) != 0); 102 ok &= (CloseHandle(condition->received_sem_) != 0); 103 ok &= (CloseHandle(condition->signal_event_) != 0); 104 return !ok; 123 int ok = 1; local 126 ok = SetEvent(condition->signal_event_); 129 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != 132 return !ok; 137 int ok; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
vp9_thread.h | 97 int ok = 1; local 98 ok &= (CloseHandle(condition->waiting_sem_) != 0); 99 ok &= (CloseHandle(condition->received_sem_) != 0); 100 ok &= (CloseHandle(condition->signal_event_) != 0); 101 return !ok; 120 int ok = 1; local 123 ok = SetEvent(condition->signal_event_); 126 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != 129 return !ok; 134 int ok; local [all...] |
/external/valgrind/none/tests/x86/ |
faultstatus.c | 63 int ok = 1; local 65 ok = ok && testsig(sig, cur_test->sig); 66 ok = ok && testcode(si->si_code, cur_test->code); 68 ok = ok && testaddr(si->si_addr, cur_test->addr); 70 if (ok) 73 siglongjmp(escape, ok + 1);
|
/external/opencv3/3rdparty/libwebp/utils/ |
thread.c | 79 int ok = 1; local 80 ok &= (CloseHandle(condition->waiting_sem_) != 0); 81 ok &= (CloseHandle(condition->received_sem_) != 0); 82 ok &= (CloseHandle(condition->signal_event_) != 0); 83 return !ok; 101 int ok = 1; local 104 ok = SetEvent(condition->signal_event_); 107 ok &= (WaitForSingleObject(condition->received_sem_, INFINITE) != 110 return !ok; 115 int ok; local 196 int ok = 1; local [all...] |
/external/autotest/client/site_tests/platform_DebugDaemonGetModemStatus/ |
platform_DebugDaemonGetModemStatus.py | 21 ok = False 25 ok = True 26 if not ok:
|
/external/autotest/frontend/client/src/autotest/common/ui/ |
SimpleDialog.java | 11 * Simple DialogBox subclass that displays a title, contents, and an OK button to close the dialog. 24 Button ok = new Button("OK"); local 25 ok.addClickHandler(new ClickHandler() { 30 flex.setWidget(2, 0, ok);
|
/external/libunwind/tests/ |
Ltest-varargs.c | 10 int ok; variable 31 ok = 1; 74 if (!ok)
|