Home | History | Annotate | Download | only in test

Lines Matching refs:bytes_read

2831     int bytes_read=0;
2857 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, frameSize);
2859 DEBUG_PRINT("Actual frame Size [%d] bytes_read using fread[%d]\n",
2860 frameSize, bytes_read);
2862 if (bytes_read == 0 || bytes_read < frameSize ) {
2870 return bytes_read;
2875 int bytes_read = 0;
2884 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1);
2885 if (!bytes_read) {
2899 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1);
2900 if (!bytes_read) {
2909 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1);
2910 if (!bytes_read) {
2949 int bytes_read=0;
2951 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, NUMBER_OF_ARBITRARYBYTES_READ);
2952 if (bytes_read == 0) {
2967 return bytes_read;
2973 int bytes_read = 0;
2982 bytes_read = read(inputBufferFileFd, &pBufHdr->pBuffer[readOffset], 1);
2983 if (bytes_read == 0 || bytes_read == -1) {
3106 int bytes_read = 0;
3109 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer + pBufHdr->nOffset, nalSize);
3110 if (bytes_read == 0 || bytes_read == -1) {
3126 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer + pBufHdr->nOffset + nalSize, size);
3127 if (bytes_read != (int)size) {
3134 return bytes_read + nalSize;
3276 int bytes_read = 0;
3292 bytes_read = read(inputBufferFileFd, &pBuffer[readOffset],1 );
3294 if (!bytes_read) {
3373 unsigned int read_code = 0, bytes_read, byte_pos = 0, frame_type;
3388 bytes_read = read(inputBufferFileFd, p_buffer, NUMBER_OF_ARBITRARYBYTES_READ);
3389 byte_pos += bytes_read;
3390 bytes_read && !pckt_ready; byte_cntr++) {
3394 if (++byte_cntr < (int)bytes_read) {
3413 offset_array[vop_set_cntr] = byte_pos - bytes_read + byte_cntr - 4;
3507 unsigned int bytes_read = 0;
3532 bytes_read = read(inputBufferFileFd, &frame_size, num_bytes_size);
3555 unsigned int bytes_read = 0;
3576 bytes_read = read(inputBufferFileFd, p_buffer, 32);
3585 bytes_read = read(inputBufferFileFd, &frame_size, 4);
3586 bytes_read = read(inputBufferFileFd, &time_stamp, 8);
3595 int bytes_read = 0;
3614 bytes_read = read(inputBufferFileFd, &pBuffer[cnt], 1);
3615 if (!bytes_read) {
3629 bytes_read = 0;
3640 bytes_read = 0;
3646 }while (naluType != 20 && bytes_read != 0);