Searched defs:correct (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/cc/base/
H A Dutil_unittest.cc15 // determine the correct value before it's needed.
16 int correct; local
19 correct = attempt;
20 EXPECT_EQ(correct, RoundUp(attempt, multiplier))
27 // determine the correct value before it's needed.
28 unsigned correct; local
31 correct = attempt;
32 EXPECT_EQ(correct, RoundUp(attempt, multiplier))
43 // determine the correct value before it's needed.
44 int correct; local
56 unsigned correct; local
[all...]
/external/compiler-rt/test/builtins/Unit/
H A Dpowidf2_test.c25 int correct = (x == expected) && (signbit(x) == signbit(expected)); local
26 if (!correct)
29 return !correct;
H A Dpowisf2_test.c25 int correct = (x == expected) && (signbit(x) == signbit(expected)); local
26 if (!correct)
29 return !correct;
H A Dpowitf2_test.c27 int correct = (x == expected) && (signbit(x) == signbit(expected)); local
28 if (!correct)
31 return !correct;
H A Dpowixf2_test.c27 int correct = (x == expected) && (signbit(x) == signbit(expected)); local
28 if (!correct)
31 return !correct;
/external/chromium_org/chrome/browser/spellchecker/
H A Dspellcheck_message_filter_mac.cc253 bool* correct) {
254 *correct = spellcheck_mac::CheckSpelling(word, ToDocumentTag(route_id));
251 OnCheckSpelling(const base::string16& word, int route_id, bool* correct) argument
/external/chromium_org/components/pairing/
H A Dfake_controller_pairing_controller.cc200 bool correct) {
202 if (correct)
199 SetConfirmationCodeIsCorrect( bool correct) argument
H A Dbluetooth_controller_pairing_controller.cc297 bool correct) {
304 if (correct) {
296 SetConfirmationCodeIsCorrect( bool correct) argument
/external/chromium_org/content/renderer/media/
H A Dmedia_stream_video_track_unittest.cc123 CheckThreadHelper(base::Closure callback, bool* correct) argument
125 correct_(correct) {
153 bool correct = false; local
158 base::Owned(new CheckThreadHelper(run_loop.QuitClosure(), &correct))),
162 EXPECT_TRUE(correct) << "Not called on correct thread.";
/external/chromium_org/third_party/leveldatabase/src/db/
H A Dcorruption_test.cc93 int correct = 0; local
114 correct++;
121 min_expected, max_expected, correct, bad_keys, bad_values, missed);
122 ASSERT_LE(min_expected, correct);
123 ASSERT_GE(max_expected, correct);
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/
H A Dfloatnum_test.c42 /* correct output from ASCII conversion */
50 /* correct output conversions - these should be *exact* matches */
271 const unsigned char *correct)
278 if (val[i] != correct[i])
270 get_common_check_result(int len, const unsigned char *val, const unsigned char *correct) argument
/external/zopfli/src/zopflipng/
H A Dzopflipng_bin.cc220 bool correct = true; local
221 if ((value.size() + 1) % 5 != 0) correct = false;
222 for (size_t i = 0; i + 4 <= value.size() && correct; i += 5) {
224 if (i > 4 && value[i - 1] != ',') correct = false;
226 if (!correct) {
/external/chromium_org/third_party/re2/re2/testing/
H A Dtester.cc453 // Checks whether r is okay given that correct is the right answer.
456 static bool ResultOkay(const Result& r, const Result& correct) { argument
459 if (r.matched != correct.matched)
463 if (correct.submatch[i].begin() != r.submatch[i].begin() ||
464 correct.submatch[i].size() != r.submatch[i].size())
477 Result correct; local
478 RunSearch(kEngineBacktrack, text, context, anchor, &correct);
479 if (correct.skipped) {
501 if (ResultOkay(r, correct)) {
520 if (r.matched != correct
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkRecordDraw.cpp461 SkRect correct = *rect; local
469 correct.fLeft += metrics.fXMin;
470 correct.fTop += metrics.fTop;
471 correct.fRight += metrics.fXMax;
472 correct.fBottom += metrics.fBottom;
474 SkASSERTF(paint.getTextSize() < 0.001f || rect->contains(correct),
/external/regex-re2/re2/testing/
H A Dtester.cc453 // Checks whether r is okay given that correct is the right answer.
456 static bool ResultOkay(const Result& r, const Result& correct) { argument
459 if (r.matched != correct.matched)
463 if (correct.submatch[i].begin() != r.submatch[i].begin() ||
464 correct.submatch[i].size() != r.submatch[i].size())
477 Result correct; local
478 RunSearch(kEngineBacktrack, text, context, anchor, &correct);
479 if (correct.skipped) {
501 if (ResultOkay(r, correct)) {
520 if (r.matched != correct
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dsslstreamadapter_unittest.cc248 void SetPeerIdentitiesByDigest(bool correct) { argument
259 if (!correct) {
271 if (!correct) {
/external/libpng/contrib/libtests/
H A Dtarith.c330 /* Test this character (ch) to ensure the parser does the correct thing.
645 * numbers, so correct for that here.
793 double correct = -log(i/255.)/log(2.)*65536; local
794 double error = png_log8bit(i) - correct;
800 i != 0 && png_log8bit(i) != floor(correct+.5))
803 i, png_log8bit(i), correct);
813 double correct = -log(i/65535.)/log(2.)*65536; local
814 double error = png_log16bit(i) - correct;
820 i != 0 && png_log16bit(i) != floor(correct+.5))
825 " error: %f\n", i, png_log16bit(i), correct, erro
837 double correct = exp(-i/65536. * log(2.)) * (65536. * 65536); local
855 double correct = exp(-i/65536. * log(2.)) * 255; local
873 double correct = exp(-i/65536. * log(2.)) * 65535; local
902 double correct = pow(j/255., g) * 255; local
921 double correct = pow(j/65535., g) * 65535; local
[all...]
H A Dpngvalid.c16 * read code) and validates that the result has the correct data.
593 png_uint_32 id; /* must be correct (see FILEID) */
955 /* Return a single row from the correct image. */
3478 /* Use a compressed text string to test the correct interaction of text
3536 /* Use a compressed text string to test the correct interaction of text
3715 /* Use a compressed text string to test the correct interaction of text
3835 /* Use a compressed text string to test the correct interaction of text
4154 png_const_charp correct = "29 Aug 2079 13:53:60 +0000"; local
4189 if (strcmp(result, correct) != 0)
4195 pos = safecat(msg, sizeof msg, pos, correct);
[all...]
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
H A DSDL_sysjoystick.c1054 struct axis_correct *correct; local
1056 correct = &joystick->hwdata->abs_correct[which];
1057 if ( correct->used ) {
1058 if ( value > correct->coef[0] ) {
1059 if ( value < correct->coef[1] ) {
1062 value -= correct->coef[1];
1064 value -= correct->coef[0];
1066 value *= correct->coef[2];
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Dj2k.h430 OPJ_BOOL correct; member in struct:opj_cp
458 /** Only tiles index in the correct range will be decoded.*/
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...

Completed in 1651 milliseconds