/frameworks/rs/tests/java_api/MathErr/src/com/example/android/rs/matherr/ |
D | MathErr.java | 31 private final int BUF_SIZE = 4096; field in MathErr 32 float mSrc[] = new float[BUF_SIZE]; 33 float mRef[] = new float[BUF_SIZE]; 34 float mRes[] = new float[BUF_SIZE]; 40 mAllocationSrc = Allocation.createSized(rs, Element.F32(rs), BUF_SIZE); in MathErr() 41 mAllocationRes = Allocation.createSized(rs, Element.F32(rs), BUF_SIZE); in MathErr() 48 for (int i=0; i < BUF_SIZE; i++) { in buildRand() 57 for (int i=0; i < BUF_SIZE; i++) { in logErr() 70 for (int i=0; i < BUF_SIZE; i++) { in testExp2() 80 for (int i=0; i < BUF_SIZE; i++) { in testLog2()
|
/frameworks/minikin/tests/unittest/ |
D | UnicodeUtilsTest.cpp | 24 const size_t BUF_SIZE = 256; in TEST() local 25 uint16_t buf[BUF_SIZE]; in TEST() 28 ParseUnicode(buf, BUF_SIZE, "U+000D U+1F431 | 'a'", &size, &offset); in TEST()
|
D | MeasurementTests.cpp | 26 const size_t BUF_SIZE = 256; in getAdvance() local 27 uint16_t buf[BUF_SIZE]; in getAdvance() 30 ParseUnicode(buf, BUF_SIZE, src, &size, &offset); in getAdvance()
|
D | LayoutUtilsTest.cpp | 26 const size_t BUF_SIZE = 256U; in ExpectNextWordBreakForCache() local 27 uint16_t buf[BUF_SIZE]; in ExpectNextWordBreakForCache() 31 ParseUnicode(buf, BUF_SIZE, query_str, &size, &expected_breakpoint); in ExpectNextWordBreakForCache() 37 const size_t BUF_SIZE = 256U; in ExpectPrevWordBreakForCache() local 38 uint16_t buf[BUF_SIZE]; in ExpectPrevWordBreakForCache() 42 ParseUnicode(buf, BUF_SIZE, query_str, &size, &expected_breakpoint); in ExpectPrevWordBreakForCache()
|
D | GraphemeBreakTests.cpp | 28 const size_t BUF_SIZE = 256; in IsBreak() local 29 uint16_t buf[BUF_SIZE]; in IsBreak() 32 ParseUnicode(buf, BUF_SIZE, src, &size, &offset); in IsBreak() 37 const size_t BUF_SIZE = 256; in IsBreakWithAdvances() local 38 uint16_t buf[BUF_SIZE]; in IsBreakWithAdvances() 41 ParseUnicode(buf, BUF_SIZE, src, &size, &offset); in IsBreakWithAdvances()
|
D | WordBreakerTests.cpp | 207 const size_t BUF_SIZE = kFlagLength * 2; in TEST() local 209 uint16_t buf[BUF_SIZE]; in TEST() 211 ParseUnicode(buf, BUF_SIZE, flags.c_str(), &size, nullptr); in TEST() 232 const size_t BUF_SIZE = kFlagLength * 2; in TEST() local 234 uint16_t buf[BUF_SIZE]; in TEST() 236 ParseUnicode(buf, BUF_SIZE, flagSequence.c_str(), &size, nullptr); in TEST()
|
D | FontCollectionItemizeTest.cpp | 62 const size_t BUF_SIZE = 256; in itemize() local 63 uint16_t buf[BUF_SIZE]; in itemize() 66 ParseUnicode(buf, BUF_SIZE, str, &len, NULL); in itemize()
|
/frameworks/base/media/jni/ |
D | android_media_ResampleInputStream.cpp | 73 static const int BUF_SIZE = 2048; variable 82 if (nFir21 + jNpoints * 2 > BUF_SIZE) { in android_media_ResampleInputStream_fir21() 89 short in[BUF_SIZE]; in android_media_ResampleInputStream_fir21() 93 short out[BUF_SIZE]; in android_media_ResampleInputStream_fir21()
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | main.cpp | 112 static const int BUF_SIZE = 100; in moveToCpuSet() local 113 char buffer[BUF_SIZE]; in moveToCpuSet() 115 if (snprintf(buffer, BUF_SIZE, "/dev/cpuset/%s/tasks", cpusetName) >= BUF_SIZE) { in moveToCpuSet() 126 int towrite = snprintf(buffer, BUF_SIZE, "%ld", (long)pid); in moveToCpuSet() 127 if (towrite >= BUF_SIZE) { in moveToCpuSet()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | TestWebServer.java | 315 final static int BUF_SIZE = 2048; field in TestWebServer 356 buf = new byte[BUF_SIZE]; in Worker() 425 for (int i = 0; i < BUF_SIZE; i++) { in clearBuffer()
|