/frameworks/native/opengl/tests/EGLTest/ |
D | egl_cache_test.cpp | 182 uint8_t buf2[4] = { 0xee, 0xee, 0xee, 0xee }; in TEST_P() local 184 mCache->getBlob("abcd", 4, buf2, 4); in TEST_P() 185 ASSERT_EQ(0xee, buf2[0]); in TEST_P() 186 ASSERT_EQ(0xee, buf2[1]); in TEST_P() 187 ASSERT_EQ(0xee, buf2[2]); in TEST_P() 188 ASSERT_EQ(0xee, buf2[3]); in TEST_P() 228 uint8_t buf2[16] = { 0xee, 0xee, 0xee, 0xee, in TEST_P() local 234 mCache->getBlob("abcdefghij", 10, buf2, 16); in TEST_P() 235 ASSERT_EQ(0xee, buf2[0]); in TEST_P() 236 ASSERT_EQ(0xee, buf2[1]); in TEST_P() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptC.java | 139 byte[] buf2 = new byte[pgm.length * 2]; in internalCreate() 140 System.arraycopy(pgm, 0, buf2, 0, pgm.length); in internalCreate() 141 pgm = buf2; in internalCreate()
|
D | Program.java | 275 byte[] buf2 = new byte[str.length * 2]; in setShader() 276 System.arraycopy(str, 0, buf2, 0, str.length); in setShader() 277 str = buf2; in setShader()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptC.java | 121 byte[] buf2 = new byte[pgm.length * 2]; in internalCreate() 122 System.arraycopy(pgm, 0, buf2, 0, pgm.length); in internalCreate() 123 pgm = buf2; in internalCreate()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | BufferUtils.h | 49 bool operator()(const buffer_handle_t& buf1, const buffer_handle_t& buf2) const { in operator() 50 if (buf1->numFds == buf2->numFds) { in operator() 52 if (buf1->data[i] != buf2->data[i]) { in operator()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerTransaction_test.cpp | 135 sp<GraphicBuffer> buf2; in TEST_F() local 136 ASSERT_NO_FATAL_FAILURE(slotToBuffer(slot2, &buf2)); in TEST_F() 138 TransactionUtils::fillGraphicBufferColor(buf2, Rect(width, height), color); in TEST_F()
|
/frameworks/av/media/module/foundation/tests/ |
D | AData_test.cpp | 186 sp<ABuffer> buf = new ABuffer(16), buf2; in TEST_F() local 190 EXPECT_TRUE(objdata.find(&buf2)); in TEST_F() 191 EXPECT_EQ(buf, buf2); in TEST_F() 198 EXPECT_FALSE(objdata.find(&buf2)); // not stored as ABuffer(!) in TEST_F() 1002 sp<ABuffer> buf2; in TEST_F() local 1003 EXPECT_TRUE(obj2.find(&buf2)); in TEST_F() 1004 EXPECT_EQ(buf2, buf1); in TEST_F() 1006 buf2.clear(); in TEST_F() 1021 EXPECT_TRUE(obj2.find(&buf2)); in TEST_F() 1022 EXPECT_EQ(buf2, buf1); in TEST_F() [all …]
|
/frameworks/av/media/codec2/tests/aidl/ |
D | GraphicsTracker_test.cpp | 414 AHardwareBuffer *buf1, *buf2; in TEST_F() local 422 ret = mTracker->allocate(0, 0, 0, kTestUsageFlag, &buf2, &fence2); in TEST_F() 429 ASSERT_TRUE(frameQueue.queueItem(buf2, fence2)); in TEST_F() 530 AHardwareBuffer *buf1, *buf2; in TEST_F() local 537 ASSERT_EQ(C2_OK, mTracker->allocate(0, 0, 0, kTestUsageFlag, &buf2, &fence)); in TEST_F() 539 AHardwareBuffer_release(buf2); in TEST_F()
|
/frameworks/av/media/libeffects/hapticgenerator/aidl/ |
D | HapticGeneratorContext.h | 121 float* runProcessingChain(float* buf1, float* buf2, size_t frameCount);
|
D | HapticGeneratorContext.cpp | 336 float* HapticGeneratorContext::runProcessingChain(float* buf1, float* buf2, size_t frameCount) { in runProcessingChain() argument 338 float* out = buf2; in runProcessingChain()
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache_test.cpp | 247 unsigned char buf2[1] = {0xee}; in TEST_F() local 248 ASSERT_EQ(size_t(1), mBC->get("x", 1, buf2, 1)); in TEST_F() 249 ASSERT_EQ('y', buf2[0]); in TEST_F()
|
/frameworks/compile/slang/ |
D | slang_rs_reflection_cpp.cpp | 440 char buf2[16]; in genEncodedBitCode() local 441 snprintf(buf2, sizeof(buf2), "0x%02x,", buf[i]); in genEncodedBitCode() 442 mOut << buf2; in genEncodedBitCode()
|
/frameworks/rs/toolkit/ |
D | ColorMatrix.cpp | 533 uint8_t *buf2 = nullptr; local 565 buf2 = buf; 665 buf2 = buf; 767 buf = addBranch(buf, buf2, 0x01);
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicColorMatrix.cpp | 495 uint8_t *buf2 = nullptr; in build() local 527 buf2 = buf; in build() 627 buf2 = buf; in build() 729 buf = addBranch(buf, buf2, 0x01); in build()
|
/frameworks/av/media/libeffects/hapticgenerator/ |
D | EffectHapticGenerator.cpp | 390 float* buf1, float* buf2, size_t frameCount) { in HapticGenerator_runProcessingChain() argument 392 float *out = buf2; in HapticGenerator_runProcessingChain()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ApplicationExitInfoTest.java | 979 byte[] buf2 = new byte[8192]; in verifyTraceFile() 982 assertEquals(len, originIn.read(buf2, 0, len)); in verifyTraceFile() 983 assertTrue(ArrayUtils.equals(buf1, buf2, len)); in verifyTraceFile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 210 byte[] buf2 = new byte[80]; 211 assertEquals("DATA2", new String(buf2, 0, e2.getInputStream().read(buf2)));
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 429 char *buf1, *buf2, *bufDisplayId; in injectTapOnDisplay() local 431 asprintf(&buf2, "%d", y); in injectTapOnDisplay() 434 execlp("input", "input", "-d", bufDisplayId, "tap", buf1, buf2, NULL); in injectTapOnDisplay()
|
/frameworks/compile/slang/tests/P_all_api_15/ |
D | all15.rscript | 27 char buf2[200]; 2429 *(uchar2*)buf2 = abs(*(char2*)buf3);
|
/frameworks/compile/slang/tests/P_all_api_11/ |
D | all11.rscript | 27 char buf2[200]; 2359 *(uchar2*)buf2 = abs(*(char2*)buf3);
|
/frameworks/compile/slang/tests/P_all_api_14/ |
D | all14.rscript | 27 char buf2[200]; 2429 *(uchar2*)buf2 = abs(*(char2*)buf3);
|
/frameworks/compile/slang/tests/P_all_api_13/ |
D | all13.rscript | 27 char buf2[200]; 2359 *(uchar2*)buf2 = abs(*(char2*)buf3);
|
/frameworks/compile/slang/tests/P_all_api_12/ |
D | all12.rscript | 27 char buf2[200]; 2359 *(uchar2*)buf2 = abs(*(char2*)buf3);
|
/frameworks/compile/slang/tests/P_all_api_17/ |
D | all17.rscript | 27 char buf2[200]; 2629 *(uchar2*)buf2 = abs(*(char2*)buf3);
|
/frameworks/compile/slang/tests/P_all_api_16/ |
D | all16.rscript | 27 char buf2[200]; 2521 *(uchar2*)buf2 = abs(*(char2*)buf3);
|