/external/opencv3/3rdparty/libwebp/enc/ |
analysis.c | 153 // 'int' type is ok for histo, and won't overflow 392 int ok = 1; local 407 ok = VP8IteratorProgress(&it, 20); 409 } while (ok && VP8IteratorNext(&it, it.yuv_in_)); 412 if (ok) AssignSegments(enc, alphas); 416 return ok;
|
/external/v8/src/regexp/ |
regexp-macro-assembler.cc | 93 Label ok; local 95 LoadCurrentCharacter(cp_offset, &ok); 96 CheckCharacterNotInRange(kTrailSurrogateStart, kTrailSurrogateEnd, &ok); 98 LoadCurrentCharacter(cp_offset - 1, &ok); 100 Bind(&ok);
|
/ndk/sources/cxx-stl/stlport/src/details/ |
fstream_win32io.cpp | 364 bool ok; 367 ok = true; 370 ok = (CloseHandle(_M_file_id) != 0); 373 ok = false; 379 return ok;
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
DialpadFragment.java | 180 boolean keyOK = ok(getAcceptedChars(), c); 209 boolean keyOK = ok(getAcceptedChars(), c); 231 if (ok(getAcceptedChars(), c)) { 263 if (ok(getAcceptedChars(), c)) { 295 return (ok(getAcceptedChars(), lookup(event)));
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
util.c | 119 bool ok; local 157 ok = true; 166 ok = dir_matching(dir); 171 ok &= file_matching(p->fts_path); 173 if (ok)
|
/external/libpng/contrib/libtests/ |
tarith.c | 86 int ok = 0; local 232 ++ok; 260 printf("Tested %d finite values, %d non-finite, %d OK (%d failed) %d minor " 261 "arithmetic errors\n", finite, nonfinite, ok, failcount, minorarith); 642 int ok; local 682 ok = fpround <= PNG_UINT_31_MAX && 684 if (!ok) ++overflow; 687 ok = 0, ++overflow, fpround = fp/*misleading*/; 691 fp, ok ? "ok" : "overflow") [all...] |
/external/opencv3/3rdparty/libwebp/dec/ |
frame.c | 165 int ok = 1; local 236 ok = io->put(io); 248 return ok; 256 int ok = 1; local 262 ok = FinishRow(dec, io); 266 ok &= WebPWorkerSync(worker); 267 assert(worker->status_ == OK); 268 if (ok) { // spawn a new deblocking/output job 284 return ok; 346 int ok = 1 local [all...] |
vp8.c | 36 dec->error_msg_ = "OK"; 67 if (!dec->error_msg_) return "OK"; 188 // If the partitions were positioned ok, VP8_STATUS_OK is returned. 215 VP8_STATUS_SUSPENDED; // Init is ok, but there's not enough data 726 int ok = 0; local 743 ok = (VP8EnterCritical(dec, io) == VP8_STATUS_OK); 744 if (ok) { // good to go. 746 if (ok) ok = VP8InitFrame(dec, io); 749 if (ok) ok = ParseFrame(dec, io) [all...] |
/external/v8/test/unittests/wasm/ |
module-decoder-unittest.cc | 82 EXPECT_TRUE(result.ok()); \ 89 EXPECT_FALSE(result.ok()); \ 104 EXPECT_TRUE(result.ok()); \ 105 if (!result.ok()) { \ 155 EXPECT_FALSE(result.ok()); 165 EXPECT_FALSE(result.ok()); 217 EXPECT_FALSE(result.ok()); 507 if (result.ok()) { 539 if (result.ok()) { 720 if (result.val && result.ok()) { [all...] |
/external/webp/src/dec/ |
frame.c | 414 int ok = 1; local 492 ok = io->put(io); 504 return ok; 512 int ok = 1; local 522 ok = FinishRow(dec, io); 526 ok &= WebPGetWorkerInterface()->Sync(worker); 527 assert(worker->status_ == OK); 528 if (ok) { // spawn a new deblocking/output job 553 return ok; 615 int ok = 1 local [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
JSR166TestCase.java | 78 * {@code fail}, {@code assertTrue}, etc.) It is OK (but not 310 // getWriter().println("OK (" + result.runCount() + " tests)" [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
vfscanf.c | 522 /* like CCL, but zero-length string OK, & no NOSKIP */ 620 * Switch on the character; `goto ok' 646 goto ok; 653 goto ok; 655 /* digits 8 and 9 ok iff decimal or hex */ 661 goto ok; 663 /* letters ok iff hex */ 672 goto ok; 674 /* sign ok only as first character */ 679 goto ok; [all...] |
vfwscanf.c | 475 /* like CCL, but zero-length string OK, & no NOSKIP */ 544 * Switch on the character; `goto ok' 570 goto ok; 577 goto ok; 579 /* digits 8 and 9 ok iff decimal or hex */ 585 goto ok; 587 /* letters ok iff hex */ 596 goto ok; 598 /* sign ok only as first character */ 603 goto ok; [all...] |
/external/opencv3/modules/python/test/ |
camera_calibration.py | 218 (ok, corners) = cv.FindChessboardCorners(mono, (num_x_ints, num_y_ints), cv.CV_CALIB_CB_ADAPTIVE_THRESH | cv.CV_CALIB_CB_NORMALIZE_IMAGE) 219 if refine and ok: 221 return (ok, corners) 265 goodcorners = [co for (im, (ok, co)) in zip(images, corners) if ok] 324 for (i, (img, (ok, co))) in enumerate(zip(images, corners)): 327 if ok:
|
/frameworks/wilhelm/tests/sandbox/ |
reverb.c | 210 int ok; local 211 ok = pthread_mutex_lock(&mutex); 212 assert(ok == 0); 214 ok = pthread_cond_signal(&cond); 215 assert(ok == 0); 216 ok = pthread_mutex_unlock(&mutex); 217 assert(ok == 0);
|
xaplay.c | 119 int ok; local 120 ok = pthread_mutex_lock(&mutex); 121 assert(ok == 0); 123 ok = pthread_cond_signal(&cond); 124 assert(ok == 0); 125 ok = pthread_mutex_unlock(&mutex); 126 assert(ok == 0); 322 int ok; local 324 ok = fstat(fd, &statbuf); 325 if (ok < 0) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ExtractStyleWizard.java | 346 boolean ok = true; 352 ok = false; 359 ok = false; 366 ok = false; 369 if (ok) { 388 setPageComplete(ok); 389 return ok;
|
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
TestConversion.java | 327 boolean ok; 332 ok = true; 334 for (i = 0; i < steps.length && ok; ++i) { 340 ok = checkFromUnicode(cc, resultLength); 349 while (ok && cc.finalFlush) { 370 ok = checkFromUnicode(cc, out.limit()); 371 if (!ok) { 632 boolean ok; 646 ok = true; 649 for (int i = 0; i < steps.length && ok; ++i) [all...] |
/external/tcpdump/ |
print-snmp.c | 950 int ok = 1; local 957 ok = (elem->asnlen == smiRange->minValue.value.unsigned32); 959 ok = (elem->asnlen >= smiRange->minValue.value.unsigned32 965 ok = (elem->data.integer >= smiRange->minValue.value.integer32 970 ok = (elem->data.uns >= smiRange->minValue.value.unsigned32 986 ok = 1; 990 ok = 0; 994 return ok; 1000 int ok = 1; local 1006 ok = smi_check_a_range(smiType, smiRange, elem) [all...] |
/external/icu/icu4c/source/test/intltest/ |
convtest.cpp | 29 * not testing conversion for a custom configuration like this should be ok. 1071 UBool ok; local 1518 UBool ok; local [all...] |
/external/boringssl/src/ssl/ |
s3_srvr.c | 769 int ok, al = SSL_AD_INTERNAL_ERROR, ret = -1; local 789 ssl_hash_message, &ok); 791 if (!ok) { 1470 int ok; local 1733 int al, ok, ret = 0; local 1836 int i, ok, al, ret = -1; local 2129 int ok; local 2169 int ret = -1, ok; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
trietest.c | 268 UBool overwrite, ok; local 279 ok=TRUE; 286 ok&=utrie_set32(newTrie, start, value); 288 ok&=utrie_setRange32(newTrie, start, limit, value, overwrite); 291 if(!ok) { 462 UBool overwrite, ok; local 470 ok=TRUE; 477 ok&=utrie_set32(newTrie, start, value); 479 ok&=utrie_setRange32(newTrie, start, limit, value, overwrite); 482 if(!ok) { [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d1x/ |
sm4_to_tgsi.cpp | 251 bool ok; local 252 ok = true; 482 ok = false; 486 if(!ok && !avoid_int) 488 ok = true; 531 ok = false; 535 if(!ok && avoid_int) 537 ok = true; 603 ok = false; 607 check(ok); [all...] |
/external/regex-re2/re2/testing/ |
re2_test.cc | 982 CHECK(re.ok()); 1058 { RE2 re("a\\1", RE2::Quiet); CHECK(!re.ok()); } 1061 CHECK(!re.ok()); 1065 CHECK(!re.ok()); 1069 CHECK(!re.ok()); 1073 CHECK(!re.ok()); 1077 CHECK(!re.ok()); 1085 CHECK(!re.ok()); 1092 CHECK(!re.ok()); 1099 CHECK(re.ok()); [all...] |
/external/bison/src/ |
tables.c | 691 bool ok = true; local 695 for (k = 0; ok && k < t; k++) 702 ok = false; 705 for (k = 0; ok && k < vector; k++) 707 ok = false; 709 if (ok)
|