Searched refs:loc (Results 1 - 25 of 524) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/bsm/
H A Daudit_internal.h84 #define ADD_U_CHAR(loc, val) \
86 *(loc) = (val); \
87 (loc) += sizeof(u_char); \
91 #define ADD_U_INT16(loc, val) \
93 be16enc((loc), (val)); \
94 (loc) += sizeof(u_int16_t); \
97 #define ADD_U_INT32(loc, val) \
99 be32enc((loc), (val)); \
100 (loc) += sizeof(u_int32_t); \
103 #define ADD_U_INT64(loc, va
[all...]
/freebsd-11-stable/contrib/openbsm/sys/bsm/
H A Daudit_internal.h82 #define ADD_U_CHAR(loc, val) \
84 *(loc) = (val); \
85 (loc) += sizeof(u_char); \
89 #define ADD_U_INT16(loc, val) \
91 be16enc((loc), (val)); \
92 (loc) += sizeof(u_int16_t); \
95 #define ADD_U_INT32(loc, val) \
97 be32enc((loc), (val)); \
98 (loc) += sizeof(u_int32_t); \
101 #define ADD_U_INT64(loc, va
[all...]
/freebsd-11-stable/sys/dev/vxge/include/
H A Dvxge-defs.h55 * mBIT(loc) - set bit at offset
57 #define mBIT(loc) (0x8000000000000000ULL >> (loc))
60 * vBIT(val, loc, sz) - set bits at offset
62 #define vBIT(val, loc, sz) (((u64)(val)) << (64-(loc)-(sz)))
63 #define vBIT32(val, loc, sz) (((u32)(val)) << (32-(loc)-(sz)))
66 * bVALx(bits, loc) - Get the value of x bits at location
68 #define bVAL1(bits, loc) ((((u6
[all...]
/freebsd-11-stable/contrib/llvm-project/lld/ELF/Arch/
H A DMSP430.cpp38 const uint8_t *loc) const override;
39 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
49 const uint8_t *loc) const {
63 void MSP430::relocateOne(uint8_t *loc, RelType type, uint64_t val) const { argument
66 checkIntUInt(loc, val, 8, type);
67 *loc = val;
73 checkIntUInt(loc, val, 16, type);
74 write16le(loc, val);
77 checkIntUInt(loc, val, 32, type);
78 write32le(loc, va
[all...]
H A DAVR.cpp48 const uint8_t *loc) const override;
49 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
56 const uint8_t *loc) const {
60 void AVR::relocateOne(uint8_t *loc, RelType type, uint64_t val) const { argument
65 write16le(loc, read16le(loc) | ((hi >> 1) << 4) | (hi & 1));
66 write16le(loc + 2, lo);
70 error(getErrorLocation(loc) + "unrecognized relocation " + toString(type));
H A DSPARCV9.cpp28 const uint8_t *loc) const override;
31 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
51 const uint8_t *loc) const {
72 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) +
78 void SPARCV9::relocateOne(uint8_t *loc, RelType type, uint64_t val) const { argument
83 checkUInt(loc, val, 32, type);
84 write32be(loc, val);
88 checkInt(loc, val, 32, type);
89 write32be(loc, val);
94 checkInt(loc, va
[all...]
H A DRISCV.cpp35 const uint8_t *loc) const override;
36 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
189 const uint8_t *loc) const {
245 errorOrWarn(getErrorLocation(loc) + "relocation R_RISCV_ALIGN requires "
249 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) +
260 void RISCV::relocateOne(uint8_t *loc, const RelType type, argument
266 write32le(loc, val);
269 write64le(loc, val);
273 checkInt(loc, static_cast<int64_t>(val) >> 1, 8, type);
274 checkAlignment(loc, va
[all...]
H A DX86_64.cpp31 const uint8_t *loc) const override;
38 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
42 void relaxGot(uint8_t *loc, RelType type, uint64_t val) const override;
43 void relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const override;
44 void relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
45 void relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const override;
46 void relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
47 bool adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end,
77 const uint8_t *loc) const {
127 error(getErrorLocation(loc)
180 relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const argument
220 relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const argument
261 relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const argument
302 relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const argument
350 relocateOne(uint8_t *loc, RelType type, uint64_t val) const argument
435 relaxGotNoPic(uint8_t *loc, uint64_t val, uint8_t op, uint8_t modRm) argument
498 relaxGot(uint8_t *loc, RelType type, uint64_t val) const argument
540 adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end, uint8_t stOther) const argument
[all...]
H A DAArch64.cpp36 const uint8_t *loc) const override;
48 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
51 void relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
52 void relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const override;
53 void relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const override;
80 const uint8_t *loc) const {
152 error(getErrorLocation(loc) + "unknown relocation (" + Twine(type) +
295 static void writeSMovWImm(uint8_t *loc, uint32_t imm) { argument
296 uint32_t inst = read32le(loc);
309 write32le(loc, ins
312 relocateOne(uint8_t *loc, RelType type, uint64_t val) const argument
458 relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const argument
488 relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const argument
519 relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const argument
[all...]
H A DPPC.cpp29 const uint8_t *loc) const override;
47 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override;
51 void relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const override;
52 void relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
53 void relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const override;
54 void relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const override;
61 static uint32_t readFromHalf16(const uint8_t *loc) { argument
62 return read32(config->isLE ? loc : loc - 2);
65 static void writeFromHalf16(uint8_t *loc, uint32_ argument
291 relocateOne(uint8_t *loc, RelType type, uint64_t val) const argument
382 relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const argument
400 relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const argument
415 relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const argument
438 relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const argument
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Dgmt2local.c44 register struct tm *gmt, *loc; local
51 loc = localtime(&t);
52 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 +
53 (loc->tm_min - gmt->tm_min) * 60;
60 dir = loc->tm_year - gmt->tm_year;
62 dir = loc->tm_yday - gmt->tm_yday;
/freebsd-11-stable/contrib/llvm-project/libcxx/include/
H A D__bsd_locale_defaults.h21 #define __libcpp_mb_cur_max_l(loc) MB_CUR_MAX_L(loc)
22 #define __libcpp_btowc_l(ch, loc) btowc_l(ch, loc)
23 #define __libcpp_wctob_l(wch, loc) wctob_l(wch, loc)
24 #define __libcpp_wcsnrtombs_l(dst, src, nwc, len, ps, loc) wcsnrtombs_l(dst, src, nwc, len, ps, loc)
25 #define __libcpp_wcrtomb_l(src, wc, ps, loc) wcrtomb_l(src, wc, ps, loc)
[all...]
/freebsd-11-stable/lib/libc/locale/
H A Dnl_langinfo.c52 nl_langinfo_l(nl_item item, locale_t loc) argument
56 FIX_LOCALE(loc);
60 s = XLOCALE_CTYPE(loc)->runes->__encoding;
81 ret = (char *) __get_current_time_locale(loc)->c_fmt;
84 ret = (char *) __get_current_time_locale(loc)->x_fmt;
87 ret = (char *) __get_current_time_locale(loc)->X_fmt;
90 ret = (char *) __get_current_time_locale(loc)->ampm_fmt;
93 ret = (char *) __get_current_time_locale(loc)->am;
96 ret = (char *) __get_current_time_locale(loc)->pm;
100 ret = (char*) __get_current_time_locale(loc)
[all...]
H A Dlocaleconv.c61 localeconv_l(locale_t loc) argument
63 FIX_LOCALE(loc);
64 struct lconv *ret = &loc->lconv;
66 if (loc->monetary_locale_changed) {
73 mptr = __get_current_monetary_locale(loc);
95 loc->monetary_locale_changed = 0;
98 if (loc->numeric_locale_changed) {
104 nptr = __get_current_numeric_locale(loc);
108 loc->numeric_locale_changed = 0;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DWeak.h26 SourceLocation loc; // for diagnostics member in class:clang::WeakInfo
30 : alias(nullptr), loc(SourceLocation()), used(false) {}
32 : alias(Alias), loc(Loc), used(false) {}
34 inline SourceLocation getLocation() const { return loc; }
38 return alias == RHS.getAlias() && loc == RHS.getLocation();
/freebsd-11-stable/contrib/netbsd-tests/dev/usb/
H A Dt_hid.c118 MYu_ATF_CHECK_EQ(hi.loc.size, 32);
119 MYu_ATF_CHECK_EQ(hi.loc.count, 1);
120 MYu_ATF_CHECK_EQ(hi.loc.pos, 0);
127 &hi.loc), -2147483648);
129 &hi.loc), -1);
131 &hi.loc), 1);
133 &hi.loc), 2147483647);
139 MYu_ATF_CHECK_EQ(hi.loc.size, 16);
140 MYu_ATF_CHECK_EQ(hi.loc.count, 1);
141 MYu_ATF_CHECK_EQ(hi.loc
[all...]
/freebsd-11-stable/sys/dev/nxge/include/
H A Dxgehal-types.h37 * BIT(loc) - set bit at offset
39 #define BIT(loc) (0x8000000000000000ULL >> (loc))
42 * vBIT(val, loc, sz) - set bits at offset
44 #define vBIT(val, loc, sz) (((u64)(val)) << (64-(loc)-(sz)))
45 #define vBIT32(val, loc, sz) (((u32)(val)) << (32-(loc)-(sz)))
48 * bVALx(bits, loc) - Get the value of x bits at location
50 #define bVAL1(bits, loc) ((((u6
[all...]
/freebsd-11-stable/sys/dev/ath/ath_hal/
H A Dah_eeprom_v1.c117 int i, loc; local
201 for (i = 0, loc = AR_EEPROM_ATHEROS_TP_SETTINGS; i < AR_CHANNELS_MAX; i++, loc += AR_TP_SETTINGS_SIZE) {
205 chan->pcdac[0] = (athvals[loc] >> 10) & 0x3F;
206 chan->gainF[0] = (athvals[loc] >> 4) & 0x3F;
207 chan->pcdac[1] = ((athvals[loc] << 2) & 0x3C)
208 | ((athvals[loc+1] >> 14) & 0x03);
209 chan->gainF[1] = (athvals[loc+1] >> 8) & 0x3F;
210 chan->pcdac[2] = (athvals[loc+1] >> 2) & 0x3F;
211 chan->gainF[2] = ((athvals[loc
[all...]
/freebsd-11-stable/contrib/byacc/test/btyacc/
H A Dbtyacc_demo.tab.c205 #define YYERROR_DECL() yyerror(YYLTYPE *loc, const char *s)
212 #define YYDESTRUCT_DECL() yydestruct(const char *msg, int psymb, YYSTYPE *val, YYLTYPE *loc)
215 #define YYDESTRUCT_CALL(msg, psymb, val, loc) yydestruct(msg, psymb, val, loc)
525 #define YYLLOC_DEFAULT(loc, rhs, n) \
530 (loc).first_line = ((rhs)[-1]).last_line; \
531 (loc).first_column = ((rhs)[-1]).last_column; \
532 (loc).last_line = ((rhs)[-1]).last_line; \
533 (loc).last_column = ((rhs)[-1]).last_column; \
537 (loc)
[all...]
/freebsd-11-stable/lib/libc/gen/
H A Dseekdir.c51 seekdir(DIR *dirp, long loc) argument
55 _seekdir(dirp, loc);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp48 bool Commit::insert(SourceLocation loc, StringRef text, argument
54 if ((!afterToken && !canInsert(loc, Offs)) ||
55 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) {
60 addInsert(loc, Offs, text, beforePreviousInsertions);
64 bool Commit::insertFromRange(SourceLocation loc, argument
75 if ((!afterToken && !canInsert(loc, Offs)) ||
76 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) {
82 PPRec->areInDifferentConditionalDirectiveRegion(loc, rang
165 replaceText(SourceLocation loc, StringRef text, StringRef replacementText) argument
225 canInsert(SourceLocation loc, FileOffset &offs) argument
249 canInsertAfterToken(SourceLocation loc, FileOffset &offs, SourceLocation &AfterLoc) argument
323 canReplaceText(SourceLocation loc, StringRef text, FileOffset &Offs, unsigned &Len) argument
340 isAtStartOfMacroExpansion(SourceLocation loc, SourceLocation *MacroBegin) const argument
345 isAtEndOfMacroExpansion(SourceLocation loc, SourceLocation *MacroEnd) const argument
[all...]
/freebsd-11-stable/crypto/openssl/crypto/x509/
H A Dx509_ext.c88 X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x, int loc) argument
90 return (X509v3_get_ext(x->crl->extensions, loc));
93 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc) argument
95 return (X509v3_delete_ext(x->crl->extensions, loc));
109 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc) argument
111 return (X509v3_add_ext(&(x->crl->extensions), ex, loc) != NULL);
135 X509_EXTENSION *X509_get_ext(X509 *x, int loc) argument
137 return (X509v3_get_ext(x->cert_info->extensions, loc));
140 X509_EXTENSION *X509_delete_ext(X509 *x, int loc) argument
142 return (X509v3_delete_ext(x->cert_info->extensions, loc));
145 X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) argument
183 X509_REVOKED_get_ext(X509_REVOKED *x, int loc) argument
188 X509_REVOKED_delete_ext(X509_REVOKED *x, int loc) argument
193 X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc) argument
[all...]
/freebsd-11-stable/lib/libc/xdr/
H A Dxdr_reference.c76 caddr_t loc = *pp; local
79 if (loc == NULL)
85 *pp = loc = (caddr_t) mem_alloc(size);
86 if (loc == NULL) {
90 memset(loc, 0, size);
97 stat = (*proc)(xdrs, loc);
100 mem_free(loc, size);
/freebsd-11-stable/sys/xdr/
H A Dxdr_reference.c70 caddr_t loc = *pp; local
73 if (loc == NULL)
79 *pp = loc = (caddr_t) mem_alloc(size);
80 if (loc == NULL) {
84 memset(loc, 0, size);
91 stat = (*proc)(xdrs, loc);
94 mem_free(loc, size);
/freebsd-11-stable/include/xlocale/
H A D_locale.h52 int freelocale(locale_t loc);
54 const char *querylocale(int mask, locale_t loc);
55 locale_t uselocale(locale_t loc);

Completed in 164 milliseconds

1234567891011>>