/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...] |
/frameworks/base/core/java/android/text/method/ |
NumberKeyListener.java | 50 if (!ok(accept, source.charAt(i))) { 56 // It was all OK. 61 // It was not OK, and there is only one char, so nothing remains. 71 // Only count down to i because the chars before that were all OK. 73 if (!ok(accept, source.charAt(j))) { 81 protected static boolean ok(char[] accept, char c) { method in class:NumberKeyListener
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 42 enum result {ok, partial, error, noconv}; enumerator in enum:codecvt_base::result
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/ |
codecvt.h | 50 ok, enumerator in enum:codecvt_base::result 99 * all the input is converted, returns codecvt_base::ok. If no 142 * state could be reset and data written, returns codecvt_base::ok. If 179 * all the input is converted, returns codecvt_base::ok. If no
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
codecvt.h | 50 ok, enumerator in enum:codecvt_base::result 99 * all the input is converted, returns codecvt_base::ok. If no 142 * state could be reset and data written, returns codecvt_base::ok. If 179 * all the input is converted, returns codecvt_base::ok. If no
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 42 enum result {ok, partial, error, noconv}; enumerator in enum:codecvt_base::result
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/bits/ |
codecvt.h | 50 ok, enumerator in enum:codecvt_base::result 99 * all the input is converted, returns codecvt_base::ok. If no 142 * state could be reset and data written, returns codecvt_base::ok. If 179 * all the input is converted, returns codecvt_base::ok. If no
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/ |
_codecvt.h | 42 enum result {ok, partial, error, noconv}; enumerator in enum:codecvt_base::result
|
/system/media/wilhelm/src/desktop/ |
SndFile.c | 159 case SL_DATAFORMAT_NULL: // OK to omit the data format 253 int ok; local 254 ok = pthread_mutex_init(&thiz->mSndFile.mMutex, (const pthread_mutexattr_t *) NULL); 255 assert(0 == ok); 282 int ok; local 283 ok = pthread_mutex_destroy(&thiz->mSndFile.mMutex); 284 assert(0 == ok);
|
/bootable/recovery/ |
install.c | 57 bool ok = mzExtractZipEntryToFile(zip, binary_entry, fd); local 61 if (!ok) {
|
/dalvik/vm/alloc/TEST/HeapBitmapTest/ |
main.c | 26 bool ok; local 30 ok = dvmHeapBitmapInit(&hb, HEAP_BASE, HEAP_SIZE, "test"); 31 assert(ok); 108 bool ok; local 110 ok = dvmHeapBitmapInit(&hb, HEAP_BASE, HEAP_SIZE, "test"); 111 assert(ok); 185 bool ok; local 187 ok = dvmHeapBitmapInit(&hb, HEAP_BASE, HEAP_SIZE, "test"); 188 assert(ok); 210 bool ok; local 391 bool ok; local [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
SequenceTest.java | 88 values[0] = obj.ok; 127 public Boolean ok; field in class:SequenceTest.AppClass 131 public AppClass(Boolean ok, List list) { 132 this.ok = ok; 139 return ok.equals(obj.ok) && list.equals(obj.list);
|
/external/chromium/chrome/browser/autofill/ |
address_field.cc | 55 bool ok; local 56 ok = Add(field_type_map, company_, AutofillType(address_company)); 57 DCHECK(ok); 58 ok = ok && Add(field_type_map, address1_, AutofillType(address_line1)); 59 DCHECK(ok); 60 ok = ok && Add(field_type_map, address2_, AutofillType(address_line2)); 61 DCHECK(ok); 62 ok = ok && Add(field_type_map, city_, AutofillType(address_city)) [all...] |
/external/chromium/chrome/browser/policy/ |
cloud_policy_cache_base.cc | 97 bool ok = DecodePolicyResponse(policy, &mandatory_policy, &recommended_policy, local 99 if (!ok) {
|
user_policy_cache.cc | 113 bool ok = SetPolicyInternal(policy, NULL, false); local 114 if (ok)
|
/external/chromium/crypto/ |
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/chromium/net/base/ |
dnssec_unittest.cc | 135 bool ok = DNSDomainFromDot(name, &result); local 136 EXPECT_TRUE(ok); 137 if (!ok) [all...] |
/external/chromium/net/proxy/ |
proxy_resolver_js_bindings.cc | 89 bool ok = MyIpAddressImpl(first_ip_address); local 94 return ok; 103 bool ok = MyIpAddressExImpl(ip_address_list); local 108 return ok; 118 bool ok = DnsResolveImpl(host, first_ip_address); local 123 return ok; 133 bool ok = DnsResolveExImpl(host, ip_address_list); local 138 return ok; 187 if (result != OK) 206 if (result != OK) [all...] |
proxy_resolver_perftest.cc | 111 EXPECT_EQ(net::OK, rv); 124 ASSERT_EQ(net::OK, result); 143 ASSERT_EQ(net::OK, result); 162 bool ok = file_util::ReadFileToString(path, &file_contents); local 165 LOG_IF(ERROR, !ok) << "Failed to read file: " << path.value(); 166 ASSERT_TRUE(ok); 171 EXPECT_EQ(net::OK, rv);
|
proxy_resolver_v8_unittest.cc | 106 bool ok = file_util::ReadFileToString(path, &file_contents); local 109 if (!ok) { 128 EXPECT_EQ(OK, result); 135 EXPECT_EQ(OK, result); 150 EXPECT_EQ(OK, result); 156 EXPECT_EQ(OK, result); 166 EXPECT_EQ(OK, result); 175 EXPECT_EQ(OK, result); 184 EXPECT_EQ(OK, result); 218 EXPECT_EQ(OK, result) [all...] |
/external/chromium/net/udp/ |
udp_socket_libevent.cc | 70 bool ok = read_socket_watcher_.StopWatchingFileDescriptor(); local 71 DCHECK(ok); 72 ok = write_socket_watcher_.StopWatchingFileDescriptor(); 73 DCHECK(ok); 100 return OK; 122 return OK; 277 bool ok = read_socket_watcher_.StopWatchingFileDescriptor(); local 278 DCHECK(ok); 292 return OK;
|
udp_socket_win.cc | 96 return OK; 118 return OK; 227 return OK; 252 BOOL ok = WSAGetOverlappedResult(socket_, &read_overlapped_, local 255 int result = ok ? num_bytes : MapSystemError(WSAGetLastError()); 256 if (ok) { 282 BOOL ok = WSAGetOverlappedResult(socket_, &write_overlapped_, local 285 int result = ok ? num_bytes : MapSystemError(WSAGetLastError()); 286 if (ok)
|
/external/e2fsprogs/lib/ext2fs/ |
tst_badblocks.c | 97 int i, ok; local 104 ok = i = 1; 108 ok = 0; 112 if (ok) 113 printf("--- OK"); 115 printf("--- NOT OK"); 123 int i, match, ok; local 128 ok = 1; 130 ok = 0; 135 ok ? "OK" : "NOT OK") [all...] |
/external/iproute2/tc/ |
m_police.c | 43 fprintf(stderr, "Where: *EXCEEDACT := pipe | ok | reclassify | drop | continue \n"); 87 else if (strcmp(arg, "ok") == 0) 130 int ok=0; local 255 ok++; 259 if (!ok)
|
m_xt.c | 129 int iok = 0, ok = 0; local 172 ok++; 185 ok++; 204 if (!ok && !iok) {
|