Home
last modified time | relevance | path

Searched refs:tmp (Results 176 – 200 of 1823) sorted by relevance

12345678910>>...73

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dctl_p.c103 char tmp[INET6_ADDRSTRLEN]; in ctl_sa_ntop() local
110 if (inet_ntop(in6->sin6_family, &in6->sin6_addr, tmp, sizeof tmp) in ctl_sa_ntop()
117 if (strlen(tmp) + sizeof "[].65535" > size) { in ctl_sa_ntop()
121 (void) sprintf(buf, "[%s].%u", tmp, ntohs(in6->sin6_port)); in ctl_sa_ntop()
128 if (inet_ntop(in->sin_family, &in->sin_addr, tmp, sizeof tmp) in ctl_sa_ntop()
136 if (strlen(tmp) + sizeof "[].65535" > size) { in ctl_sa_ntop()
140 (void) sprintf(buf, "[%s].%u", tmp, ntohs(in->sin_port)); in ctl_sa_ntop()
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_dev_queue_xmit.c38 struct expression *tmp; in valid_use() local
42 FOR_EACH_PTR_REVERSE(big_expression_stack, tmp) { in valid_use()
45 if (tmp->type == EXPR_PREOP && tmp->op == '(') in valid_use()
47 if (tmp->op == '.' && !dot_ops++) in valid_use()
51 if (tmp->type == EXPR_CALL && sym_name_is("kfree_skb", tmp->fn)) in valid_use()
54 } END_FOR_EACH_PTR_REVERSE(tmp); in valid_use()
H A Dcheck_rosenberg.c63 struct symbol *tmp, *base_type; in check_struct() local
72 base_type = get_real_base_type(tmp); in check_struct()
78 if (!tmp->ctype.alignment) { in check_struct()
87 else if (type_bits(tmp) <= 0) in check_struct()
90 align += type_bytes(tmp); in check_struct()
92 if (tmp->ident) in check_struct()
93 prev = tmp->ident->name; in check_struct()
96 } END_FOR_EACH_PTR(tmp); in check_struct()
198 struct symbol *tmp; in check_members_initialized() local
222 } END_FOR_EACH_PTR(tmp); in check_members_initialized()
[all …]
H A Dsmatch_param_limit.c136 struct sm_state *tmp; in print_return_value_param() local
141 FOR_EACH_MY_SM(SMATCH_EXTRA, __get_cur_stree(), tmp) { in print_return_value_param()
142 param = get_param_num_from_sym(tmp->sym); in print_return_value_param()
146 param_name = get_param_name(tmp); in print_return_value_param()
150 state = __get_state(my_id, tmp->name, tmp->sym); in print_return_value_param()
152 state = tmp->state; in print_return_value_param()
156 old = get_state_stree(start_states, SMATCH_EXTRA, tmp->name, tmp->sym); in print_return_value_param()
166 } END_FOR_EACH_SM(tmp); in print_return_value_param()
H A Dsmatch_parsed_conditions.c93 struct sm_state *sm, *tmp; in parsed_condition_implication_hook() local
108 FOR_EACH_PTR(tmp_true, tmp) { in parsed_condition_implication_hook()
109 add_ptr_list(true_stack, tmp); in parsed_condition_implication_hook()
110 } END_FOR_EACH_PTR(tmp); in parsed_condition_implication_hook()
112 FOR_EACH_PTR(tmp_false, tmp) { in parsed_condition_implication_hook()
113 add_ptr_list(false_stack, tmp); in parsed_condition_implication_hook()
114 } END_FOR_EACH_PTR(tmp); in parsed_condition_implication_hook()
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dnet-svc140 /usr/bin/nawk </etc/resolv.conf >/tmp/resolv.conf.$$ '
159 mv_file /tmp/resolv.conf.$$ /etc/resolv.conf 644
196 >/tmp/nsswitch.conf.$$
198 mv_file /tmp/nsswitch.conf.$$ /etc/nsswitch.conf 644
212 /etc/nsswitch.conf >/tmp/nsswitch.conf.$$
214 mv_file /tmp/nsswitch.conf.$$ /etc/nsswitch.conf 644
227 }' /etc/inet/hosts > /tmp/hosts.$$
228 mv_file /tmp/hosts.$$ /etc/inet/hosts 444
H A Drmtmpfiles47 if [ -h /tmp ]; then
49 /usr/bin/rm -rf /tmp/*
51 /usr/bin/rm -rf /tmp
52 /usr/bin/mkdir -m 1777 /tmp
53 /usr/bin/chown root:sys /tmp
73 cd /var/tmp || exit 0
/illumos-gate/usr/src/cmd/mailx/
H A Dmyfopen.c77 register NODE *tmp; in search() local
79 for (tmp = fplist; tmp != (NODE *)NULL; tmp = tmp->next) in search()
80 if (tmp->fp == fp) in search()
82 return( tmp != (NODE *)NULL ? tmp : NOFP); in search()
/illumos-gate/usr/src/uts/common/io/
H A Dtelmod.c945 unsigned char *tmp; in rcv_parse() local
1002 tmp = mp->b_rptr; in rcv_parse()
1023 ASSERT(tmp >= in rcv_parse()
1086 if ((tmp[0] == '\r') && ((tmp[1] == '\n') || in rcv_parse()
1094 bcopy(tmp + 2, tmp + 1, in rcv_parse()
1105 tmp++; in rcv_parse()
1162 tmp = mp->b_rptr; in snd_parse()
1165 *tmp1++ = *tmp; in snd_parse()
1177 if ((tmp[0] == '\r') && (tmp[1] != '\n')) { in snd_parse()
1181 *tmp1++ = *tmp; in snd_parse()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dasn1.c760 CK_BYTE * tmp = NULL; in ber_encode_PrivateKeyInfo() local
805 (void) memcpy(buf + len, tmp, total); in ber_encode_PrivateKeyInfo()
807 free(tmp); in ber_encode_PrivateKeyInfo()
812 rc = ber_encode_OCTET_STRING(FALSE, &tmp, &total, in ber_encode_PrivateKeyInfo()
817 (void) memcpy(buf + len, tmp, total); in ber_encode_PrivateKeyInfo()
819 free(tmp); in ber_encode_PrivateKeyInfo()
1076 CK_BYTE *tmp = NULL; in ber_decode_RSAPrivateKey() local
1163 rc = build_attribute(CKA_MODULUS, tmp, len, &n_attr); in ber_decode_RSAPrivateKey()
1196 rc = build_attribute(CKA_PRIME_1, tmp, len, &p_attr); in ber_decode_RSAPrivateKey()
1207 rc = build_attribute(CKA_PRIME_2, tmp, len, &q_attr); in ber_decode_RSAPrivateKey()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_swap/
H A Dzvol_swap_003_pos.ksh52 [[ -f /tmp/$TESTFILE ]] && log_must rm -f /tmp/$TESTFILE
71 NEW_VFSTAB_FILE=/var/tmp/zvol_vfstab.$$
72 PREV_VFSTAB_FILE=/var/tmp/zvol_vfstab.PREV.$$
84 log_must file_write -o create -f /tmp/$TESTFILE \
87 [[ ! -f /tmp/$TESTFILE ]] &&
90 filesize=`ls -l /tmp/$TESTFILE | awk '{print $5}'`
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_wait.c65 waiter_t *tmp = wchan->w_next; in nscd_signal() local
67 while (tmp) { in nscd_signal()
68 if (tmp->w_key == entry) { in nscd_signal()
69 (void) cond_signal(&(tmp->w_waitcv)); in nscd_signal()
70 tmp->w_signaled = 1; in nscd_signal()
77 tmp = tmp->w_next; in nscd_signal()
/illumos-gate/usr/src/lib/libcommputil/common/
H A Dsdp.c279 ++tmp; in sdp_find_media_rtpmap()
439 tmp = *conn; in sdp_add_connection()
441 tmp = tmp->c_next; in sdp_add_connection()
474 tmp = *bw; in sdp_add_bandwidth()
476 tmp = tmp->b_next; in sdp_add_bandwidth()
509 tmp = tmp->t_next; in sdp_add_time()
545 tmp = tmp->r_next; in sdp_add_repeat()
581 tmp = tmp->z_next; in sdp_add_zone()
647 tmp = *attr; in sdp_add_attribute()
652 tmp = tmp->a_next; in sdp_add_attribute()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audioens/
H A Daudioens.c565 uint32_t tmp; in audioens_start() local
621 tmp |= CONC_PCM_ADC_16BIT; in audioens_start()
622 tmp |= CONC_PCM_ADC_STEREO; in audioens_start()
770 int tmp; in audioens_init_hw() local
780 tmp |= 0x20; in audioens_init_hw()
793 PUT8(dev, CONC_bDEVCTL_OFF, tmp); in audioens_init_hw()
1140 int tmp; in audioens_detach() local
1150 PUT8(dev, CONC_bSERCTL_OFF, tmp); in audioens_detach()
1151 PUT8(dev, CONC_bSERCTL_OFF, tmp); in audioens_detach()
1152 PUT8(dev, CONC_bSERCTL_OFF, tmp); in audioens_detach()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetvfsent.c45 #define GETTOK_R(xx, ll, tmp)\ argument
46 if ((vp->xx = (char *)strtok_r(ll, sepstr, tmp)) == NULL)\
172 char *tmp, *line; in getvfsent() local
183 GETTOK_R(vfs_special, line, &tmp); in getvfsent()
184 GETTOK_R(vfs_fsckdev, NULL, &tmp); in getvfsent()
185 GETTOK_R(vfs_mountp, NULL, &tmp); in getvfsent()
186 GETTOK_R(vfs_fstype, NULL, &tmp); in getvfsent()
187 GETTOK_R(vfs_fsckpass, NULL, &tmp); in getvfsent()
188 GETTOK_R(vfs_automnt, NULL, &tmp); in getvfsent()
189 GETTOK_R(vfs_mntopts, NULL, &tmp); in getvfsent()
[all …]
/illumos-gate/usr/src/lib/pam_modules/dhkeys/
H A Dkey_call_uid.c196 key_netstarg tmp; in key_setnet_g_uid() local
199 (void) memcpy(&tmp.st_priv_key, skey, in key_setnet_g_uid()
200 sizeof (tmp.st_priv_key)); in key_setnet_g_uid()
202 (void) memset(&tmp.st_priv_key, 0, in key_setnet_g_uid()
203 sizeof (tmp.st_priv_key)); in key_setnet_g_uid()
206 (void) memcpy(&tmp.st_pub_key, skey, in key_setnet_g_uid()
207 sizeof (tmp.st_pub_key)); in key_setnet_g_uid()
209 (void) memset(&tmp.st_pub_key, 0, in key_setnet_g_uid()
210 sizeof (tmp.st_pub_key)); in key_setnet_g_uid()
212 tmp.st_netname = (char *)netname; in key_setnet_g_uid()
[all …]
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dmisc.c139 char * tmp; in parse_dest() local
146 tmp = (char *)strtok_r(dest, sep, &nexttok); in parse_dest()
147 if (tmp != NULL) in parse_dest()
148 *str1 = strdup(tmp); in parse_dest()
149 tmp = (char *)strtok_r(NULL, sep, &nexttok); in parse_dest()
150 if (tmp != NULL) in parse_dest()
151 *str2 = strdup(tmp); in parse_dest()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Domitted.c456 char tmp[PATH_MAX]; in runve() local
549 s = pathcat(s, ':', NiL, "", tmp, sizeof(tmp)); in runve()
550 if (streq(tmp, "/usr/bin/") || streq(tmp, "/bin/")) in runve()
559 snprintf(tmp, sizeof(tmp), "%s:/bin", *(p - 1)); in runve()
560 *(p - 1) = tmp; in runve()
873 char tmp[MAX_PATH]; in unlink() local
937 snprintf(tmp, sizeof(tmp), deleted, drive, base, suffix); in unlink()
946 if (sysaccess(tmp, 0)) in unlink()
950 if (sysaccess(tmp, 0) && mkdir(tmp, S_IRWXU|S_IRWXG|S_IRWXO)) in unlink()
981 snprintf(tmp, sizeof(tmp), deleted, drive, base, suffix); in unlink()
[all …]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dfwrite.c153 char *tmp = (char *)iop->_ptr; in _fwrite_unlocked() local
157 *tmp++ = *dptr++; in _fwrite_unlocked()
160 *tmp++ = *dptr++; in _fwrite_unlocked()
163 *tmp++ = *dptr++; in _fwrite_unlocked()
166 *tmp++ = *dptr++; in _fwrite_unlocked()
169 *tmp++ = *dptr++; in _fwrite_unlocked()
172 *tmp++ = *dptr++; in _fwrite_unlocked()
175 *tmp++ = *dptr++; in _fwrite_unlocked()
178 *tmp++ = *dptr++; in _fwrite_unlocked()
/illumos-gate/usr/src/common/bignum/
H A Dbignumimpl.c1773 tmp = tmp - n; in big_n0()
1777 tmp = tmp >> 1; in big_n0()
1970 tmp, tmp, n, n0)) != in big_modexp_ncp_int()
1982 tmp, tmp, n, n0)) != in big_modexp_ncp_int()
1998 if ((err = big_mont_mul(tmp, tmp, tmp, n, n0)) != BIG_OK) { in big_modexp_ncp_int()
2003 if ((err = big_mont_mul(tmp, tmp, in big_modexp_ncp_int()
2741 (void) big_add_abs(&tmp, &tmp, n); in big_Lucas()
2742 (void) big_sub_pos(&tmp, &tmp, p); in big_Lucas()
2781 if (tmp.malloced) big_finish(&tmp); in big_Lucas()
2869 if ((err = big_mul(&tmp, &tmp, &tmp)) != BIG_OK) { in big_isprime_pos_ext()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiols/
H A Daudiols.c273 if (tmp & 0x200) in audigyls_i2c_write()
282 unsigned int tmp; in audigyls_spi_write() local
337 uint32_t tmp; in audigyls_start() local
356 tmp |= SA_SPA(0); in audigyls_start()
357 tmp |= SA_SPA(1); in audigyls_start()
358 tmp |= SA_SPA(3); in audigyls_start()
367 tmp |= SA_SRA(2); in audigyls_start()
381 uint32_t tmp; in audigyls_stop() local
388 tmp &= ~SA_SPA(0); in audigyls_stop()
389 tmp &= ~SA_SPA(1); in audigyls_stop()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_conf.c438 for (tmp = ibcfg_port_head; tmp->next != NULL; ) in ib_service_record_add()
439 tmp = tmp->next; in ib_service_record_add()
446 for (tmp = ibcfg_vppa_head; tmp->next != NULL; ) in ib_service_record_add()
447 tmp = tmp->next; in ib_service_record_add()
454 for (tmp = ibcfg_hca_head; tmp->next != NULL; ) in ib_service_record_add()
455 tmp = tmp->next; in ib_service_record_add()
653 tmp = recp; in ib_free_service_recs()
655 S_FREE(tmp); in ib_free_service_recs()
661 tmp = recp; in ib_free_service_recs()
663 S_FREE(tmp); in ib_free_service_recs()
[all …]
/illumos-gate/usr/src/cmd/sgs/lorder/
H A Dlorder.sh37 trap "rm -f $TDIR/$$symdef $TDIR/$$symref $TDIR/$$tmp; exit" 1 2 13 15
88 ${WHERE}/${PFX}nm -p $* 2>$TDIR/$$tmp | sed -e '/^[ ]*$/d' -e '
121 if [ -s $TDIR/$$tmp ]
123 sed -e "s/^${PFX}nm:/${PFX}lorder:/" < $TDIR/$$tmp >&2
124 rm -f $TDIR/$$symdef $TDIR/$$symref $TDIR/$$tmp
130 rm -f $TDIR/$$symdef $TDIR/$$symref $TDIR/$$tmp
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dalias.sh31 tmp=$(mktemp -dt) || { err_exit mktemp -dt failed; exit 1; }
32 trap "cd /; rm -rf $tmp" EXIT
88 then PATH=$tmp:/bin:/usr/bin
90 do print ':' > $tmp/$i
91 chmod +x $tmp/$i
93 [[ $(hash) == $i=$tmp/$i ]] || err_exit "hash -r -- $i failed, expected $i=$tmp/$i, got $(hash)"
/illumos-gate/usr/src/cmd/mktemp/
H A Dmktemp.c100 char *tmp = getenv("TMPDIR"); in main() local
111 if (tmp != NULL) in main()
112 prefix = tmp; in main()
117 tmp = malloc(len); in main()
118 if (tmp == NULL) { in main()
122 (void) snprintf(tmp, len, "%s/%s", prefix, tmpl); in main()
123 tmpl = tmp; in main()

12345678910>>...73