Home
last modified time | relevance | path

Searched refs:dbytes (Results 1 – 6 of 6) sorted by relevance

/plan9/sys/src/cmd/gs/src/
H A Dshcgen.c295 hc_bytes_from_definition(byte * dbytes, const hc_definition * def) in hc_bytes_from_definition() argument
298 byte *bp = dbytes; in hc_bytes_from_definition()
299 const byte *lp = dbytes; in hc_bytes_from_definition()
300 const byte *end = dbytes + def->num_values; in hc_bytes_from_definition()
320 return bp - dbytes; in hc_bytes_from_definition()
325 hc_sizes_from_bytes(hc_definition * def, const byte * dbytes, int num_bytes) in hc_sizes_from_bytes() argument
331 int n = (dbytes[i] >> 4) + 1; in hc_sizes_from_bytes()
332 int l = (dbytes[i] & 15) + 1; in hc_sizes_from_bytes()
345 hc_definition_from_bytes(hc_definition * def, const byte * dbytes) in hc_definition_from_bytes() argument
353 int n = (dbytes[i] >> 4) + 1; in hc_definition_from_bytes()
[all …]
H A Dshcgen.h33 int hc_bytes_from_definition(byte * dbytes, const hc_definition * def);
36 void hc_sizes_from_bytes(hc_definition * def, const byte * dbytes, int num_bytes);
40 void hc_definition_from_bytes(hc_definition * def, const byte * dbytes);
H A Dgsimage.h187 int gs_image_next(gs_image_enum * penum, const byte * dbytes,
H A Dgxcht.c1165 int dbytes = depth >> 3; in set_color_ht_le_4() local
1242 switch (dbytes) { in set_color_ht_le_4()
1351 int dbytes = depth >> 3; in set_color_ht_gt_4() local
1419 switch (dbytes) { in set_color_ht_gt_4()
1435 dest -= dbytes; in set_color_ht_gt_4()
H A Dgsimage.c390 gs_image_next(gs_image_enum * penum, const byte * dbytes, uint dsize, in gs_image_next() argument
403 plane_data[px].data = dbytes; in gs_image_next()
/plan9/sys/src/cmd/cwfs/
H A Dscsi.c100 doscsi(Target* tp, int rw, uchar* cmd, int cbytes, void* data, int* dbytes) in doscsi() argument
112 if (dbytes != nil) in doscsi()
113 db = *dbytes; in doscsi()
135 scsiexec(Target* tp, int rw, uchar* cmd, int cbytes, void* data, int* dbytes) in scsiexec() argument
142 s = doscsi(tp, rw, cmd, cbytes, data, dbytes); in scsiexec()
379 scsiio(Device* d, int rw, uchar* cmd, int cbytes, void* data, int dbytes) in scsiio() argument
395 nbytes = dbytes; in scsiio()
401 memset(data, 0, dbytes); in scsiio()