Home
last modified time | relevance | path

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

/frameworks/base/rs/java/android/renderscript/
DScriptC.java98 byte[] buf2 = new byte[pgm.length * 2]; in internalCreate()
99 System.arraycopy(pgm, 0, buf2, 0, pgm.length); in internalCreate()
100 pgm = buf2; in internalCreate()
DProgram.java271 byte[] buf2 = new byte[str.length * 2]; in setShader()
272 System.arraycopy(str, 0, buf2, 0, str.length); in setShader()
273 str = buf2; in setShader()
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptC.java99 byte[] buf2 = new byte[pgm.length * 2]; in internalCreate()
100 System.arraycopy(pgm, 0, buf2, 0, pgm.length); in internalCreate()
101 pgm = buf2; in internalCreate()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp273 char *buf1, *buf2; in injectTap() local
275 asprintf(&buf2, "%d", y); in injectTap()
277 execlp("input", "input", "tap", buf1, buf2, NULL); in injectTap()
282 char *buf1, *buf2; in injectMotionEvent() local
284 asprintf(&buf2, "%d", y); in injectMotionEvent()
286 execlp("input", "input", "motionevent", event.c_str(), buf1, buf2, NULL); in injectMotionEvent()
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h459 bool operator()(const buffer_handle_t& buf1, const buffer_handle_t& buf2) const { in operator()
460 if (buf1->numFds == buf2->numFds && buf1->numInts == buf2->numInts) { in operator()
463 if (buf1->data[i] != buf2->data[i]) { in operator()
/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/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/services/camera/libcameraservice/device3/
DCamera3Device.h392 bool operator()(const buffer_handle_t& buf1, const buffer_handle_t& buf2) const { in operator()
393 if (buf1->numFds == buf2->numFds) { in operator()
395 if (buf1->data[i] != buf2->data[i]) { in operator()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java202 byte[] buf2 = new byte[80];
203 assertEquals("DATA2", new String(buf2, 0, e2.getInputStream().read(buf2)));
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rs27 char buf2[200];
2429 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_14/
Dall14.rs27 char buf2[200];
2429 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_13/
Dall13.rs27 char buf2[200];
2359 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rs27 char buf2[200];
2359 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_11/
Dall11.rs27 char buf2[200];
2359 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_16/
Dall16.rs27 char buf2[200];
2521 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_17/
Dall17.rs27 char buf2[200];
2629 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_18/
Dall18.rs27 char buf2[200];
3188 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_20/
Dall20.rs27 char buf2[200];
3431 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_19/
Dall19.rs27 char buf2[200];
3412 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_21/
Dall21.rs27 char buf2[200];
4075 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_23/
Dall23.rs25 char buf2[200];
4725 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_22/
Dall22.rs27 char buf2[200];
4795 *(uchar2*)buf2 = abs(*(char2*)buf3);
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rs25 char buf2[200];
6487 *(uchar2*)buf2 = abs(*(char2*)buf3);