/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_funcs.c | 121 StaticProp *temp; local 130 if ((temp = malloc(sizeof (StaticProp))) == NULL) { 150 temp->name.opp.oprom_size = opp->oprom_size; 151 (void) strcpy(temp->name.opp.oprom_array, 154 (void) strcpy(temp->value.opp.oprom_array, 155 temp->name.opp.oprom_array); 156 getpropval(&temp->value.opp); 157 temp->size = temp->value.opp.oprom_size; 159 /* Now copy over temp' 379 Board_node *temp = root->bd_list; local [all...] |
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | sub2.c | 152 int i, *temp; local 154 temp = nxtpos; 157 *temp++ = count; 160 *temp++ = i; 161 nxtpos = temp; 458 CHR *temp, *tz; local 462 temp = tmpstat; 474 temp[*newpos++] = 2; 478 tz = temp + tptr; 479 while (temp < t 494 CHR *temp; local 526 int go[MAXNCG], temp[MAXNCG], index, c; local 794 int temp[MAXPOSSTATE], k, neg[MAXPOSSTATE], n; local [all...] |
/illumos-gate/usr/src/ucbcmd/vipw/ |
H A D | vipw.c | 226 editfile(char *editor, char *temp, char *orig, time_t *mtime) argument 228 (void)sprintf(buf, "%s %s", editor, temp); 230 return (sanity_check(temp, mtime, orig)); 259 sanity_check(char *temp, time_t *mtime, char *orig) argument 271 if (stat(temp, &sbuf) < 0) { 274 temp, orig); 280 temp, orig); 283 ft = fopen(temp, "r"); 287 temp, orig); 388 temp, ori [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/sparc/ |
H A D | alloca.s | 54 ld [%o3 + %o1], %o4 ! load from old temp area 55 st %o4, [%sp + %o1] ! store to new temp area 59 ! now return new %sp + end-of-temp
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | alloca.s | 49 ld [%o3 + %o1], %o4 ! load from old temp area 50 st %o4, [%sp + %o1] ! store to new temp area 54 ! now return new %sp + end-of-temp
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | alloca.s | 49 ldx [%g1 + %o1], %o4 ! load from old temp area 50 stx %o4, [%g5 + %o1] ! store to new temp area 54 ! now return new %sp + end-of-temp
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | gptwo_pci.c | 441 char temp[64]; local 448 temp[0] = NULL; 458 if (temp[0] == NULL) 459 (void) sprintf(temp, "%s", num); 461 (void) sprintf(temp, "%s,%s", temp, num); 466 (void) sprintf(temp, "%sa", temp); /* Append a 'a' for leaf A */ 468 (void) sprintf(temp, "%sb", temp); /* Appen [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
H A D | fx_fire.c | 168 uint32_t temp; local 202 temp = entry->fire_bit; 203 for (data->pcie_adv_ctl = (uint32_t)-1; temp; 205 temp = temp >> 1; 320 uint32_t temp; local 345 temp = entry->fire_bit; 346 for (data->pcie_adv_ctl = (uint32_t)-1; temp; data->pcie_adv_ctl++) 347 temp = temp >> [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | merginfo.c | 141 char temp[PATH_MAX]; local 463 i = snprintf(temp, PATH_MAX, "%s/%s", pkgbin, 470 if (cppath(MODE_SRC|DIR_DISPLAY, path, temp, 0644)) { 516 i = snprintf(temp, PATH_MAX, "%s/install/%s", 527 if (cppath(MODE_SRC, path, temp, 0644)) { 528 progerr(ERR_CANNOT_COPY, path, temp); 547 i = snprintf(temp, sizeof (temp), "%s/%s", 549 if (i > sizeof (temp)) { 555 if (cppath(MODE_SRC, path, temp, 064 [all...] |
/illumos-gate/usr/src/cmd/grep/ |
H A D | grep.c | 87 static int temp; variable 318 temp = 0; 320 } else if ((temp = open(file + base, O_RDONLY)) == -1) { 328 if ((count = read(temp, prntbuf, GBUFSIZ)) <= 0) { 329 (void) close(temp); 381 if ((count = read(temp, p, GBUFSIZ)) > 0) 426 (void) close(temp); 465 ((lseek(temp, (off_t)0, SEEK_CUR) - 1) / BLKSIZE));
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | t4.c | 56 char sn[10], *snp, *temp; local 175 temp = snp = csize[nclin][icol-1]; 180 if (snp>temp) 188 if (snp-temp>4) 192 if (atoi(temp)>36) 200 temp = snp = vsize[nclin][icol-1]; 205 if (snp>temp) 213 if (snp-temp>4)
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | environ.c | 268 struct environ_soft_state *temp; /* used in list deletion */ local 312 for (temp = tempsp_list, vect = &tempsp_list; temp != NULL; 313 vect = &temp->next, temp = temp->next) { 314 if (temp == softsp) { 315 *vect = temp->next; 472 cmn_err(CE_WARN, "environ%d: temp kstat_create failed", 489 cmn_err(CE_WARN, "environ%d: temp overrid [all...] |
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | dpost.c | 575 char temp[150]; variable 1359 sprintf(temp, "%s/dev%s/DESC.out", fontdir, devname); 1360 if ( (fin = open(temp, 0)) < 0 ) 1361 error(FATAL, "can't open tables for %s", temp); 1423 sprintf(temp, "%s/dev%s/%s.out", fontdir, devname, s); 1424 else sprintf(temp, "%s/%s.out", s1, s); 1426 if ( (fin = open(temp, 0)) < 0 ) { 1427 sprintf(temp, "%s/dev%s/%s.out", fontdir, devname, mapfont(s)); 1428 if ( (fin = open(temp, 0)) < 0 ) 1429 error(FATAL, "can't open font table %s", temp); [all...] |
/illumos-gate/usr/src/lib/libcrypt/common/ |
H A D | cryptio.c | 160 char tempbuf[KSIZE], *a, *temp; local 164 temp = tempbuf; 166 temp[i] = *a++; 170 temp[i] ^= (char)((gorp>>(8*i))&0377); 176 if (writekey(b, temp) == -1) {
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | cpmv.c | 50 char *temp_p, temp[MAXFULLNAME]; local 61 (void) strcpy(temp, f2); 62 if ((temp_p = strrchr(temp, '/')) == NULL) 63 temp_p = temp; 67 temp_p = temp; 68 DEBUG(4, "temp name is %s\n", temp_p); 71 /* open of temp may fail if called from uidxcp() */
|
/illumos-gate/usr/src/cmd/sdiff/ |
H A D | sdiff.c | 120 static char *temp; variable 221 temp = strdup("/tmp/sdiffXXXXXX"); 222 tempfd = mkstemp(temp); 225 "Cannot open/create temp %s"), temp); 226 free(temp); 227 temp = 0; 234 "Cannot open/create temp %s"), 240 "Cannot open/create temp file %s"), 347 "main: Cannot open temp [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/scsi_vhci/ |
H A D | scsi_vhci.c | 248 uintptr_t temp; local 270 temp = (uintptr_t)mdi_vhci_value->vh_class; 272 if (mdb_vread(class, strlen(MDI_HCI_CLASS_SCSI), temp) 290 temp = (uintptr_t)mdi_vhci_value->vh_next; 291 if (mdb_vread(mdi_vhci_value, mdi_vhci_len, temp) 297 temp = (uintptr_t)mdi_vhci_value->vh_class; 298 if (mdb_vread(class, strlen(MDI_HCI_CLASS_SCSI), temp) != 323 temp = (uintptr_t)ct_hash_table_val; 324 if (mdb_vread(ct_hash_val, ct_hash_len, temp) != ct_hash_len) { 340 temp [all...] |
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/ |
H A D | storage.esc | 66 event fault.temp.fail@controller; 67 event fault.temp.fail@fanmodule; 68 event fault.temp.fail@psu; 109 event ereport.chassis.sensor.temp.ot@controller; 110 event ereport.chassis.sensor.temp.ot@fanmodule; 111 event ereport.chassis.sensor.temp.ot@psu; 112 event ereport.chassis.sensor.temp.ut@controller; 113 event ereport.chassis.sensor.temp.ut@fanmodule; 114 event ereport.chassis.sensor.temp.ut@psu; 220 prop fault.temp [all...] |
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb.c | 1062 struct recu_dir *rd, *erd, *temp; local 1065 rd = erd = temp = NULL; 1108 temp = (struct recu_dir *) 1110 if (temp == NULL) { 1114 temp->next = NULL; 1115 temp->inode = iloc; 1116 temp->nm = malloc(strlen(nm) + 1 + 1118 if (temp->nm != NULL) { 1119 (void) strcpy(temp->nm, nm); 1120 (void) strcat(temp 1335 struct recu_dir *rd, *erd, *temp; local [all...] |
/illumos-gate/usr/src/cmd/troff/troff.d/ |
H A D | makedev.c | 115 char fname[NFONT][10]; /* temp space to hold default font names */ 317 char temp[100]; local 320 while (fscanf(fin, "%s", temp) != EOF && strcmp(temp, "0") != 0) { 321 if (strcmp(temp, "fi") == 0) 323 else if (strcmp(temp, "fl") == 0) 325 else if (strcmp(temp, "ff") == 0) 327 else if (strcmp(temp, "ffi") == 0) 329 else if (strcmp(temp, "ffl") == 0) 332 fprintf(stderr, "illegal ligature %s\n", temp); [all...] |
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_alloc.c | 236 uint32_t bno, begin, dummy, temp, lbsz, bb_count; local 257 temp = blkcount; 259 ud_part, proximity, &temp) == 0) { 260 if (temp != 0) { 262 *size = temp; 313 temp = eblk - bno; 315 temp = blkcount; 318 bno - bblk, temp)) == temp) { 319 ud_mark_used(addr, bno - bblk, temp); 499 uint32_t temp, sz; local [all...] |
/illumos-gate/usr/src/cmd/lp/filter/postscript/font/ |
H A D | makedev.c | 117 char fname[NFONT][10]; /* temp space to hold default font names */ 334 char temp[100]; local 337 while (fscanf(fin, "%s", temp) != EOF && strcmp(temp, "0") != 0) { 338 if (strcmp(temp, "fi") == 0) 340 else if (strcmp(temp, "fl") == 0) 342 else if (strcmp(temp, "ff") == 0) 344 else if (strcmp(temp, "ffi") == 0) 346 else if (strcmp(temp, "ffl") == 0) 349 fprintf(stderr, "illegal ligature %s\n", temp); [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 389 long temp; local 859 temp = 1; 861 temp = expr(); 869 addr = getdirslot((long)(dirslot + temp)); 874 cur_inum += temp; 877 cur_inum -= temp; 883 cur_cgrp += temp; 885 cur_cgrp -= temp; 890 addr = getshadowslot((long)(cur_shad + temp)); 897 addr += temp * objs 2004 long numb = 0, temp; local 2147 long temp; local 2822 long temp, tcount; local 2891 u_offset_t temp = addr; local 2990 short bod = 0, mode, temp; local 3450 long maxchars, s_err, nbytes, temp; local 3617 long tinode, tcount, temp; local 4335 long temp, tcount = count, tcur_bytes = cur_bytes; local 4413 int j, k, temp = BYTESPERLINE / objsz; local [all...] |
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ecp_aff.c | 90 mp_int lambda, temp, tempx, tempy; local 93 MP_DIGITS(&temp) = 0; 97 MP_CHECKOK(mp_init(&temp, FLAG(px))); 130 MP_CHECKOK(mp_set_int(&temp, 3)); 132 MP_CHECKOK(group->meth->field_enc(&temp, &temp, group->meth)); 135 field_mul(&tempx, &temp, &tempx, group->meth)); 138 MP_CHECKOK(mp_set_int(&temp, 2)); 140 MP_CHECKOK(group->meth->field_enc(&temp, &temp, grou [all...] |
/illumos-gate/usr/src/cmd/rm/ |
H A D | rm.c | 318 struct stat temp; local 330 if (fstatat(caller->fd, entry, &temp, AT_SYMLINK_NOFOLLOW) != 0) { 339 if (S_ISDIR(temp.st_mode)) { 351 if (temp.st_ino == rootdir.st_ino && 352 temp.st_dev == rootdir.st_dev) { 373 frame.dev = temp.st_dev; 374 frame.ino = temp.st_ino; 446 if (fstat(frame.fd, &temp) != 0 || 447 frame.ino != temp.st_ino || 448 frame.dev != temp [all...] |