Home
last modified time | relevance | path

Searched refs:gbuf (Results 1 - 9 of 9) sorted by relevance

/third_party/backends/backend/
H A Dcanon.c543 u_char gbuf[256]; in do_gamma() local
564 gbuf[j] = (u_char) s->gamma_table[0][j]; in do_gamma()
565 DBG (22, "set_density %d: gbuf[%d] = [%d]\n", 0, j, gbuf[j]); in do_gamma()
569 gbuf[255 - j] = (u_char) (255 - s->gamma_table[0][j]); in do_gamma()
570 DBG (22, "set_density %d: gbuf[%d] = [%d]\n", 0, 255 - j, in do_gamma()
571 gbuf[255 - j]); in do_gamma()
574 if ((status = set_density_curve (s->fd, 0, gbuf, &buf_size, in do_gamma()
594 gbuf[j] = (u_char) s->gamma_table[from][j]; in do_gamma()
595 DBG (22, "set_density %d: gbuf[ in do_gamma()
[all...]
H A Dmustek_pp_ccd300.c621 SANE_Byte gbuf[32][CCD300_MAXHSIZE * 2]; in max_color_levels_101x() local
642 read_average_line_101x (dev, gbuf[ctr], dev->params.pixels_per_line, in max_color_levels_101x()
659 read_average_line_101x (dev, gbuf[ctr], dev->params.pixels_per_line, in max_color_levels_101x()
670 maxbuf[line] = gbuf[line][ctr]; in max_color_levels_101x()
881 SANE_Byte gbuf[CCD300_MAXHSIZE * 2]; in get_lineart_line_101x() local
884 get_grayscale_line_101x (dev, gbuf); in get_lineart_line_101x()
889 buf[ctr >> 3] ^= ((gbuf[ctr] > priv->bw) ? (1 << (7 - ctr % 8)) : 0); in get_lineart_line_101x()
H A Dcanon-sane.c302 SANE_Byte gbuf[4096]; in sane_control_option() local
381 memset (gbuf, 0, sizeof (gbuf)); in sane_control_option()
399 get_density_curve (s->fd, gamma_component, gbuf, &buf_size, in sane_control_option()
411 get_density_curve_fs2710 (s, gamma_component, gbuf, &buf_size); in sane_control_option()
421 (SANE_Int) gbuf[i]; in sane_control_option()
424 255 - (SANE_Int) gbuf[255 - i]; in sane_control_option()
H A Dmustek_pp_cis.c1583 SANE_Byte gbuf[MUSTEK_PP_CIS_MAX_H_PIXEL * 2]; in cis_get_lineart_line() local
1585 cis_get_grayscale_line (dev, gbuf); in cis_get_lineart_line()
1589 buf[ctr >> 3] ^= ((gbuf[ctr] > dev->bw_limit) ? (1 << (7 - ctr % 8)) : 0); in cis_get_lineart_line()
H A Dhs2p.c2902 GWD gbuf; /* Get Window Data: hdr + data */ in sane_start() local
3105 memset (&gbuf, 0, sizeof (gbuf)); /* CLEAR wbuf */ in sane_start()
3106 if ((status = get_window (s->fd, &gbuf)) != SANE_STATUS_GOOD) in sane_start()
/third_party/selinux/libselinux/src/
H A Dseusers.c117 struct group gbuf, *grent = NULL; in check_group() local
128 int retval = getgrnam_r(group, &gbuf, rbuf, in check_group()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcdattst.c197 char gbuf[2048]; in TestDateFormat() local
199 u_austrcpy(gbuf, result); in TestDateFormat()
200 log_err("FAIL: Date Format for US locale failed using udat_format() - expected %s got %s\n", xbuf, gbuf); in TestDateFormat()
214 char gbuf[2048]; in TestDateFormat() local
216 u_austrcpy(gbuf, result); in TestDateFormat()
217 log_data_err("FAIL: Date Format for french locale failed using udat_format() - expected %s got %s\n", xbuf, gbuf); in TestDateFormat()
/third_party/toybox/toys/pending/
H A Dip.c45 char stats, singleline, flush, *filter_dev, gbuf[8192];
1398 int len = recv(TT.sockfd, TT.gbuf, sizeof(TT.gbuf), 0); in ipaddr_print()
1399 addr_ptr = (struct nlmsghdr *)TT.gbuf; in ipaddr_print()
2790 int msglen = recv(TT.sockfd, TT.gbuf, MESG_LEN, 0); in filter_nlmesg()
2801 for (mhdr = (struct nlmsghdr*)TT.gbuf; NLMSG_OK(mhdr, msglen); in filter_nlmesg()
/third_party/toybox/generated/
H A Dglobals.h836 char stats, singleline, flush, *filter_dev, gbuf[8192]; member

Completed in 28 milliseconds