Searched refs:tmp (Results 226 - 250 of 2125) sorted by relevance

1234567891011>>

/freebsd-11-stable/crypto/heimdal/lib/gssapi/krb5/
H A Dimport_name.c66 char *tmp; local
68 tmp = malloc (input_name_buffer->length + 1);
69 if (tmp == NULL) {
73 memcpy (tmp,
76 tmp[input_name_buffer->length] = '\0';
78 ret = parse_krb5_name(minor_status, context, tmp, output_name);
79 free(tmp);
138 char *tmp, *p, *host = NULL; local
140 tmp = malloc (input_name_buffer->length + 1);
141 if (tmp
[all...]
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dsalt-des.c125 DES_cblock tmp; local
127 krb5_DES_AFS3_Transarc_string_to_key(password, salt.saltvalue, &tmp);
129 krb5_DES_AFS3_CMU_string_to_key(password, salt.saltvalue, &tmp);
131 krb5_data_copy(&key->keyvalue, tmp, sizeof(tmp));
151 unsigned char tmp = data[i]; local
153 *p++ ^= (tmp << 1);
155 *--p ^= (swap[tmp & 0xf] << 4) | swap[(tmp & 0xf0) >> 4];
180 DES_cblock tmp; local
[all...]
H A Dsalt-des3.c47 unsigned char tmp[24]; local
64 ret = _krb5_n_fold(str, len, tmp, 24);
73 memcpy(keys + i, tmp + i * 8, sizeof(keys[i]));
80 DES_ede3_cbc_encrypt(tmp,
81 tmp, sizeof(tmp),
86 memcpy(keys + i, tmp + i * 8, sizeof(keys[i]));
91 memset(tmp, 0, sizeof(tmp));
/freebsd-11-stable/lib/libc/inet/
H A Dinet_net_pton.c67 int n, ch, tmp = 0, dirty, bits; local
85 tmp = n;
87 tmp = (tmp << 4) | n;
91 *dst++ = (u_char) tmp;
98 *dst++ = (u_char) (tmp << 4);
103 tmp = 0;
107 tmp *= 10;
108 tmp += n;
109 if (tmp > 25
268 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
[all...]
/freebsd-11-stable/sys/arm/arm/
H A Dvfp.c106 u_int fpsid, fpexc, tmp; local
126 tmp = fmrx(mvfr0);
127 PCPU_SET(vfpmvfr0, tmp);
130 if ((tmp & VMVFR0_RB_MASK) == 2) {
136 tmp = fmrx(mvfr1);
137 PCPU_SET(vfpmvfr1, tmp);
140 if ((tmp & VMVFR1_FZ_MASK) == 0x1) {
148 if ((tmp & VMVFR1_LS_MASK) >> VMVFR1_LS_OFF == 1 &&
149 (tmp & VMVFR1_I_MASK) >> VMVFR1_I_OFF == 1 &&
150 (tmp
314 u_int tmp; local
[all...]
H A Dcpuinfo.c88 uint32_t tmp; local
206 tmp = (cpuinfo.id_isar0 >> 24) & 0xF; /* Divide_instrs */
207 if (tmp >= 1)
209 if (tmp >= 2)
212 tmp = (cpuinfo.id_pfr0 >> 4) & 0xF; /* State1 */
213 if (tmp >= 1)
216 tmp = (cpuinfo.id_pfr0 >> 12) & 0xF; /* State3 */
217 if (tmp >= 1)
220 tmp = (cpuinfo.id_mmfr0 >> 0) & 0xF; /* VMSA */
221 if (tmp >
[all...]
/freebsd-11-stable/sys/mips/mips/
H A Dcpu.c82 u_int32_t tmp; local
108 tmp = mips_rd_config6();
109 cpuinfo->tlb_nentries = ((tmp >> 16) & 0xffff) + 1;
112 tmp = mips_rd_config5();
114 if (tmp & BERI_CP5_LTLB_SUPPORTED) {
116 tmp = mips_rd_config6();
117 cpuinfo->tlb_nentries = (tmp >> 16) + 1;
119 mips_wr_config6(tmp|0x4);
137 tmp = (cfg1 & MIPS_CONFIG1_IL_MASK) >> MIPS_CONFIG1_IL_SHIFT;
138 if (tmp !
[all...]
/freebsd-11-stable/contrib/tcpdump/missing/
H A Dsnprintf.c95 unsigned char *tmp;
103 tmp = realloc (state->str, state->sz);
104 if (tmp == NULL)
106 state->str = tmp;
470 char *tmp; local
472 tmp = malloc (sz);
473 if (tmp == NULL)
476 ret2 = vsprintf (tmp, format, args);
477 if (ret != ret2 || strcmp(str, tmp))
479 free (tmp);
[all...]
/freebsd-11-stable/contrib/libpcap/missing/
H A Dsnprintf.c99 unsigned char *tmp;
107 tmp = realloc (state->str, state->sz);
108 if (tmp == NULL)
110 state->str = tmp;
474 char *tmp; local
476 tmp = malloc (sz);
477 if (tmp == NULL)
480 ret2 = pcap_vsprintf (tmp, format, args);
481 if (ret != ret2 || strcmp(str, tmp))
483 free (tmp);
[all...]
/freebsd-11-stable/crypto/openssl/crypto/ec/
H A Decp_nistp521.c664 largefelem tmp; local
665 felem_square(tmp, in);
666 felem_reduce(out, tmp);
671 largefelem tmp; local
672 felem_mul(tmp, in1, in2);
673 felem_reduce(out, tmp);
687 largefelem tmp; local
690 felem_square(tmp, in);
691 felem_reduce(ftmp, tmp); /* 2^1 */
692 felem_mul(tmp, i
1024 largefelem tmp, tmp2; local
1123 const limb tmp = mask & (in[i] ^ out[i]); local
1145 largefelem tmp, tmp2; local
1487 felem nq[3], tmp[4]; local
1730 largefelem tmp; local
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dtree-ssa-threadedge.c146 tree tmp = SSA_NAME_VALUE (y); local
147 y = tmp ? tmp : y;
284 tree tmp = NULL; local
289 tmp = SSA_NAME_VALUE (use);
290 if (tmp && TREE_CODE (tmp) != VALUE_HANDLE)
291 SET_USE (use_p, tmp);
383 tree tmp = SSA_NAME_VALUE (op0); local
384 if (tmp
390 tree tmp = SSA_NAME_VALUE (op1); local
414 tree tmp; local
[all...]
H A Dfixproto107 elif ln -s X /tmp/ShouldNotExist 2>/dev/null; then
108 rm -f /tmp/ShouldNotExist
288 cat >tmp.h <<EOF
307 cat >>tmp.h <<EOF
316 cat >>tmp.h <<EOF
324 cat >>tmp.h <<EOF
328 ${FIX_HEADER} $rel_source_file tmp.h $abs_target_dir/$rel_source_file ${DEFINES} $include_path
331 rm tmp.h
333 mv tmp.h $abs_target_dir/$rel_source_file
/freebsd-11-stable/contrib/ipfilter/
H A Dipf_rb.h147 _t *tmp; \
152 tmp = parent->_f.right; \
153 if (tmp->_f.colour == C_RED) { \
154 tmp->_f.colour = C_BLACK; \
157 tmp = parent->_f.right; \
159 if ((tmp->_f.left == &_n##_rb_zero || \
160 tmp->_f.left->_f.colour == C_BLACK) && \
161 (tmp->_f.right == &_n##_rb_zero || \
162 tmp->_f.right->_f.colour == C_BLACK)) { \
163 tmp
[all...]
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dipf_rb.h147 _t *tmp; \
152 tmp = parent->_f.right; \
153 if (tmp->_f.colour == C_RED) { \
154 tmp->_f.colour = C_BLACK; \
157 tmp = parent->_f.right; \
159 if ((tmp->_f.left == &_n##_rb_zero || \
160 tmp->_f.left->_f.colour == C_BLACK) && \
161 (tmp->_f.right == &_n##_rb_zero || \
162 tmp->_f.right->_f.colour == C_BLACK)) { \
163 tmp
[all...]
/freebsd-11-stable/contrib/ldns/compat/
H A Dinet_ntop.c94 char tmp[sizeof "255.255.255.255"]; local
97 l = snprintf(tmp, size, fmt, src[0], src[1], src[2], src[3]);
102 strlcpy(dst, tmp, size);
122 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"]; local
165 tp = tmp;
166 ep = tmp + sizeof(tmp);
210 if ((size_t)(tp - tmp) > size) {
214 strlcpy(dst, tmp, size);
/freebsd-11-stable/contrib/unbound/compat/
H A Dinet_ntop.c94 char tmp[sizeof "255.255.255.255"]; local
97 l = snprintf(tmp, size, fmt, src[0], src[1], src[2], src[3]);
102 strlcpy(dst, tmp, size);
122 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"]; local
165 tp = tmp;
166 ep = tmp + sizeof(tmp);
210 if ((size_t)(tp - tmp) > size) {
214 strlcpy(dst, tmp, size);
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dinet_ntop.c89 char tmp[sizeof "255.255.255.255"]; local
92 l = snprintf(tmp, size, fmt, src[0], src[1], src[2], src[3]);
97 strlcpy(dst, tmp, size);
117 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"]; local
158 tp = tmp;
159 ep = tmp + sizeof(tmp);
203 if ((size_t)(tp - tmp) > size) {
207 strlcpy(dst, tmp, size);
/freebsd-11-stable/sys/dev/syscons/dragon/
H A Ddragon_saver.c135 int tmp; local
141 for (tmp = 0; tmp < 3*CURVE; ++tmp) {
142 dragon_pal[3+tmp] = (u_char)random();
184 tmp = dx; dx = dy; dy = -tmp; /* turn right */
188 tmp = dx; dx = -dy; dy = tmp; /* turn left */
/freebsd-11-stable/crypto/openssl/crypto/objects/
H A Dobj_xref.c94 nid_triple tmp; local
96 tmp.sign_id = signid;
99 int idx = sk_nid_triple_find(sig_app, &tmp);
105 rv = OBJ_bsearch_sig(&tmp, sigoid_srt,
120 nid_triple tmp; local
121 const nid_triple *t = &tmp;
124 tmp.hash_id = dig_nid;
125 tmp.pkey_id = pkey_nid;
128 int idx = sk_nid_triple_find(sigx_app, &tmp);
/freebsd-11-stable/usr.sbin/pw/
H A Dpw.c115 int mode = -1, which = -1, tmp; local
169 else if (mode == -1 && (tmp = getindex(Modes, argv[1])) != -1)
170 mode = tmp;
171 else if (which == -1 && (tmp = getindex(Which, argv[1])) != -1)
172 which = tmp;
174 ((tmp = getindex(Combo1, argv[1])) != -1 ||
175 (tmp = getindex(Combo2, argv[1])) != -1)) {
176 which = tmp / M_NUM;
177 mode = tmp % M_NUM;
/freebsd-11-stable/contrib/bmake/unit-tests/
H A DMakefile.in75 CLEANFILES += *.rawout *.out *.status *.tmp *.core *.tmp
109 2>&1 ; echo $$? >${.TARGET:R}.status ; } > ${.TARGET}.tmp
110 @mv ${.TARGET}.tmp ${.TARGET}
123 < ${.IMPSRC} > ${.TARGET}.tmp
124 @echo "exit status `cat ${.TARGET:R}.status`" >> ${.TARGET}.tmp
125 @mv ${.TARGET}.tmp ${.TARGET}
/freebsd-11-stable/sys/opencrypto/
H A Dgfmult.c239 struct gf128 tmp; local
241 tmp = MAKE_GF128(0, 0);
243 tmp = gfmultword4(a.v[1], b.v[1], c.v[1], d.v[1], tmp, tbl);
244 tmp = gfmultword4(a.v[0], b.v[0], c.v[0], d.v[0], tmp, tbl);
246 return tmp;
262 struct gf128 tmp; local
264 tmp = MAKE_GF128(0, 0);
271 tmp
[all...]
/freebsd-11-stable/sys/dev/ex/
H A Dif_ex_isa.c103 int tmp;
110 for (tmp = 0; tmp < 32; tmp++) {
111 outb(EX_PNP_WAKE, ex_pnp_wake_seq[tmp]);
126 int tmp; local
170 tmp = ex_eeprom_read(&sc, EE_W1) & EE_W1_INT_SEL;
174 irq = plus_ee2irqmap[tmp];
177 irq = ee2irqmap[tmp];
203 int tmp; local
[all...]
/freebsd-11-stable/crypto/heimdal/lib/kadm5/
H A Dpassword_quality.c264 const char *tmp; local
267 tmp = krb5_config_get_string(context, NULL,
271 if(tmp != NULL)
272 check_library = tmp;
275 tmp = krb5_config_get_string(context, NULL,
279 if(tmp != NULL)
280 check_function = tmp;
323 struct kadm5_pw_policy_verifier *v, **tmp; local
358 tmp = realloc(verifiers, (num_verifiers + 1) * sizeof(*verifiers));
359 if (tmp
381 char **tmp; local
[all...]
/freebsd-11-stable/crypto/openssl/engines/ccgost/
H A Dgost_sign.c55 BIGNUM *k = NULL, *tmp = NULL, *tmp2 = NULL; local
70 tmp = BN_CTX_get(ctx);
73 if(!tmp || !k || !tmp2) {
77 BN_mod(tmp, md, dsa->q, ctx);
78 if (BN_is_zero(tmp)) {
88 BN_mod_exp(tmp, dsa->g, k, dsa->p, ctx);
96 BN_mod(newsig->r, tmp, dsa->q, ctx);
100 BN_mod_mul(tmp, dsa->priv_key, newsig->r, dsa->q, ctx);
109 BN_mod_add(newsig->s, tmp, tmp2, dsa->q, ctx);
165 BIGNUM *md = NULL, *tmp local
[all...]

Completed in 154 milliseconds

1234567891011>>