Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 454) sorted by path

12345678910>>...19

/illumos-gate/usr/src/boot/common/
H A Disapnp.c129 uchar_t temp; in isapnp_get_resource_info() local
143 temp = inb(isapnp_readport); in isapnp_get_resource_info()
145 buffer[i] = temp; in isapnp_get_resource_info()
/illumos-gate/usr/src/boot/libsa/string/
H A Dswab.c44 unsigned long temp; in swab() local
53 #define STEP temp = *fp++,*tp++ = *fp++,*tp++ = temp in swab()
/illumos-gate/usr/src/cmd/addbadsec/
H A Dix_altsctr.c625 struct alts_ent temp; in ent_sort() local
630 temp = buf[cnt-1]; in ent_sort()
634 if (buf[j-1].bad_start < temp.bad_start) { in ent_sort()
635 buf[j] = temp; in ent_sort()
636 temp = buf[j-1]; in ent_sort()
642 buf[i] = temp; in ent_sort()
/illumos-gate/usr/src/cmd/awk/
H A Dlib.c114 char temp[50]; in makefields() local
122 (void) sprintf(temp, "%d", i); in makefields()
123 fldtab[i]->nval = tostring(temp); in makefields()
350 char *s, temp[50]; in getargv() local
353 (void) sprintf(temp, "%d", n); in getargv()
354 if (lookup(temp, ARGVtab) == NULL) in getargv()
356 x = setsymtab(temp, "", 0.0, STR, ARGVtab); in getargv()
H A Drun.c836 int temp; in substr() local
872 temp = s[n + m - 1]; /* with thanks to John Linderman */ in substr()
875 s[n + m - 1] = temp; in substr()
1399 char *t, temp, num[50]; in split() local
1447 temp = *patbeg; in split()
1459 *patbeg = temp; in split()
1500 temp = *s; in split()
1512 *s = temp; in split()
1539 temp = *s; in split()
1551 *s = temp; in split()
H A Dtran.c166 char temp[50]; in arginit() local
173 (void) sprintf(temp, "%d", i); in arginit()
175 (void) setsymtab(temp, *av, atof(*av), in arginit()
178 (void) setsymtab(temp, *av, 0.0, STR, ARGVtab); in arginit()
229 Cell *cp, *temp; in freesymtab() local
240 for (cp = tp->tab[i]; cp != NULL; cp = temp) { in freesymtab()
244 temp = cp->cnext; /* avoids freeing then using */ in freesymtab()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk3.c1002 register int temp; in exprreduce() local
1038 temp = np->n_type; in exprreduce()
1077 if (temp == INDEX) { in exprreduce()
1673 register NODE *temp; in userfunc() local
1738 temp = emptynode(t, len = wcslen(formal->n_name)); in userfunc()
1739 (void) memcpy(temp->n_name, formal->n_name, in userfunc()
1741 temp->n_flags = FSTRING|FVINT; in userfunc()
1742 temp->n_string = _null; in userfunc()
1743 temp->n_strlen = 0; in userfunc()
1745 (void) assign(temp, actual); in userfunc()
[all …]
/illumos-gate/usr/src/cmd/backup/restore/
H A Dsymtab.c557 struct entry temp, *tentry; in dumpsymtable() local
587 tep = &temp; in dumpsymtable()
/illumos-gate/usr/src/cmd/bnu/
H A Dcpmv.c50 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;
H A Din.uucpd.c518 char *temp; local
547 temp = passwd;
548 if (temp != NULL) {
549 r->resp = strdup(temp);
H A Dpermission.c795 char *temp, *tend; local
805 if ( (temp = strdup(name)) != NULL ) {
806 for ( tend = temp + strlen(temp) ; *temp; ) {
807 if ( stat(temp, &statbuf) == 0 ) {
818 free(temp);
824 if ( (tend = strrchr(temp, '/')) == NULL ) {
825 free(temp);
H A Dsysfiles.c323 int temp; in nameparse() local
325 #define setuint(a,b,c) a = ( ((temp = atoi(b)) <= 0) ? (c) : temp ) in nameparse()
H A Duustat.c136 long temp; in main() local
1482 time_t temp; in gmts() local
1489 temp = (now - inputsecs); in gmts()
1490 td = gmtime(&temp); in gmts()
H A Duuto83 temp=""
112 temp="$temp $1"
129 uuto $temp
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c3718 char temp[PATH_MAX]; in mkisofs_archive() local
3726 ret = build_path(temp, sizeof (temp), root, ARCHIVE_PREFIX, suffix); in mkisofs_archive()
3728 if (ret >= sizeof (temp)) in mkisofs_archive()
3746 ret = create_sparc_archive(boot_archive, temp, bootblk, in mkisofs_archive()
3754 ret = extend_iso_archive(boot_archive, temp, in mkisofs_archive()
3783 ret = create_x86_archive(boot_archive, temp, in mkisofs_archive()
H A Dbootadm_loader.c213 ofmt_field_t *temp; in init_menu_template() local
215 if ((temp = calloc(NUM_COLS + 1, sizeof (ofmt_field_t))) == NULL) in init_menu_template()
216 return (temp); in init_menu_template()
218 init_hdr_cols(temp); in init_menu_template()
219 menu_update_widths(temp, menu); in init_menu_template()
220 return (temp); in init_menu_template()
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dutil.c370 av_opts *temp; in populate_opts() local
382 if ((temp = (av_opts *)((i == 0) ? malloc(sizeof (av_opts)) : in populate_opts()
388 opts_av = (av_opts *)temp; in populate_opts()
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c394 av_opts *temp; in populate_opts() local
406 if ((temp = (av_opts *)((i == 0) ? malloc(sizeof (av_opts)) : in populate_opts()
413 opts_av = (av_opts *)temp; in populate_opts()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c672 char temp[STR_LEN], env_str[STR_LEN], cur_chr; local
681 s1 = temp;
834 return dup_mem (temp, (size_t) (s1 - temp)); /* may have embedded nuls */
1355 char temp[STR_LEN]; local
1357 register char *s = temp, *end = s + STR_LEN;
1358 char *logged = temp;
1413 s - temp >= (report_len = strlen(report_string[n])) &&
1439 if (s - temp >= len &&
1454 if (s - temp >= (abort_len = strlen(abort_string[n])) &&
1477 memmove(temp, s, minlen);
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c1143 mib_item_t *temp; in mibget() local
1235 temp = (mib_item_t *)malloc(sizeof (mib_item_t)); in mibget()
1236 if (temp == NULL) { in mibget()
1241 last_item->next_item = temp; in mibget()
1243 first_item = temp; in mibget()
1244 last_item = temp; in mibget()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dtelnet.c813 unsigned char temp[50]; in suboption() local
818 bytes = snprintf((char *)temp, sizeof (temp), in suboption()
821 if ((len < NETROOM()) && (bytes < sizeof (temp))) { in suboption()
822 ring_supply_data(&netoring, temp, len); in suboption()
823 printsub('>', &temp[2], len-2); in suboption()
838 unsigned char temp[50]; in suboption() local
843 bytes = snprintf((char *)temp, sizeof (temp), in suboption()
846 len = strlen((char *)temp+4) + 4; /* temp[3] is 0 ... */ in suboption()
848 if ((len < NETROOM()) && (bytes < sizeof (temp))) { in suboption()
849 ring_supply_data(&netoring, temp, len); in suboption()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c512 d_list_t *temp = malloc(sizeof (d_list_t)); in add_index() local
514 if (temp == NULL) { in add_index()
519 temp->index = index; in add_index()
520 temp->next = NULL; in add_index()
523 d_list = d_tail = temp; in add_index()
527 d_tail->next = temp; in add_index()
528 d_tail = temp; in add_index()
3144 d_list_t *temp = d_list; in nuke_adds() local
3155 while (temp != NULL) { in nuke_adds()
3156 (void) ipsec_conf_del(temp->index, B_TRUE); in nuke_adds()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndp.c849 boolean_t temp = B_FALSE; in ndp_set_nce() local
880 temp = B_TRUE; in ndp_set_nce()
894 if (!temp) { in ndp_set_nce()
H A Droute.c3069 mib_item_t *temp; in mibget() local
3153 temp = malloc(sizeof (mib_item_t)); in mibget()
3154 if (temp == NULL) { in mibget()
3159 last_item->next_item = temp; in mibget()
3161 first_item = temp; in mibget()
3162 last_item = temp; in mibget()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c6913 int i, j, temp; in verbose() local
6965 temp = (mode >> (6 - (i * 3))); in verbose()
6967 if (S_IROTH & temp) in verbose()
6969 if (S_IWOTH & temp) in verbose()
6971 if (S_IXOTH & temp) in verbose()
6976 temp = Gen.g_mode & Ftype; in verbose()
6977 switch (temp) { in verbose()
7002 temp = Gen.g_mode & Ftype; in verbose()
7003 switch (temp) { in verbose()

12345678910>>...19