/freebsd-11.0-release/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-11.0-release/sys/bsm/ |
H A D | audit_internal.h | 84 #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.0-release/sys/dev/vxge/include/ |
H A D | vxge-defs.h | 55 * 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.0-release/contrib/tcpdump/ |
H A D | gmt2local.c | 45 register struct tm *gmt, *loc; local 52 loc = localtime(&t); 53 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 + 54 (loc->tm_min - gmt->tm_min) * 60; 61 dir = loc->tm_year - gmt->tm_year; 63 dir = loc->tm_yday - gmt->tm_yday;
|
/freebsd-11.0-release/lib/libc/locale/ |
H A D | nl_langinfo.c | 52 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 D | localeconv.c | 61 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;
|
H A D | lnumeric.h | 49 struct lc_numeric_T *__get_current_numeric_locale(locale_t loc);
|
H A D | lmessages.c | 70 messages_load_locale(struct xlocale_messages *loc, int *using_locale, const char *name) argument 73 struct lc_messages_T *l = &loc->locale; 76 &loc->buffer, "LC_MESSAGES", 106 __get_current_messages_locale(locale_t loc) argument 108 return (loc->using_messages_locale 109 ? &((struct xlocale_messages *)loc->components[XLC_MESSAGES])->locale
|
H A D | lnumeric.c | 64 numeric_load_locale(struct xlocale_numeric *loc, int *using_locale, int *changed, argument 68 struct lc_numeric_T *l = &loc->locale; 71 &loc->buffer, "LC_NUMERIC", 109 __get_current_numeric_locale(locale_t loc) argument 111 return (loc->using_numeric_locale 112 ? &((struct xlocale_numeric *)loc->components[XLC_NUMERIC])->locale
|
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | Weak.h | 27 SourceLocation loc; // for diagnostics member in class:clang::WeakInfo 31 : alias(nullptr), loc(SourceLocation()), used(false) {} 33 : alias(Alias), loc(Loc), used(false) {} 35 inline SourceLocation getLocation() const { return loc; } 39 return alias == RHS.getAlias() && loc == RHS.getLocation();
|
/freebsd-11.0-release/sys/dev/nxge/include/ |
H A D | xgehal-types.h | 37 * 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.0-release/sys/dev/ath/ath_hal/ |
H A D | ah_eeprom_v1.c | 117 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.0-release/sys/cddl/contrib/opensolaris/common/zfs/ |
H A D | zfs_namecheck.c | 70 const char *loc; local 84 for (loc = path; *loc; loc++) { 85 if (!valid_char(*loc)) { 88 *what = *loc; 138 const char *loc, *end; local 169 loc = path; 173 end = loc; 185 if (loc [all...] |
/freebsd-11.0-release/contrib/byacc/test/btyacc/ |
H A D | btyacc_demo.tab.c | 203 #define YYERROR_DECL() yyerror(YYLTYPE loc, const char *s) 210 #define YYDESTRUCT_DECL() yydestruct(const char *msg, int psymb, YYSTYPE *val, YYLTYPE *loc) 213 #define YYDESTRUCT_CALL(msg, psymb, val, loc) yydestruct(msg, psymb, val, loc) 524 #define YYLLOC_DEFAULT(loc, rhs, n) \ 529 (loc).first_line = ((rhs)[-1]).last_line; \ 530 (loc).first_column = ((rhs)[-1]).last_column; \ 531 (loc).last_line = ((rhs)[-1]).last_line; \ 532 (loc).last_column = ((rhs)[-1]).last_column; \ 536 (loc) [all...] |
/freebsd-11.0-release/lib/libc/gen/ |
H A D | seekdir.c | 51 seekdir(DIR *dirp, long loc) argument 55 _seekdir(dirp, loc);
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Edit/ |
H A D | Commit.cpp | 43 bool Commit::insert(SourceLocation loc, StringRef text, argument 49 if ((!afterToken && !canInsert(loc, Offs)) || 50 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { 55 addInsert(loc, Offs, text, beforePreviousInsertions); 59 bool Commit::insertFromRange(SourceLocation loc, argument 70 if ((!afterToken && !canInsert(loc, Offs)) || 71 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { 77 PPRec->areInDifferentConditionalDirectiveRegion(loc, rang 160 replaceText(SourceLocation loc, StringRef text, StringRef replacementText) argument 220 canInsert(SourceLocation loc, FileOffset &offs) argument 245 canInsertAfterToken(SourceLocation loc, FileOffset &offs, SourceLocation &AfterLoc) argument 322 canReplaceText(SourceLocation loc, StringRef text, FileOffset &Offs, unsigned &Len) argument 339 isAtStartOfMacroExpansion(SourceLocation loc, SourceLocation *MacroBegin) const argument 343 isAtEndOfMacroExpansion(SourceLocation loc, SourceLocation *MacroEnd) const argument [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/x509/ |
H A D | x509_ext.c | 88 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...] |
H A D | x509name.c | 133 X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc) argument 135 if (name == NULL || sk_X509_NAME_ENTRY_num(name->entries) <= loc 136 || loc < 0) 139 return (sk_X509_NAME_ENTRY_value(name->entries, loc)); 142 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc) argument 148 if (name == NULL || sk_X509_NAME_ENTRY_num(name->entries) <= loc 149 || loc < 0) 152 ret = sk_X509_NAME_ENTRY_delete(sk, loc); 155 if (loc == n) 159 if (loc ! 181 X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, unsigned char *bytes, int len, int loc, int set) argument 195 X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, unsigned char *bytes, int len, int loc, int set) argument 209 X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, const unsigned char *bytes, int len, int loc, int set) argument 227 X509_NAME_add_entry(X509_NAME *name, X509_NAME_ENTRY *ne, int loc, int set) argument [all...] |
/freebsd-11.0-release/lib/libc/xdr/ |
H A D | xdr_reference.c | 76 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.0-release/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-11.0-release/include/xlocale/ |
H A D | _locale.h | 51 int freelocale(locale_t loc); 53 const char *querylocale(int mask, locale_t loc); 54 locale_t uselocale(locale_t loc);
|
/freebsd-11.0-release/lib/libc/stdtime/ |
H A D | strftime.c | 91 const struct tm * __restrict t, locale_t loc) 95 FIX_LOCALE(loc); 99 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn, loc); 102 (void) fprintf_l(stderr, loc, "\n"); 105 else (void) fprintf_l(stderr, loc, "strftime format \"%s\" ", 131 const char * const ptlim, int *warnp, locale_t loc) 134 struct lc_time_T *tptr = __get_current_time_locale(loc); 181 pt, ptlim, loc); 187 pt = _fmt(tptr->c_fmt, t, pt, ptlim, &warn2, loc); 195 pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp, loc); 90 strftime_l(char * __restrict s, size_t maxsize, const char * __restrict format, const struct tm * __restrict t, locale_t loc) argument 130 _fmt(const char *format, const struct tm * const t, char *pt, const char * const ptlim, int *warnp, locale_t loc) argument 590 _conv(const int n, const char * const format, char * const pt, const char * const ptlim, locale_t loc) argument 616 _yconv(const int a, const int b, const int convert_top, const int convert_yy, char *pt, const char * const ptlim, locale_t loc) argument [all...] |
/freebsd-11.0-release/contrib/gcc/config/i386/ |
H A D | linux-unwind.h | 71 fs->regs.reg[0].loc.offset = (long)&sc->rax - new_cfa; 73 fs->regs.reg[1].loc.offset = (long)&sc->rdx - new_cfa; 75 fs->regs.reg[2].loc.offset = (long)&sc->rcx - new_cfa; 77 fs->regs.reg[3].loc.offset = (long)&sc->rbx - new_cfa; 79 fs->regs.reg[4].loc.offset = (long)&sc->rsi - new_cfa; 81 fs->regs.reg[5].loc.offset = (long)&sc->rdi - new_cfa; 83 fs->regs.reg[6].loc.offset = (long)&sc->rbp - new_cfa; 85 fs->regs.reg[8].loc.offset = (long)&sc->r8 - new_cfa; 87 fs->regs.reg[9].loc.offset = (long)&sc->r9 - new_cfa; 89 fs->regs.reg[10].loc [all...] |
/freebsd-11.0-release/sys/fs/ext2fs/ |
H A D | fs.h | 129 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \ 130 ((loc) & (fs)->e2fs_qbmask) 135 #define lblkno(fs, loc) /* calculates (loc / fs->fs_bsize) */ \ 136 ((loc) >> (fs->e2fs_bshift)) 139 #define numfrags(fs, loc) /* calculates (loc / fs->fs_fsize) */ \ 140 ((loc) >> (fs->e2fs_bshift))
|
/freebsd-11.0-release/contrib/gcc/ |
H A D | var-tracking.c | 139 rtx loc; member in union:micro_operation_def::__anon1406 174 rtx loc; member in struct:attrs_def 221 rtx loc; member in struct:location_chain_def 490 if (MEM_P (VTI (bb)->mos[i].u.loc)) 492 VTI (bb)->mos[i].u.loc 493 = adjust_stack_reference (VTI (bb)->mos[i].u.loc, -offset); 679 attrs_list_insert (attrs *listp, tree decl, HOST_WIDE_INT offset, rtx loc) argument 684 list->loc = loc; 702 n->loc 825 var_reg_set(dataflow_set *set, rtx loc) argument 849 var_reg_delete_and_set(dataflow_set *set, rtx loc, bool modify) argument 884 var_reg_delete(dataflow_set *set, rtx loc, bool clobber) argument 930 var_mem_set(dataflow_set *set, rtx loc) argument 948 var_mem_delete_and_set(dataflow_set *set, rtx loc, bool modify) argument 965 var_mem_delete(dataflow_set *set, rtx loc, bool clobber) argument 1562 same_variable_part_p(rtx loc, tree expr, HOST_WIDE_INT offset) argument 1597 count_uses(rtx *loc, void *insn) argument 1629 count_stores(rtx loc, rtx expr ATTRIBUTE_UNUSED, void *insn) argument 1638 add_uses(rtx *loc, void *insn) argument 1683 add_stores(rtx loc, rtx expr, void *insn) argument 1757 rtx loc = VTI (bb)->mos[i].u.loc; local 1768 rtx loc = VTI (bb)->mos[i].u.loc; local 1779 rtx loc = VTI (bb)->mos[i].u.loc; local 1790 rtx loc = VTI (bb)->mos[i].u.loc; local 1801 rtx loc = VTI (bb)->mos[i].u.loc; local 2102 set_variable_part(dataflow_set *set, rtx loc, tree decl, HOST_WIDE_INT offset) argument 2214 clobber_variable_part(dataflow_set *set, rtx loc, tree decl, HOST_WIDE_INT offset) argument 2274 delete_variable_part(dataflow_set *set, rtx loc, tree decl, HOST_WIDE_INT offset) argument 2373 rtx loc[MAX_VAR_PARTS]; local 2627 rtx loc = VTI (bb)->mos[i].u.loc; local 2640 rtx loc = VTI (bb)->mos[i].u.loc; local 2653 rtx loc = VTI (bb)->mos[i].u.loc; local 2666 rtx loc = VTI (bb)->mos[i].u.loc; local 2679 rtx loc = VTI (bb)->mos[i].u.loc; local [all...] |