OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numBytesRead
(Results
1 - 11
of
11
) sorted by null
/frameworks/av/include/media/stagefright/
DataSource.h
157
ssize_t
numBytesRead
;
164
numBytesRead
= this->readAt(offset, (void*)&tmp, numBytesPerChunk);
165
if (
numBytesRead
== -1) { // If readAt() returns -1, there is an error.
168
if (
numBytesRead
< numBytesPerChunk) {
171
x->appendArray(tmp, (size_t)
numBytesRead
/ sizeof(T));
181
numBytesRead
= this->readAt(offset, (void*)&tmp, (count - i) * sizeof(T));
182
if (
numBytesRead
== -1) {
185
x->appendArray(tmp, (size_t)
numBytesRead
/ sizeof(T));
/frameworks/av/media/libstagefright/http/
MediaHTTP.cpp
96
size_t
numBytesRead
= 0;
97
while (
numBytesRead
< size) {
98
size_t copy = size -
numBytesRead
;
107
offset +
numBytesRead
, (uint8_t *)data +
numBytesRead
, copy);
115
numBytesRead
+= n;
120
addBandwidthMeasurement(
numBytesRead
, delayUs);
122
return
numBytesRead
;
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
FwdLockGlue.c
129
ssize_t
numBytesRead
= 0;
132
numBytesRead
= read(fileDesc, pBuffer, numBytes);
135
return
numBytesRead
>= 0 && (size_t)
numBytesRead
== numBytes;
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
FwdLockFile.c
300
ssize_t
numBytesRead
;
303
numBytesRead
= -1;
307
numBytesRead
= read(pSession->fileDesc, pBuffer, numBytes);
308
for (i = 0; i <
numBytesRead
; ++i) {
313
return
numBytesRead
;
387
ssize_t
numBytesRead
;
389
while ((
numBytesRead
=
391
HMAC_Update(&pSession->signingContext, pData->buffer, (size_t)
numBytesRead
);
393
if (
numBytesRead
< 0) {
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
SoftAMR.cpp
339
int32_t
numBytesRead
;
362
numBytesRead
=
369
if (
numBytesRead
== -1) {
378
++
numBytesRead
; // Include the frame type header byte.
380
if (static_cast<size_t>(
numBytesRead
) > inHeader->nFilledLen) {
447
numBytesRead
= frameSize;
450
inHeader->nOffset +=
numBytesRead
;
451
inHeader->nFilledLen -=
numBytesRead
;
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/session/
DefaultSession.java
261
int
numBytesRead
= 0;
263
while (
numBytesRead
< numBytes) {
269
numBytesRead
++;
/external/deqp/execserver/
xsWin32TestProcess.cpp
237
DWORD
numBytesRead
= 0;
270
if (!GetOverlappedResult(m_handle, &overlapped, &
numBytesRead
, FALSE))
294
if (
numBytesRead
== 0)
297
offset += (deUint64)
numBytesRead
;
311
m_dstBuf->write((int)
numBytesRead
, &tmpBuf[0]);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
FwdLockConv.c
[
all
...]
/frameworks/native/services/sensorservice/
SensorEventConnection.cpp
551
ssize_t
numBytesRead
= ::recv(fd, buf, sizeof(buf), MSG_DONTWAIT);
554
if (
numBytesRead
== sizeof(sensors_event_t)) {
575
} else if (
numBytesRead
== sizeof(uint32_t)) {
577
memcpy(&numAcks, buf,
numBytesRead
);
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
btSoftBodyHelpers.cpp
1097
int
numBytesRead
=0;
[
all
...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
VoicemailProviderTest.java
125
int
numBytesRead
= in.read(inBuffer);
126
assertEquals(
numBytesRead
, outBuffer.length);
Completed in 405 milliseconds