Lines Matching refs:rd

897 	ssize_t rd = inSource->Read(bitsRowData, bitsRowBytes);  in translate_from_bits_to_tgatc()  local
907 while (rd == bitsRowBytes) { in translate_from_bits_to_tgatc()
920 rd = inSource->Read(bitsRowData, bitsRowBytes); in translate_from_bits_to_tgatc()
999 ssize_t rd = inSource->Read(bitsRowData, bitsRowBytes); in translate_from_bits1_to_tgabw() local
1000 while (rd == bitsRowBytes) { in translate_from_bits1_to_tgabw()
1032 rd = inSource->Read(bitsRowData, bitsRowBytes); in translate_from_bits1_to_tgabw()
1576 ssize_t rd = inSource->Read(tgaRowData, tgaRowBytes); in translate_from_tganm_to_bits() local
1577 while (rd == tgaRowBytes) { in translate_from_tganm_to_bits()
1592 rd = inSource->Read(tgaRowData, tgaRowBytes); in translate_from_tganm_to_bits()
1670 ssize_t rd = 0; in translate_from_tganmrle_to_bits() local
1672 rd = sbuf.Read(&packethead, 1); in translate_from_tganmrle_to_bits()
1673 while (rd == 1) { in translate_from_tganmrle_to_bits()
1682 rd = sbuf.Read(tgapixel, tgaBytesPerPixel); in translate_from_tganmrle_to_bits()
1683 if (rd == tgaBytesPerPixel) { in translate_from_tganmrle_to_bits()
1704 rd = sbuf.Read(tgaPixelBuf, rawbytes); in translate_from_tganmrle_to_bits()
1705 if (rd == rawbytes) { in translate_from_tganmrle_to_bits()
1727 rd = sbuf.Read(&packethead, 1); in translate_from_tganmrle_to_bits()
1879 ssize_t rd = inSource->Read(tgaRowData, tgaRowBytes); in translate_from_tgam_to_bits() local
1880 while (rd == tgaRowBytes) { in translate_from_tgam_to_bits()
1894 rd = inSource->Read(tgaRowData, tgaRowBytes); in translate_from_tgam_to_bits()
1975 ssize_t rd = 0; in translate_from_tgamrle_to_bits() local
1977 rd = sbuf.Read(&packethead, 1); in translate_from_tgamrle_to_bits()
1978 while (rd == 1) { in translate_from_tgamrle_to_bits()
1987 rd = sbuf.Read(&tgaindex, 1); in translate_from_tgamrle_to_bits()
1988 if (rd == tgaBytesPerPixel) { in translate_from_tgamrle_to_bits()
2010 rd = sbuf.Read(tgaIndexBuf, rawcount); in translate_from_tgamrle_to_bits()
2011 if (rd == rawcount) { in translate_from_tgamrle_to_bits()
2033 rd = sbuf.Read(&packethead, 1); in translate_from_tgamrle_to_bits()
2103 ssize_t rd = inSource->Read(buf, kbuflen); in translate_from_tga() local
2104 while (rd > 0) { in translate_from_tga()
2105 outDestination->Write(buf, rd); in translate_from_tga()
2106 rd = inSource->Read(buf, kbuflen); in translate_from_tga()
2108 if (rd == 0) in translate_from_tga()