Home
last modified time | relevance | path

Searched refs:bufferOffset (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/jni/
DBufferUtils.cpp84 jint bufferOffset = 0; in setIndirectData() local
90 data = getPointer(env, data_buf, (jarray*)&array, &remaining, &bufferOffset); in setIndirectData()
100 data = (void*)(dataBase + bufferOffset); in setIndirectData()
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp381 int32_t bufferOffset = 0; in extract() local
394 memcpy(buffer + bufferOffset, csdBuf, csdSize); in extract()
395 bufferOffset += csdSize; in extract()
418 ASSERT_LE(bufferOffset + bytesRead, bufSize) in extract()
421 memcpy(buffer + bufferOffset, sampleBuffer, bytesRead); in extract()
422 bufferOffset += bytesRead; in extract()
427 *bytesExtracted = bufferOffset; in extract()
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java1363 String bufferOffset = numBufferArgs <= 1 ? "_bufferOffset" : in emitJniCode() local
1401 … "_buf, (jarray*)&" + array + ", &" + remaining + ", &" + bufferOffset + in emitJniCode()
1425 String bufferOffset = numBufferArgs <= 1 ? "_bufferOffset" : in emitJniCode() local
1441 …= (" +cfunc.getArgType(cIndex).getDeclaration() +") (_" + cname + "Base + " + bufferOffset + ");"); in emitJniCode()
1445 …= (" +cfunc.getArgType(cIndex).getDeclaration() +") (_" + cname + "Base + " + bufferOffset + ");"); in emitJniCode()
1569 String bufferOffset = numBufferArgs <= 1 ? "_bufferOffset" : in emitJniCode() local
1572 String withOffset = "(void *)(" + typeCast + " - " + bufferOffset + ")"; in emitJniCode()