/third_party/nghttp2/tests/ |
H A D | malloc_wrapper.c | 42 static void *my_malloc(size_t size, void *mud) { in my_malloc() argument 43 (void)mud; in my_malloc() 49 static void my_free(void *ptr, void *mud) { in my_free() argument 50 (void)mud; in my_free() 55 static void *my_calloc(size_t nmemb, size_t size, void *mud) { in my_calloc() argument 56 (void)mud; in my_calloc() 62 static void *my_realloc(void *ptr, size_t size, void *mud) { in my_realloc() argument 63 (void)mud; in my_realloc()
|
/third_party/backends/backend/ |
H A D | ibm.c | 203 mup.mud[0] = (DEFAULT_MUD >> 8) & 0xff; in attach() 204 mup.mud[1] = (DEFAULT_MUD & 0xff); in attach() 298 dev->info.mud = _2btol(mup.mud); in attach() 299 if (dev->info.mud == 0) { in attach() 305 dev->info.mud = DEFAULT_MUD; in attach() 309 dev->info.mud = DEFAULT_MUD; in attach() 331 DBG (5, "mud=%d\n", dev->info.mud); in attach() 900 s->params.pixels_per_line = width * xres / s->hw->info.mud; in sane_get_parameters() [all...] |
H A D | ricoh.c | 176 mup.mud[0] = (DEFAULT_MUD >> 8) & 0xff; in attach() 177 mup.mud[1] = (DEFAULT_MUD & 0xff); in attach() 263 dev->info.mud = _2btol(mup.mud); in attach() 264 if (dev->info.mud == 0) { in attach() 270 dev->info.mud = DEFAULT_MUD; in attach() 274 dev->info.mud = DEFAULT_MUD; in attach() 294 DBG (5, "mud=%d\n", dev->info.mud); in attach() 758 s->params.pixels_per_line = width * xres / s->hw->info.mud; in sane_get_parameters() [all...] |
H A D | sharp.h | 180 SANE_Int mud; member 372 SANE_Byte mud[2]; member 418 SANE_Byte mud[2]; member
|
H A D | nec.h | 180 SANE_Int mud; member 349 SANE_Byte mud[2]; member 391 SANE_Byte mud[2]; member
|
H A D | ricoh.h | 209 SANE_Int mud; member 308 SANE_Byte mud[2]; member
|
H A D | hs2p-scsi.c | 218 DBG (DBG_info, "mud = %d\n", info->mud); in ScannerDump() 1862 get_basic_measurement_unit (int fd, SANE_Int * bmu, SANE_Int * mud) in get_basic_measurement_unit() argument 1880 *mud = ((buf.mud[0] << 8) | buf.mud[1]); in get_basic_measurement_unit() 1882 DBG (DBG_proc, "<< get_basic_measurement_unit: bmu=%d mud=%d\n", *bmu, in get_basic_measurement_unit() 1883 *mud); in get_basic_measurement_unit() 1892 SANE_Int mud; in set_basic_measurement_unit() local 1904 mud in set_basic_measurement_unit() [all...] |
H A D | ibm.h | 259 SANE_Int mud; member 365 SANE_Byte mud[2]; member
|
H A D | sharp.c | 162 #define PIX_TO_MM(x, mud) ((x) * 25.4 / mud) 163 #define MM_TO_PIX(x, mud) ((x) * mud / 25.4) 560 mode_select_mud (int fd, int mud) in mode_select_mud() argument 572 mp->mud[0] = mud >> 8; in mode_select_mud() 573 mp->mud[1] = mud & 0xFF; in mode_select_mud() 1244 (m_subdev.max_x[2] << 8) + m_subdev.max_x[3] - 1, dev->info.mud)); in get_max_scan_size() [all...] |
H A D | hs2p.h | 149 SANE_Int mud; member 273 SANE_Int mud; /* Measurement Unit Divisor */ member
|
H A D | nec.c | 131 #define PIX_TO_MM(x, mud) ((x) * 25.4 / mud) 132 #define MM_TO_PIX(x, mud) ((x) * mud / 25.4) 420 mode_select_mud (int fd, int mud) in mode_select_mud() argument 433 mp->mud[0] = mud >> 8; in mode_select_mud() 434 mp->mud[1] = mud & 0xFF; in mode_select_mud() 1100 msp.mud[ in attach() [all...] |
H A D | canon-sane.c | 1036 * s->hw->info.mud / MM_PER_INCH; in sane_get_parameters() 1038 * s->hw->info.mud / MM_PER_INCH; in sane_get_parameters() 1049 DBG (11, "sane_get_parameters: width='%d', xres='%d', mud='%d'\n", in sane_get_parameters() 1050 width, xres, s->hw->info.mud); in sane_get_parameters() 1051 s->params.pixels_per_line = width * xres / s->hw->info.mud; in sane_get_parameters() 1052 DBG (11, "sane_get_parameters: length='%d', yres='%d', mud='%d'\n", in sane_get_parameters() 1053 length, yres, s->hw->info.mud); in sane_get_parameters() 1054 s->params.lines = length * yres / s->hw->info.mud; in sane_get_parameters() 1235 s->ulx = SANE_UNFIX (s->val[OPT_TL_X].w) * s->hw->info.mud / MM_PER_INCH; in sane_start() 1236 s->uly = SANE_UNFIX (s->val[OPT_TL_Y].w) * s->hw->info.mud / MM_PER_INC in sane_start() [all...] |
H A D | canon.h | 234 SANE_Int mud; member
|
H A D | bh.h | 344 SANE_Int mud; member 921 SANE_Byte mud[2]; member
|
H A D | hs2p-scsi.h | 539 SANE_Byte mud[2]; /* Measurement Unit Divisor member 541 * mud is fixed to 1 for millimeter or point
|
H A D | canon.c | 961 dev->info.mud = (mbuf[8] << 8) + mbuf[9]; in attach() 962 DBG (5, "mud=%d\n", dev->info.mud); in attach() 986 SANE_FIX (dev->info.x_range.max * MM_PER_INCH / dev->info.mud); in attach() 994 SANE_FIX (dev->info.y_range.max * MM_PER_INCH / dev->info.mud); in attach()
|
H A D | bh.c | 681 DBG (3, "mode_select_measurement called (bmu:%d mud:%d)\n", in mode_select_measurement() 682 s->bmu, s->mud); in mode_select_measurement() 692 _lto2b(s->mud, select_cmd.mp.mud); in mode_select_measurement() 986 s->mud = 1000; in set_window() 1112 s->mud = 1; in set_window() 3298 s->mud = 1; in sane_open()
|
H A D | hs2p.c | 1097 get_basic_measurement_unit (fd, &(dev->info.bmu), &(dev->info.mud)); in attach() 1687 s->hw->info.mud = s->mud = 1; /* If the scale is MM or POINT, mud is fixed to 1 */ in sane_open() 2589 ">>sane_get_parameters: (W/L)=(%d/%d) (xres/yres)=(%d/%d) mud=%d\n", in sane_get_parameters() 2590 width, length, xres, yres, s->hw->info.mud); in sane_get_parameters() 2596 width * xres / s->hw->info.mud / MM_PER_INCH; in sane_get_parameters() 2597 s->params.lines = length * yres / s->hw->info.mud / MM_PER_INCH; in sane_get_parameters()
|