/freebsd-10.1-release/cddl/contrib/dtracetoolkit/ |
H A D | install | 30 read loc junk 31 if [[ "$loc" == "" ]]; then loc="/opt/DTT"; fi 33 (( DEBUG )) && print "DEBUG: loc $loc" 36 if print "$loc" | grep '^[./]*$' > /dev/null; then 37 print "ERROR1: Location \"$loc\" is ambiguous.\n." 45 if print "$loc" | grep '[^a-zA-Z0-9_.-/]' > /dev/null; then 46 print "ERROR2: Sorry, location \"$loc\" contains bad characters.\n." 54 basename=${loc [all...] |
/freebsd-10.1-release/contrib/openbsm/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-10.1-release/sys/bsm/ |
H A D | audit_internal.h | 85 #define ADD_U_CHAR(loc, val) \ 87 *(loc) = (val); \ 88 (loc) += sizeof(u_char); \ 92 #define ADD_U_INT16(loc, val) \ 94 be16enc((loc), (val)); \ 95 (loc) += sizeof(u_int16_t); \ 98 #define ADD_U_INT32(loc, val) \ 100 be32enc((loc), (val)); \ 101 (loc) += sizeof(u_int32_t); \ 104 #define ADD_U_INT64(loc, va [all...] |
/freebsd-10.1-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-10.1-release/contrib/tcpdump/ |
H A D | gmt2local.c | 49 register struct tm *gmt, *loc; local 56 loc = localtime(&t); 57 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 + 58 (loc->tm_min - gmt->tm_min) * 60; 65 dir = loc->tm_year - gmt->tm_year; 67 dir = loc->tm_yday - gmt->tm_yday;
|
/freebsd-10.1-release/lib/libc/gen/ |
H A D | seekdir.c | 51 seekdir(dirp, loc) 53 long loc; 57 _seekdir(dirp, loc);
|
/freebsd-10.1-release/lib/libc/locale/ |
H A D | nl_langinfo.c | 49 nl_langinfo_l(nl_item item, locale_t loc) argument 53 FIX_LOCALE(loc); 58 if ((s = querylocale(LC_CTYPE_MASK, loc)) != NULL) { 67 ret = (char *) __get_current_time_locale(loc)->c_fmt; 70 ret = (char *) __get_current_time_locale(loc)->x_fmt; 73 ret = (char *) __get_current_time_locale(loc)->X_fmt; 76 ret = (char *) __get_current_time_locale(loc)->ampm_fmt; 79 ret = (char *) __get_current_time_locale(loc)->am; 82 ret = (char *) __get_current_time_locale(loc)->pm; 86 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-10.1-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(0), 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-10.1-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-10.1-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-10.1-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-10.1-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) 499 #define YYLLOC_DEFAULT(loc, rhs, n) \ 504 (loc).first_line = ((rhs)[-1]).last_line; \ 505 (loc).first_column = ((rhs)[-1]).last_column; \ 506 (loc).last_line = ((rhs)[-1]).last_line; \ 507 (loc).last_column = ((rhs)[-1]).last_column; \ 511 (loc) [all...] |
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Edit/ |
H A D | Commit.cpp | 45 bool Commit::insert(SourceLocation loc, StringRef text, argument 51 if ((!afterToken && !canInsert(loc, Offs)) || 52 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { 57 addInsert(loc, Offs, text, beforePreviousInsertions); 61 bool Commit::insertFromRange(SourceLocation loc, argument 72 if ((!afterToken && !canInsert(loc, Offs)) || 73 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { 79 PPRec->areInDifferentConditionalDirectiveRegion(loc, rang 162 replaceText(SourceLocation loc, StringRef text, StringRef replacementText) argument 222 canInsert(SourceLocation loc, FileOffset &offs) argument 247 canInsertAfterToken(SourceLocation loc, FileOffset &offs, SourceLocation &AfterLoc) argument 324 canReplaceText(SourceLocation loc, StringRef text, FileOffset &Offs, unsigned &Len) argument 341 isAtStartOfMacroExpansion(SourceLocation loc, SourceLocation *MacroBegin) const argument 345 isAtEndOfMacroExpansion(SourceLocation loc, SourceLocation *MacroEnd) const argument [all...] |
/freebsd-10.1-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-10.1-release/lib/libc/xdr/ |
H A D | xdr_reference.c | 74 caddr_t loc = *pp; local 77 if (loc == NULL) 83 *pp = loc = (caddr_t) mem_alloc(size); 84 if (loc == NULL) { 88 memset(loc, 0, size); 95 stat = (*proc)(xdrs, loc); 98 mem_free(loc, size);
|
/freebsd-10.1-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-10.1-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-10.1-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\" ", 130 _fmt(format, t, pt, ptlim, warnp, loc) 136 locale_t loc; 139 struct lc_time_T *tptr = __get_current_time_locale(loc); 186 pt, ptlim, loc); 192 pt = _fmt(tptr->c_fmt, t, pt, ptlim, &warn2, loc); 90 strftime_l(char * __restrict s, size_t maxsize, const char * __restrict format, const struct tm * __restrict t, locale_t loc) argument [all...] |
/freebsd-10.1-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-10.1-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))
|