Lines Matching refs:write16

254     write16(buf + 0, 0xb500);  in writePltHeader()
256 write16(buf + 2, 0xf8df); in writePltHeader()
257 write16(buf + 4, 0xe008); in writePltHeader()
258 write16(buf + 6, 0x44fe); in writePltHeader()
260 write16(buf + 8, 0xf85e); in writePltHeader()
261 write16(buf + 10, 0xff08); in writePltHeader()
361 write16(buf + 2, 0x0c00); // use `ip` in writePlt()
365 write16(buf + 6, 0x0c00); // use `ip` in writePlt()
368 write16(buf + 8, 0x44fc); // add ip, pc in writePlt()
369 write16(buf + 10, 0xf8dc); // ldr.w pc, [ip] (bottom half) in writePlt()
370 write16(buf + 12, 0xf000); // ldr.w pc, [ip] (upper half) in writePlt()
371 write16(buf + 14, 0xe7fc); // Branch to previous instruction in writePlt()
657 write16(loc, (read32(loc) & 0xff00) | ((val >> 1) & 0x00ff)); in relocate()
662 write16(loc, (read32(loc) & 0xf800) | ((val >> 1) & 0x07ff)); in relocate()
667 write16(loc, in relocate()
671 write16(loc + 2, in relocate()
696 write16(loc + 2, read16(loc + 2) & ~0x1000); in relocate()
698 write16(loc + 2, (read16(loc + 2) & ~0x1000) | 1 << 12); in relocate()
704 write16(loc, in relocate()
707 write16(loc + 2, in relocate()
719 write16(loc, in relocate()
723 write16(loc + 2, in relocate()
746 write16(loc, in relocate()
751 write16(loc + 2, in relocate()
760 write16(loc, in relocate()
764 write16(loc + 2, in relocate()
770 write16(loc, (read16(loc) &~ 0x00ff) | ((val >> 24) & 0x00ff)); in relocate()
773 write16(loc, (read16(loc) &~ 0x00ff) | ((val >> 16) & 0x00ff)); in relocate()
776 write16(loc, (read16(loc) &~ 0x00ff) | ((val >> 8) & 0x00ff)); in relocate()
779 write16(loc, (read16(loc) &~ 0x00ff) | (val & 0x00ff)); in relocate()
823 write16(loc, (read16(loc) & 0xfb0f) | sub | (imm & 0x800) >> 1); in relocate()
824 write16(loc + 2, in relocate()
837 write16(loc, (read16(loc) & 0xff00) | (val & 0x3fc) >> 2); in relocate()
854 write16(loc, read16(loc) | u); in relocate()
855 write16(loc + 2, (read16(loc + 2) & 0xf000) | imm12); in relocate()
1385 write16(p + 0, 0xe97f); // SG in writeTo()
1386 write16(p + 2, 0xe97f); in writeTo()
1387 write16(p + 4, 0xf000); // B.W S in writeTo()
1388 write16(p + 6, 0xb000); in writeTo()