Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 25 of 201) sorted by relevance

123456789

/titanic_51/usr/src/lib/libc/port/locale/
H A Dlocaleimpl.c208 struct locdata *loc; in locdata_get_cache() local
215 loc = cache_data[category]; in locdata_get_cache()
217 if ((loc != NULL) && (strcmp(loc->l_lname, locname) == 0)) { in locdata_get_cache()
219 return (loc); in locdata_get_cache()
227 for (loc = cat_data[category]; loc != NULL; loc = loc->l_next) { in locdata_get_cache()
228 if (strcmp(locname, loc in locdata_get_cache()
360 __mb_cur_max_l(locale_t loc) __mb_cur_max_l() argument
378 locale_t loc; duplocale() local
404 freelocale(locale_t loc) freelocale() argument
418 locale_t loc; newlocale() local
468 uselocale(locale_t loc) uselocale() argument
506 mklocname(locale_t loc) mklocname() argument
[all...]
H A Dsetlocale.c70 locale_t loc; in setlocale() local
84 loc = newlocale(mask, locname, NULL); in setlocale()
85 if (loc == NULL) { in setlocale()
100 if (strcmp(srch->locname, loc->locname) == 0) { in setlocale()
107 loc->next = setlocale_list; in setlocale()
108 loc->on_list = 1; in setlocale()
109 setlocale_list = loc; in setlocale()
112 freelocale(loc); in setlocale()
113 loc = srch; in setlocale()
115 ___global_locale = loc; in setlocale()
124 current_locale(locale_t loc,int cat) current_locale() argument
142 install_legacy(locale_t loc,int mask) install_legacy() argument
[all...]
H A Dfnmatch.c81 locale_t loc = uselocale(NULL); local
85 loc));
90 int flags, mbstate_t patmbs, mbstate_t strmbs, locale_t loc) in fnmatch1() argument
98 pclen = mbrtowc_l(&pc, pattern, MB_LEN_MAX, &patmbs, loc); in fnmatch1()
102 sclen = mbrtowc_l(&sc, string, MB_LEN_MAX, &strmbs, loc); in fnmatch1()
153 flags, patmbs, strmbs, loc)) in fnmatch1()
156 &strmbs, loc); in fnmatch1()
180 &patmbs, loc)) { in fnmatch1()
194 &patmbs, loc); in fnmatch1()
208 (towlower_l(pc, loc) in fnmatch1()
221 rangematch(const char * pattern,wchar_t test,int flags,char ** newp,mbstate_t * patmbs,locale_t loc) rangematch() argument
[all...]
H A Dwcscasecmp.c44 wcscasecmp_l(const wchar_t *s1, const wchar_t *s2, locale_t loc) in wcscasecmp_l() argument
49 while (towlower_l(*s1, loc) == towlower_l(*s2, loc)) { in wcscasecmp_l()
55 return (towlower_l(*s1, loc) - towlower_l(*s2, loc)); in wcscasecmp_l()
65 wcsncasecmp_l(const wchar_t *s1, const wchar_t *s2, size_t n, locale_t loc) in wcsncasecmp_l() argument
70 while ((towlower_l(*s1, loc) == towlower_l(*s2, loc)) && n--) { in wcsncasecmp_l()
76 return (towlower_l(*s1, loc) - towlower_l(*s2, loc)); in wcsncasecmp_l()
[all...]
H A Dlocaleconv.c59 locale_t loc; in localeconv() local
63 loc = uselocale(NULL); in localeconv()
64 lconv = &loc->lconv; in localeconv()
66 if (loc->loaded[LC_MONETARY] == 0) { in localeconv()
67 mptr = loc->locdata[LC_MONETARY]->l_data[0]; in localeconv()
93 loc->loaded[LC_MONETARY] = 1; in localeconv()
96 if (loc->loaded[LC_NUMERIC] == 0) { in localeconv()
97 nptr = loc->locdata[LC_NUMERIC]->l_data[0]; in localeconv()
104 loc->loaded[LC_NUMERIC] = 1; in localeconv()
H A Dtowlower.c48 change_case_ext(locale_t loc, wint_t c, int lower) in change_case_ext() argument
58 rl = loc->runelocale; in change_case_ext()
76 towlower_l(wint_t wc, locale_t loc) in towlower_l() argument
80 change_case_ext(loc, wc, 1) : in towlower_l()
81 loc->runelocale->__maplower[wc]); in towlower_l()
95 towupper_l(wint_t wc, locale_t loc) in towupper_l() argument
99 change_case_ext(loc, wc, 0) : in towupper_l()
100 loc->runelocale->__mapupper[wc]); in towupper_l()
H A Dfgetwc.c46 _fgetwc_unlocked_l(FILE *fp, locale_t loc) in _fgetwc_unlocked_l() argument
57 lct = loc->ctype; in _fgetwc_unlocked_l()
114 locale_t loc = uselocale(NULL); in fgetwc() local
117 r = _fgetwc_unlocked_l(fp, loc); in fgetwc()
133 locale_t loc = uselocale(NULL); in __fgetwc_xpg5() local
138 r = _fgetwc_unlocked_l(fp, loc); in __fgetwc_xpg5()
146 fgetwc_l(FILE *fp, locale_t loc) in fgetwc_l() argument
153 r = _fgetwc_unlocked_l(fp, loc); in fgetwc_l()
/titanic_51/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-types.h32 * BIT(loc) - set bit at offset
34 #define BIT(loc) (0x8000000000000000ULL >> (loc)) argument
37 * vBIT(val, loc, sz) - set bits at offset
39 #define vBIT(val, loc, sz) (((u64)(val)) << (64-(loc)-(sz))) argument
40 #define vBIT32(val, loc, sz) (((u32)(val)) << (32-(loc)-(sz))) argument
43 * bVALx(bits, loc) - Get the value of x bits at location
45 #define bVAL1(bits, loc) ((((u6 argument
46 bVAL2(bits,loc) global() argument
47 bVAL3(bits,loc) global() argument
48 bVAL4(bits,loc) global() argument
49 bVAL5(bits,loc) global() argument
50 bVAL6(bits,loc) global() argument
51 bVAL7(bits,loc) global() argument
52 bVAL8(bits,loc) global() argument
53 bVAL12(bits,loc) global() argument
54 bVAL14(bits,loc) global() argument
55 bVAL16(bits,loc) global() argument
56 bVAL20(bits,loc) global() argument
57 bVAL22(bits,loc) global() argument
58 bVAL24(bits,loc) global() argument
59 bVAL28(bits,loc) global() argument
60 bVAL32(bits,loc) global() argument
61 bVAL36(bits,loc) global() argument
62 bVAL40(bits,loc) global() argument
63 bVAL44(bits,loc) global() argument
64 bVAL48(bits,loc) global() argument
65 bVAL52(bits,loc) global() argument
66 bVAL56(bits,loc) global() argument
67 bVAL60(bits,loc) global() argument
[all...]
/titanic_51/usr/src/cmd/svc/milestone/
H A Dnet-loc62 LEGACY_LOC_PATH=/etc/nwam/loc/Legacy
63 USER_LOC_PATH=/etc/nwam/loc/User
178 loc=$1
184 DNS_CONFIGSRC=`nwam_get_loc_list_prop $loc dns-nameservice-configsrc`
186 echo "missing 'dns-nameservice-configsrc' property for '$loc'"
193 DNS_SERVERS=`nwam_get_loc_list_prop $loc \
196 echo "DNS nameserver not set for '$loc'"
199 DNS_DOMAIN=`nwam_get_loc_prop $loc \
201 DNS_SEARCH=`nwam_get_loc_list_prop $loc \
250 loc
[all...]
/titanic_51/usr/src/test/libc-tests/tests/newlocale/
H A Dnewlocale_test.c62 locale_t cloc, loc; in testlocale_thr_one() local
70 loc = newlocale(LC_ALL_MASK, l->locale, NULL); in testlocale_thr_one()
71 if (loc == NULL) { in testlocale_thr_one()
74 day = nl_langinfo_l(DAY_1, loc); in testlocale_thr_one()
96 (void) uselocale(loc); in testlocale_thr_one()
114 if (uselocale(cloc) != loc) { in testlocale_thr_one()
117 freelocale(loc); in testlocale_thr_one()
135 locale_t loc, bad; in test_newlocale_negative() local
141 loc = newlocale(LC_ALL_MASK, "de_DE.UTF-8", NULL); in test_newlocale_negative()
142 if (loc in test_newlocale_negative()
164 locale_t loc; test_newlocale_categories() local
199 locale_t loc; test_newlocale_composite() local
[all...]
/titanic_51/usr/src/lib/libc/port/gen/
H A Dtsdalloc.c48 tsdent_t *loc = ptr; in _free_tsdbuf() local
53 if (loc != NULL) { in _free_tsdbuf()
55 if ((p = loc[i].buf) != NULL) { in _free_tsdbuf()
56 destructor = loc[i].destructor; in _free_tsdbuf()
59 lfree(p, loc[i].size); in _free_tsdbuf()
62 lfree(loc, _T_NUM_ENTRIES * sizeof (tsdent_t)); in _free_tsdbuf()
70 tsdent_t *loc; in tsdalloc() local
84 if ((loc = pthread_getspecific(key)) != NULL) { in tsdalloc()
85 if ((p = loc[n].buf) != NULL) in tsdalloc()
89 loc in tsdalloc()
[all...]
H A Dseekdir.c53 seekdir(DIR *dirp, long loc) in seekdir() argument
64 if (off != loc) { in seekdir()
66 (void) lseek(dirp->dd_fd, loc, SEEK_SET); in seekdir()
73 ((dirent_t *)(uintptr_t)&dirp->dd_buf[0])->d_off = loc; in seekdir()
86 seekdir64(DIR *dirp, off64_t loc) in seekdir64() argument
107 if (off != loc) { in seekdir64()
109 (void) lseek64(dirp->dd_fd, loc, SEEK_SET); in seekdir64()
116 ((dirent64_t *)(uintptr_t)&dirp->dd_buf[0])->d_off = loc; in seekdir64()
122 seekdir(DIR *dirp, long loc) in seekdir() argument
124 seekdir64(dirp, (off64_t)(uint32_t)loc); in seekdir()
[all...]
H A Dgettxt.c71 char *loc; member
92 locale_t loc; in gettxt() local
123 loc = uselocale(NULL); in gettxt()
124 curloc = current_locale(loc, LC_MESSAGES); in gettxt()
131 if (strcmp(curloc, dbc->loc) == 0) { in gettxt()
152 if ((dbc->loc = lmalloc(strlen(curloc) + 1)) == NULL) { in gettxt()
158 (void) strcpy(dbc->loc, curloc); in gettxt()
169 _DFLT_LOC_PATH "%s" MESSAGES "%s", dbc->loc, msgfile) >= in gettxt()
183 if (strcmp(dbc->loc, "C") == 0) { in gettxt()
/titanic_51/usr/src/lib/libnisdb/
H A Ddb_index_entry_c.c49 register db_index_entry *loc; local
89 loc = ep->next;
94 if (loc == NULL) {
95 ep->next = loc = (db_index_entry *)
97 if (loc == NULL) {
102 memset(loc, 0, sizeof (db_index_entry));
110 freeptr = loc;
114 if (loc == NULL)
116 ep = loc;
148 register db_free_entry *loc; local
[all...]
H A Ddb_table.cc886 /* Return TRUE if the entry at 'loc' hasn't expired */
888 db_table::cacheValid(entryp loc) { in cacheValid() argument
896 if (loc < 0 || loc >= table_size || tab == 0 || tab[loc] == 0) in cacheValid()
898 else if (mapping.expire == 0 || mapping.expire[loc] >= now.tv_sec) in cacheValid()
909 * If the supplied object has the same content as the one at 'loc',
913 db_table::dupEntry(entry_object *obj, entryp loc) { in dupEntry() argument
914 if (obj == 0 || loc < 0 || loc > in dupEntry()
1031 enumTouch(entryp loc) enumTouch() argument
1055 enumSetup(entryp loc,long index) enumSetup() argument
1069 touchEntry(entryp loc) touchEntry() argument
[all...]
/titanic_51/usr/src/test/libc-tests/tests/strerror/
H A Dstrerror.c57 strerror_l_verify(locale_t loc, const char *exp) in strerror_l_verify() argument
61 r = strerror_l(err, loc); in strerror_l_verify()
69 locale_t loc; in main() local
81 loc = newlocale(LC_MESSAGES_MASK, "zz_AA.UTF-8", NULL); in main()
82 assert(loc != NULL); in main()
86 strerror_l_verify(loc, trans); in main()
88 (void) uselocale(loc); in main()
91 strerror_l_verify(loc, trans); in main()
96 strerror_l_verify(loc, trans); in main()
98 freelocale(loc); in main()
[all...]
/titanic_51/usr/src/test/libc-tests/tests/priv_gettext/
H A Dpriv_gettext.c55 locale_t loc; in main() local
64 loc = newlocale(LC_MESSAGES_MASK, "zz_AA.UTF-8", NULL); in main()
65 assert(loc != NULL); in main()
68 (void) uselocale(loc); in main()
73 freelocale(loc); in main()
76 loc = newlocale(LC_MESSAGES_MASK, "C", NULL); in main()
77 assert(loc != NULL); in main()
80 (void) uselocale(loc); in main()
85 freelocale(loc); in main()
/titanic_51/usr/src/test/libc-tests/tests/catopen/
H A Dcatopen.c51 locale_t loc; in main() local
63 loc = newlocale(LC_MESSAGES_MASK, "zz_AA.UTF-8", NULL); in main()
64 assert(loc != NULL); in main()
67 (void) uselocale(loc); in main()
72 freelocale(loc); in main()
77 loc = newlocale(LC_MESSAGES_MASK, "C", NULL); in main()
78 assert(loc != NULL); in main()
81 (void) uselocale(loc); in main()
/titanic_51/usr/src/common/zfs/
H A Dzfs_namecheck.c70 const char *loc; in zfs_component_namecheck() local
84 for (loc = path; *loc; loc++) { in zfs_component_namecheck()
85 if (!valid_char(*loc)) { in zfs_component_namecheck()
88 *what = *loc; in zfs_component_namecheck()
181 for (const char *loc = start; loc != end; loc++) { in entity_namecheck() local
182 if (!valid_char(*loc) in entity_namecheck()
[all...]
/titanic_51/usr/src/lib/fm/topo/libtopo/common/
H A Dsvc.c520 char *str, *loc, val; in svc_fmri_str2nvl() local
535 if ((loc = strpbrk(str, "@/")) == NULL) in svc_fmri_str2nvl()
538 if (*loc == '@') { in svc_fmri_str2nvl()
540 *loc = '\0'; in svc_fmri_str2nvl()
542 *loc = '@'; in svc_fmri_str2nvl()
547 *loc = '@'; in svc_fmri_str2nvl()
551 *loc = '@'; in svc_fmri_str2nvl()
552 str = loc + 1; in svc_fmri_str2nvl()
553 if ((loc = strchr(str, '/')) == NULL) in svc_fmri_str2nvl()
557 if (loc ! in svc_fmri_str2nvl()
[all...]
/titanic_51/usr/src/lib/libnsl/rpc/
H A Dxdr_refer.c66 caddr_t loc = *pp; in xdr_reference() local
75 if (loc == NULL) in xdr_reference()
80 *pp = loc = malloc(size); in xdr_reference()
81 if (loc == NULL) { in xdr_reference()
85 (void) memset(loc, 0, (int)size); in xdr_reference()
89 stat = (*proc)(xdrs, loc, LASTUNSIGNED); in xdr_reference()
92 free(loc); in xdr_reference()
/titanic_51/usr/src/cmd/ast/msgcc/
H A Dmsgget.c54 char* loc; in main() local
79 if (error_info.errors || !(loc = *argv++) || !(cmd = *argv++) || !(s = *argv++)) in main()
89 if (streq(loc, "-")) in main()
90 loc = 0; in main()
93 if (!mcfind(path, loc, cmd, LC_MESSAGES, 0) && (!cat || !mcfind(path, loc, cat, LC_MESSAGES, 0))) in main()
106 s = errorx(loc, cmd, cat, msg); in main()
/titanic_51/usr/src/contrib/ast/src/cmd/msgcc/
H A Dmsgget.c54 char* loc; in main() local
79 if (error_info.errors || !(loc = *argv++) || !(cmd = *argv++) || !(s = *argv++)) in main()
89 if (streq(loc, "-")) in main()
90 loc = 0; in main()
93 if (!mcfind(loc, cmd, LC_MESSAGES, 0, path, sizeof(path)) && (!cat || !mcfind(loc, cat, LC_MESSAGES, 0, path, sizeof(path)))) in main()
106 s = errorx(loc, cmd, cat, msg); in main()
/titanic_51/usr/src/uts/common/rpc/
H A Dxdr_refer.c70 caddr_t loc = *pp; in xdr_reference() local
73 if (loc == NULL) { in xdr_reference()
79 *pp = loc = (caddr_t)mem_alloc(size); in xdr_reference()
80 bzero(loc, size); in xdr_reference()
88 stat = (*proc)(xdrs, loc, LASTUNSIGNED); in xdr_reference()
91 mem_free(loc, size); in xdr_reference()
/titanic_51/usr/src/cmd/cdrw/
H A Doptions.c51 uint_t loc; in add_option() local
52 loc = (uint_t)option; in add_option()
53 loc &= 0x7f; in add_option()
55 msk->bitmap[loc >> 3] |= bitlocation[loc & 7]; in add_option()

123456789