/freebsd-12-stable/contrib/openbsm/sys/bsm/ |
H A D | audit_internal.h | 82 #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-12-stable/sys/bsm/ |
H A D | audit_internal.h | 86 #define ADD_U_CHAR(loc, val) \ 88 *(loc) = (val); \ 89 (loc) += sizeof(u_char); \ 93 #define ADD_U_INT16(loc, val) \ 95 be16enc((loc), (val)); \ 96 (loc) += sizeof(u_int16_t); \ 99 #define ADD_U_INT32(loc, val) \ 101 be32enc((loc), (val)); \ 102 (loc) += sizeof(u_int32_t); \ 105 #define ADD_U_INT64(loc, va [all...] |
/freebsd-12-stable/contrib/llvm-project/lld/ELF/Arch/ |
H A D | MSP430.cpp | 38 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 D | AVR.cpp | 48 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 D | SPARCV9.cpp | 28 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 D | RISCV.cpp | 35 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 D | X86_64.cpp | 31 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 D | AArch64.cpp | 36 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 D | PPC.cpp | 29 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...] |
H A D | PPC64.cpp | 201 const uint8_t *loc) const override; 208 void relocateOne(uint8_t *loc, RelType type, uint64_t val) const override; 217 void relaxGot(uint8_t *loc, RelType type, uint64_t val) const override; 218 void relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const override; 219 void relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const override; 220 void relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const override; 221 void relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const override; 223 bool adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end, 287 static void writeFromHalf16(uint8_t *loc, uint32_t insn) { argument 288 write32(config->isLE ? loc 291 readFromHalf16(const uint8_t *loc) argument 368 relaxGot(uint8_t *loc, RelType type, uint64_t val) const argument 389 relaxTlsGdToLe(uint8_t *loc, RelType type, uint64_t val) const argument 428 relaxTlsLdToLe(uint8_t *loc, RelType type, uint64_t val) const argument 493 relaxTlsIeToLe(uint8_t *loc, RelType type, uint64_t val) const argument 773 relocateOne(uint8_t *loc, RelType type, uint64_t val) const argument 975 relaxTlsGdToIe(uint8_t *loc, RelType type, uint64_t val) const argument 1028 adjustPrologueForCrossSplitStack(uint8_t *loc, uint8_t *end, uint8_t stOther) const argument [all...] |
/freebsd-12-stable/contrib/tcpdump/ |
H A D | gmt2local.c | 44 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-12-stable/contrib/llvm-project/libcxx/include/ |
H A D | __bsd_locale_defaults.h | 21 #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-12-stable/lib/libc/locale/ |
H A D | nl_langinfo.c | 54 nl_langinfo_l(nl_item item, locale_t loc) argument 58 FIX_LOCALE(loc); 62 s = XLOCALE_CTYPE(loc)->runes->__encoding; 83 ret = (char *) __get_current_time_locale(loc)->c_fmt; 86 ret = (char *) __get_current_time_locale(loc)->x_fmt; 89 ret = (char *) __get_current_time_locale(loc)->X_fmt; 92 ret = (char *) __get_current_time_locale(loc)->ampm_fmt; 95 ret = (char *) __get_current_time_locale(loc)->am; 98 ret = (char *) __get_current_time_locale(loc)->pm; 102 ret = (char*) __get_current_time_locale(loc) [all...] |
H A D | localeconv.c | 63 localeconv_l(locale_t loc) argument 65 FIX_LOCALE(loc); 66 struct lconv *ret = &loc->lconv; 68 if (loc->monetary_locale_changed) { 75 mptr = __get_current_monetary_locale(loc); 97 loc->monetary_locale_changed = 0; 100 if (loc->numeric_locale_changed) { 106 nptr = __get_current_numeric_locale(loc); 110 loc->numeric_locale_changed = 0;
|
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Weak.h | 26 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-12-stable/contrib/netbsd-tests/dev/usb/ |
H A D | t_hid.c | 118 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-12-stable/sys/dev/ath/ath_hal/ |
H A D | ah_eeprom_v1.c | 119 int i, loc; local 203 for (i = 0, loc = AR_EEPROM_ATHEROS_TP_SETTINGS; i < AR_CHANNELS_MAX; i++, loc += AR_TP_SETTINGS_SIZE) { 207 chan->pcdac[0] = (athvals[loc] >> 10) & 0x3F; 208 chan->gainF[0] = (athvals[loc] >> 4) & 0x3F; 209 chan->pcdac[1] = ((athvals[loc] << 2) & 0x3C) 210 | ((athvals[loc+1] >> 14) & 0x03); 211 chan->gainF[1] = (athvals[loc+1] >> 8) & 0x3F; 212 chan->pcdac[2] = (athvals[loc+1] >> 2) & 0x3F; 213 chan->gainF[2] = ((athvals[loc [all...] |
/freebsd-12-stable/contrib/byacc/test/btyacc/ |
H A D | btyacc_demo.tab.c | 205 #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-12-stable/lib/libc/gen/ |
H A D | seekdir.c | 51 seekdir(DIR *dirp, long loc) argument 55 _seekdir(dirp, loc);
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Edit/ |
H A D | Commit.cpp | 48 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-12-stable/crypto/openssl/crypto/x509/ |
H A D | x509_ext.c | 40 X509_EXTENSION *X509_CRL_get_ext(const X509_CRL *x, int loc) argument 42 return X509v3_get_ext(x->crl.extensions, loc); 45 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc) argument 47 return X509v3_delete_ext(x->crl.extensions, loc); 61 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc) argument 63 return (X509v3_add_ext(&(x->crl.extensions), ex, loc) != NULL); 87 X509_EXTENSION *X509_get_ext(const X509 *x, int loc) argument 89 return X509v3_get_ext(x->cert_info.extensions, loc); 92 X509_EXTENSION *X509_delete_ext(X509 *x, int loc) argument 94 return X509v3_delete_ext(x->cert_info.extensions, loc); 97 X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) argument 135 X509_REVOKED_get_ext(const X509_REVOKED *x, int loc) argument 140 X509_REVOKED_delete_ext(X509_REVOKED *x, int loc) argument 145 X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc) argument [all...] |
/freebsd-12-stable/lib/libc/xdr/ |
H A D | xdr_reference.c | 78 caddr_t loc = *pp; local 81 if (loc == NULL) 87 *pp = loc = (caddr_t) mem_alloc(size); 88 if (loc == NULL) { 92 memset(loc, 0, size); 99 stat = (*proc)(xdrs, loc); 102 mem_free(loc, size);
|
/freebsd-12-stable/sys/xdr/ |
H A D | xdr_reference.c | 70 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-12-stable/include/xlocale/ |
H A D | _locale.h | 54 void freelocale(locale_t loc); 56 const char *querylocale(int mask, locale_t loc); 57 locale_t uselocale(locale_t loc);
|
/freebsd-12-stable/sys/cddl/contrib/opensolaris/common/zfs/ |
H A D | zfs_namecheck.c | 74 const char *loc = path; local 81 for (int i = 0; loc[i] != '\0' && 82 loc[i] != '@' && 83 loc[i] != '#'; i++) { 84 if (loc[i] == '/') 102 const char *loc; local 116 for (loc = path; *loc; loc++) { 117 if (!valid_char(*loc)) { [all...] |