Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 25 of 746) sorted by relevance

12345678910>>...30

/openbsd/gnu/llvm/lld/ELF/Arch/
H A DAVR.cpp93 write16le(loc, (read16le(loc) & 0xf0f0) | (val & 0xf0) << 4 | (val & 0x0f)); in writeLDI()
100 *loc = val; in relocate()
115 write32le(loc, val); in relocate()
178 write16le(loc, (read16le(loc) & 0xf8f0) | ((hi << 8) | lo)); in relocate()
184 write16le(loc, (read16le(loc) & 0xff07) | (val << 3)); in relocate()
188 write16le(loc, (read16le(loc) & 0xf9f0) | (val & 0x30) << 5 | (val & 0x0f)); in relocate()
196 write16le(loc, (read16le(loc) & 0xfc07) | ((target & 0x7f) << 3)); in relocate()
202 write16le(loc, (read16le(loc) & 0xf000) | (target & 0xfff)); in relocate()
208 write16le(loc, (read16le(loc) & 0xd3f8) | (val & 0x20) << 8 | in relocate()
213 write16le(loc, (read16le(loc) & 0xff30) | (val & 0x30) << 2 | (val & 0x0F)); in relocate()
[all …]
H A DX86_64.cpp438 if ((loc[-3] & 0xfb) != 0x48 || loc[-2] != 0x8d || in relaxTlsGdToLe()
445 loc[-3] = 0x48 | ((loc[-3] >> 2) & 1); in relaxTlsGdToLe()
447 loc[-1] = 0xc0 | ((loc[-1] >> 3) & 7); in relaxTlsGdToLe()
452 loc[0] = 0x66; in relaxTlsGdToLe()
453 loc[1] = 0x90; in relaxTlsGdToLe()
479 if ((loc[-3] & 0xfb) != 0x48 || loc[-2] != 0x8d || in relaxTlsGdToIe()
560 if (loc[4] == 0xff && loc[5] == 0x15) { in relaxTlsLdToLe()
724 *loc = val; in relocate()
728 *loc = val; in relocate()
909 loc[-2] = 0x81; in relaxGotNoPic()
[all …]
H A DSPARCV9.cpp94 write32be(loc, val); in relocate()
99 write32be(loc, val); in relocate()
105 write32be(loc, (read32be(loc) & ~0x3fffffff) | ((val >> 2) & 0x3fffffff)); in relocate()
110 write32be(loc, (read32be(loc) & ~0x003fffff) | (val & 0x003fffff)); in relocate()
116 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 10) & 0x003fffff)); in relocate()
121 write32be(loc, (read32be(loc) & ~0x003fffff) | ((val >> 10) & 0x003fffff)); in relocate()
126 write32be(loc, (read32be(loc) & ~0x0007ffff) | ((val >> 2) & 0x0007ffff)); in relocate()
131 write32be(loc, (read32be(loc) & ~0x000003ff) | (val & 0x000003ff)); in relocate()
135 write32be(loc, (read32be(loc) & ~0x00001fff) | (val & 0x000003ff)); in relocate()
140 write64be(loc, val); in relocate()
[all …]
H A DPPC64.cpp233 write64(loc, insn); in writePrefixedInstruction()
553 write32(config->isLE ? loc : loc - 2, insn); in writeFromHalf16()
557 return read32(config->isLE ? loc : loc - 2); in readFromHalf16()
907 write32(loc, ((dFormOp << 26) | (read32(loc) & 0x03FFFFFF))); in relaxTlsIeToLe()
1245 write16(loc, val); in relocate()
1249 write32(loc, val); in relocate()
1258 write16(loc, (read16(loc) & mask) | lo(val)); in relocate()
1330 write16(loc, (read16(loc) & mask) | lo(val)); in relocate()
1335 write16(loc, val); in relocate()
1350 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate()
[all …]
H A DARM.cpp482 write32le(loc, (read32le(loc) & 0xff7ff000) | opcode | imm); in encodeLdrGroup()
552 write32le(loc, 0xeb000000 | (read32le(loc) & 0x00ffffff)); in relocate()
575 write16le(loc, in relocate()
603 write16le(loc + 2, read16le(loc + 2) & ~0x1000); in relocate()
605 write16le(loc + 2, (read16le(loc + 2) & ~0x1000) | 1 << 12); in relocate()
626 write16le(loc, in relocate()
645 write32le(loc, (read32le(loc) & ~0x000f0fff) | in relocate()
652 write16le(loc, in relocate()
665 write16le(loc, in relocate()
747 write16le(loc, read16le(loc) | u); in relocate()
[all …]
H A DX86.cpp290 *loc = val; in relocate()
294 *loc = val; in relocate()
360 uint8_t *w = loc[-2] == 0x04 ? loc - 3 : loc - 2; in relaxTlsGdToLe()
372 loc[-1] = 0x05; in relaxTlsGdToLe()
377 loc[0] = 0x66; in relaxTlsGdToLe()
378 loc[1] = 0x90; in relaxTlsGdToLe()
394 uint8_t *w = loc[-2] == 0x04 ? loc - 3 : loc - 2; in relaxTlsGdToIe()
404 loc[-2] = 0x8b; in relaxTlsGdToIe()
409 loc[0] = 0x66; in relaxTlsGdToIe()
410 loc[1] = 0x90; in relaxTlsGdToIe()
[all …]
H A DMips.cpp90 warn(getErrorLocation(loc) + in getRelExpr()
221 uint32_t v = read32(loc); in readShuffle()
229 uint32_t instr = read32(loc); in writeValue()
232 write32(loc, data); in writeValue()
252 uint16_t instr = read16(loc); in writeMicroRelocation16()
255 write16(loc, data); in writeMicroRelocation16()
561 error(getErrorLocation(loc) + in fixupCrossModeJump()
593 write32(loc, val); in relocate()
598 write64(loc, val); in relocate()
655 checkInt(loc, val, 7, rel); in relocate()
[all …]
H A DPPC.cpp68 return read32(config->isLE ? loc : loc - 2); in readFromHalf16()
72 write32(config->isLE ? loc : loc - 2, insn); in writeFromHalf16()
316 write16(loc, val); in relocate()
324 write16(loc, val); in relocate()
333 write16(loc, ha(val)); in relocate()
342 write16(loc, val >> 16); in relocate()
351 write16(loc, val); in relocate()
355 write32(loc, val); in relocate()
361 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate()
371 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate()
[all …]
H A DAArch64.cpp366 write16(loc, val); in relocate()
371 write32(loc, val); in relocate()
375 write32(loc, val); in relocate()
379 write64(loc, val); in relocate()
382 or32AArch64Imm(loc, val); in relocate()
405 write32le(loc, 0x14000000); in relocate()
476 writeSMovWImm(loc, val); in relocate()
508 or32AArch64Imm(loc, val); in relocate()
512 write64(loc + 8, val); in relocate()
532 checkUInt(loc, val, 32, rel); in relaxTlsGdToLe()
[all …]
H A DHexagon.cpp250 or32le(loc, applyMask(findMaskR6(read32le(loc)), val)); in relocate()
253 or32le(loc, applyMask(findMaskR8(read32le(loc)), val)); in relocate()
267 or32le(loc, applyMask(findMaskR11(read32le(loc)), val & 0x3f)); in relocate()
270 or32le(loc, applyMask(0x000007e0, val)); in relocate()
279 or32le(loc, applyMask(findMaskR16(read32le(loc)), val & 0x3f)); in relocate()
282 or32le(loc, applyMask(findMaskR16(read32le(loc)), val & 0xffff)); in relocate()
287 or32le(loc, val); in relocate()
299 checkInt(loc, val, 11, rel); in relocate()
306 checkInt(loc, val, 15, rel); in relocate()
310 checkInt(loc, val, 17, rel); in relocate()
[all …]
H A DMSP430.cpp36 const uint8_t *loc) const override;
37 void relocate(uint8_t *loc, const Relocation &rel,
48 const uint8_t *loc) const { in getRelExpr()
65 checkIntUInt(loc, val, 8, rel); in relocate()
66 *loc = val; in relocate()
72 checkIntUInt(loc, val, 16, rel); in relocate()
73 write16le(loc, val); in relocate()
76 checkIntUInt(loc, val, 32, rel); in relocate()
77 write32le(loc, val); in relocate()
81 checkInt(loc, offset, 10, rel); in relocate()
[all …]
/openbsd/gnu/llvm/libcxx/src/support/win32/
H A Dlocale_win32.cpp34 lconv *localeconv_l( locale_t &loc ) in localeconv_l() argument
36 __libcpp_locale_guard __current(loc); in localeconv_l()
40 return loc.__store_lconv(lc); in localeconv_l()
45 __libcpp_locale_guard __current(loc); in mbrlen_l()
51 __libcpp_locale_guard __current(loc); in mbsrtowcs_l()
55 locale_t loc ) in wcrtomb_l() argument
78 wint_t btowc_l( int c, locale_t loc ) in btowc_l() argument
83 int wctob_l( wint_t c, locale_t loc ) in wctob_l() argument
97 ret, n, format, loc, ap); in snprintf_l()
125 __libcpp_locale_guard __current(loc); in strtof_l()
[all …]
/openbsd/gnu/llvm/clang/lib/Edit/
H A DCommit.cpp55 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { in insert()
76 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { in insertFromRange()
226 if (loc.isInvalid()) in canInsert()
229 if (loc.isMacroID()) in canInsert()
230 isAtStartOfMacroExpansion(loc, &loc); in canInsert()
233 loc = SM.getTopMacroCallerLoc(loc); in canInsert()
236 if (!isAtStartOfMacroExpansion(loc, &loc)) in canInsert()
260 isAtEndOfMacroExpansion(loc, &loc); in canInsertAfterToken()
263 loc = SM.getTopMacroCallerLoc(loc); in canInsertAfterToken()
266 if (!isAtEndOfMacroExpansion(loc, &loc)) in canInsertAfterToken()
[all …]
/openbsd/gnu/gcc/gcc/
H A Dvar-tracking.c681 list->loc = loc; in attrs_list_insert()
699 n->loc = src->loc; in attrs_list_copy()
755 new_lc->loc = node->loc; in unshare_variable()
867 node->loc = loc; in var_reg_delete_and_set()
1196 new_node->loc = node->loc; in variable_union()
1631 mo->u.loc = *loc; in add_uses()
1642 mo->u.loc = *loc; in add_uses()
1681 mo->u.loc = loc; in add_stores()
1702 mo->u.loc = loc; in add_stores()
2174 node->loc = loc; in set_variable_part()
[all …]
/openbsd/gnu/llvm/lld/MachO/Arch/
H A DARM64Common.cpp33 return static_cast<int32_t>(read32le(loc)); in getEmbeddedAddend()
35 return read64le(loc); in getEmbeddedAddend()
44 checkInt(loc, r, value, 32); in writeValue()
45 write32le(loc, value); in writeValue()
48 write64le(loc, value); in writeValue()
70 writeValue(loc, r, value); in relocateOne()
75 writeValue(loc, r, value); in relocateOne()
99 uint32_t instruction = read32le(loc); in relaxGotLoad()
110 write32le(loc, instruction); in relaxGotLoad()
122 write32le(loc, 0xD503201F); in handleDtraceReloc()
[all …]
/openbsd/usr.bin/ssh/
H A Dauth2-pubkeyfile.c56 const char *loc) in auth_authorise_keyopts() argument
107 loc, remote_host); in auth_authorise_keyopts()
130 loc, remote_ip); in auth_authorise_keyopts()
140 auth_log_authopts(loc, opts, 1); in auth_authorise_keyopts()
209 loc, cert->principals[i]); in auth_check_principals_line()
224 char loc[256], *line = NULL, *cp, *ep; in auth_process_principals() local
248 snprintf(loc, sizeof(loc), "%.200s:%lu", file, linenum); in auth_process_principals()
333 sshkey_type(found), fp, loc); in auth_check_authkey_line()
375 sshkey_type(found), fp, loc); in auth_check_authkey_line()
409 char *cp, *line = NULL, loc[256]; in auth_check_authkeys_file() local
[all …]
/openbsd/gnu/llvm/clang/lib/ARCMigrate/
H A DTransformActions.cpp289 data.Loc = loc; in insert()
299 data.Loc = loc; in insertAfterToken()
345 data.Loc = loc; in replaceText()
384 if (loc.isInvalid()) in canInsert()
391 if (loc.isFileID()) in canInsert()
397 if (loc.isInvalid()) in canInsertAfterToken()
404 if (loc.isFileID()) in canInsertAfterToken()
419 if (!canInsert(loc)) in canReplaceText()
423 loc = SM.getExpansionLoc(loc); in canReplaceText()
484 loc = SM.getExpansionLoc(loc); in commitReplaceText()
[all …]
/openbsd/games/adventure/
H A Dsubr.c66 if (place[objj] == loc || fixed[objj] == loc) in at()
140 if (newloc != loc && !forced(loc) && !bitset(loc, 3)) { in fdwarf()
144 newloc = loc; in fdwarf()
150 if (loc == 0 || forced(loc) || bitset(newloc, 3)) in fdwarf()
153 if (loc >= 15) in fdwarf()
196 dseen[i] = (dseen[i] && loc >= 15) || (dloc[i] == loc || odloc[i] == loc); in fdwarf()
291 if (loc < 8) in march()
312 oldloc = loc; in march()
368 oldloc = loc; in mback()
831 loc = k; in trkill()
[all …]
/openbsd/lib/libcrypto/x509/
H A Dx509name.c172 loc < 0) in X509_NAME_get_entry()
187 loc < 0) in X509_NAME_delete_entry()
193 if (loc == n) in X509_NAME_delete_entry()
197 if (loc != 0) in X509_NAME_delete_entry()
280 if (loc > n) in X509_NAME_add_entry()
281 loc = n; in X509_NAME_add_entry()
282 else if (loc < 0) in X509_NAME_add_entry()
283 loc = n; in X509_NAME_add_entry()
288 if (loc == 0) { in X509_NAME_add_entry()
294 if (loc >= n) { in X509_NAME_add_entry()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_mop.cpp110 t1.Access(l.loc(), true, 8, false); in TEST_F()
111 t2.Access((char*)l.loc() + 4, true, 4, true); in TEST_F()
115 t1.Access(l.loc(), true, 8, false); in TEST_F()
116 t2.Access((char*)l.loc() + 7, true, 1, true); in TEST_F()
121 t2.Access((char*)l.loc() + 4, true, 2, true); in TEST_F()
126 t2.Access((char*)l.loc() + 6, true, 2, true); in TEST_F()
144 t1.Access((char*)l.loc(), true, 4, false); in TEST_F()
150 t2.Access((char*)l.loc(), true, 4, true); in TEST_F()
158 t1.Access(l.loc(), true, 4, false); in TEST_F()
179 vptr_storage = val.loc(); in TEST_F()
[all …]
/openbsd/gnu/gcc/gcc/config/i386/
H A Dlinux-unwind.h71 fs->regs.reg[0].loc.offset = (long)&sc->rax - new_cfa; in x86_64_fallback_frame_state()
73 fs->regs.reg[1].loc.offset = (long)&sc->rdx - new_cfa; in x86_64_fallback_frame_state()
75 fs->regs.reg[2].loc.offset = (long)&sc->rcx - new_cfa; in x86_64_fallback_frame_state()
77 fs->regs.reg[3].loc.offset = (long)&sc->rbx - new_cfa; in x86_64_fallback_frame_state()
79 fs->regs.reg[4].loc.offset = (long)&sc->rsi - new_cfa; in x86_64_fallback_frame_state()
81 fs->regs.reg[5].loc.offset = (long)&sc->rdi - new_cfa; in x86_64_fallback_frame_state()
83 fs->regs.reg[6].loc.offset = (long)&sc->rbp - new_cfa; in x86_64_fallback_frame_state()
85 fs->regs.reg[8].loc.offset = (long)&sc->r8 - new_cfa; in x86_64_fallback_frame_state()
87 fs->regs.reg[9].loc.offset = (long)&sc->r9 - new_cfa; in x86_64_fallback_frame_state()
89 fs->regs.reg[10].loc.offset = (long)&sc->r10 - new_cfa; in x86_64_fallback_frame_state()
[all …]
/openbsd/sys/dev/hid/
H A Dhid.c80 c->loc.count = 0; in hid_clear_local()
81 c->loc.size = 0; in hid_clear_local()
137 c->loc.pos = 0; in hid_switch_rid()
235 h->loc.size, h->loc.count); in hid_get_item()
236 c->loc.pos += c->loc.size * c->loc.count; in hid_get_item()
527 h.kind, h.report_ID, h.loc.pos, h.loc.size, in hid_report_size()
538 hi = h.loc.pos + h.loc.size * h.loc.count; in hid_report_size()
562 *loc = h.loc; in hid_locate()
570 if (loc != NULL) in hid_locate()
571 loc->size = 0; in hid_locate()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/config/i386/
H A Dlinux64.h129 (FS)->regs.reg[0].loc.offset = (long)&sc_->rax - new_cfa_; \
131 (FS)->regs.reg[1].loc.offset = (long)&sc_->rdx - new_cfa_; \
133 (FS)->regs.reg[2].loc.offset = (long)&sc_->rcx - new_cfa_; \
135 (FS)->regs.reg[3].loc.offset = (long)&sc_->rbx - new_cfa_; \
137 (FS)->regs.reg[4].loc.offset = (long)&sc_->rsi - new_cfa_; \
139 (FS)->regs.reg[5].loc.offset = (long)&sc_->rdi - new_cfa_; \
141 (FS)->regs.reg[6].loc.offset = (long)&sc_->rbp - new_cfa_; \
143 (FS)->regs.reg[8].loc.offset = (long)&sc_->r8 - new_cfa_; \
145 (FS)->regs.reg[9].loc.offset = (long)&sc_->r9 - new_cfa_; \
199 (FS)->regs.reg[0].loc.offset = (long)&sc_->eax - new_cfa_; \
[all …]
/openbsd/gnu/llvm/libcxx/include/
H A D__bsd_locale_defaults.h21 #define __libcpp_mb_cur_max_l(loc) MB_CUR_MAX_L(loc) argument
22 #define __libcpp_btowc_l(ch, loc) btowc_l(ch, loc) argument
23 #define __libcpp_wctob_l(wch, loc) wctob_l(wch, loc) argument
24 …define __libcpp_wcsnrtombs_l(dst, src, nwc, len, ps, loc) wcsnrtombs_l(dst, src, nwc, len, ps, lo… argument
25 #define __libcpp_wcrtomb_l(src, wc, ps, loc) wcrtomb_l(src, wc, ps, loc) argument
26 …define __libcpp_mbsnrtowcs_l(dst, src, nms, len, ps, loc) mbsnrtowcs_l(dst, src, nms, len, ps, lo… argument
/openbsd/gnu/usr.bin/perl/
H A Dregcomp_internal.h1001 && ((xI(loc)) - RExC_precomp) > (Ptrdiff_t) RExC_latest_warn_offset)
1032 m, REPORT_LOCATION_ARGS(loc)))
1034 warn_non_literal_string(loc, packWARN(WARN_REGEXP), m)
1054 REPORT_LOCATION_ARGS(loc)))
1066 REPORT_LOCATION_ARGS(loc)))
1072 REPORT_LOCATION_ARGS(loc)))
1079 REPORT_LOCATION_ARGS(loc)))
1104 REPORT_LOCATION_ARGS(loc)))
1111 REPORT_LOCATION_ARGS(loc)))
1118 REPORT_LOCATION_ARGS(loc)))
[all …]

12345678910>>...30