Lines Matching refs:hex_digits
134 static unsigned int XBMInteger(Image *image,short int *hex_digits) in XBMInteger() argument
161 if (value > (unsigned int) (INT_MAX-hex_digits[c])) in XBMInteger()
163 value+=hex_digits[c]; in XBMInteger()
167 } while (hex_digits[c] >= 0); in XBMInteger()
194 hex_digits[256]; in ReadXBMImage() local
302 hex_digits[(int) '0']=0; in ReadXBMImage()
303 hex_digits[(int) '1']=1; in ReadXBMImage()
304 hex_digits[(int) '2']=2; in ReadXBMImage()
305 hex_digits[(int) '3']=3; in ReadXBMImage()
306 hex_digits[(int) '4']=4; in ReadXBMImage()
307 hex_digits[(int) '5']=5; in ReadXBMImage()
308 hex_digits[(int) '6']=6; in ReadXBMImage()
309 hex_digits[(int) '7']=7; in ReadXBMImage()
310 hex_digits[(int) '8']=8; in ReadXBMImage()
311 hex_digits[(int) '9']=9; in ReadXBMImage()
312 hex_digits[(int) 'A']=10; in ReadXBMImage()
313 hex_digits[(int) 'B']=11; in ReadXBMImage()
314 hex_digits[(int) 'C']=12; in ReadXBMImage()
315 hex_digits[(int) 'D']=13; in ReadXBMImage()
316 hex_digits[(int) 'E']=14; in ReadXBMImage()
317 hex_digits[(int) 'F']=15; 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) 'x']=0; in ReadXBMImage()
325 hex_digits[(int) ' ']=(-1); in ReadXBMImage()
326 hex_digits[(int) ',']=(-1); in ReadXBMImage()
327 hex_digits[(int) '}']=(-1); in ReadXBMImage()
328 hex_digits[(int) '\n']=(-1); in ReadXBMImage()
329 hex_digits[(int) '\t']=(-1); in ReadXBMImage()
347 value=XBMInteger(image,hex_digits); in ReadXBMImage()
355 value=XBMInteger(image,hex_digits); in ReadXBMImage()