/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | putenv.c | 18 char *tmp; local 20 for (tmp = str; *tmp && (*tmp != '='); tmp++) 23 return (setenv(str, tmp, 1));
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | reslist.c | 43 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...] |
/illumos-gate/usr/src/cmd/gss/etc/ |
H A D | dummy_mech_token.conf.sh | 28 cat << EOF > dummy_mech_token.conf.tmp 32 chmod 0644 dummy_mech_token.conf.tmp 33 mv dummy_mech_token.conf.tmp dummy_mech_token.conf
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | puthelp.c | 44 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 D | puterror.c | 48 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...] |
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | lut.c | 81 struct lut **tmp_hdl = &root, *parent = NULL, *tmp = root; local 83 while (tmp) { 85 diff = (*cmp_func)(tmp->lut_lhs, lhs); 87 diff = (const char *)lhs - (const char *)tmp->lut_lhs; 91 tmp->lut_rhs = rhs; 94 tmp_hdl = &(tmp->lut_left); 95 parent = tmp; 96 tmp = tmp->lut_left; 98 tmp_hdl = &(tmp 167 struct lut *tmp = root; local 207 struct lut *tmp = root; local [all...] |
/illumos-gate/usr/src/stand/lib/tcp/ |
H A D | tcp_sack.c | 59 sack_blk_t tmp[MAX_SACK_BLK - 1]; local 78 * Use tmp to hold old SACK blks. After the loop, copy them back 90 tmp[j].begin = head[i].begin; 91 tmp[j].end = head[i].end; 113 * copies the original SACK blk into the tmp storage. Other 115 * tmp storage. 123 head[i+1].begin = tmp[i].begin; 124 head[i+1].end = tmp[i].end; 141 sack_blk_t tmp[MAX_SACK_BLK]; local 150 /* Walk thru the whole list and copy the new list to tmp[] 201 notsack_blk_t *prev, *tmp, *new; local 345 notsack_blk_t *prev, *tmp; local 401 notsack_blk_t *tmp; local [all...] |
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_sack.c | 53 sack_blk_t tmp[MAX_SACK_BLK - 1]; local 72 * Use tmp to hold old SACK blks. After the loop, copy them back 84 tmp[j].begin = head[i].begin; 85 tmp[j].end = head[i].end; 107 * copies the original SACK blk into the tmp storage. Other 109 * tmp storage. 117 head[i+1].begin = tmp[i].begin; 118 head[i+1].end = tmp[i].end; 135 sack_blk_t tmp[MAX_SACK_BLK]; local 144 /* Walk thru the whole list and copy the new list to tmp[] 195 notsack_blk_t *prev, *tmp, *new; local 340 notsack_blk_t *prev, *tmp; local 394 notsack_blk_t *tmp; local [all...] |
/illumos-gate/usr/src/lib/libast/common/path/ |
H A D | pathtemp.c | 56 * / 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:__anon2659 125 tmp.manual = 1; 126 if (tmp.dir && !*tmp.dir++) 127 tmp.dir = tmp [all...] |
/illumos-gate/usr/src/cmd/spell/ |
H A D | compress.sh | 30 trap 'rm -f /usr/tmp/spellhist;exit' 1 2 3 15 31 echo "COMPRESSED `date`" > /usr/tmp/spellhist 32 grep -v ' ' /var/adm/spellhist | sort -fud >> /usr/tmp/spellhist 33 cp /usr/tmp/spellhist /var/adm 34 rm -f /usr/tmp/spellhist
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | time_util.c | 42 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...] |
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | hash.c | 66 hash_entry *tmp, *new; local 69 tmp = tbl->table[bucket = hash_string(key, tbl->size)]; 71 tmp = tbl->table[bucket = labs((long)key) % tbl->size]; 75 while (tmp != NULL) { 76 if (strcmp(tmp->key, key) == 0) { 77 return (&tmp->data); 79 tmp = tmp->next_entry; 82 while (tmp != NULL) { 83 if (tmp 116 hash_entry *tmp; local 140 hash_entry * tmp, * prev = NULL; local 203 hash_entry *tmp = tbl->start; local 217 hash_entry *tmp = tbl->start; local 231 hash_entry * tmp = tbl->start, * prev; local [all...] |
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | lmul.c | 40 dl_t tmp; local 48 tmp = lshiftl(lop, jj); 49 tmp.dl_hop &= 0x7fffffff; 50 ans = ladd(ans, tmp);
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vc_pow.c | 41 int stridey, float * restrict z, int stridez, float * restrict tmp) 46 __vc_log(n, x, stridex, tmp, 1); 51 r = y[j] * tmp[k] - y[j+1] * tmp[k+1]; 52 tmp[k+1] = y[j+1] * tmp[k] + y[j] * tmp[k+1]; 53 tmp[k] = r; 55 __vc_exp(n, tmp, 1, z, stridez, tmp 40 __vc_pow(int n, float * restrict x, int stridex, float * restrict y, int stridey, float * restrict z, int stridez, float * restrict tmp) argument [all...] |
H A D | __vz_pow.c | 41 int stridey, double * restrict z, int stridez, double * restrict tmp) 46 __vz_log(n, x, stridex, tmp, 1); 51 r = y[j] * tmp[k] - y[j+1] * tmp[k+1]; 52 tmp[k+1] = y[j+1] * tmp[k] + y[j] * tmp[k+1]; 53 tmp[k] = r; 55 __vz_exp(n, tmp, 1, z, stridez, tmp 40 __vz_pow(int n, double * restrict x, int stridex, double * restrict y, int stridey, double * restrict z, int stridez, double * restrict tmp) argument [all...] |
H A D | vz_exp_.c | 37 double *tmp) 39 __vz_exp(*n, x, *stridex, y, *stridey, tmp); 36 __vz_exp_(int *n, double *x, int *stridex, double *y, int *stridey, double *tmp) argument
|
H A D | vc_exp_.c | 37 float *tmp) 39 __vc_exp(*n, x, *stridex, y, *stridey, tmp); 36 __vc_exp_(int *n, float *x, int *stridex, float *y, int *stridey, float *tmp) argument
|
/illumos-gate/usr/src/uts/common/klm/ |
H A D | Makefile | 35 $(RPCGEN) $(RPCGENFLAGS) -l -o $@.tmp $(NLM_PROT_X) 36 sed -f nlm_prot_clnt.sed < $@.tmp > $@ 37 $(RM) -f $@.tmp 40 $(RPCGEN) $(RPCGENFLAGS) -c -o $@.tmp $(NLM_PROT_X) 41 sed -e $(SED_INCL) < $@.tmp > $@ 42 $(RM) -f $@.tmp 45 $(RPCGEN) $(RPCGENFLAGS) -l -o $@.tmp $(SM_INTER_X) 46 sed -f sm_inter_clnt.sed < $@.tmp > $@ 47 $(RM) -f $@.tmp 50 $(RPCGEN) $(RPCGENFLAGS) -c -o $@.tmp [all...] |
/illumos-gate/usr/src/lib/libast/common/features/ |
H A D | sig.sh | 30 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
|
/illumos-gate/usr/src/tools/protocmp/ |
H A D | depend.c | 50 pkg_list *tmp; local 53 for (tmp = packages[bucket]; tmp != NULL; tmp = tmp->next) { 54 if (strcmp(tmp->pkg_name, pkgname) == 0) 64 pkg_list *tmp; local 67 tmp = malloc(sizeof (pkg_list)); 68 bzero(tmp, sizeof (pkg_list)); 69 (void) strcpy(tmp 77 pkg_list *tmp; local 98 pkg_list *tmp; local 112 pkg_list *tmp; local 223 pkg_list *tmp; local [all...] |
/illumos-gate/usr/src/test/os-tests/tests/secflags/ |
H A D | secflags_proc.sh | 23 rm /tmp/output.$$ 24 rm /tmp/expected.$$ 29 cat > /tmp/expected.$$ <<EOF 35 /usr/bin/psecflags $pid | grep -v '[LU]:' > /tmp/output.$$ 37 if ! diff -u /tmp/expected.$$ /tmp/output.$$; then
|
H A D | secflags_truss.sh | 18 cd /tmp; 21 rm /tmp/output.$$ 22 rm /tmp/expected.$$ 27 cat > /tmp/expected.$$ <<EOF 34 if ! grep -qEf /tmp/expected.$$ /tmp/output.$$; then
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/ |
H A D | xattr_common.kshlib | 56 runat $FILE1 cat $XATTR_NAME > /tmp/file1.$$ 57 runat $FILE2 cat $XATTR_NAME > /tmp/file2.$$ 59 log_must diff /tmp/file1.$$ /tmp/file2.$$ 60 log_must rm /tmp/file1.$$ /tmp/file2.$$ 69 log_must eval "runat $FILE cat $XATTR_NAME > /tmp/$XATTR_NAME.$$ 2>&1" 70 log_must diff $XATTR_CONTENTS /tmp/$XATTR_NAME.$$ 71 rm /tmp/$XATTR_NAME.$$ 89 log_must eval "runat $FILE cat $XATTR_NAME > /tmp/ [all...] |
/illumos-gate/usr/src/cmd/vi/ |
H A D | PRESERVE | 33 exfiles=`echo /var/tmp/Ex*` 34 [ "$exfiles" != '/var/tmp/Ex*' ] && /usr/lib/expreserve -
|
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | shareutil.c | 48 struct options *newopt, *tmp, *optlist; local 76 for (tmp = optlist; tmp->next != NULL; 77 tmp = tmp->next) { 83 if (strcmp(tmp->optname, optname) == 0) { 84 tmp->optvalue = optvalue; 89 tmp->next = newopt;
|