Home
last modified time | relevance | path

Searched refs:BITMAP_BITS (Results 1 – 25 of 119) sorted by relevance

12345

/dports/graphics/evince/evince-41.3/backend/dvi/mdvi-lib/
H A Dbitmap.h32 #define BITMAP_BITS (BITMAP_BYTES << 3) macro
42 (ROUND((b)->width, BITMAP_BITS) * BITMAP_BYTES)
56 ((x) / BITMAP_BITS) * BITMAP_BYTES)
75 + (column_number / BITMAP_BITS);
98 #define FIRSTSHIFT (BITMAP_BITS - 1)
102 #define FIRSTSHIFTAT(c) (BITMAP_BITS - ((c) % BITMAP_BITS) - 1)
105 #define LASTSHIFT (BITMAP_BITS - 1)
108 #define FIRSTSHIFTAT(c) ((c) % BITMAP_BITS)
H A Dbitmap.c322 if(n + count > BITMAP_BITS) { in bitmap_paint_bits()
324 count -= BITMAP_BITS - n; in bitmap_paint_bits()
332 for(; count >= BITMAP_BITS; count -= BITMAP_BITS) in bitmap_paint_bits()
333 *ptr++ = bit_masks[BITMAP_BITS]; in bitmap_paint_bits()
346 if(n + count > BITMAP_BITS) { in bitmap_clear_bits()
348 count -= BITMAP_BITS; in bitmap_clear_bits()
355 for(; count >= BITMAP_BITS; count -= BITMAP_BITS) in bitmap_clear_bits()
764 ptr = data + step / BITMAP_BITS; in do_sample()
771 wid = BITMAP_BITS - shift; in do_sample()
789 shift = BITMAP_BITS; in do_sample()
[all …]
/dports/print/xreader/xreader-3.2.2/backend/dvi/mdvi-lib/
H A Dbitmap.h32 #define BITMAP_BITS (BITMAP_BYTES << 3) macro
42 (ROUND((b)->width, BITMAP_BITS) * BITMAP_BYTES)
56 ((x) / BITMAP_BITS) * BITMAP_BYTES)
75 + (column_number / BITMAP_BITS);
98 #define FIRSTSHIFT (BITMAP_BITS - 1)
102 #define FIRSTSHIFTAT(c) (BITMAP_BITS - ((c) % BITMAP_BITS) - 1)
105 #define LASTSHIFT (BITMAP_BITS - 1)
108 #define FIRSTSHIFTAT(c) ((c) % BITMAP_BITS)
H A Dbitmap.c323 if(n + count > BITMAP_BITS) { in bitmap_paint_bits()
325 count -= BITMAP_BITS - n; in bitmap_paint_bits()
333 for(; count >= BITMAP_BITS; count -= BITMAP_BITS) in bitmap_paint_bits()
334 *ptr++ = bit_masks[BITMAP_BITS]; in bitmap_paint_bits()
347 if(n + count > BITMAP_BITS) { in bitmap_clear_bits()
349 count -= BITMAP_BITS; in bitmap_clear_bits()
356 for(; count >= BITMAP_BITS; count -= BITMAP_BITS) in bitmap_clear_bits()
765 ptr = data + step / BITMAP_BITS; in do_sample()
772 wid = BITMAP_BITS - shift; in do_sample()
790 shift = BITMAP_BITS; in do_sample()
[all …]
/dports/graphics/atril-lite/atril-1.26.0/backend/dvi/mdvi-lib/
H A Dbitmap.h32 #define BITMAP_BITS (BITMAP_BYTES << 3) macro
42 (ROUND((b)->width, BITMAP_BITS) * BITMAP_BYTES)
56 ((x) / BITMAP_BITS) * BITMAP_BYTES)
75 + (column_number / BITMAP_BITS);
98 #define FIRSTSHIFT (BITMAP_BITS - 1)
102 #define FIRSTSHIFTAT(c) (BITMAP_BITS - ((c) % BITMAP_BITS) - 1)
105 #define LASTSHIFT (BITMAP_BITS - 1)
108 #define FIRSTSHIFTAT(c) ((c) % BITMAP_BITS)
H A Dbitmap.c322 if(n + count > BITMAP_BITS) { in bitmap_paint_bits()
324 count -= BITMAP_BITS - n; in bitmap_paint_bits()
332 for(; count >= BITMAP_BITS; count -= BITMAP_BITS) in bitmap_paint_bits()
333 *ptr++ = bit_masks[BITMAP_BITS]; in bitmap_paint_bits()
346 if(n + count > BITMAP_BITS) { in bitmap_clear_bits()
348 count -= BITMAP_BITS; in bitmap_clear_bits()
355 for(; count >= BITMAP_BITS; count -= BITMAP_BITS) in bitmap_clear_bits()
764 ptr = data + step / BITMAP_BITS; in do_sample()
771 wid = BITMAP_BITS - shift; in do_sample()
789 shift = BITMAP_BITS; in do_sample()
[all …]
/dports/graphics/atril/atril-1.26.0/backend/dvi/mdvi-lib/
H A Dbitmap.h32 #define BITMAP_BITS (BITMAP_BYTES << 3) macro
42 (ROUND((b)->width, BITMAP_BITS) * BITMAP_BYTES)
56 ((x) / BITMAP_BITS) * BITMAP_BYTES)
75 + (column_number / BITMAP_BITS);
98 #define FIRSTSHIFT (BITMAP_BITS - 1)
102 #define FIRSTSHIFTAT(c) (BITMAP_BITS - ((c) % BITMAP_BITS) - 1)
105 #define LASTSHIFT (BITMAP_BITS - 1)
108 #define FIRSTSHIFTAT(c) ((c) % BITMAP_BITS)
H A Dbitmap.c322 if(n + count > BITMAP_BITS) { in bitmap_paint_bits()
324 count -= BITMAP_BITS - n; in bitmap_paint_bits()
332 for(; count >= BITMAP_BITS; count -= BITMAP_BITS) in bitmap_paint_bits()
333 *ptr++ = bit_masks[BITMAP_BITS]; in bitmap_paint_bits()
346 if(n + count > BITMAP_BITS) { in bitmap_clear_bits()
348 count -= BITMAP_BITS; in bitmap_clear_bits()
355 for(; count >= BITMAP_BITS; count -= BITMAP_BITS) in bitmap_clear_bits()
764 ptr = data + step / BITMAP_BITS; in do_sample()
771 wid = BITMAP_BITS - shift; in do_sample()
789 shift = BITMAP_BITS; in do_sample()
[all …]
/dports/security/pam_ssh/pam_ssh-8.0/openssh/
H A Dbitmap.c29 #define BITMAP_BITS (sizeof(BITMAP_WTYPE) * 8) macro
30 #define BITMAP_WMASK ((BITMAP_WTYPE)BITMAP_BITS - 1)
76 if (b->len == 0 || (n / BITMAP_BITS) > b->top) in bitmap_test_bit()
78 return (b->d[n / BITMAP_BITS] >> (n & BITMAP_WMASK)) & 1; in bitmap_test_bit()
89 nlen = (n / BITMAP_BITS) + 1; in reserve()
108 offset = n / BITMAP_BITS; in bitmap_set_bit()
132 offset = n / BITMAP_BITS; in bitmap_clear_bit()
153 bits = (b->top + 1) * BITMAP_BITS; in bitmap_nbits()
154 while (!(w & ((BITMAP_WTYPE)1 << (BITMAP_BITS - 1)))) { in bitmap_nbits()
208 shift = BITMAP_BITS - 8; in bitmap_from_string()
/dports/security/openssh-portable/openssh-8.8p1/
H A Dbitmap.c29 #define BITMAP_BITS (sizeof(BITMAP_WTYPE) * 8) macro
30 #define BITMAP_WMASK ((BITMAP_WTYPE)BITMAP_BITS - 1)
76 if (b->len == 0 || (n / BITMAP_BITS) > b->top) in bitmap_test_bit()
78 return (b->d[n / BITMAP_BITS] >> (n & BITMAP_WMASK)) & 1; in bitmap_test_bit()
89 nlen = (n / BITMAP_BITS) + 1; in reserve()
108 offset = n / BITMAP_BITS; in bitmap_set_bit()
132 offset = n / BITMAP_BITS; in bitmap_clear_bit()
153 bits = (b->top + 1) * BITMAP_BITS; in bitmap_nbits()
154 while (!(w & ((BITMAP_WTYPE)1 << (BITMAP_BITS - 1)))) { in bitmap_nbits()
208 shift = BITMAP_BITS - 8; in bitmap_from_string()
/dports/graphics/sam2p/sam2p-0.49.4/
H A Din_pnm.cpp34 … memcpy(img->getRowbeg(), BITMAP_BITS(bitmap), (slen_t)BITMAP_WIDTH(bitmap)*BITMAP_HEIGHT(bitmap)); in in_pnm_reader()
38 …memcpy(img->getRowbeg(), BITMAP_BITS(bitmap), (slen_t)3*BITMAP_WIDTH(bitmap)*BITMAP_HEIGHT(bitmap)… in in_pnm_reader()
42 delete [] BITMAP_BITS(bitmap); in in_pnm_reader()
56 … memcpy(img->getRowbeg(), BITMAP_BITS(bitmap), (slen_t)BITMAP_WIDTH(bitmap)*BITMAP_HEIGHT(bitmap)); in in_pnm_reader()
57 delete [] BITMAP_BITS(bitmap); in in_pnm_reader()
H A Din_tga.cpp27 … memcpy(img->getRowbeg(), BITMAP_BITS(bitmap), (slen_t)BITMAP_WIDTH(bitmap)*BITMAP_HEIGHT(bitmap)); in in_tga_reader()
31 …memcpy(img->getRowbeg(), BITMAP_BITS(bitmap), (slen_t)3*BITMAP_WIDTH(bitmap)*BITMAP_HEIGHT(bitmap)… in in_tga_reader()
34 delete [] BITMAP_BITS(bitmap); in in_tga_reader()
H A Din_bmp.cpp27 … memcpy(img->getRowbeg(), BITMAP_BITS(bitmap), (slen_t)BITMAP_WIDTH(bitmap)*BITMAP_HEIGHT(bitmap)); in in_bmp_reader()
31 …memcpy(img->getRowbeg(), BITMAP_BITS(bitmap), (slen_t)3*BITMAP_WIDTH(bitmap)*BITMAP_HEIGHT(bitmap)… in in_bmp_reader()
34 delete [] BITMAP_BITS(bitmap); in in_bmp_reader()
H A Dat_bitmap.h52 #define BITMAP_BITS(b) ((b).bitmap) macro
60 ((BITMAP_BITS (b) + (row) * BITMAP_PLANES (b) * BITMAP_WIDTH (b) \
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/selection-to-path/
H A Dbitmap.h48 #define BITMAP_BITS(b) ((b).bitmap) macro
55 #define BITMAP_ROW(b, row) (BITMAP_BITS (b) + (row) * BITMAP_WIDTH (b))
59 (*(BITMAP_BITS (b) + (row) * BITMAP_WIDTH (b) + (col)))
H A Dpxl-outline.c50 BITMAP_BITS (answer) = g_new0 (one_byte, size); /* g_new returns NULL if size == 0 */ in local_new_bitmap()
60 if (BITMAP_BITS (*b) != NULL) in local_free_bitmap()
61 safe_free ((address *) &BITMAP_BITS (*b)); in local_free_bitmap()
/dports/graphics/autotrace/autotrace-0.31.1/
H A Dbitmap.c23 if (BITMAP_BITS (*b) != NULL) in free_bitmap()
24 free (BITMAP_BITS (*b)); in free_bitmap()
H A Dthin-image.c137 Pixel *ptr = (Pixel*)BITMAP_BITS(bm); in thin_image()
165 unsigned char *ptr = BITMAP_BITS(bm); in thin_image()
222 ptr = (Pixel*)BITMAP_BITS(*image); in thin3()
311 ptr = BITMAP_BITS(*image); in thin1()
/dports/net/netatalk3/netatalk-3.1.12/libatalk/tdb/
H A Dcheck.c205 #define BITMAP_BITS 256 macro
222 bit_flip(bits, h1 % BITMAP_BITS); in record_offset()
223 bit_flip(bits, h2 % BITMAP_BITS); in record_offset()
334 + BITMAP_BITS / CHAR_BIT * (1+tdb->header.hash_size)); in tdb_check()
343 hashes[h] = hashes[h-1] + BITMAP_BITS / CHAR_BIT; in tdb_check()
395 for (i = 0; i < BITMAP_BITS / CHAR_BIT; i++) { in tdb_check()
/dports/net/samba412/samba-4.12.15/lib/tdb/common/
H A Dcheck.c213 #define BITMAP_BITS 256
230 bit_flip(bits, h1 % BITMAP_BITS);
231 bit_flip(bits, h2 % BITMAP_BITS);
381 + BITMAP_BITS / CHAR_BIT * (1+tdb->hash_size));
390 hashes[h] = hashes[h-1] + BITMAP_BITS / CHAR_BIT;
458 for (i = 0; i < BITMAP_BITS / CHAR_BIT; i++) {
/dports/databases/tdb/tdb-1.4.3/common/
H A Dcheck.c213 #define BITMAP_BITS 256 macro
230 bit_flip(bits, h1 % BITMAP_BITS); in record_offset()
231 bit_flip(bits, h2 % BITMAP_BITS); in record_offset()
381 + BITMAP_BITS / CHAR_BIT * (1+tdb->hash_size)); in tdb_check()
390 hashes[h] = hashes[h-1] + BITMAP_BITS / CHAR_BIT; in tdb_check()
458 for (i = 0; i < BITMAP_BITS / CHAR_BIT; i++) { in tdb_check()
/dports/databases/ldb15/ldb-1.5.6/lib/tdb/common/
H A Dcheck.c213 #define BITMAP_BITS 256
230 bit_flip(bits, h1 % BITMAP_BITS);
231 bit_flip(bits, h2 % BITMAP_BITS);
381 + BITMAP_BITS / CHAR_BIT * (1+tdb->hash_size));
390 hashes[h] = hashes[h-1] + BITMAP_BITS / CHAR_BIT;
458 for (i = 0; i < BITMAP_BITS / CHAR_BIT; i++) {
/dports/databases/ldb20/ldb-2.0.10/lib/tdb/common/
H A Dcheck.c213 #define BITMAP_BITS 256 in HandleLeaks()
230 bit_flip(bits, h1 % BITMAP_BITS);
231 bit_flip(bits, h2 % BITMAP_BITS);
381 + BITMAP_BITS / CHAR_BIT * (1+tdb->hash_size));
390 hashes[h] = hashes[h-1] + BITMAP_BITS / CHAR_BIT;
458 for (i = 0; i < BITMAP_BITS / CHAR_BIT; i++) {
/dports/databases/ldb22/ldb-2.2.1/lib/tdb/common/
H A Dcheck.c213 #define BITMAP_BITS 256 macro
230 bit_flip(bits, h1 % BITMAP_BITS); in record_offset()
231 bit_flip(bits, h2 % BITMAP_BITS); in record_offset()
381 + BITMAP_BITS / CHAR_BIT * (1+tdb->hash_size)); in tdb_check()
390 hashes[h] = hashes[h-1] + BITMAP_BITS / CHAR_BIT; in tdb_check()
458 for (i = 0; i < BITMAP_BITS / CHAR_BIT; i++) { in tdb_check()
/dports/databases/ldb21/ldb-2.1.5/lib/tdb/common/
H A Dcheck.c213 #define BITMAP_BITS 256 macro
230 bit_flip(bits, h1 % BITMAP_BITS); in record_offset()
231 bit_flip(bits, h2 % BITMAP_BITS); in record_offset()
381 + BITMAP_BITS / CHAR_BIT * (1+tdb->hash_size)); in tdb_check()
390 hashes[h] = hashes[h-1] + BITMAP_BITS / CHAR_BIT; in tdb_check()
458 for (i = 0; i < BITMAP_BITS / CHAR_BIT; i++) { in tdb_check()

12345