Home
last modified time | relevance | path

Searched refs:bufs (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/mtp/
DMtpFfsCompatHandle.cpp117 mIobuf[i].bufs.resize(MAX_FILE_CHUNK_SIZE); in start()
118 posix_madvise(mIobuf[i].bufs.data(), MAX_FILE_CHUNK_SIZE, in start()
167 unsigned char *data = mIobuf[0].bufs.data(); in receiveFile()
168 unsigned char *data2 = mIobuf[1].bufs.data(); in receiveFile()
258 unsigned char *data = mIobuf[0].bufs.data(); in sendFile()
259 unsigned char *data2 = mIobuf[1].bufs.data(); in sendFile()
DMtpFfsHandle.cpp116 if (posix_madvise(mIobuf[i].bufs.data(), MAX_FILE_CHUNK_SIZE, in advise()
160 mIobuf[0].buf[i] = mIobuf[0].bufs.data() + i * AIO_BUF_LEN; in doAsync()
273 mIobuf[i].bufs.resize(MAX_FILE_CHUNK_SIZE); in start()
278 mIobuf[i].buf[j] = mIobuf[i].bufs.data() + j * AIO_BUF_LEN; in start()
539 aio_prepare(&aio, mIobuf[i].bufs.data(), ret, offset); in receiveFile()
550 if (read(mIobuf[0].bufs.data(), packet_size) != 0) { in receiveFile()
582 mtp_data_header *header = reinterpret_cast<mtp_data_header*>(mIobuf[0].bufs.data()); in sendFile()
590 if (TEMP_FAILURE_RETRY(pread(mfr.fd, mIobuf[0].bufs.data() + in sendFile()
593 if (doAsync(mIobuf[0].bufs.data(), sizeof(mtp_data_header) + init_read_len, in sendFile()
605 aio_prepare(&aio, mIobuf[i].bufs.data(), length, offset); in sendFile()
[all …]
DMtpFfsHandle.h37 std::vector<unsigned char> bufs; // A large buffer, used with filesystem io member
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder2.cpp642 inBufDesc.bufs = (void**)&inBuffer; in onQueueFilled()
654 outBufDesc.bufs = (void**)&outBuffer; in onQueueFilled()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp397 inBufDesc.bufs = (void**)&inBuffer; in process()
409 outBufDesc.bufs = (void**)&outBuffer; in process()
/frameworks/base/opengl/java/android/opengl/
DGLES30.java606 int[] bufs, in glDrawBuffers() argument
614 java.nio.IntBuffer bufs in glDrawBuffers() argument
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES30.spec22 void glDrawBuffers ( GLsizei n, const GLenum *bufs )
/frameworks/base/core/jni/
Dandroid_opengl_GLES30.cpp1137 GLenum *bufs = (GLenum *) 0; in android_glDrawBuffers__I_3II() local
1154 bufs = bufs_base + offset; in android_glDrawBuffers__I_3II()
1158 (GLenum *)bufs in android_glDrawBuffers__I_3II()
1181 GLenum *bufs = (GLenum *) 0; in android_glDrawBuffers__ILjava_nio_IntBuffer_2() local
1189 bufs = (GLenum *)getPointer(_env, bufs_buf, (jarray*)&_array, &_remaining, &_bufferOffset); in android_glDrawBuffers__ILjava_nio_IntBuffer_2()
1190 if (bufs == NULL) { in android_glDrawBuffers__ILjava_nio_IntBuffer_2()
1192 bufs = (GLenum *) (_bufsBase + _bufferOffset); in android_glDrawBuffers__ILjava_nio_IntBuffer_2()
1196 (GLenum *)bufs in android_glDrawBuffers__ILjava_nio_IntBuffer_2()
1201 _env->ReleaseIntArrayElements(_array, (jint*)bufs, JNI_ABORT); in android_glDrawBuffers__ILjava_nio_IntBuffer_2()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in394 void API_ENTRY(glDrawBuffersEXT)(GLsizei n, const GLenum *bufs) {
395 CALL_GL_API(glDrawBuffersEXT, n, bufs);
925 void API_ENTRY(glDrawBuffersNV)(GLsizei n, const GLenum *bufs) {
926 CALL_GL_API(glDrawBuffersNV, n, bufs);
Dgl2_api.in475 void API_ENTRY(glDrawBuffers)(GLsizei n, const GLenum *bufs) {
476 CALL_GL_API(glDrawBuffers, n, bufs);
/frameworks/base/libs/hwui/debug/
Dgles_stubs.in475 void API_ENTRY(glDrawBuffers)(GLsizei n, const GLenum *bufs) {
476 CALL_GL_API(glDrawBuffers, n, bufs);
1339 void API_ENTRY(glDrawBuffersEXT)(GLsizei n, const GLenum *bufs) {
1340 CALL_GL_API(glDrawBuffersEXT, n, bufs);
Dgles_decls.in159 GL_ENTRY(void, glDrawBuffers, GLsizei n, const GLenum *bufs)
447 GL_ENTRY(void, glDrawBuffersEXT, GLsizei n, const GLenum *bufs)
/frameworks/native/opengl/include/GLES3/
Dgl3.h1011 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
1116 GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
Dgl31.h1013 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
1118 GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
Dgl32.h1013 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
1118 GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h1315 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs);
1317 GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs);
2635 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs);
2637 GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs);
/frameworks/native/opengl/libs/
Dentries.in198 GL_ENTRY(void, glDrawBuffers, GLsizei n, const GLenum *bufs)
199 GL_ENTRY(void, glDrawBuffersEXT, GLsizei n, const GLenum *bufs)
201 GL_ENTRY(void, glDrawBuffersNV, GLsizei n, const GLenum *bufs)