OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nbRead
(Results
1 - 3
of
3
) sorted by null
/external/srec/shared/src/
CircularBuffer.c
52
size_t
nbRead
= 0;
68
nbRead
= buffer->capacity - buffer-> readIdx;
69
if (
nbRead
> bufSize)
nbRead
= bufSize;
71
memcpy(data, bufferData + buffer->readIdx,
nbRead
);
72
buffer->size -=
nbRead
;
73
buffer->readIdx +=
nbRead
;
78
if (
nbRead
< bufSize)
80
int toRead = bufSize -
nbRead
;
81
memcpy(((unsigned char *) data) +
nbRead
, bufferData + buffer->readIdx, toRead)
[
all
...]
/system/media/wilhelm/tests/native-media/jni/
native-media-jni.c
191
size_t
nbRead
;
193
nbRead
= fread(pBufferData, BUFFER_SIZE, 1, file);
194
if (
nbRead
> 0) {
195
assert(1 ==
nbRead
);
198
nbRead
* BUFFER_SIZE /*dataLength*/,
300
size_t
nbRead
;
301
nbRead
= fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file);
302
if (
nbRead
<= 0) {
307
assert(1 <=
nbRead
&&
nbRead
<= NB_BUFFERS)
[
all
...]
/system/media/wilhelm/tests/sandbox/streamSource/
slesTestPlayStream.cpp
108
size_t
nbRead
= fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file);
109
if (
nbRead
== BUFFER_SIZE*(NB_BUFFERS/2)) {
150
size_t
nbRead
= fread((void*)pBufferData, 1, BUFFER_SIZE, file);
151
if (
nbRead
> 0) {
154
nbRead
/*dataLength*/,
Completed in 376 milliseconds