Home
last modified time | relevance | path

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

/frameworks/volley/tests/src/com/android/volley/toolbox/
DByteArrayPoolTest.java26 byte[] buf2 = pool.getBuf(16); in testReusesBuffer()
29 pool.returnBuf(buf2); in testReusesBuffer()
33 assertTrue(buf3 == buf1 || buf3 == buf2); in testReusesBuffer()
34 assertTrue(buf4 == buf1 || buf4 == buf2); in testReusesBuffer()
42 byte[] buf2 = pool.getBuf(16); in testObeysSizeLimit()
46 pool.returnBuf(buf2); in testObeysSizeLimit()
53 assertTrue(buf4 == buf2 || buf4 == buf3); in testObeysSizeLimit()
54 assertTrue(buf5 == buf2 || buf5 == buf3); in testObeysSizeLimit()
56 assertTrue(buf6 != buf1 && buf6 != buf2 && buf6 != buf3); in testObeysSizeLimit()
65 byte[] buf2 = pool.getBuf(17); in testReturnsBufferWithRightSize()
[all …]
/frameworks/base/core/jni/
Dandroid_util_Log.cpp87 char buf2[200]; in android_util_Log_isLoggable() local
88 snprintf(buf2, sizeof(buf2), "Log tag \"%s\" exceeds limit of %zu characters\n", in android_util_Log_isLoggable()
91 jniThrowException(env, "java/lang/IllegalArgumentException", buf2); in android_util_Log_isLoggable()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptC.java86 byte[] buf2 = new byte[pgm.length * 2]; in internalCreate()
87 System.arraycopy(pgm, 0, buf2, 0, pgm.length); in internalCreate()
88 pgm = buf2; in internalCreate()
/frameworks/base/rs/java/android/renderscript/
DScriptC.java105 byte[] buf2 = new byte[pgm.length * 2]; in internalCreate()
106 System.arraycopy(pgm, 0, buf2, 0, pgm.length); in internalCreate()
107 pgm = buf2; in internalCreate()
DProgram.java258 byte[] buf2 = new byte[str.length * 2]; in setShader()
259 System.arraycopy(str, 0, buf2, 0, str.length); in setShader()
260 str = buf2; in setShader()
/frameworks/compile/slang/
Dslang_rs_reflection_cpp.cpp320 char buf2[16]; in genEncodedBitCode() local
321 snprintf(buf2, sizeof(buf2), "0x%02x,", buf[i]); in genEncodedBitCode()
322 mOut << buf2; in genEncodedBitCode()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicColorMatrix.cpp496 uint8_t *buf2 = NULL; in build() local
528 buf2 = buf; in build()
628 buf2 = buf; in build()
730 buf = addBranch(buf, buf2, 0x01); in build()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java163 byte[] buf2 = new byte[80];
164 assertEquals("DATA2", new String(buf2, 0, e2.getInputStream().read(buf2)));