Searched refs:loc (Results 51 - 75 of 182) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libc/port/locale/
H A Dnl_langinfo.c47 nl_langinfo_l(nl_item item, locale_t loc) argument
51 const struct lc_monetary *lmon = loc->monetary;
52 const struct lc_numeric *lnum = loc->numeric;
53 const struct lc_messages *lmsgs = loc->messages;
54 const struct lc_time *ltime = loc->time;
69 ldata = loc->locdata[LC_CTYPE];
H A Dstrcasecmp.c44 strcasecmp_l(const char *s1, const char *s2, locale_t loc) argument
50 const struct lc_ctype *lct = loc->ctype;
H A Dstrcasestr.c47 strcasestr_l(const char *s1, const char *s2, locale_t loc) argument
49 const int *cm = loc->ctype->lc_trans_lower;
H A Dstrncasecmp.c44 strncasecmp_l(const char *s1, const char *s2, size_t n, locale_t loc) argument
50 const struct lc_ctype *lct = loc->ctype;
H A Dwctype.c43 wctype_l(const char *property, locale_t loc) argument
68 _NOTE(ARGUNUSED(loc));
H A Dstrftime.c71 locale_t loc)
76 p = _fmt(loc, ((format == NULL) ? "%c" : format), t, s, s + maxsize);
91 _fmt(locale_t loc, const char *format, const struct tm *t, char *pt, argument
95 const struct lc_time *tptr = loc->time;
146 pt = _fmt(loc, tptr->c_fmt, t, pt, ptlim);
149 pt = _fmt(loc, "%m/%d/%y", t, pt, ptlim);
179 pt = _fmt(loc, "%Y-%m-%d", t, pt, ptlim);
239 pt = _fmt(loc, "%H:%M", t, pt, ptlim);
242 pt = _fmt(loc, tptr->ampm_fmt, t, pt, ptlim);
261 pt = _fmt(loc, "
69 strftime_l(char *_RESTRICT_KYWD s, size_t maxsize, const char *_RESTRICT_KYWD format, const struct tm *_RESTRICT_KYWD t, locale_t loc) argument
[all...]
H A Dstrptime.c56 locale_t _RESTRICT_KYWD loc)
62 const struct lc_time *tptr = loc->time;
96 buf = __strptime(buf, tptr->date_fmt, tm, flagsp, loc);
119 buf = __strptime(buf, tptr->c_fmt, tm, flagsp, loc);
125 buf = __strptime(buf, "%m/%d/%y", tm, flagsp, loc);
143 buf = __strptime(buf, "%Y-%m-%d", tm, flagsp, loc);
149 buf = __strptime(buf, "%H:%M", tm, flagsp, loc);
155 buf = __strptime(buf, tptr->ampm_fmt, tm, flagsp, loc);
161 buf = __strptime(buf, "%H:%M:%S", tm, flagsp, loc);
167 buf = __strptime(buf, tptr->X_fmt, tm, flagsp, loc);
54 __strptime(const char *_RESTRICT_KYWD buf, const char *_RESTRICT_KYWD fmt, struct tm *_RESTRICT_KYWD tm, int *_RESTRICT_KYWD flagsp, locale_t _RESTRICT_KYWD loc) argument
556 strptime_l(const char *_RESTRICT_KYWD buf, const char *_RESTRICT_KYWD fmt, struct tm *_RESTRICT_KYWD tm, locale_t loc) argument
[all...]
H A Dwcsxfrm.c41 const wchar_t *_RESTRICT_KYWD src, size_t len, locale_t loc)
44 const struct lc_collate *lcc = loc->collate;
40 wcsxfrm_l(wchar_t *_RESTRICT_KYWD dest, const wchar_t *_RESTRICT_KYWD src, size_t len, locale_t loc) argument
/illumos-gate/usr/src/cmd/svc/configd/
H A Dobject.c344 check_string(uintptr_t loc, uint32_t len, uint32_t sz) argument
346 const char *ptr = (const char *)loc;
361 uintptr_t loc; local
365 loc = (uintptr_t)cmds_arg;
370 cmds = (struct rep_protocol_transaction_cmd *)loc;
375 loc += REP_PROTOCOL_TRANSACTION_CMD_MIN_SIZE;
379 if (len <= 1 || !check_string(loc, len, sz)) {
382 cur->tx_prop = (const char *)loc;
385 loc += len;
389 cur->tx_values = (uint32_t *)loc;
461 uintptr_t loc; local
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_table_c.x271 %/* Check if entry at 'loc' is valid (not expired) */
272 % bool_t cacheValid(entryp loc);
274 %/* Update expiration time if supplied object same as the one at 'loc' */
275 % bool_t dupEntry(entry_object *obj, entryp loc);
287 % void enumTouch(entryp loc);
289 % void enumSetup(entryp loc, long index);
291 % void touchEntry(entryp loc);
H A Ddb_table.cc886 /* Return TRUE if the entry at 'loc' hasn't expired */
888 db_table::cacheValid(entryp loc) { argument
896 if (loc < 0 || loc >= table_size || tab == 0 || tab[loc] == 0)
898 else if (mapping.expire == 0 || mapping.expire[loc] >= now.tv_sec)
909 * If the supplied object has the same content as the one at 'loc',
913 db_table::dupEntry(entry_object *obj, entryp loc) { argument
914 if (obj == 0 || loc < 0 || loc >
1031 enumTouch(entryp loc) argument
1055 enumSetup(entryp loc, long index) argument
1069 touchEntry(entryp loc) argument
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ffs.c186 int block, off, loc, map, ino = ROOTINO; local
231 loc = 0;
237 if (loc >= INODE->i_size)
251 if (!(off = blkoff (SUPERBLOCK, loc)))
253 block = lblkno (SUPERBLOCK, loc);
267 loc += dp->d_reclen;
H A Dfsys_ufs.c231 int loc, off; local
238 loc = 0;
239 while (loc < INODE->ic_sizelo) {
241 off = blkoff(SUPERBLOCK, loc);
245 lbn = lblkno(SUPERBLOCK, loc);
261 loc += dp->d_reclen;
H A Dfsys_ufs2.c210 int block, off, loc, ino = ROOTINO; local
256 loc = 0;
262 if (loc >= INODE_UFS2->di_size)
272 if (!(off = blkoff (SUPERBLOCK, loc)))
274 block = lblkno (SUPERBLOCK, loc);
288 loc += dp->d_reclen;
H A Dfs.h387 #define blkmap(fs, map, loc) \
388 (((map)[(loc) / NBBY] >> ((loc) % NBBY)) & (0xff >> (NBBY - (fs)->fs_frag)))
401 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \
402 ((loc) & ~(fs)->fs_bmask)
403 #define fragoff(fs, loc) /* calculates (loc % fs->fs_fsize) */ \
404 ((loc) & ~(fs)->fs_fmask)
405 #define lblkno(fs, loc) /* calculate
[all...]
H A Dfsys_minix.c316 int loc; /* location within a directory */ local
448 loc = 0;
453 printf ("dirname=`%s', rest=`%s', loc=%d\n", dirname, rest, loc);
458 if (loc >= INODE->i_size)
475 blk = loc >> BLOCK_SIZE_BITS;
491 off = loc & (BLOCK_SIZE - 1);
493 /* advance loc prematurely to next on-disk directory entry */
494 loc += sizeof (dp->inode) + namelen;
H A Dufs.h217 #define blkoff(fs, loc) ((int)((loc & ~(fs)->fs_bmask)))
218 #define lblkno(fs, loc) ((grub_int32_t)((loc) >> (fs)->fs_bshift))
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dsvc.c520 char *str, *loc, val; local
535 if ((loc = strpbrk(str, "@/")) == NULL)
538 if (*loc == '@') {
540 *loc = '\0';
542 *loc = '@';
547 *loc = '@';
551 *loc = '@';
552 str = loc + 1;
553 if ((loc = strchr(str, '/')) == NULL)
557 if (loc !
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/pcibus/
H A Dpci_sun4v.c63 uchar_t *loc = NULL; local
70 PI_PROP_CHASSIS_LOCATION_NAME, &locsiz, &loc);
85 (void) memcpy(nac, loc, locsiz);
108 uchar_t *loc; local
174 PI_PROP_CHASSIS_LOCATION_NAME, &locsiz, &loc) == 0 && locsiz > 0) {
179 return (platform_pci_fru_location(mod, node, loc, locsiz));
187 platform_pci_fru_location(topo_mod_t *mod, tnode_t *node, uchar_t *loc, argument
207 (void) memcpy(walkdata.location, loc, locsiz);
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_plugin.c225 ses_plugin_t *sp, **loc; local
257 for (loc = &tp->st_plugin_first; *loc != NULL; loc = &(*loc)->sp_next) {
258 if ((*loc)->sp_priority > sp->sp_priority)
262 if (*loc != NULL)
263 (*loc)->sp_prev = sp;
267 sp->sp_next = *loc;
268 *loc
[all...]
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_plugin.c212 smp_plugin_t *pp, **loc; local
244 for (loc = &tp->st_plugin_first; *loc != NULL; loc = &(*loc)->sp_next) {
245 if ((*loc)->sp_priority > pp->sp_priority)
249 if (*loc != NULL)
250 (*loc)->sp_prev = pp;
254 pp->sp_next = *loc;
255 *loc
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/wcsrtombs/
H A Dwcsrtombs_test.c124 locale_t loc; local
138 loc = newlocale(LC_ALL_MASK, locale, NULL);
139 if (loc == NULL) {
150 cnt = wcsrtombs_l(mbs, &wcs, sizeof (mbs), &ms, loc);
170 locale_t loc; local
173 loc = newlocale(LC_ALL_MASK, locale, NULL);
174 if (loc == NULL) {
185 cnt = wcsrtombs_l(mbs, &wcs, sizeof (mbs), &ms, loc);
199 freelocale(loc);
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dtranslate.c264 * loc the LC_MESSAGES locale name
290 translate(const char* loc, const char* cmd, const char* cat, const char* msg) argument
330 if (streq(loc, "debug"))
331 state.debug = loc;
356 sfprintf(sfstderr, "AHA#%d:%s cp->locale `%s' %p loc `%s' %p\n", __LINE__, __FILE__, cp->locale, cp->locale, loc, loc);
358 if (cp->locale != loc)
360 cp->locale = loc;
412 if (r == (char*)msg && loc
[all...]
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwdresolve.c63 char *loc; local
73 loc = current_locale(curloc, LC_CTYPE);
74 loclen = strlen(loc);
82 (void) strcpy(wdmodpath + _DFLTLOCPATH_LEN, loc);
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_fs.h598 #define blkmap(fs, map, loc) \
599 (((map)[(loc) / NBBY] >> ((loc) % NBBY)) & \
629 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \
630 ((int)((loc) & ~(fs)->fs_bmask))
636 #define fragoff(fs, loc) /* calculates (loc % fs->fs_fsize) */ \
637 ((int)((loc) & ~(fs)->fs_fmask))
645 #define lblkno(fs, loc) /* calculate
[all...]

Completed in 68 milliseconds

12345678