Searched refs:byteshift (Results 1 – 8 of 8) sorted by relevance
| /netbsd-src/external/gpl3/binutils.old/dist/gold/ |
| H A D | fileread.cc | 336 unsigned int byteshift, File_read::View** vshifted) const in find_view() argument 348 if (byteshift == -1U || byteshift == 0) in find_view() 363 if (byteshift == -1U || byteshift == p->second->byteshift()) in find_view() 441 memcpy(p, pv->data() + (start - pv->start() + pv->byteshift()), size); in read() 457 v->byteshift()), in add_view() 482 unsigned int byteshift, bool cache) in make_view() argument 501 if (byteshift != 0) in make_view() 503 p = malloc(psize + byteshift); in make_view() 506 memset(p, 0, byteshift); in make_view() 507 this->do_read(poff, psize, static_cast<unsigned char*>(p) + byteshift); in make_view() [all …]
|
| H A D | fileread.h | 279 unsigned int byteshift, bool cache, Data_ownership data_ownership) in View() argument 281 byteshift_(byteshift), cache_(cache), data_ownership_(data_ownership), in View() 309 byteshift() const in byteshift() function 382 find_view(off_t start, section_size_type size, unsigned int byteshift, 395 make_view(off_t start, section_size_type size, unsigned int byteshift,
|
| H A D | ChangeLog-0815 | 17763 * fileread.cc (File_read::find_view): Add byteshift and vshifted 17766 (File_read::read): Adjust for byteshift in returned view. 17774 for byteshift in return value. 17777 (class File_read::View): Add byteshift_ field. Add byteshift to 17778 constructor. Add byteshift method.
|
| /netbsd-src/external/gpl3/binutils/dist/gold/ |
| H A D | fileread.cc | 336 unsigned int byteshift, File_read::View** vshifted) const in find_view() argument 348 if (byteshift == -1U || byteshift == 0) in find_view() 363 if (byteshift == -1U || byteshift == p->second->byteshift()) in find_view() 441 memcpy(p, pv->data() + (start - pv->start() + pv->byteshift()), size); in read() 457 v->byteshift()), in add_view() 482 unsigned int byteshift, bool cache) in make_view() argument 501 if (byteshift != 0) in make_view() 503 p = malloc(psize + byteshift); in make_view() 506 memset(p, 0, byteshift); in make_view() 507 this->do_read(poff, psize, static_cast<unsigned char*>(p) + byteshift); in make_view() [all …]
|
| H A D | fileread.h | 279 unsigned int byteshift, bool cache, Data_ownership data_ownership) in View() argument 281 byteshift_(byteshift), cache_(cache), data_ownership_(data_ownership), in View() 309 byteshift() const in byteshift() function 382 find_view(off_t start, section_size_type size, unsigned int byteshift, 395 make_view(off_t start, section_size_type size, unsigned int byteshift,
|
| H A D | ChangeLog-0815 | 17763 * fileread.cc (File_read::find_view): Add byteshift and vshifted 17766 (File_read::read): Adjust for byteshift in returned view. 17774 for byteshift in return value. 17777 (class File_read::View): Add byteshift_ field. Add byteshift to 17778 constructor. Add byteshift method.
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/ |
| H A D | radeon_legacy_crtc.c | 520 int byteshift = target_fb->format->cpp[0] * 8 >> 4; in radeon_crtc_do_set_base() local 521 int tile_addr = (((y >> 3) * pitch_pixels + x) >> (8 - byteshift)) << 11; in radeon_crtc_do_set_base() 522 base += tile_addr + ((x << byteshift) % 256) + ((y % 8) << 8); in radeon_crtc_do_set_base()
|
| H A D | radeon_display.c | 556 int byteshift = fb->format->cpp[0] * 8 >> 4; in radeon_crtc_page_flip_target() local 557 int tile_addr = (((crtc->y >> 3) * pitch_pixels + crtc->x) >> (8 - byteshift)) << 11; in radeon_crtc_page_flip_target() 558 base += tile_addr + ((crtc->x << byteshift) % 256) + ((crtc->y % 8) << 8); in radeon_crtc_page_flip_target()
|