/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/ |
H A D | astlicense.c | 525 tmp.end = (tmp.buf = tmp.nxt = tmpbuf) + sizeof(tmpbuf); in astlicense() 814 comment(¬ice, &buf, BUF(&tmp), USE(&tmp), 0); in astlicense() 819 comment(¬ice, &buf, BUF(&tmp), USE(&tmp), 0); in astlicense() 827 comment(¬ice, &buf, BUF(&tmp), USE(&tmp), 0); in astlicense() 837 comment(¬ice, &buf, BUF(&tmp), USE(&tmp), 0); in astlicense() 857 comment(¬ice, &buf, BUF(&tmp), USE(&tmp), 0); in astlicense() 864 comment(¬ice, &buf, BUF(&tmp), USE(&tmp), 0); in astlicense() 883 comment(¬ice, &buf, BUF(&tmp), USE(&tmp), 0); in astlicense() 892 comment(¬ice, &buf, BUF(&tmp), USE(&tmp), 0); in astlicense() 902 comment(¬ice, &buf, BUF(&tmp), USE(&tmp), 0); in astlicense() [all …]
|
/illumos-gate/usr/src/lib/libuuid/common/ |
H A D | uuid.c | 249 FILE *tmp; in map_state() local 326 tmp >>= 8; in struct_to_string() 328 tmp >>= 8; in struct_to_string() 330 tmp >>= 8; in struct_to_string() 335 tmp >>= 8; in struct_to_string() 340 tmp >>= 8; in struct_to_string() 364 tmp = (tmp << 8) | *ptr++; in string_to_struct() 365 tmp = (tmp << 8) | *ptr++; in string_to_struct() 366 tmp = (tmp << 8) | *ptr++; in string_to_struct() 370 tmp = (tmp << 8) | *ptr++; in string_to_struct() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_zero_to_err_ptr.c | 52 struct expression *tmp; in next_line_checks_IS_ERR() local 55 if (tmp && tmp->type == EXPR_ASSIGNMENT) { in next_line_checks_IS_ERR() 79 struct data_range *tmp; in is_non_zero_int() local 82 FOR_EACH_PTR(rl, tmp) { in is_non_zero_int() 95 } END_FOR_EACH_PTR(tmp); in is_non_zero_int() 113 struct data_range *tmp; in has_distinct_zero() local 115 FOR_EACH_PTR(rl, tmp) { in has_distinct_zero() 116 if (tmp->min.value == 0 || tmp->max.value == 0) in has_distinct_zero() 118 } END_FOR_EACH_PTR(tmp); in has_distinct_zero() 125 struct sm_state *sm, *tmp; in match_err_ptr() local [all …]
|
H A D | smatch_string_list.c | 22 char *tmp; in list_has_string() local 29 cmp = strcmp(tmp, str); in list_has_string() 35 } END_FOR_EACH_PTR(tmp); in list_has_string() 42 char *tmp; in insert_string() local 46 cmp = strcmp(tmp, new); in insert_string() 55 } END_FOR_EACH_PTR(tmp); in insert_string() 63 char *tmp; in clone_str_list() local 68 } END_FOR_EACH_PTR(tmp); in clone_str_list() 75 char *tmp; in combine_string_lists() local 78 FOR_EACH_PTR(two, tmp) { in combine_string_lists() [all …]
|
H A D | smatch_ranges.c | 90 } else if (sval_cmp(tmp->min, tmp->max) == 0) { in show_rl() 670 if (sval_cmp(tmp->min, tmp->max) > 0) in rl_is_sane() 874 add_range(&new_rl, tmp->min, tmp->max); in collapse_pointer_rl() 1040 add_range(&ret, tmp->min, tmp->max); in rl_union() 1043 add_range(&ret, tmp->min, tmp->max); in rl_union() 1066 add_range(&ret, tmp->min, tmp->max); in remove_range() 1070 add_range(&ret, tmp->min, tmp->max); in remove_range() 1473 if (tmp->min.value || tmp->max.value) in cast_to_bool() 1649 add_range(&ret, tmp->min, tmp->max); in get_neg_rl() 1670 add_range(&ret, tmp->min, tmp->max); in get_pos_rl() [all …]
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | HBAList.cc | 120 HBA *tmp = hbas[index]; in openHBA() local 236 HBA *tmp; in openHBA() local 239 tmp = hbas[i]; in openHBA() 241 tmp->validatePresent(); in openHBA() 267 HBA *tmp; in openTgtHBA() local 270 tmp = tgthbas[i]; in openTgtHBA() 272 tmp->validatePresent(); in openTgtHBA() 304 vector<HBA*> tmp; in getNumberofAdapters() local 316 delete (tmp[i]); in getNumberofAdapters() 359 vector<HBA*> tmp; in getNumberofTgtAdapters() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | iffe.sh | 535 if compile $cc -o ${tmp}r.exe ${tmp}r.c >&$nullout 697 tmp=F$tmp 3098 n) sed '/^#/d' $tmp.h > $tmp.c 3102 sed 's,/\*[^/]*\*/, ,g' $tmp.h > $tmp.c 3106 if cmp -s $tmp.c $tmp.t 3430 compile $cc -o ${tmp}s.exe ${tmp}s.o <&$nullin >&$nullout 2>${tmp}s.e && 3441 …compile $cc -o ${tmp}s.exe $1 ${tmp}s.o <&$nullin >&$nullout 2>${tmp}s.e && $executable ${tmp}s.ex… 3448 …compile $cc -o ${tmp}s.exe $2 ${tmp}s.o <&$nullin >&$nullout 2>${tmp}s.e && $executable ${tmp}s.ex… 3558 if compile $cc -o $tmp.exe $tmp.c <&$nullin >&$nullout && $executable $tmp.exe 4428 rm -f $tmp.exe $tmp.dat [all …]
|
H A D | proto.c | 2168 …comment(¬ice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp… 2173 …comment(¬ice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp… 2181 …comment(¬ice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp… 2191 …comment(¬ice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp… 2211 …comment(¬ice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp… 2218 …comment(¬ice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp… 2237 …comment(¬ice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp… 2246 …comment(¬ice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp… 2256 …comment(¬ice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp… 2267 …comment(¬ice, &buf, (( &tmp)->buf), (( &tmp)->siz=( &tmp)->nxt-( &tmp)->buf,( &tmp)->nxt=( &tmp… [all …]
|
/illumos-gate/usr/src/uts/common/io/zyd/ |
H A D | zyd_hw.c | 82 tmp, sizeof (tmp)); in zyd_read32() 87 if (tmp[0] != regs[0] || tmp[2] != regs[1]) { in zyd_read32() 91 LE_16(tmp[0]), LE_16(tmp[2])); in zyd_read32() 140 tmp, sizeof (tmp)); in zyd_read16() 209 uint32_t tmp; in zyd_lock_phy() local 222 uint32_t tmp; in zyd_unlock_phy() local 235 uint32_t tmp; in zyd_read_mac() local 262 uint16_t tmp; in zyd_rfwrite() local 297 uint32_t tmp; in zyd_set_led() local 312 uint32_t tmp; in zyd_set_macaddr() local [all …]
|
/illumos-gate/usr/src/uts/common/klm/ |
H A D | Makefile | 36 sed -f nlm_prot_clnt.sed < $@.tmp > $@ 37 $(RM) -f $@.tmp 41 sed -e $(SED_INCL) < $@.tmp > $@ 42 $(RM) -f $@.tmp 46 sed -f sm_inter_clnt.sed < $@.tmp > $@ 47 $(RM) -f $@.tmp 51 sed -e $(SED_INCL) < $@.tmp > $@ 52 $(RM) -f $@.tmp 57 $(RM) -f $@.tmp 61 sed -e $(SED_INCL) < $@.tmp > $@ [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | puthelp.c | 43 char *tmp; in puthelp() local 46 tmp = NULL; in puthelp() 56 (void) strcat(tmp, "\n"); in puthelp() 58 (void) strcat(tmp, help); in puthelp() 59 help = tmp; in puthelp() 63 (void) strcpy(tmp, help); in puthelp() 64 tmp[n-1] = '\0'; in puthelp() 65 (void) strcat(tmp, "\n"); in puthelp() 67 help = tmp; in puthelp() 72 if (tmp) in puthelp() [all …]
|
/illumos-gate/usr/src/data/ucode/ |
H A D | update.amd | 68 tmp=$(mktemp -d) 69 [[ -n "$tmp" && -d "$tmp" ]] 74 mkdir -m 0700 $tmp/gnupg 105 mkdir $tmp/out/$bf 106 cp $f $tmp/amd-fw 107 $UCODEADM -l $tmp/amd-fw 108 $UCODEADM -i -R $tmp/out/$bf $tmp/amd-fw 109 rm -f $tmp/amd-fw 113 cp $tmp/out/*/*-?? amd/ 130 mv $mf $mf.tmp [all …]
|
H A D | update.intel | 58 tmp=$(mktemp -d) 59 [[ -n "$tmp" && -d "$tmp" ]] 64 $GTAR -C $tmp -xvf "$ucodetar" 72 cp $f $tmp/intel-fw 73 $UCODEADM -i -R $tmp/out $tmp/intel-fw 74 rm -f $tmp/intel-fw 78 mv $mf $mf.tmp 79 egrep -v "(file|hardlink) path=$FW" $mf.tmp > $mf 80 rm -f $mf.tmp 84 cp $tmp/$path/license intel/THIRDPARTYLICENSE [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_print.c | 108 char tmp[100]; in ns_sprintrrf() local 204 len = SPRINTF((tmp, "%lu", t)); in ns_sprintrrf() 763 tmp[2] = tmp[3] = tmp[4] = '='; in ns_sprintrrf() 764 tmp[5] = tmp[6] = tmp[7] = '='; in ns_sprintrrf() 772 tmp[4] = tmp[5] = tmp[6] = tmp[7] = '='; in ns_sprintrrf() 782 tmp[5] = tmp[6] = tmp[7] = '='; in ns_sprintrrf() 795 tmp[7] = '='; in ns_sprintrrf() 1051 p = tmp; in ns_sprintrrf() 1057 T(addstr(tmp, p - tmp, &buf, &buflen)); in ns_sprintrrf() 1062 p = tmp; in ns_sprintrrf() [all …]
|
/illumos-gate/usr/src/lib/libfruutils/ |
H A D | fru_tag.c | 162 fru_tag_t tmp; in get_tag_type() local 174 tmp.raw_data = tmp32; in get_tag_type() 182 tmp.raw_data = tmp32; in get_tag_type() 192 tmp.raw_data = tmp64; in get_tag_type() 229 fru_tag_t tmp; in get_tag_dense() local 231 tmp = *tag; in get_tag_dense() 237 return (tmp.b.dense); in get_tag_dense() 240 return (tmp.c.dense); in get_tag_dense() 244 tmp.raw_data = tmp32; in get_tag_dense() 302 fru_tag_t tmp; in get_payload_length() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | functions.sh | 93 > $tmp/test1 123 cd $tmp 161 if ! $tmp/script 223 FPATH=$tmp 385 dir=$tmp/dir 747 cat $tmp/data1 >> $tmp/script 749 $SHELL -c $tmp/script > $tmp/data2 1031 [[ $(tmp=$tmp $SHELL <<- \++++ 1046 FPATH=$tmp 1053 ${SHCOMP:-${SHELL%/*}/shcomp} $tmp/foo > $tmp/foo.sh [all …]
|
H A D | namespace.sh | 32 trap "cd /; rm -rf $tmp" EXIT 46 mkdir -p $tmp/global/bin $tmp/local/bin 47 cat > $tmp/global/xfun <<- \EOF 53 cat > $tmp/local/xfun <<- \EOF 59 chmod +x "$tmp/global/xfun" "$tmp/local/xfun" 60 print 'print local prog $1' > $tmp/local/bin/run 62 chmod +x "$tmp/local/bin/run" "$tmp/global/bin/run" 63 PATH=$tmp/global/bin:$PATH 64 FPATH=$tmp/global 91 PATH=$tmp/local/bin:/bin [all …]
|
/illumos-gate/usr/src/cmd/dircmp/ |
H A D | dircmp.sh | 31 TEMPDIR=`mktemp -d /var/tmp/dir.XXXXXX` 176 while read -u3 tmp tmp tmp fsize1 tmp tmp tmp a && 177 read -u4 tmp tmp tmp fsize2 tmp tmp tmp b; do 192 read -u3 tmp tmp tmp fsize1 tmp tmp tmp a 199 read -u4 tmp tmp tmp fsize2 tmp tmp tmp b
|
/illumos-gate/usr/src/cmd/print/conv_fix/ |
H A D | conv_fix.c | 53 char entry[BUFSIZ], *tmp; in _file_getline() local 57 tmp = entry; in _file_getline() 60 while (fgets(tmp, size, fp)) { in _file_getline() 61 if ((tmp == entry) && ((*tmp == '#') || (*tmp == '\n'))) { in _file_getline() 64 if ((*tmp == '#') || (*tmp == '\n')) { in _file_getline() 65 *tmp = '\0'; in _file_getline() 69 size -= strlen(tmp); in _file_getline() 70 tmp += strlen(tmp); in _file_getline() 72 if (*(tmp-2) != '\\') in _file_getline() 76 tmp -= 2; in _file_getline() [all …]
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pci_mech2.c | 78 uint8_t tmp; in pci_mech2_getb() local 86 pci_mech2_config_restore(tmp); in pci_mech2_getb() 94 uint8_t tmp; in pci_mech2_getw() local 102 pci_mech2_config_restore(tmp); in pci_mech2_getw() 110 uint8_t tmp; in pci_mech2_getl() local 118 pci_mech2_config_restore(tmp); in pci_mech2_getl() 126 uint8_t tmp; in pci_mech2_putb() local 133 pci_mech2_config_restore(tmp); in pci_mech2_putb() 139 uint8_t tmp; in pci_mech2_putw() local 146 pci_mech2_config_restore(tmp); in pci_mech2_putw() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softASN1.c | 1052 free(tmp.big_value); 1075 free(tmp.big_value); 1098 free(tmp.big_value); 1121 free(tmp.big_value); 1144 free(tmp.big_value); 1167 free(tmp.big_value); 1190 free(tmp.big_value); 1214 free(tmp.big_value); 1332 free(tmp.big_value); 1355 free(tmp.big_value); [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | reslist.c | 41 LDAPMessage *tmp, *prev = NULL; in ldap_delete_result_entry() local 43 for ( tmp = *list; tmp != NULL && tmp != e; tmp = tmp->lm_chain ) in ldap_delete_result_entry() 44 prev = tmp; in ldap_delete_result_entry() 46 if ( tmp == NULL ) in ldap_delete_result_entry() 50 *list = tmp->lm_chain; in ldap_delete_result_entry() 52 prev->lm_chain = tmp->lm_chain; in ldap_delete_result_entry() 53 tmp->lm_chain = NULL; in ldap_delete_result_entry() 55 return( tmp ); in ldap_delete_result_entry()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_pass.c | 195 strfree(tmp->srvdom); in smb_pkey_delete() 196 strfree(tmp->username); in smb_pkey_delete() 197 kmem_free(tmp, sizeof (*tmp)); in smb_pkey_delete() 211 tmp = &buf; in smb_pkey_del() 219 tmp->uid = uid; in smb_pkey_del() 221 tmp->srvdom = pk->pk_dom; in smb_pkey_del() 253 for (tmp = avl_first(&smb_ptd); tmp != NULL; in smb_pkey_deluid() 254 tmp = cpid) { in smb_pkey_deluid() 261 smb_pkey_delete(tmp); in smb_pkey_deluid() 313 if (tmp == NULL) { in smb_pkey_add() [all …]
|
/illumos-gate/usr/src/cmd/zdump/ |
H A D | zdump.c | 123 tm = *tmp; 142 return (tmp); 293 tm = *tmp; 308 if ((tmp == NULL || newtmp == NULL) ? (tmp != newtmp) : 453 tm = *tmp; 454 if ((lotmp == NULL || tmp == NULL) ? (lotmp == tmp) : 515 dumptime(tmp); 527 if (tmp != NULL && *abbr(tmp) != '\0') 532 abbr(tmp) in abbr() argument 533 struct tm *tmp; in abbr() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | eloop.c | 44 struct eloop_sock *tmp; in eloop_register_read_sock() local 48 if (tmp == NULL) in eloop_register_read_sock() 56 eloop.readers = tmp; in eloop_register_read_sock() 116 tmp = eloop.timeout; in eloop_register_timeout() 117 while (tmp != NULL) { in eloop_register_timeout() 120 prev = tmp; in eloop_register_timeout() 121 tmp = tmp->next; in eloop_register_timeout() 215 if (tmp == NULL) in eloop_register_signal() 223 eloop.signals = tmp; in eloop_register_signal() 272 tmp->handler(tmp->eloop_data, tmp->user_data); in eloop_run() [all …]
|