Lines Matching refs:na
563 uint16 na;
565 TIFFGetFieldDefaulted(tif,TIFFTAG_EXTRASAMPLES,&na,&nb);
566 if (!TIFFWriteDirectoryTagShortArray(tif,&ndir,dir,TIFFTAG_EXTRASAMPLES,na,nb))
805 uint32 na;
807 for (na=0, nb=dir; ; na++, nb++)
809 assert(na<ndir);
814 tif->tif_subifdoff=tif->tif_diroff+2+na*12+8;
816 tif->tif_subifdoff=tif->tif_diroff+8+na*20+12;
1087 uint8* na;
1101 for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++)
1102 *na=value;
1139 int8* na;
1153 for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++)
1154 *na=value;
1188 uint16* na;
1202 for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++)
1203 *na=value;
1239 int16* na;
1253 for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++)
1254 *na=value;
1289 uint32* na;
1303 for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++)
1304 *na=value;
1341 int32* na;
1355 for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++)
1356 *na=value;
1471 float* na;
1485 for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++)
1486 *na=value;
1520 double* na;
1534 for (na=m, nb=0; nb<tif->tif_dir.td_samplesperpixel; na++, nb++)
1535 *na=value;
2119 float* na;
2130 for (na=value, nb=m, nc=0; nc<count; na++, nb+=2, nc++)
2132 if (*na<=0.0)
2137 else if (*na==(float)(uint32)(*na))
2139 nb[0]=(uint32)(*na);
2142 else if (*na<1.0)
2144 nb[0]=(uint32)((*na)*0xFFFFFFFF);
2150 nb[1]=(uint32)(0xFFFFFFFF/(*na));
2165 float* na;
2176 for (na=value, nb=m, nc=0; nc<count; na++, nb+=2, nc++)
2178 if (*na<0.0)
2180 if (*na==(int32)(*na))
2182 nb[0]=(int32)(*na);
2185 else if (*na>-1.0)
2187 nb[0]=-(int32)((-*na)*0x7FFFFFFF);
2193 nb[1]=(int32)(0x7FFFFFFF/(-*na));
2198 if (*na==(int32)(*na))
2200 nb[0]=(int32)(*na);
2203 else if (*na<1.0)
2205 nb[0]=(int32)((*na)*0x7FFFFFFF);
2211 nb[1]=(int32)(0x7FFFFFFF/(*na));
2320 uint64 na,nb;
2321 na=tif->tif_dataoff;
2322 nb=na+datalength;
2325 if ((nb<na)||(nb<datalength))
2330 if (!SeekOK(tif,na))
2347 o=(uint32)na;
2354 dir[m].tdir_offset.toff_long8 = na;