Home
last modified time | relevance | path

Searched refs:tptr (Results 1 – 25 of 61) sorted by relevance

123

/titanic_41/usr/src/lib/libnsl/dial/
H A Dsysfiles.c160 char **tptr; in scansys() local
167 tptr = Systems; in scansys()
168 while (*tptr) { in scansys()
169 free(*tptr); in scansys()
170 *tptr = NULL; in scansys()
171 tptr++; in scansys()
175 tptr = Devices; in scansys()
176 while (*tptr) { in scansys()
177 free(*tptr); in scansys()
178 *tptr = NULL; in scansys()
[all …]
/titanic_41/usr/src/lib/libc/port/locale/
H A Dstrptime.c62 const struct lc_time *tptr = loc->time; in __strptime() local
96 buf = __strptime(buf, tptr->date_fmt, tm, flagsp, loc); in __strptime()
119 buf = __strptime(buf, tptr->c_fmt, tm, flagsp, loc); in __strptime()
155 buf = __strptime(buf, tptr->ampm_fmt, tm, flagsp, loc); in __strptime()
167 buf = __strptime(buf, tptr->X_fmt, tm, flagsp, loc); in __strptime()
173 buf = __strptime(buf, tptr->x_fmt, tm, flagsp, loc); in __strptime()
257 len = strlen(tptr->am); in __strptime()
258 if (strncasecmp(buf, tptr->am, len) == 0) { in __strptime()
267 len = strlen(tptr->pm); in __strptime()
268 if (strncasecmp(buf, tptr->pm, len) == 0) { in __strptime()
[all …]
H A Dstrftime.c95 const struct lc_time *tptr = loc->time; in _fmt() local
112 "?" : tptr->weekday[t->tm_wday], in _fmt()
118 "?" : tptr->wday[t->tm_wday], in _fmt()
124 "?" : (tptr->month)[t->tm_mon], in _fmt()
131 "?" : tptr->mon[t->tm_mon], in _fmt()
146 pt = _fmt(loc, tptr->c_fmt, t, pt, ptlim); in _fmt()
236 tptr->pm : tptr->am, pt, ptlim); in _fmt()
242 pt = _fmt(loc, tptr->ampm_fmt, t, pt, ptlim); in _fmt()
387 pt = _fmt(loc, tptr->X_fmt, t, pt, ptlim); in _fmt()
390 pt = _fmt(loc, tptr->x_fmt, t, pt, ptlim); in _fmt()
[all …]
H A Dstrcasestr.c52 const uchar_t *tptr; in strcasestr_l() local
61 tptr = us1; in strcasestr_l()
65 return ((char *)tptr - 1); in strcasestr_l()
66 us1 = tptr; in strcasestr_l()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dstrstr.c46 const char *tptr; in strstr() local
58 tptr = s1; in strstr()
62 return ((char *)tptr - 1); in strstr()
63 s1 = tptr; in strstr()
85 const char *tptr; in strnstr() local
99 tptr = s1; in strnstr()
103 return ((char *)tptr - 1); in strnstr()
104 s1 = tptr; in strnstr()
/titanic_41/usr/src/cmd/sgs/lex/common/
H A Dsub1.c677 if (tptr >= treesize) { in mn2()
678 tptr++; in mn2()
685 name[tptr] = a; in mn2()
686 left[tptr] = d; in mn2()
687 right[tptr] = c; in mn2()
688 parent[tptr] = 0; in mn2()
689 nullstr[tptr] = 0; in mn2()
692 parent[d] = tptr; in mn2()
697 nullstr[tptr] = TRUE; in mn2()
698 parent[d] = parent[c] = tptr; in mn2()
[all …]
H A Dmain.c194 if (tptr > 0)
195 cfoll(tptr-1);
304 tmpstat = (CHR *)myalloc(tptr+1, sizeof (*tmpstat));
306 foll = (int **)myalloc(tptr+1, sizeof (*foll));
313 for (i = 0; i <= tptr; i++)
/titanic_41/usr/src/lib/libbsm/common/
H A Dgetdaent.c67 char *tptr; in trim_white() local
73 tptr = ptr + strlen(ptr); in trim_white()
74 while (tptr != ptr && isspace(tptr[-1])) in trim_white()
75 --tptr; in trim_white()
76 *tptr = '\0'; in trim_white()
92 char *tptr, ch; in pack_white() local
96 tptr = ptr; in pack_white()
97 while (isspace(*tptr)) in pack_white()
98 tptr++; in pack_white()
100 while ((ch = *tptr) != '\0' && !isspace(ch)) { in pack_white()
[all …]
H A Dgetdment.c673 static char *tptr; in getdmapfield() local
676 ptr = tptr; in getdmapfield()
679 tptr = dmapskip(ptr); in getdmapfield()
692 static char *tptr; in getdmapdfield() local
696 ptr = tptr; in getdmapdfield()
700 tptr = dmapdskip(ptr); in getdmapdfield()
/titanic_41/usr/src/cmd/allocate/
H A Ddminfo.c113 char *tptr; in main() local
134 if ((tptr = strrchr(*argv, '/')) != NULL) in main()
135 prog_name = ++tptr; in main()
351 tptr = calloc((unsigned)cntr, sizeof (char)); in main()
352 if (tptr == NULL) { in main()
355 (void) strcat(tptr, dmap.dmap_devname); in main()
356 (void) strcat(tptr, ":\\\n\t"); in main()
357 (void) strcat(tptr, dmap.dmap_devtype); in main()
358 (void) strcat(tptr, ":\\\n\t"); in main()
359 (void) strcat(tptr, dmap.dmap_devlist); in main()
[all …]
/titanic_41/usr/src/cmd/format/
H A Dmodify_partition.c499 build_partition(tptr) in build_partition() argument
500 struct disk_type *tptr; in build_partition()
515 label->dkl_pcyl = tptr->dtype_pcyl;
516 label->dkl_ncyl = tptr->dtype_ncyl;
517 label->dkl_acyl = tptr->dtype_acyl;
518 label->dkl_nhead = tptr->dtype_nhead;
519 label->dkl_nsect = tptr->dtype_nsect;
522 label->dkl_rpm = tptr->dtype_rpm;
529 part->pinfo_name = alloc_string(tptr->dtype_asciilabel);
539 (blkaddr32_t)(tptr->dtype_nhead * tptr->dtype_nsect - apc);
[all …]
H A Dmenu_command.c356 struct disk_type *type, *tptr, *oldtype; in c_type() local
392 for (tptr = type; tptr != NULL; tptr = tptr->dtype_next) { in c_type()
396 if (cur_dtype == tptr) { in c_type()
403 if (tptr->dtype_asciilabel) in c_type()
405 tptr->dtype_asciilabel); in c_type()
430 if ((tptr = auto_sense(cur_file, 1, &label)) == NULL) { in c_type()
436 nblks = (diskaddr_t)tptr->dtype_ncyl * in c_type()
437 tptr->dtype_nhead * tptr->dtype_nsect; in c_type()
445 tptr->dtype_asciilabel, tptr->dtype_ncyl, in c_type()
446 tptr->dtype_acyl, tptr->dtype_nhead, in c_type()
[all …]
/titanic_41/usr/src/lib/libc/port/i18n/
H A Dwcsstr.c38 const wchar_t *tptr; in wcsstr() local
50 tptr = os1; in wcsstr()
54 return ((wchar_t *)tptr - 1); in wcsstr()
55 os1 = tptr; in wcsstr()
H A Dwcswcs.c45 const wchar_t *tptr; in wcswcs() local
57 tptr = s1; in wcswcs()
61 return ((wchar_t *)tptr - 1); in wcswcs()
62 s1 = tptr; in wcswcs()
/titanic_41/usr/src/lib/krb5/kdb/
H A Dkdb_cpw.c117 krb5_key_data *tptr; local
201 tptr = &db_entry->key_data[db_entry->n_key_data-1];
203 tptr->key_data_ver = tmp_key_data.key_data_ver;
204 tptr->key_data_kvno = tmp_key_data.key_data_kvno;
208 tptr->key_data_type[k] = tmp_key_data.key_data_type[k];
209 tptr->key_data_length[k] = tmp_key_data.key_data_length[k];
212 tptr->key_data_contents[k] = krb5_db_alloc(context, NULL, tmp_key_data.key_data_length[k]);
213 if( tptr->key_data_contents[k] == NULL )
221 …memcpy( tptr->key_data_contents[k], tmp_key_data.key_data_contents[k], tmp_key_data.key_data_lengt…
377 krb5_key_data *tptr; local
[all …]
/titanic_41/usr/src/cmd/bnu/
H A Dsysfiles.c367 { char **tptr, *tok; local
372 tptr = type;
373 while (*tptr) /* skip over existing entries to*/
374 tptr++; /* concatenate multiple entries */
386 *tptr = strsave(expandpath);
387 ASSERT(*tptr != NULL, Ct_ALLOCATE, "setfile: tptr", 0);
388 tptr++;
401 { char **tptr, *tok; local
405 tptr = type;
406 while (*tptr) /* skip over existing entries to*/
[all …]
H A Dperfstat.c702 copyText (tptr, size, string) in copyText() argument
704 register char * tptr; in copyText()
709 (void) strncpy(tptr, string, size);
710 *(tptr + size - 1) = NULLCHAR;
735 register TMARK * tptr; local
742 tptr = &Conn.cn_times[0];
750 for (i = 0; i < CT_SIZE; i++, tptr++)
751 tptr->tm_valid = FALSE;
/titanic_41/usr/src/cmd/stat/common/
H A Dacquire_iodevs.c815 struct iodev_snapshot *tptr = NULL; in make_extended_device() local
828 tptr = safe_alloc(sizeof (*old)); in make_extended_device()
829 bzero(tptr, sizeof (*old)); in make_extended_device()
831 tptr->is_pretty = safe_alloc(strlen(old->is_pretty) + 1); in make_extended_device()
832 (void) strcpy(tptr->is_pretty, old->is_pretty); in make_extended_device()
834 bcopy(&old->is_parent_id, &tptr->is_parent_id, in make_extended_device()
837 tptr->is_type = type; in make_extended_device()
842 tptr->is_id.id = tgt; in make_extended_device()
843 (void) snprintf(tptr->is_id.tid, sizeof (tptr->is_id.tid), in make_extended_device()
845 (void) snprintf(tptr->is_name, sizeof (tptr->is_name), in make_extended_device()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccbase.c48 struct krb5_cc_typelist *tptr; member
313 n->tptr = cc_typehead; in krb5int_cc_typecursor_new()
334 if (t->tptr == NULL) in krb5int_cc_typecursor_next()
340 *ops = t->tptr->ops; in krb5int_cc_typecursor_next()
341 t->tptr = t->tptr->next; in krb5int_cc_typecursor_next()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.c172 poe_tagcheck(const poep_t *poep, int length, const uint8_t *tptr) in poe_tagcheck() argument
178 tptr == NULL || length < sizeof (*poep)) in poe_tagcheck()
194 if (tptr < tstart || tptr+POET_HDRLEN > tend || in poe_tagcheck()
195 tptr+POET_HDRLEN+POET_GET_LENG(tptr) > tend) in poe_tagcheck()
/titanic_41/usr/src/cmd/ldap/common/
H A Dconvutf8.c67 char *dest, *tptr, *tmp; in ldaptool_convert() local
95 tptr = dest; in ldaptool_convert()
99 ret = iconv(cd, &fptr, &ileft, &tptr, &oleft); in ldaptool_convert()
124 tptr = tmp + (tptr - dest); in ldaptool_convert()
/titanic_41/usr/src/lib/libsip/common/
H A Dsip_reass.c46 const char *tptr; in sip_reass_strstr() local
58 tptr = s1; in sip_reass_strstr()
62 return ((char *)tptr - 1); in sip_reass_strstr()
63 s1 = tptr; in sip_reass_strstr()
/titanic_41/usr/src/cmd/cron/
H A Dat.c516 gtime(tptr) in gtime() argument
517 struct tm *tptr; in gtime()
526 for (i = 1970; i != tptr->tm_year+TM_YEAR_BASE; i++)
533 if (!leap(tptr->tm_year) && at.tm_mday == 29 && at.tm_mon == 1)
536 if ((leap(tptr->tm_year)) && tptr->tm_mon >= 2)
539 for (i = 0; i < tptr->tm_mon; ++i)
541 tv += tptr->tm_mday - 1;
542 tv = 24 * tv + tptr->tm_hour;
543 tv = 60 * tv + tptr->tm_min;
544 tv = 60 * tv + tptr->tm_sec;
/titanic_41/usr/src/lib/libtnfctl/
H A Dcomb.c338 char *tptr; in iscomb() local
364 tptr = (char *) calltmpl[type].entry; in iscomb()
365 for (ptr = targ_p; ptr < (targ_p + size); ptr++, tptr++) { in iscomb()
376 if ((uintptr_t) tptr == calltmpl[type].down + in iscomb()
390 tptr += 3; in iscomb()
391 } else if ((uintptr_t) tptr == calltmpl[type].next + in iscomb()
405 tptr += 3; in iscomb()
408 if (*ptr != *tptr) in iscomb()
/titanic_41/usr/src/cmd/svr4pkg/pkgproto/
H A Dmain.c424 char *tptr; in scan_raw_ln() local
426 const_ptr = tptr = construction; in scan_raw_ln()
428 (void) strlcpy(tptr, in scan_raw_ln()
430 tptr += 3; in scan_raw_ln()
432 (void) strlcpy(tptr, targ_ptr, in scan_raw_ln()

123