/illumos-gate/usr/src/cmd/format/ |
H A D | modify_partition.h | 43 void new_partitiontable(struct disk_type *tptr, struct disk_type *oldtype);
|
H A D | modify_partition.c | 499 build_partition(tptr) 500 struct disk_type *tptr; 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 [all...] |
H A D | menu_command.c | 357 struct disk_type *type, *tptr, *oldtype; local 393 for (tptr = type; tptr != NULL; tptr = tptr->dtype_next) { 397 if (cur_dtype == tptr) { 404 if (tptr->dtype_asciilabel) 406 tptr->dtype_asciilabel); 431 if ((tptr = auto_sense(cur_file, 1, &label)) == NULL) { 437 nblks = (diskaddr_t)tptr [all...] |
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | wcsstr.c | 38 const wchar_t *tptr; local 50 tptr = os1; 54 return ((wchar_t *)tptr - 1); 55 os1 = tptr;
|
H A D | wcswcs.c | 45 const wchar_t *tptr; local 57 tptr = s1; 61 return ((wchar_t *)tptr - 1); 62 s1 = tptr;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strstr.c | 46 const char *tptr; local 58 tptr = s1; 62 return ((char *)tptr - 1); 63 s1 = tptr; 85 const char *tptr; local 99 tptr = s1; 103 return ((char *)tptr - 1); 104 s1 = tptr;
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | strcasestr.c | 52 const uchar_t *tptr; local 61 tptr = us1; 65 return ((char *)tptr - 1); 66 us1 = tptr;
|
H A D | strptime.c | 62 const struct lc_time *tptr = loc->time; local 96 buf = __strptime(buf, tptr->date_fmt, tm, flagsp, loc); 119 buf = __strptime(buf, tptr->c_fmt, tm, flagsp, loc); 155 buf = __strptime(buf, tptr->ampm_fmt, tm, flagsp, loc); 167 buf = __strptime(buf, tptr->X_fmt, tm, flagsp, loc); 173 buf = __strptime(buf, tptr->x_fmt, tm, flagsp, loc); 257 len = strlen(tptr->am); 258 if (strncasecmp(buf, tptr->am, len) == 0) { 267 len = strlen(tptr->pm); 268 if (strncasecmp(buf, tptr [all...] |
H A D | strftime.c | 95 const struct lc_time *tptr = loc->time; local 112 "?" : tptr->weekday[t->tm_wday], 118 "?" : tptr->wday[t->tm_wday], 124 "?" : (tptr->month)[t->tm_mon], 131 "?" : tptr->mon[t->tm_mon], 146 pt = _fmt(loc, tptr->c_fmt, t, pt, ptlim); 236 tptr->pm : tptr->am, pt, ptlim); 242 pt = _fmt(loc, tptr->ampm_fmt, t, pt, ptlim); 387 pt = _fmt(loc, tptr [all...] |
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | sysfiles.c | 160 char **tptr; local 167 tptr = Systems; 168 while (*tptr) { 169 free(*tptr); 170 *tptr = NULL; 171 tptr++; 175 tptr = Devices; 176 while (*tptr) { 177 free(*tptr); 178 *tptr 393 char **tptr, *tok; local 427 char **tptr, *tok; local [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | getdaent.c | 67 char *tptr; local 73 tptr = ptr + strlen(ptr); 74 while (tptr != ptr && isspace(tptr[-1])) 75 --tptr; 76 *tptr = '\0'; 92 char *tptr, ch; local 96 tptr = ptr; 97 while (isspace(*tptr)) 98 tptr 200 static char *tptr = NULL; local [all...] |
H A D | getdment.c | 673 static char *tptr; local 676 ptr = tptr; 679 tptr = dmapskip(ptr); 692 static char *tptr; local 696 ptr = tptr; 700 tptr = dmapdskip(ptr);
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | dminfo.c | 113 char *tptr; local 134 if ((tptr = strrchr(*argv, '/')) != NULL) 135 prog_name = ++tptr; 351 tptr = calloc((unsigned)cntr, sizeof (char)); 352 if (tptr == NULL) { 355 (void) strcat(tptr, dmap.dmap_devname); 356 (void) strcat(tptr, ":\\\n\t"); 357 (void) strcat(tptr, dmap.dmap_devtype); 358 (void) strcat(tptr, ":\\\n\t"); 359 (void) strcat(tptr, dma [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | sysfiles.c | 367 { 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 [all...] |
H A D | perfstat.c | 689 * tptr - address of the buffer where the string is to 702 copyText (tptr, size, string) 704 register char * tptr; 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;
|
/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | kdb_cpw.c | 117 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_length[k]); 377 krb5_key_data *tptr; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | ccbase.c | 48 struct krb5_cc_typelist *tptr; member in struct:krb5_cc_typecursor 313 n->tptr = cc_typehead; 334 if (t->tptr == NULL) 340 *ops = t->tptr->ops; 341 t->tptr = t->tptr->next;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | common.c | 172 poe_tagcheck(const poep_t *poep, int length, const uint8_t *tptr) argument 178 tptr == NULL || length < sizeof (*poep)) 189 * Note careful dereference of tptr; it might be near the end 194 if (tptr < tstart || tptr+POET_HDRLEN > tend || 195 tptr+POET_HDRLEN+POET_GET_LENG(tptr) > tend)
|
H A D | common.h | 78 const uint8_t *tptr);
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 813 struct iodev_snapshot *tptr = NULL; local 826 tptr = safe_alloc(sizeof (*old)); 827 bzero(tptr, sizeof (*old)); 829 tptr->is_pretty = safe_alloc(strlen(old->is_pretty) + 1); 830 (void) strcpy(tptr->is_pretty, old->is_pretty); 832 bcopy(&old->is_parent_id, &tptr->is_parent_id, 835 tptr->is_type = type; 840 tptr->is_id.id = tgt; 841 (void) snprintf(tptr->is_id.tid, sizeof (tptr [all...] |
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | main.c | 194 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++)
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | convutf8.c | 67 char *dest, *tptr, *tmp; local 95 tptr = dest; 99 ret = iconv(cd, &fptr, &ileft, &tptr, &oleft); 116 * and tptr have to re-adjusted, so that 124 tptr = tmp + (tptr - dest);
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_reass.c | 46 const char *tptr; local 58 tptr = s1; 62 return ((char *)tptr - 1); 63 s1 = tptr;
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgproto/ |
H A D | main.c | 424 char *tptr; local 426 const_ptr = tptr = construction; 428 (void) strlcpy(tptr, 430 tptr += 3; 432 (void) strlcpy(tptr, targ_ptr,
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | comb.c | 338 char *tptr; local 364 tptr = (char *) calltmpl[type].entry; 365 for (ptr = targ_p; ptr < (targ_p + size); ptr++, tptr++) { 376 if ((uintptr_t) tptr == calltmpl[type].down + 390 tptr += 3; 391 } else if ((uintptr_t) tptr == calltmpl[type].next + 405 tptr += 3; 408 if (*ptr != *tptr)
|