Home | History | Annotate | Download | only in test

Lines Matching refs:bytes_read

2590     int bytes_read=0;
2615 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, frameSize);
2617 DEBUG_PRINT("Actual frame Size [%d] bytes_read using fread[%d]\n",
2618 frameSize, bytes_read);
2620 if(bytes_read == 0 || bytes_read < frameSize ) {
2628 return bytes_read;
2633 int bytes_read=0;
2635 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer, NUMBER_OF_ARBITRARYBYTES_READ);
2636 if(bytes_read == 0) {
2651 return bytes_read;
2657 int bytes_read = 0;
2667 bytes_read = read(inputBufferFileFd, &pBufHdr->pBuffer[readOffset], 1);
2668 if(bytes_read == 0 || bytes_read == -1)
2799 int bytes_read = 0;
2802 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer + pBufHdr->nOffset, nalSize);
2803 if (bytes_read == 0 || bytes_read == -1)
2822 bytes_read = read(inputBufferFileFd, pBufHdr->pBuffer + pBufHdr->nOffset + nalSize, size);
2823 if (bytes_read != size)
2831 return bytes_read + nalSize;
2978 int bytes_read = 0;
2996 bytes_read = read(inputBufferFileFd, &pBuffer[readOffset],1 );
2998 if(!bytes_read)
3084 unsigned int read_code = 0, bytes_read, byte_pos = 0, frame_type;
3099 bytes_read = read(inputBufferFileFd, p_buffer, NUMBER_OF_ARBITRARYBYTES_READ);
3100 byte_pos += bytes_read;
3101 for (byte_cntr = 0; byte_cntr < bytes_read && !pckt_ready; byte_cntr++) {
3105 if (++byte_cntr < bytes_read) {
3117 offset_array[vop_set_cntr] = byte_pos - bytes_read + byte_cntr - 4;
3214 unsigned int bytes_read = 0;
3243 bytes_read = read(inputBufferFileFd, &frame_size, num_bytes_size);