/macosx-10.10.1/dtrace-147/DTTk/ |
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...] |
/macosx-10.10.1/Libc-1044.1.2/locale/ |
H A D | xlocale.c | 57 static void _releaselocale(locale_t loc); 76 _checklocale(const locale_t loc) argument 78 if (!loc) 80 return (loc == LC_GLOBAL_LOCALE || loc->__magic == XMAGIC) ? 0 : -1; 100 _duplocale(locale_t loc) argument 109 if (loc == NULL) 110 loc = __current_locale(); 111 else if (loc == LC_GLOBAL_LOCALE) 112 loc 150 _modifylocale(locale_t loc, int mask, __const char *locale) argument 263 _releaselocale(locale_t loc) argument 286 duplocale(locale_t loc) argument 300 freelocale(locale_t loc) argument 351 __numeric_ctype(locale_t loc) argument 385 querylocale(int mask, locale_t loc) argument 438 uselocale(locale_t loc) argument 475 ___mb_cur_max_l(locale_t loc) argument 481 __xlocale_release(void *loc) argument [all...] |
H A D | setinvalidrune.c | 50 locale_t loc = __current_locale(); local 57 if (loc->__lc_ctype->_CurrentRuneLocale.__invalid_rune != ir) { 58 struct __xlocale_st_runelocale *new = (struct __xlocale_st_runelocale *)malloc(loc->__lc_ctype->__datasize); 61 *new = *loc->__lc_ctype; 64 XL_RELEASE(loc->__lc_ctype); 65 loc->__lc_ctype = new;
|
/macosx-10.10.1/Libc-1044.1.2/locale/FreeBSD/ |
H A D | lnumeric.c | 49 __numeric_load_locale(const char *name, locale_t loc) argument 57 if (!loc->_numeric_using_locale) 59 loc->_numeric_using_locale = 0; 60 XL_RELEASE(loc->__lc_numeric); 61 loc->__lc_numeric = NULL; 62 loc->__nlocale_changed = 1; 66 if (loc->_numeric_using_locale && strcmp(name, loc->__lc_numeric->_numeric_locale_buf) == 0) 72 loc->_numeric_using_locale = 1; 73 XL_RELEASE(loc 110 __get_current_numeric_locale(locale_t loc) argument 120 locale_t loc = __current_locale(); local [all...] |
H A D | lmonetary.c | 85 __monetary_load_locale(const char *name, locale_t loc) argument 93 if (!loc->_monetary_using_locale) 95 loc->_monetary_using_locale = 0; 96 XL_RELEASE(loc->__lc_monetary); 97 loc->__lc_monetary = NULL; 98 loc->__mlocale_changed = 1; 102 if (loc->_monetary_using_locale && strcmp(name, loc->__lc_monetary->_monetary_locale_buf) == 0) 108 loc->_monetary_using_locale = 1; 109 XL_RELEASE(loc 175 __get_current_monetary_locale(locale_t loc) argument 185 locale_t loc = __current_locale(); local [all...] |
H A D | mbsinit.c | 36 mbsinit_l(const mbstate_t *ps, locale_t loc) argument 39 NORMALIZE_LOCALE(loc); 40 return (loc->__lc_ctype->__mbsinit(ps, loc));
|
H A D | lmessages.c | 52 __messages_load_locale(const char *name, locale_t loc) argument 60 loc->_messages_using_locale = 0; 61 XL_RELEASE(loc->__lc_messages); 62 loc->__lc_messages = NULL; 70 loc->_messages_using_locale = 1; 71 XL_RELEASE(loc->__lc_messages); 72 loc->__lc_messages = cache; 73 XL_RETAIN(loc->__lc_messages); 82 ret = __part_load_locale(name, &loc->_messages_using_locale, 91 XL_RELEASE(loc 102 __get_current_messages_locale(locale_t loc) argument 112 locale_t loc = __current_locale(); local [all...] |
H A D | mblen.c | 37 mblen_l(const char *s, size_t n, locale_t loc) argument 42 NORMALIZE_LOCALE(loc); 45 loc->__mbs_mblen = initial; 48 rval = loc->__lc_ctype->__mbrtowc(NULL, s, n, &loc->__mbs_mblen, loc);
|
H A D | wctomb.c | 37 wctomb_l(char *s, wchar_t wchar, locale_t loc) argument 42 NORMALIZE_LOCALE(loc); 45 loc->__mbs_wctomb = initial; 48 if ((rval = loc->__lc_ctype->__wcrtomb(s, wchar, &loc->__mbs_wctomb, loc)) == (size_t)-1)
|
H A D | wctob.c | 38 wctob_l(wint_t c, locale_t loc) argument 44 NORMALIZE_LOCALE(loc); 45 if (c == WEOF || loc->__lc_ctype->__wcrtomb(buf, c, &mbs, loc) != 1)
|
H A D | wcwidth.c | 55 wcwidth_l(wchar_t wc, locale_t loc) argument 58 NORMALIZE_LOCALE(loc); 59 return (__wcwidth_l(wc, loc));
|
/macosx-10.10.1/xnu-2782.1.97/bsd/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...] |
/macosx-10.10.1/Libc-1044.1.2/stdtime/FreeBSD/ |
H A D | timelocal.c | 102 __get_current_time_locale(locale_t loc) argument 104 return (loc->_time_using_locale 105 ? &loc->__lc_time->_time_locale 110 __time_load_locale(const char *name, locale_t loc) argument 118 loc->_time_using_locale = 0; 119 XL_RELEASE(loc->__lc_time); 120 loc->__lc_time = NULL; 128 loc->_time_using_locale = 1; 129 XL_RELEASE(loc->__lc_time); 130 loc [all...] |
/macosx-10.10.1/Libc-1044.1.2/string/FreeBSD/ |
H A D | strcasecmp.c | 44 strcasecmp_l(s1, s2, loc) 46 locale_t loc; 52 NORMALIZE_LOCALE(loc); 53 while (tolower_l(*us1, loc) == tolower_l(*us2++, loc)) 56 return (tolower_l(*us1, loc) - tolower_l(*--us2, loc)); 66 strncasecmp_l(s1, s2, n, loc) 69 locale_t loc; 71 NORMALIZE_LOCALE(loc); [all...] |
H A D | strcasestr.c | 45 strcasestr_l(s, find, loc) 47 locale_t loc; 52 NORMALIZE_LOCALE(loc); 54 c = tolower_l((unsigned char)c, loc); 60 } while ((char)tolower_l((unsigned char)sc, loc) != c); 61 } while (strncasecmp_l(s, find, len, loc) != 0);
|
/macosx-10.10.1/tcpdump-61/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;
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/misc/ |
H A D | errorx.c | 32 errorx(const char* loc, const char* cmd, const char* cat, const char* msg) argument 40 if (!loc) 41 loc = (const char*)locales[AST_LC_MESSAGES]->code; 46 if (s = (*error_info.translate)(loc, cmd, cat, msg))
|
/macosx-10.10.1/Libc-1044.1.2/gdtoa/FreeBSD/ |
H A D | machdep_ldisdd.c | 49 strtold_l(const char * __restrict s, char ** __restrict sp, locale_t loc) argument 53 NORMALIZE_LOCALE(loc); 54 strtopdd(s, sp, (double *)&result, loc);
|
H A D | machdep_ldisx.c | 50 strtold_l(const char * __restrict s, char ** __restrict sp, locale_t loc) argument 54 NORMALIZE_LOCALE(loc); 55 strtopx(s, sp, &result, loc);
|
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/ |
H A D | seekdir.c | 50 seekdir(dirp, loc) 52 long loc; 56 _seekdir(dirp, loc);
|
/macosx-10.10.1/Libc-1044.1.2/stdlib/FreeBSD/ |
H A D | atof.c | 48 atof_l(ascii, loc) 50 locale_t loc; 52 /* no need to call NORMALIZE_LOCALE(loc) because strtod_l will */ 53 return strtod_l(ascii, (char **)NULL, loc);
|
H A D | atoi.c | 48 atoi_l(str, loc) 50 locale_t loc; 52 /* no need to call NORMALIZE_LOCALE(loc) because strtol_l will */ 53 return (int)strtol_l(str, (char **)NULL, 10, loc);
|
H A D | atol.c | 48 atol_l(str, loc) 50 locale_t loc; 52 /* no need to call NORMALIZE_LOCALE(loc) because strtol_l will */ 53 return strtol_l(str, (char **)NULL, 10, loc);
|
H A D | atoll.c | 45 atoll_l(str, loc) 47 locale_t loc; 49 /* no need to call NORMALIZE_LOCALE(loc) because strtoll_l will */ 50 return strtoll_l(str, (char **)NULL, 10, loc);
|
/macosx-10.10.1/Libc-1044.1.2/regex/TRE/lib/ |
H A D | regcomp.c | 23 tre_regncomp_l(regex_t *preg, const char *regex, size_t n, int cflags, locale_t loc) argument 34 NORMALIZE_LOCALE(loc); 43 if (TRE_MB_CUR_MAX_L(loc) == 1) 65 consumed = tre_mbrtowc_l(wcptr, regex, n, &state, loc); 93 ret = tre_compile(preg, wregex, wlen, cflags, loc); 97 NORMALIZE_LOCALE(loc); 100 ret = tre_compile(preg, (const tre_char_t *)regex, n, cflags, loc); 109 locale_t loc; local 112 loc = __current_locale(); 114 loc 122 tre_regcomp_l(regex_t *preg, const char *regex, int cflags, locale_t loc) argument 141 locale_t loc; local 157 tre_regwncomp_l(regex_t *preg, const wchar_t *regex, size_t n, int cflags, locale_t loc) argument 168 locale_t loc; local 181 tre_regwcomp_l(regex_t *preg, const wchar_t *regex, int cflags, locale_t loc) argument [all...] |