Lines Matching defs:val
207 #define _OPT_VAL_WORD(s, o) ((s)->val[(o)].w)
210 #define _OPT_VAL_STRING(s, o) ((s)->val[(o)].s)
211 #define _OPT_VAL_WORD_ARRAY(s, o) ((s)->val[(o)].wa)
329 Option_Value val[NUM_OPTIONS];
551 SANE_Int val = 255;
552 unsigned char *firstbyte = (unsigned char *) &val;
558 _lto2b(u_long val, SANE_Byte *bytes)
560 bytes[0] = (val >> 8) & 0xff;
561 bytes[1] = val & 0xff;
565 _lto3b(u_long val, SANE_Byte *bytes)
567 bytes[0] = (val >> 16) & 0xff;
568 bytes[1] = (val >> 8) & 0xff;
569 bytes[2] = val & 0xff;
573 _lto4b(u_long val, SANE_Byte *bytes)
575 bytes[0] = (val >> 24) & 0xff;
576 bytes[1] = (val >> 16) & 0xff;
577 bytes[2] = (val >> 8) & 0xff;
578 bytes[3] = val & 0xff;