Home
last modified time | relevance | path

Searched refs:buf2 (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/rs/java/android/renderscript/
DScriptC.java103 byte[] buf2 = new byte[pgm.length * 2]; in internalCreate()
104 System.arraycopy(pgm, 0, buf2, 0, pgm.length); in internalCreate()
105 pgm = buf2; in internalCreate()
DProgram.java275 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/
DScriptC.java104 byte[] buf2 = new byte[pgm.length * 2]; in internalCreate()
105 System.arraycopy(pgm, 0, buf2, 0, pgm.length); in internalCreate()
106 pgm = buf2; in internalCreate()
/frameworks/av/services/camera/libcameraservice/device3/
DBufferUtils.h49 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/
DLayerTransaction_test.cpp135 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/libstagefright/foundation/tests/
DAData_test.cpp186 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/native/opengl/libs/EGL/
DBlobCache_test.cpp247 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/rs/toolkit/
DColorMatrix.cpp533 uint8_t *buf2 = nullptr; local
565 buf2 = buf;
665 buf2 = buf;
767 buf = addBranch(buf, buf2, 0x01);
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicColorMatrix.cpp495 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/compile/slang/
Dslang_rs_reflection_cpp.cpp440 char buf2[16]; in genEncodedBitCode() local
441 snprintf(buf2, sizeof(buf2), "0x%02x,", buf[i]); in genEncodedBitCode()
442 mOut << buf2; in genEncodedBitCode()
/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp351 float* buf1, float* buf2, size_t frameCount) { in HapticGenerator_runProcessingChain() argument
353 float *out = buf2; in HapticGenerator_runProcessingChain()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DApplicationExitInfoTest.java981 byte[] buf2 = new byte[8192]; in verifyTraceFile()
984 assertEquals(len, originIn.read(buf2, 0, len)); in verifyTraceFile()
985 assertTrue(ArrayUtils.equals(buf1, buf2, len)); in verifyTraceFile()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp398 char *buf1, *buf2, *bufDisplayId; in injectTapOnDisplay() local
400 asprintf(&buf2, "%d", y); in injectTapOnDisplay()
403 execlp("input", "input", "-d", bufDisplayId, "tap", buf1, buf2, NULL); in injectTapOnDisplay()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java209 byte[] buf2 = new byte[80];
210 assertEquals("DATA2", new String(buf2, 0, e2.getInputStream().read(buf2)));
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rscript27 char buf2[200];
2429 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rscript27 char buf2[200];
2359 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_13/
Dall13.rscript27 char buf2[200];
2359 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_11/
Dall11.rscript27 char buf2[200];
2359 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_14/
Dall14.rscript27 char buf2[200];
2429 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_16/
Dall16.rscript27 char buf2[200];
2521 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_17/
Dall17.rscript27 char buf2[200];
2629 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_18/
Dall18.rscript27 char buf2[200];
3188 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_20/
Dall20.rscript27 char buf2[200];
3431 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_19/
Dall19.rscript27 char buf2[200];
3412 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_21/
Dall21.rscript27 char buf2[200];
4075 *(uchar2*)buf2 = abs(*(char2*)buf3);

12