Lines Matching defs:nBytes
338 Int nBytes, char *buf, Boln swapBytes, Boln isAscii)
345 printf ("Reading %d UBytes\n", nBytes);
348 for (i=0; i<nBytes; i++) {
357 if (nBytes != tkimg_Read (handle, buf, nBytes))
360 for (i=0; i<nBytes; i++) {
978 static int writeAsciiRow (tkimg_MFile *handle, const unsigned char *scanline, int nBytes)
983 for (i=0; i<nBytes; i++) {
989 return nBytes;
1000 int redOff, greenOff, blueOff, nBytes;
1021 nBytes = blockPtr->width * 3; /* Only RGB images allowed. */
1022 scanline = (unsigned char *) ckalloc((unsigned) nBytes);
1033 if (writeAsciiRow (handle, scanline, nBytes) != nBytes) {
1037 if (tkimg_Write(handle, (char *) scanline, nBytes) != nBytes) {