Searched defs:loc (Results 1 - 25 of 48) sorted by relevance

12

/osnet-11/usr/src/lib/libnisdb/
H A Ddb_index_entry_c.c45 register db_index_entry *loc; local
85 loc = ep->next;
90 if (loc == NULL) {
91 ep->next = loc = (db_index_entry *)
93 if (loc == NULL) {
98 memset(loc, 0, sizeof (db_index_entry));
106 freeptr = loc;
110 if (loc == NULL)
112 ep = loc;
144 register db_free_entry *loc; local
[all...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Derrorx.c32 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))
H A Dtranslate.c272 * loc the LC_MESSAGES locale name
298 translate(const char* loc, const char* cmd, const char* cat, const char* msg) argument
366 sfprintf(sfstderr, "AHA#%d:%s cp->locale `%s' %p loc `%s' %p\n", __LINE__, __FILE__, cp->locale, cp->locale, loc, loc);
373 if (cp->locale != loc || cp->nlspath != nlspath)
375 cp->locale = loc;
429 if (r == (char*)msg && (!cp && streq(loc, "debug") || cp && cp->debug))
432 sfprintf(state.tmp, "(%s,%s,%s,%s)", loc, cmd, cat, r);
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dxdr_refer.c68 caddr_t loc = *pp; local
71 if (loc == NULL)
76 *pp = loc = malloc(size);
77 if (loc == NULL) {
81 (void) memset(loc, 0, (int)size);
85 stat = (*proc)(xdrs, loc, LASTUNSIGNED);
88 free(loc);
/osnet-11/usr/src/cmd/ast/msgcc/
H A Dmsgget.c54 char* loc; local
79 if (error_info.errors || !(loc = *argv++) || !(cmd = *argv++) || !(s = *argv++))
89 if (streq(loc, "-"))
90 loc = 0;
93 if (!mcfind(loc, cmd, LC_MESSAGES, 0, path, sizeof(path)) && (!cat || !mcfind(loc, cat, LC_MESSAGES, 0, path, sizeof(path))))
106 s = errorx(loc, cmd, cat, msg);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dseekdir.c50 seekdir(DIR *dirp, long loc) argument
61 if (off != loc) {
63 (void) lseek(dirp->d_fd, loc, SEEK_SET);
70 ((dirent_t *)(uintptr_t)&dirp->d_buf[0])->d_off = loc;
83 seekdir64(DIR *dirp, off64_t loc) argument
104 if (off != loc) {
106 (void) lseek64(dirp->d_fd, loc, SEEK_SET);
113 ((dirent64_t *)(uintptr_t)&dirp->d_buf[0])->d_off = loc;
119 seekdir(DIR *dirp, long loc) argument
121 seekdir64(dirp, (off64_t)(uint32_t)loc);
[all...]
H A Dtsdalloc.c48 tsdent_t *loc = ptr; local
53 if (loc != NULL) {
55 if ((p = loc[i].buf) != NULL) {
56 destructor = loc[i].destructor;
59 lfree(p, loc[i].size);
62 lfree(loc, _T_NUM_ENTRIES * sizeof (tsdent_t));
70 tsdent_t *loc; local
84 if ((loc = pthread_getspecific(key)) != NULL) {
85 if ((p = loc[n].buf) != NULL)
89 loc
[all...]
H A Dgettxt.c70 char *loc; member in struct:db_cache
128 if (strcmp(curloc, dbc->loc) == 0) {
149 if ((dbc->loc = lmalloc(strlen(curloc) + 1)) == NULL) {
155 (void) strcpy(dbc->loc, curloc);
166 _DFLT_LOC_PATH "%s" MESSAGES "%s", dbc->loc, msgfile) >=
180 if (strcmp(dbc->loc, "C") == 0) {
H A Dpriv_str_xlate.c435 const char *loc; local
442 if ((loc = setlocale(LC_MESSAGES, NULL)) == NULL)
443 loc = "C";
446 _DFLT_LOC_PATH "%s/LC_MESSAGES/priv_names", loc) < sizeof (file)) {
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dmse.c227 /* Sets 'loc' to 'ps->__lc_locale' */
229 __mbst_set_locale(mbstate_t *ps, const void *loc) argument
232 ps->__lc_locale = (void *)loc;
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dinuse_lu.c305 int loc; local
328 (void) waitpid(pid, &loc, 0);
330 /* printf("got 0x%x %d %d\n", loc, WIFEXITED(loc), WEXITSTATUS(loc)); */
332 if (WIFEXITED(loc) && WEXITSTATUS(loc) == 0) {
H A Dinuse_fs.c156 int loc; local
178 (void) waitpid(pid, &loc, 0);
180 if (WIFEXITED(loc) && WEXITSTATUS(loc) == 0) {
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/pcibus/common/
H A Dpci_sun4v.c64 uchar_t *loc = NULL; local
71 PI_PROP_CHASSIS_LOCATION_NAME, &locsiz, &loc);
86 (void) memcpy(nac, loc, locsiz);
109 uchar_t *loc; local
175 PI_PROP_CHASSIS_LOCATION_NAME, &locsiz, &loc) == 0 && locsiz > 0) {
180 return (platform_pci_fru_location(mod, node, loc,
189 platform_pci_fru_location(topo_mod_t *mod, tnode_t *node, uchar_t *loc, argument
211 (void) memcpy(walkdata.location, loc, locsiz);
/osnet-11/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_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 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 Dsmp-imps.c54 #define CMOS_WRITE_BYTE(x,y) /* write unsigned char "y" at CMOS loc "x" */
55 #define CMOS_READ_BYTE(x) /* read unsigned char at CMOS loc "x" */
89 cmos_write_byte (int loc, int val) argument
91 outb (0x70, loc);
96 cmos_read_byte (int loc) argument
98 outb (0x70, loc);
/osnet-11/usr/src/lib/libc/port/i18n/
H A Dwdresolve.c65 char *loc; local
73 loc = setlocale(LC_CTYPE, NULL); /* this never return NULL */
74 loclen = strlen(loc);
82 (void) strcpy(wdmodpath + _DFLTLOCPATH_LEN, loc);
/osnet-11/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...]
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_osd.c103 * loc User location to place current time
111 OUT DAPL_OS_TIMEVAL * loc)
118 *loc = ((DAT_UINT64)(tv.tv_sec) * 1000000L) + (DAT_UINT64) tv.tv_usec;
110 dapl_os_get_time( OUT DAPL_OS_TIMEVAL * loc) argument
/osnet-11/usr/src/lib/scsi/libses/common/
H A Dses_plugin.c256 ses_plugin_t *sp, **loc; local
288 for (loc = &tp->st_plugin_first; *loc != NULL; loc = &(*loc)->sp_next) {
289 if ((*loc)->sp_priority > sp->sp_priority)
293 if (*loc != NULL)
294 (*loc)->sp_prev = sp;
298 sp->sp_next = *loc;
299 *loc
[all...]
H A Dses_snap.c119 ses_snap_page_t *pp, *up, **loc; local
146 for (loc = &pp->ssp_unique; *loc != NULL;
147 loc = &(*loc)->ssp_next)
150 *loc = up;
/osnet-11/usr/src/lib/libsip/common/
H A Dsip_msg.c465 sip_content_t **loc; local
499 loc = &_sip_msg->sip_msg_content;
500 while (*loc != NULL)
501 loc = &((*loc)->sip_content_next);
502 *loc = msg_content;
/osnet-11/usr/src/lib/libdll/common/
H A Ddlfcn.c215 char *loc; local
231 loc = (char*)ldsym->l_value;
234 loc += datareloc;
236 loc += textreloc;
237 return loc;
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dsvc.c511 char *str, *loc, val; local
526 if ((loc = strpbrk(str, "@/")) == NULL)
529 if (*loc == '@') {
531 *loc = '\0';
533 *loc = '@';
538 *loc = '@';
542 *loc = '@';
543 str = loc + 1;
544 if ((loc = strchr(str, '/')) == NULL)
548 if (loc !
[all...]

Completed in 95 milliseconds

12