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

12

/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.c28 int correct = (x == expected) && (signbit(x) == signbit(expected)); local
29 if (!correct)
32 return !correct;
H A Dpowixf2_test.c27 int correct = (x == expected) && (signbit(x) == signbit(expected)); local
28 if (!correct)
31 return !correct;
/external/skia/tests/
H A DDefaultPathRendererTest.cpp108 bool correct = true; local
109 for (int y = kBigSize/2+1; y < kBigSize-kPad-1 && correct; ++y) {
110 for (int x = kPad+1; x < kBigSize-kPad-1 && correct; ++x) {
111 correct = bm.getColor(x, y) == SK_ColorBLACK;
112 REPORTER_ASSERT(reporter, correct);
H A DSkNxTest.cpp191 // This way should always be exactly correct.
192 int correct = (av * bv).div255()[0]; local
193 REPORTER_ASSERT(r, correct == exact);
195 // We're a bit more flexible on this method: correct for 0 or 255, otherwise off by <=1.
/external/skqp/tests/
H A DDefaultPathRendererTest.cpp108 bool correct = true; local
109 for (int y = kBigSize/2+1; y < kBigSize-kPad-1 && correct; ++y) {
110 for (int x = kPad+1; x < kBigSize-kPad-1 && correct; ++x) {
111 correct = bm.getColor(x, y) == SK_ColorBLACK;
112 REPORTER_ASSERT(reporter, correct);
H A DSkNxTest.cpp191 // This way should always be exactly correct.
192 int correct = (av * bv).div255()[0]; local
193 REPORTER_ASSERT(r, correct == exact);
195 // We're a bit more flexible on this method: correct for 0 or 255, otherwise off by <=1.
/external/python/cpython3/Modules/_decimal/libmpdec/literature/
H A Dumodarith.lisp150 (defthmd addmod-correct
180 (defthmd submod-correct
201 (defthm submod-2-correct
213 ;; ext-submod is correct
240 (defthmd ext-submod-2-correct
250 ;; dw-reduce is correct
258 (defthmd dw-reduce-correct
307 ;; dw-submod is correct
322 (defthmd dw-submod-correct
334 (:instance dw-reduce-correct)))))
[all...]
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
H A DBreakIteratorPerformanceTest.java123 PerfTest.Function createTestICU(final com.ibm.icu.text.BreakIterator iIter, final String[] correct, argument
131 if (!correct[k++].equals(fileContents.substring(start, end)))
134 if (k != correct.length)
145 PerfTest.Function createTestJava(final java.text.BreakIterator jIter, final String[] correct, final String breakType) { argument
151 if (!correct[k++].equals(fileContents.substring(start, end)))
154 if (k != correct.length)
/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/annotation-tools/asmx/test/conform/org/objectweb/asm/
H A DAnnotationVerifier$ClassRecorder.class ... ClassRecorder) org.objectweb.asm.AnnotationVerifier$ClassRecorder correct private void verifyAnns (java.util.Map, java. ...
H A DAnnotationVerifier$AnnotationRecorder.class ... .util.List questionable java.util.List correct private void verifyInnerAnnotationRecorder (java.lang.StringBuilder, java. ...
H A DAnnotationVerifier.java25 * The "correct" version of the class to verify against.
45 * version of the class known to be correct.
180 public void verifyAgainst(ClassRecorder correct) { argument
181 // first, ensure all annotations are correct
182 verifyAnns(this.anns, correct.anns);
183 verifyAnns(this.xanns, correct.xanns);
186 verifyMemberAnns(this.fieldRecorders, correct.fieldRecorders);
187 verifyMemberAnns(this.methodRecorders, correct.methodRecorders);
241 System.out.println("correct: " + correctMembers);
396 * @param ar an annotation recorder that has visited the correct informatio
434 verifyList( StringBuilder sb, String methodName, int parameter, List questionable, List correct) argument
[all...]
/external/ImageMagick/MagickCore/
H A Dsegment.c717 correct,
755 correct=(-1);
763 correct=center;
768 if (correct == -1)
775 correct=left;
780 if (correct == -1)
787 correct=right;
791 if (correct != -1)
792 zero_crossing[i].crossings[correct]=(short) l;
710 correct, local
/external/annotation-tools/scene-lib/test/annotations/tests/classfile/
H A DAnnotationVerifier.java36 * The "correct" version of the class to verify against.
56 * version of the class known to be correct.
199 public void verifyAgainst(ClassRecorder correct) { argument
200 // first, ensure all annotations are correct
201 verifyAnns(this.anns, correct.anns);
202 verifyAnns(this.xanns, correct.xanns);
205 verifyMemberAnns(this.fieldRecorders, correct.fieldRecorders);
206 verifyMemberAnns(this.methodRecorders, correct.methodRecorders);
260 System.out.println("correct: " + correctMembers);
471 * @param ar an annotation recorder that has visited the correct informatio
510 verifyList( StringBuilder sb, String methodName, int parameter, List questionable, List correct) argument
[all...]
/external/skia/src/core/
H A DSkRecordDraw.cpp455 // TODO: <reed> can we pass nullptr for the paint? Isn't cull already "correct"
541 SkRect correct = *rect; local
551 correct.fLeft += metrics.fXMin;
552 correct.fTop += metrics.fTop;
553 correct.fRight += metrics.fXMax;
554 correct.fBottom += metrics.fBottom;
556 SkASSERTF(paint.getTextSize() < 0.001f || rect->contains(correct),
/external/skqp/src/core/
H A DSkRecordDraw.cpp455 // TODO: <reed> can we pass nullptr for the paint? Isn't cull already "correct"
541 SkRect correct = *rect; local
551 correct.fLeft += metrics.fXMin;
552 correct.fTop += metrics.fTop;
553 correct.fRight += metrics.fXMax;
554 correct.fBottom += metrics.fBottom;
556 SkASSERTF(paint.getTextSize() < 0.001f || rect->contains(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.c15 * read code) and validates that the result has the correct data.
713 png_uint_32 id; /* must be correct (see FILEID) */
1123 /* Return a single row from the correct image. */
4144 /* Use a compressed text string to test the correct interaction of text
4234 /* Use a compressed text string to test the correct interaction of text
4364 /* Use a compressed text string to test the correct interaction of text
4487 /* Use a compressed text string to test the correct interaction of text
4849 png_const_charp correct = "29 Aug 2079 13:53:60 +0000"; local
4884 if (strcmp(result, correct) != 0)
4890 pos = safecat(msg, sizeof msg, pos, correct);
[all...]
/external/webrtc/webrtc/base/
H A Dsslstreamadapter_unittest.cc328 void SetPeerIdentitiesByDigest(bool correct) { argument
339 if (!correct) {
351 if (!correct) {
/external/f2fs-tools/tools/sg_write_buffer/
H A Dsg_cmds_extra.c1198 sg_ll_read_long10(int sg_fd, bool pblock, bool correct, unsigned int lba, argument
1212 if (correct)
1290 sg_ll_read_long16(int sg_fd, bool pblock, bool correct, uint64_t llba, argument
1305 if (correct)
/external/pdfium/third_party/libopenjpeg20/
H A Dj2k.h439 OPJ_BOOL correct; member in struct:opj_cp
468 /** Only tiles index in the correct range will be decoded.*/
/external/guice/extensions/struts2/lib/
H A Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse/jdt/core/ org/eclipse/jdt/core/compiler/ org/ ...
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...

Completed in 892 milliseconds

12