/external/webkit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
generatePatchCommand.pl | 42 ok($patchCommand eq "patch -p0", $title); 43 ok($isForcing == 0, $title); 52 ok($patchCommand eq "patch -p0", $title); 53 ok($isForcing == 0, $title); 61 ok($patchCommand eq "patch -p0 --force", $title); 62 ok($isForcing == 1, $title); 70 ok($patchCommand eq "patch -p0 --force", $title); 71 ok($isForcing == 1, $title); 79 ok($patchCommand eq "patch -p0 --reverse", $title); 87 ok($patchCommand eq "patch -p0 --force --fuzz=3", $title) [all...] |
/external/v8/test/cctest/ |
test-lock.cc | 44 bool ok; local 48 ok = sem->Wait(0); 49 CHECK(!ok); 50 ok = sem->Wait(100); 51 CHECK(!ok); 52 ok = sem->Wait(1000); 53 CHECK(!ok); 57 ok = sem->Wait(0); 59 ok = sem->Wait(100); 61 ok = sem->Wait(1000) [all...] |
test-sockets.cc | 45 bool ok; local 51 ok = server_->Bind(port_); 52 CHECK(ok); 55 ok = server_->Listen(1); 56 CHECK(ok); 87 bool ok; local 102 ok = client->Connect(kLocalhost, port_str); 103 CHECK(ok); 106 ok = SendAll(client, data, len); 107 CHECK(ok); 129 bool ok; local [all...] |
/external/v8/src/ |
interface.h | 69 void Add(Handle<String> name, Interface* interface, bool* ok) { 70 DoAdd(name.location(), name->Hash(), interface, ok); 75 void Unify(Interface* that, bool* ok); 78 void MakeValue(bool* ok) { 79 *ok = !IsModule(); 80 if (*ok) Chase()->flags_ |= VALUE; 84 void MakeModule(bool* ok) { 85 *ok = !IsValue(); 86 if (*ok) Chase()->flags_ |= MODULE; 90 void Freeze(bool* ok) { [all...] |
preparser.h | 200 bool* ok); 490 bool ok = true; local 492 ParseSourceElements(i::Token::EOS, &ok); 494 if (!ok) { 497 CheckOctalLiteral(start_position, scanner_->location().end_pos, &ok); 516 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok); 518 // All ParseXXX functions take as the last argument an *ok parameter 522 Statement ParseSourceElement(bool* ok); 523 SourceElements ParseSourceElements(int end_token, bool* ok); 524 Statement ParseStatement(bool* ok); [all...] |
parser.h | 558 void ReportInvalidPreparseData(Handle<String> name, bool* ok); 578 // All ParseXXX functions take as the last argument an *ok parameter 583 int end_token, bool is_eval, bool* ok); 584 Statement* ParseModuleElement(ZoneStringList* labels, bool* ok); 585 Block* ParseModuleDeclaration(ZoneStringList* names, bool* ok); 586 Module* ParseModule(bool* ok); 587 Module* ParseModuleLiteral(bool* ok); 588 Module* ParseModulePath(bool* ok); 589 Module* ParseModuleVariable(bool* ok); 590 Module* ParseModuleUrl(bool* ok); [all...] |
/external/openssl/crypto/des/ |
read2pwd.c | 119 int ok; local 122 if ((ok=UI_UTIL_read_pw(buf,buff,BUFSIZ,prompt,verify)) == 0) 126 return(ok); 132 int ok; local 135 if ((ok=UI_UTIL_read_pw(buf,buff,BUFSIZ,prompt,verify)) == 0) 139 return(ok);
|
/frameworks/wilhelm/src/ |
locks.c | 36 int ok; local 37 ok = pthread_mutex_trylock(&thiz->mMutex); 38 if (0 != ok) { 46 ok = pthread_mutex_lock_timeout_np(&thiz->mMutex, backoffs[i]); 47 if (0 == ok) { 50 if (EBUSY == ok) { 52 } else if (EDEADLK == ok) { 57 SL_LOGE("%s:%d: pthread_mutex_lock_timeout_np returned %d", file, line, ok); 79 ok = pthread_mutex_lock(&thiz->mMutex); 80 assert(0 == ok); 112 int ok; local 130 int ok; local 137 int ok; local 162 int ok; local 285 int ok; local 296 int ok; local 307 int ok; local 319 int ok; local [all...] |
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/webkit/Source/WebCore/bindings/v8/custom/ |
V8AudioNodeCustom.cpp | 50 bool ok = false; local 52 output = toInt32(args[1], ok); 53 if (!ok) 58 input = toInt32(args[2], ok); 59 if (!ok) 74 bool ok = false; local 76 output = toInt32(args[0], ok); 77 if (!ok)
|
V8AudioContextCustom.cpp | 65 bool ok = false; 67 unsigned numberOfChannels = toInt32(args[0], ok); 68 if (!ok) 71 unsigned numberOfFrames = toInt32(args[1], ok); 72 if (!ok) 123 bool ok = false; 125 unsigned numberOfChannels = toInt32(args[0], ok); 126 if (!ok) 129 unsigned numberOfFrames = toInt32(args[1], ok); 130 if (!ok) [all...] |
/external/chromium/crypto/ |
encryptor_win.cc | 20 BOOL ok = CryptGetKeyParam(key, KP_BLOCKLEN, local 23 if (!ok) 47 BOOL ok = CryptDuplicateKey(key->key(), NULL, 0, capi_key_.receive()); local 48 if (!ok) 54 ok = CryptSetKeyParam(capi_key_.get(), KP_MODE, 56 if (!ok) 66 ok = CryptSetKeyParam(capi_key_.get(), KP_IV, 68 if (!ok) 72 ok = CryptSetKeyParam(capi_key_.get(), KP_PADDING, 74 if (!ok) 88 BOOL ok = CryptEncrypt(capi_key_.get(), NULL, TRUE, 0, &tmp[0], local 105 BOOL ok = CryptDecrypt(capi_key_.get(), NULL, TRUE, 0, &tmp[0], &data_len); local [all...] |
signature_verifier_win.cc | 54 BOOL ok; local 55 ok = CryptDecodeObjectEx(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 63 if (!ok) 66 ok = CryptImportPublicKeyInfo(provider_, 70 if (!ok) 75 ok = CryptDecodeObjectEx(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 83 DCHECK(ok || GetLastError() == ERROR_FILE_NOT_FOUND); 85 if (ok) { 106 ok = CryptCreateHash(provider_, hash_alg_id, 0, 0, hash_object_.receive()); 107 if (!ok) 114 BOOL ok = CryptHashData(hash_object_, data_part, data_part_len, 0); local 119 BOOL ok = CryptVerifySignature(hash_object_, &signature_[0], local [all...] |
symmetric_key_win.cc | 82 BOOL ok = local 89 if (!ok) 113 BOOL ok = CryptAcquireContext(safe_provider.receive(), NULL, NULL, local 115 if (!ok) 124 ok = CryptGenKey(safe_provider.get(), alg, CRYPT_EXPORTABLE, 126 if (!ok) 182 BOOL ok = CryptAcquireContext(safe_provider.receive(), NULL, NULL, local 184 if (!ok) 189 ok = CryptGenRandom(safe_provider, key_size_in_bytes, random.get()); 190 if (!ok) 215 BOOL ok = CryptCreateHash(provider, CALG_HMAC, key, 0, safe_hash.receive()); local 255 BOOL ok = CryptDuplicateHash(hash, NULL, 0, safe_hash.receive()); local 322 bool ok = false; local 385 BOOL ok = CryptAcquireContext(provider.receive(), NULL, NULL, provider_type, local 485 BOOL ok = CryptAcquireContext(provider.receive(), NULL, NULL, provider_type, local 506 BOOL ok = CryptExportKey(key_, 0, PLAINTEXTKEYBLOB, 0, NULL, &size); local [all...] |
/external/webkit/Source/WebCore/platform/network/ |
HTTPParsers.cpp | 118 bool ok; local 119 delay = refresh.stripWhiteSpace().toDouble(&ok); 120 return ok; 122 bool ok; local 123 delay = refresh.left(pos).stripWhiteSpace().toDouble(&ok); 124 if (!ok) 342 bool ok; local 343 long long value = suffixLengthString.toInt64Strict(&ok); 344 if (ok) 354 bool ok; local [all...] |
/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;
|
/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/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...] |
/device/ti/panda/audio/test/ |
run-tests.py | 118 ok = check_for_executable(F) 119 if not ok: 123 ok = check_for_file(F) 124 if not ok: 128 ok = check_adb_server_running() 129 if not ok: 161 ok = tcase.start() 162 if not ok: 165 if ok:
|
/external/protobuf/src/google/protobuf/testing/ |
zcgunzip.cc | 61 bool ok; local 62 ok = in.Next(&inptr, &inlen); 63 if (!ok) {
|
/external/chromium/net/base/ |
test_root_certs_win.cc | 55 BOOL ok = CryptGetOIDFunctionAddress( local 58 DCHECK(ok); 73 ok = CryptInstallOIDFunctionAddress(NULL, 0, 77 DCHECK(ok); 109 BOOL ok = g_capi_injector.Get().original_function(store_provider, encoding, 118 if (!ok || TestRootCerts::GetInstance()->IsEmpty() || 121 return ok; 147 BOOL ok = CertAddCertificateContextToStore( local 150 if (!ok) { 189 BOOL ok = CertCreateCertificateChainEngine(&engine_config, &chain_engine) local [all...] |
keygen_handler_win.cc | 32 BOOL ok; local 38 ok = CryptExportPublicKeyInfoEx(prov, AT_KEYEXCHANGE, X509_ASN_ENCODING, 40 DCHECK(ok); 41 if (!ok) 48 ok = CryptExportPublicKeyInfoEx(prov, AT_KEYEXCHANGE, X509_ASN_ENCODING, 51 DCHECK(ok); 52 if (!ok) 87 BOOL ok; local 90 ok = CryptSignAndEncodeCertificate(prov, AT_KEYEXCHANGE, X509_ASN_ENCODING, 94 DCHECK(ok); [all...] |
/external/chromium/chrome/browser/autofill/ |
credit_card_field.cc | 20 bool ok = Add(field_type_map, number_, AutofillType(CREDIT_CARD_NUMBER)); local 21 DCHECK(ok); 29 ok = ok && Add(field_type_map, cardholder_, AutofillType(CREDIT_CARD_NAME)); 30 DCHECK(ok); 33 ok = ok && Add(field_type_map, type_, AutofillType(CREDIT_CARD_TYPE)); 34 DCHECK(ok); 35 ok = ok && Add(field_type_map, expiration_month_ [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyRepTest.java | 69 } catch (NullPointerException ok) { 75 } catch (NullPointerException ok) { 81 } catch (NullPointerException ok) { 87 } catch (NullPointerException ok) { 98 } catch (NotSerializableException ok) { 106 } catch (NotSerializableException ok) { 114 } catch (NotSerializableException ok) { 125 } catch (NotSerializableException ok) { 133 } catch (NotSerializableException ok) { 142 } catch (NotSerializableException ok) { [all...] |
/external/webp/examples/ |
dwebp.c | 80 const int ok = (fread(data, data_size, 1, in) == 1); local 82 if (!ok) { 104 int ok = 1; local 107 ok &= (fwrite(out, width * height, 3, fout) == 3); 118 for (y = 0; ok && y < height; ++y) { 119 ok &= (fwrite(out + y * stride, width, 1, fout) == 1); 122 for (y = 0; ok && y < uv_height; ++y) { 123 ok &= (fwrite(u + y * uv_stride, uv_width, 1, fout) == 1); 124 ok &= (fwrite(v + y * uv_stride, uv_width, 1, fout) == 1); 128 if (ok) { [all...] |