Searched refs:tmp (Results 1 - 25 of 603) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libresolv2/common/bsd/
H A Dputenv.c18 char *tmp; local
20 for (tmp = str; *tmp && (*tmp != '='); tmp++)
23 return (setenv(str, tmp, 1));
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dhostname.pl13 local(*P,@tmp,$hostname,$_);
14 if (open(P,"hostname 2>&1 |") && (@tmp = <P>) && close(P))
16 chop($hostname = $tmp[$#tmp]);
18 elsif (open(P,"uname -n 2>&1 |") && (@tmp = <P>) && close(P))
20 chop($hostname = $tmp[$#tmp]);
26 @tmp = ();
H A Dimportenv.pl9 local($tmp,$key) = '';
12 $tmp .= "\$$key = \$ENV{'$key'};" if $key =~ /^[A-Za-z]\w*$/;
14 eval $tmp;
H A Dvalidate.pl65 $tmp = $2;
66 $tmp eq 'r' && ($mess = "$file is not readable by uid $>.");
67 $tmp eq 'w' && ($mess = "$file is not writable by uid $>.");
68 $tmp eq 'x' && ($mess = "$file is not executable by uid $>.");
69 $tmp eq 'o' && ($mess = "$file is not owned by uid $>.");
70 $tmp eq 'R' && ($mess = "$file is not readable by you.");
71 $tmp eq 'W' && ($mess = "$file is not writable by you.");
72 $tmp eq 'X' && ($mess = "$file is not executable by you.");
73 $tmp eq 'O' && ($mess = "$file is not owned by you.");
74 $tmp e
[all...]
H A Dtermcap.pl119 local($code,$tmp) = @_;
120 local(@tmp);
121 @tmp = ($tmp,$code);
128 $result .= sprintf("%d",shift(@tmp));
131 $tmp = shift(@tmp);
132 if ($tmp == 0 || $tmp == 4 || $tmp
[all...]
/osnet-11/usr/src/grub/grub2/tests/
H A Dgrub_script_blockarg.in30 tmp=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1
32 echo "$cmd" | @builddir@/grub-shell >$tmp
33 error_if_not "`head -n1 $tmp|tail -n1`" '{ test_blockarg { true } }'
34 error_if_not "`head -n2 $tmp|tail -n1`" '{ true }'
37 echo "$cmd" | @builddir@/grub-shell >$tmp
38 error_if_not "`head -n1 $tmp|tail -n1`" '{ test_blockarg { test_blockarg { true } }; test_blockarg { true } }'
39 error_if_not "`head -n2 $tmp|tail -n1`" '{ test_blockarg { true } }'
40 error_if_not "`head -n3 $tmp|tai
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dreslist.c43 LDAPMessage *tmp, *prev = NULL; local
45 for ( tmp = *list; tmp != NULL && tmp != e; tmp = tmp->lm_chain )
46 prev = tmp;
48 if ( tmp == NULL )
52 *list = tmp->lm_chain;
54 prev->lm_chain = tmp
[all...]
/osnet-11/usr/src/lib/libadm/common/
H A Dputhelp.c44 char *tmp; local
47 tmp = NULL;
55 tmp = calloc(n+strlen(defmesg)+1, sizeof (char));
56 (void) strcpy(tmp, defmesg);
57 (void) strcat(tmp, "\n");
59 (void) strcat(tmp, help);
60 help = tmp;
63 tmp = calloc(n+strlen(defmesg)+2, sizeof (char));
64 (void) strcpy(tmp, help);
65 tmp[
[all...]
H A Dputerror.c48 char *tmp; local
54 tmp = calloc(MS+n+1, sizeof (char));
55 (void) strcpy(tmp, DEFMSG);
56 (void) strcat(tmp, defmesg ? defmesg : INVINP);
62 tmp = calloc(MS+n+strlen(defmesg)+2, sizeof (char));
63 (void) strcpy(tmp, DEFMSG);
64 (void) strcat(tmp, defmesg);
65 (void) strcat(tmp, "\n");
67 (void) strcat(tmp, error);
70 tmp
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Daddentry.c41 LDAPMessage *tmp, *prev = NULL; local
43 for ( tmp = *list; tmp != NULL && tmp != e; tmp = tmp->lm_chain )
44 prev = tmp;
46 if ( tmp == NULL )
50 *list = tmp->lm_chain;
52 prev->lm_chain = tmp
[all...]
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathtemp.c56 * / as first pfx char provides tmp file generation control
60 * automatic (default) cycled with each tmp file
81 #define TMP1 "/tmp"
82 #define TMP2 "/usr/tmp"
99 } tmp = { S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH }; variable in typeref:struct:__anon1176
125 tmp.manual = 1;
126 if (tmp.dir && !*tmp.dir++)
127 tmp.dir = tmp
[all...]
/osnet-11/usr/src/lib/libc/port/sys/
H A Dtime_util.c42 uint32_t sec, nsec, tmp; local
44 tmp = (uint32_t)(hrt >> 30);
45 sec = tmp - (tmp >> 2);
46 sec = tmp - (sec >> 5);
47 sec = tmp + (sec >> 1);
48 sec = tmp - (sec >> 6) + 7;
49 sec = tmp - (sec >> 3);
50 sec = tmp + (sec >> 1);
51 sec = tmp
[all...]
/osnet-11/usr/src/lib/libc/sparc/gen/
H A Dlmul.c40 dl_t tmp; local
48 tmp = lshiftl(lop, jj);
49 tmp.dl_hop &= 0x7fffffff;
50 ans = ladd(ans, tmp);
/osnet-11/usr/src/lib/libast/common/features/
H A Dsig.sh30 int xxx;" > $tmp.c
31 $cc -c $tmp.c >/dev/null 2>$tmp.e
64 }" > $tmp.c
65 if $cc -c $tmp.c >/dev/null
67 else e=`wc -l $tmp.e`
71 do $cc -c -DTYPE=$i -DARG=$j $tmp.c >/dev/null 2>$tmp.e || continue
72 case `wc -l $tmp.e` in
H A Dparam.sh42 F_stat_F() { V_stat_V.st_mode = 0; }" > $tmp.c
43 if $cc -c $tmp.c >/dev/null
/osnet-11/usr/src/grub/grub2/grub-core/kern/ieee1275/
H A Dcmain.c59 char tmp[32];
78 tmp, sizeof (tmp), 0);
79 if (rc >= 0 && !grub_strncmp (tmp, SF, sizeof (SF) - 1))
83 tmp, sizeof (tmp), 0);
84 if (rc >= 0 && !grub_strcmp (tmp, "OLPC"))
88 tmp, sizeof (tmp), 0);
89 if (rc >= 0 && !grub_strcmp (tmp, "Emulate
58 char tmp[32]; local
[all...]
/osnet-11/usr/src/lib/libsip/common/
H A Dsip_hash.c91 sip_hash_obj_t *tmp; local
96 tmp = hash_entry->hash_head;
98 if (match_func(tmp->sip_obj, digest)) {
101 return (tmp->sip_obj);
103 tmp = tmp->next_obj;
119 sip_hash_obj_t *tmp; local
124 tmp = hash_entry->hash_head;
126 assert(tmp->sip_obj != NULL);
127 func(tmp
145 sip_hash_obj_t *tmp; local
[all...]
/osnet-11/usr/src/lib/sun_fc/common/
H A DFCSyseventBridge.cc120 for (Iter tmp = adapterAddEventListeners.begin();
121 tmp != adapterAddEventListeners.end(); tmp++) {
122 if (*tmp == listener) {
123 adapterAddEventListeners.erase(tmp);
139 for (Iter tmp = adapterEventListeners.begin();
140 tmp != adapterEventListeners.end(); tmp++) {
141 if (*tmp == listener) {
142 adapterEventListeners.erase(tmp);
[all...]
H A DListener.cc74 for (ListenerIterator tmp = listeners.begin();
75 tmp != listeners.end(); tmp++) {
76 if (*tmp == this) {
77 listeners.erase(tmp);
99 for (ListenerIterator tmp = listeners.begin();
100 tmp != listeners.end(); tmp++) {
101 if (*tmp == cbh) {
103 return (*tmp);
[all...]
/osnet-11/usr/src/lib/pybootmgmt/i386/
H A Dbootmgmt-helper-chain.ksh92 tmp=/tmp/mnt$$
93 mkdir $tmp
98 mount -o ro ${dev}s$i $tmp 2> /dev/null
103 if [ -f $tmp/etc/release ] ; then
104 if [ ! -f $tmp/platform/i86pc/multiboot ] &&
105 [ -f $tmp/boot/solaris/boot.bin ] ; then
106 release=`head -1 $tmp/etc/release | \
111 umount $tmp > /dev/null 2>&1
115 rmdir $tmp
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dgen_rname.c38 char * tmp; local
47 tmp = *string + strlen(uniq);
49 snprintf(tmp, len - (tmp-*string), "%.2x", address->contents[i] & 0xff);
50 tmp += 2;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/run/
H A Dswitchd.t16 my $filename = 'swdtest.tmp';
38 like($r, qr/^main,swdtest.tmp,9;Foo,swdtest.tmp,5;Foo,swdtest.tmp,6;Foo,swdtest.tmp,6;Bar,swdtest.tmp,2;Bar,swdtest.tmp,2;Bar,swdtest.tmp,2;$/i);
/osnet-11/usr/src/lib/libipmi/common/
H A Dipmi_fru.c58 char *tmp; local
80 if ((tmp = malloc(sz)) == NULL) {
101 free(tmp);
109 free(tmp);
112 (void) memcpy(tmp+offset, (char *)(resp->ic_data)+1, count);
115 *buf = tmp;
124 char *tmp; local
141 tmp = fru_area + (fru_hdr.ifh_product_info_off * 8) + 3;
143 (void) memcpy(&typelen, tmp, sizeof (uint8_t));
145 ipmi_decode_string((typelen >> 6), len, tmp
188 char *tmp; local
[all...]
/osnet-11/usr/src/lib/libpkg/common/
H A Dprogerr.c141 void *tmp; local
143 if ((tmp = (void *) malloc(size)) == NULL) {
147 return (tmp);
167 void *tmp; local
169 if ((tmp = (void *)realloc(ptr, size)) == (void *)NULL) {
173 return (tmp);
191 char *tmp; local
196 if ((tmp = strdup(str)) == NULL) {
200 return (tmp);
/osnet-11/usr/src/lib/libc/amd64/gen/
H A Dmakectxt.c59 greg_t tmp; local
83 tmp = va_arg(ap, long);
86 ucp->uc_mcontext.gregs[REG_RDI] = tmp;
89 ucp->uc_mcontext.gregs[REG_RSI] = tmp;
92 ucp->uc_mcontext.gregs[REG_RDX] = tmp;
95 ucp->uc_mcontext.gregs[REG_RCX] = tmp;
98 ucp->uc_mcontext.gregs[REG_R8] = tmp;
101 ucp->uc_mcontext.gregs[REG_R9] = tmp;
104 *tsp++ = tmp;

Completed in 72 milliseconds

1234567891011>>