Searched defs:dataCache (Results 1 - 2 of 2) sorted by relevance

/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp42 char dataCache[BUFFER_SIZE * NB_BUFFERS]; variable
108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file);
112 dataCache + i*BUFFER_SIZE,
297 if (fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file) <= 0) {
305 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0);
311 if (fread(dataCache, 1, BUFFER_SIZE * 1, file) <= 0) {
318 res = (*abqItf)->Enqueue(abqItf, dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0);
/frameworks/wilhelm/tests/native-media/jni/
H A Dnative-media-jni.c64 char dataCache[BUFFER_SIZE * NB_BUFFERS]; variable
143 assert(dataCache <= (char *) pBufferData && (char *) pBufferData <
144 &dataCache[BUFFER_SIZE * NB_BUFFERS]);
145 assert(0 == (((char *) pBufferData - dataCache) % BUFFER_SIZE));
301 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file);
324 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, items /*pMsg*/,
330 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0);

Completed in 122 milliseconds