Lines Matching refs:hex_digits
134 static int XBMInteger(Image *image,short int *hex_digits) in XBMInteger() argument
161 if (value <= (unsigned int) ((INT_MAX-1)-hex_digits[c])) in XBMInteger()
162 value+=hex_digits[c]; in XBMInteger()
167 } while (hex_digits[c] >= 0); in XBMInteger()
201 hex_digits[256]; in ReadXBMImage() local
306 for (i=0; i < (ssize_t) (sizeof(hex_digits)/sizeof(*hex_digits)); i++) in ReadXBMImage()
307 hex_digits[i]=(-1); in ReadXBMImage()
308 hex_digits[(int) '0']=0; in ReadXBMImage()
309 hex_digits[(int) '1']=1; in ReadXBMImage()
310 hex_digits[(int) '2']=2; in ReadXBMImage()
311 hex_digits[(int) '3']=3; in ReadXBMImage()
312 hex_digits[(int) '4']=4; in ReadXBMImage()
313 hex_digits[(int) '5']=5; in ReadXBMImage()
314 hex_digits[(int) '6']=6; in ReadXBMImage()
315 hex_digits[(int) '7']=7; in ReadXBMImage()
316 hex_digits[(int) '8']=8; in ReadXBMImage()
317 hex_digits[(int) '9']=9; in ReadXBMImage()
318 hex_digits[(int) 'A']=10; in ReadXBMImage()
319 hex_digits[(int) 'B']=11; in ReadXBMImage()
320 hex_digits[(int) 'C']=12; in ReadXBMImage()
321 hex_digits[(int) 'D']=13; in ReadXBMImage()
322 hex_digits[(int) 'E']=14; in ReadXBMImage()
323 hex_digits[(int) 'F']=15; in ReadXBMImage()
324 hex_digits[(int) 'a']=10; in ReadXBMImage()
325 hex_digits[(int) 'b']=11; in ReadXBMImage()
326 hex_digits[(int) 'c']=12; in ReadXBMImage()
327 hex_digits[(int) 'd']=13; in ReadXBMImage()
328 hex_digits[(int) 'e']=14; in ReadXBMImage()
329 hex_digits[(int) 'f']=15; in ReadXBMImage()
330 hex_digits[(int) 'x']=0; in ReadXBMImage()
331 hex_digits[(int) ' ']=(-1); in ReadXBMImage()
332 hex_digits[(int) ',']=(-1); in ReadXBMImage()
333 hex_digits[(int) '}']=(-1); in ReadXBMImage()
334 hex_digits[(int) '\n']=(-1); in ReadXBMImage()
335 hex_digits[(int) '\t']=(-1); in ReadXBMImage()
353 c=XBMInteger(image,hex_digits); in ReadXBMImage()
366 c=XBMInteger(image,hex_digits); in ReadXBMImage()