Home
last modified time | relevance | path

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

12345678910>>...20

/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DAVR.cpp103 write16le(loc, (read16le(loc) & 0xf0f0) | (val & 0xf0) << 4 | (val & 0x0f)); in writeLDI()
123 *loc = val; in relocate()
127 *loc = val & 0xff; in relocate()
150 write32le(loc, val); in relocate()
219 write16le(loc, (read16le(loc) & 0xf8f0) | ((hi << 8) | lo)); in relocate()
225 write16le(loc, (read16le(loc) & 0xff07) | (val << 3)); in relocate()
229 write16le(loc, (read16le(loc) & 0xf9f0) | (val & 0x30) << 5 | (val & 0x0f)); in relocate()
237 write16le(loc, (read16le(loc) & 0xfc07) | ((target & 0x7f) << 3)); in relocate()
244 write16le(loc, (read16le(loc) & 0xf000) | (target & 0xfff)); in relocate()
250 write16le(loc, (read16le(loc) & 0xd3f8) | (val & 0x20) << 8 | in relocate()
[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 DX86_64.cpp480 if ((loc[-3] & 0xfb) != 0x48 || loc[-2] != 0x8d || in relaxTlsGdToLe()
487 loc[-3] = 0x48 | ((loc[-3] >> 2) & 1); in relaxTlsGdToLe()
489 loc[-1] = 0xc0 | ((loc[-1] >> 3) & 7); in relaxTlsGdToLe()
494 loc[0] = 0x66; in relaxTlsGdToLe()
495 loc[1] = 0x90; in relaxTlsGdToLe()
521 if ((loc[-3] & 0xfb) != 0x48 || loc[-2] != 0x8d || in relaxTlsGdToIe()
602 if (loc[4] == 0xff && loc[5] == 0x15) { in relaxTlsLdToLe()
766 *loc = val; in relocate()
770 *loc = val; in relocate()
952 loc[-2] = 0x81; in relaxGotNoPic()
[all …]
H A DSystemZ.cpp498 *loc = val; in relocate()
505 write16be(loc, (read16be(loc) & 0xF000) | val); in relocate()
511 write16be(loc, (read16be(loc) & 0xF000) | ((val >> 1) & 0x0FFF)); in relocate()
519 write16be(loc, val); in relocate()
523 write16be(loc, val); in relocate()
536 write32be(loc, (read32be(loc) & 0xF00000FF) | ((val & 0xFFF) << 16) | in relocate()
543 loc[0] = val >> 17; in relocate()
544 loc[1] = val >> 9; in relocate()
545 loc[2] = val >> 1; in relocate()
559 write32be(loc, val); in relocate()
[all …]
H A DPPC64.cpp249 write64(loc, insn); in writePrefixedInstruction()
569 write32(config->isLE ? loc : loc - 2, insn); in writeFromHalf16()
573 return read32(config->isLE ? loc : loc - 2); in readFromHalf16()
947 write32(loc, dFormOp | (read32(loc) & 0x03ff0000)); in relaxTlsIeToLe()
1276 write16(loc, val); in relocate()
1280 write32(loc, val); in relocate()
1289 write16(loc, (read16(loc) & mask) | lo(val)); in relocate()
1361 write16(loc, (read16(loc) & mask) | lo(val)); in relocate()
1366 write16(loc, val); in relocate()
1381 write32(loc, (read32(loc) & ~mask) | (val & mask)); 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()
323 write16(loc, val); in relocate()
331 write16(loc, val); in relocate()
340 write16(loc, ha(val)); in relocate()
349 write16(loc, val >> 16); in relocate()
358 write16(loc, val); in relocate()
362 write32(loc, val); in relocate()
368 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate()
378 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate()
[all …]
H A DAArch64.cpp371 write16(loc, val); in relocate()
376 write32(loc, val); in relocate()
381 write32(loc, val); in relocate()
396 write64(loc, val); in relocate()
399 write64(loc, val); in relocate()
402 or32AArch64Imm(loc, val); in relocate()
496 writeSMovWImm(loc, val); in relocate()
528 or32AArch64Imm(loc, val); in relocate()
532 write64(loc + 8, val); in relocate()
787 relocate(loc, rel, val); in relocateAlloc()
[all …]
H A DLoongArch.cpp536 write32le(loc, setJ20(read32le(loc), val >> 2)); in relocate()
542 write32le(loc, setK16(read32le(loc), val >> 2)); in relocate()
571 write32le(loc, setJ20(read32le(loc), hi20)); in relocate()
638 *loc = (*loc & 0xc0) | ((*loc + val) & 0x3f); in relocate()
644 write16le(loc, read16le(loc) + val); in relocate()
647 write32le(loc, read32le(loc) + val); in relocate()
650 write64le(loc, read64le(loc) + val); in relocate()
656 *loc = (*loc & 0xc0) | ((*loc - val) & 0x3f); in relocate()
662 write16le(loc, read16le(loc) - val); in relocate()
665 write32le(loc, read32le(loc) - val); in relocate()
[all …]
H A DHexagon.cpp251 or32le(loc, applyMask(findMaskR6(read32le(loc)), val)); in relocate()
254 or32le(loc, applyMask(findMaskR8(read32le(loc)), val)); in relocate()
268 or32le(loc, applyMask(findMaskR11(read32le(loc)), val & 0x3f)); in relocate()
271 or32le(loc, applyMask(0x000007e0, val)); in relocate()
280 or32le(loc, applyMask(findMaskR16(read32le(loc)), val & 0x3f)); in relocate()
283 or32le(loc, applyMask(findMaskR16(read32le(loc)), val & 0xffff)); in relocate()
288 or32le(loc, val); in relocate()
300 checkInt(loc, val, 11, rel); in relocate()
307 checkInt(loc, val, 15, rel); in relocate()
311 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 …]
H A DARM.cpp498 write32(loc, (read32(loc) & 0xff7ff000) | opcode | imm); in encodeLdrGroup()
568 write32(loc, 0xeb000000 | (read32(loc) & 0x00ffffff)); in relocate()
591 write16(loc, in relocate()
619 write16(loc + 2, read16(loc + 2) & ~0x1000); in relocate()
621 write16(loc + 2, (read16(loc + 2) & ~0x1000) | 1 << 12); in relocate()
642 write16(loc, in relocate()
661 write32(loc, (read32(loc) & ~0x000f0fff) | in relocate()
669 write16(loc, in relocate()
702 write16(loc, (read16(loc) &~ 0x00ff) | (val & 0x00ff)); in relocate()
777 write16(loc, read16(loc) | u); in relocate()
[all …]
/freebsd/contrib/netbsd-tests/dev/usb/
H A Dt_hid.c129 &hi.loc), -1); in ATF_TC_BODY()
131 &hi.loc), 1); in ATF_TC_BODY()
150 &hi.loc), -1); in ATF_TC_BODY()
152 &hi.loc), 1); in ATF_TC_BODY()
171 &hi.loc), -1); in ATF_TC_BODY()
173 &hi.loc), 1); in ATF_TC_BODY()
175 &hi.loc), 127); in ATF_TC_BODY()
187 &hi.loc), 0x0); in ATF_TC_BODY()
189 &hi.loc), 0x1); in ATF_TC_BODY()
204 &hi.loc), 0x0); in ATF_TC_BODY()
[all …]
/freebsd/lib/libc/locale/
H A Dnl_langinfo.c51 nl_langinfo_l(nl_item item, locale_t loc) in nl_langinfo_l() argument
55 FIX_LOCALE(loc); in nl_langinfo_l()
59 s = XLOCALE_CTYPE(loc)->runes->__encoding; in nl_langinfo_l()
92 ret = (char *) __get_current_time_locale(loc)->am; in nl_langinfo_l()
95 ret = (char *) __get_current_time_locale(loc)->pm; in nl_langinfo_l()
171 char pos = localeconv_l(loc)->p_cs_precedes; in nl_langinfo_l()
173 if (pos == localeconv_l(loc)->n_cs_precedes) { in nl_langinfo_l()
184 if ((loc->csym = reallocf(loc->csym, clen + 2)) != NULL) { in nl_langinfo_l()
185 *loc->csym = psn; in nl_langinfo_l()
186 strcpy(loc->csym + 1, cs); in nl_langinfo_l()
[all …]
/freebsd/contrib/byacc/test/btyacc/
H A Dbtyacc_demo.tab.c680 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
689 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
698 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
707 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
716 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
725 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
734 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
743 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
752 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
761 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
[all …]
/freebsd/contrib/llvm-project/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 …]
/freebsd/sys/dev/ath/ath_hal/
H A Dah_eeprom_v1.c117 int i, loc; in ath_hal_v1EepromAttach() local
201 …for (i = 0, loc = AR_EEPROM_ATHEROS_TP_SETTINGS; i < AR_CHANNELS_MAX; i++, loc += AR_TP_SETTINGS_S… in ath_hal_v1EepromAttach()
208 | ((athvals[loc+1] >> 14) & 0x03); in ath_hal_v1EepromAttach()
212 | ((athvals[loc+2] >> 12) & 0x0F); in ath_hal_v1EepromAttach()
214 chan->gainF[3] = athvals[loc+2] & 0x3F; in ath_hal_v1EepromAttach()
218 | ((athvals[loc+4] >> 14) & 0x03); in ath_hal_v1EepromAttach()
222 | ((athvals[loc+5] >> 12) & 0x0F); in ath_hal_v1EepromAttach()
228 | ((athvals[loc+7] >> 14) & 0x03); in ath_hal_v1EepromAttach()
232 | ((athvals[loc+8] >> 12) & 0x0F); in ath_hal_v1EepromAttach()
236 chan->rate48 = athvals[loc+8] & 0x3F; in ath_hal_v1EepromAttach()
[all …]
/freebsd/contrib/openbsm/sys/bsm/
H A Daudit_internal.h82 #define ADD_U_CHAR(loc, val) \ argument
84 *(loc) = (val); \
85 (loc) += sizeof(u_char); \
91 be16enc((loc), (val)); \
92 (loc) += sizeof(u_int16_t); \
97 be32enc((loc), (val)); \
98 (loc) += sizeof(u_int32_t); \
103 be64enc((loc), (val)); \
104 (loc) += sizeof(u_int64_t); \
110 (loc) += size; \
[all …]
/freebsd/sys/bsm/
H A Daudit_internal.h84 #define ADD_U_CHAR(loc, val) \ argument
86 *(loc) = (val); \
87 (loc) += sizeof(u_char); \
93 be16enc((loc), (val)); \
94 (loc) += sizeof(u_int16_t); \
99 be32enc((loc), (val)); \
100 (loc) += sizeof(u_int32_t); \
105 be64enc((loc), (val)); \
106 (loc) += sizeof(u_int64_t); \
112 (loc) += size; \
[all …]
/freebsd/contrib/llvm-project/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 …]
/freebsd/crypto/openssh/
H A Dauth2-pubkeyfile.c57 const char *loc) in auth_authorise_keyopts() argument
108 loc, remote_host); in auth_authorise_keyopts()
131 loc, remote_ip); in auth_authorise_keyopts()
141 auth_log_authopts(loc, opts, 1); in auth_authorise_keyopts()
210 loc, cert->principals[i]); in auth_check_principals_line()
225 char loc[256], *line = NULL, *cp, *ep; in auth_process_principals() local
249 snprintf(loc, sizeof(loc), "%.200s:%lu", file, linenum); in auth_process_principals()
334 sshkey_type(found), fp, loc); in auth_check_authkey_line()
376 sshkey_type(found), fp, loc); in auth_check_authkey_line()
410 char *cp, *line = NULL, loc[256]; in auth_check_authkeys_file() local
[all …]
/freebsd/lib/libc/stdtime/
H A Dstrftime.c80 FIX_LOCALE(loc); in strftime_l()
166 pt, ptlim, loc); in _fmt()
185 pt, ptlim, loc); in _fmt()
212 pt, ptlim, loc); in _fmt()
219 pt, ptlim, loc); in _fmt()
225 pt, ptlim, loc); in _fmt()
230 pt, ptlim, loc); in _fmt()
244 pt, ptlim, loc); in _fmt()
291 warnp, loc); in _fmt()
540 warnp, loc); in _fmt()
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dx509name.c95 || loc < 0) in X509_NAME_get_entry()
108 || loc < 0) in X509_NAME_delete_entry()
115 if (loc == n) in X509_NAME_delete_entry()
119 if (loc != 0) in X509_NAME_delete_entry()
199 if (loc > n) in X509_NAME_add_entry()
200 loc = n; in X509_NAME_add_entry()
201 else if (loc < 0) in X509_NAME_add_entry()
202 loc = n; in X509_NAME_add_entry()
207 if (loc == 0) { in X509_NAME_add_entry()
215 if (loc >= n) { in X509_NAME_add_entry()
[all …]
/freebsd/contrib/llvm-project/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 …]

12345678910>>...20