Searched refs:tmp (Results 151 - 175 of 1975) sorted by relevance

1234567891011>>

/openbsd-current/games/hack/
H A Dhack.mhitu.c76 int tmp, ctmp; local
123 tmp = hitu(mtmp,d(mdat->damn,mdat->damd));
125 tmp = 0;
127 tmp += hitu(mtmp,d(mdat->damn,mdat->damd));
129 ctmp = tmp && !mtmp->mcan &&
147 if(tmp) justswld(mtmp,"The trapper");
150 if(tmp) justswld(mtmp, "The lurker above");
236 tmp = hitu(mtmp,rnd(3));
237 tmp &= hitu(mtmp,rnd(3));
238 if(tmp){
384 int tmp, res; local
[all...]
/openbsd-current/lib/libc/quad/
H A Dqdivrem.c67 union uu tmp; local
81 tmp.ul[H] = tmp.ul[L] = 1 / zero;
84 return (tmp.q);
108 tmp.uq = uq;
110 u[1] = (digit)HHALF(tmp.ul[H]);
111 u[2] = (digit)LHALF(tmp.ul[H]);
112 u[3] = (digit)HHALF(tmp.ul[L]);
113 u[4] = (digit)LHALF(tmp.ul[L]);
114 tmp
[all...]
/openbsd-current/sys/lib/libkern/
H A Dqdivrem.c66 union uu tmp; local
80 tmp.ul[H] = tmp.ul[L] = 1 / zero;
83 return (tmp.q);
107 tmp.uq = uq;
109 u[1] = (digit)HHALF(tmp.ul[H]);
110 u[2] = (digit)LHALF(tmp.ul[H]);
111 u[3] = (digit)HHALF(tmp.ul[L]);
112 u[4] = (digit)LHALF(tmp.ul[L]);
113 tmp
[all...]
/openbsd-current/usr.sbin/mopd/common/
H A Ddevice.c71 struct if_info *p, tmp; local
73 strncpy(tmp.if_name, ifname, sizeof(tmp.if_name) - 1);
74 tmp.if_name[sizeof(tmp.if_name) - 1] = 0;
75 tmp.iopen = pfInit;
79 tmp.read = mopReadRC;
80 tmp.fd = mopOpenRC(&tmp, trans);
83 tmp
[all...]
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Dparse.c195 union exp_element tmp;
197 tmp.opcode = expelt;
199 write_exp_elt (tmp);
205 union exp_element tmp;
207 tmp.symbol = expelt;
209 write_exp_elt (tmp);
215 union exp_element tmp;
216 tmp.block = b;
217 write_exp_elt (tmp);
223 union exp_element tmp;
191 union exp_element tmp; local
201 union exp_element tmp; local
211 union exp_element tmp; local
219 union exp_element tmp; local
229 union exp_element tmp; local
239 union exp_element tmp; local
249 union exp_element tmp; local
584 char *tmp; local
[all...]
/openbsd-current/usr.sbin/smtpd/
H A Dsrs.c85 char tmp[SMTPD_MAXMAILADDRSIZE]; local
99 ret = snprintf(tmp, sizeof tmp, "%c%c=%s=%s@%s",
103 if (ret == -1 || ret >= (int)sizeof tmp)
107 base64_encode_rfc3548(srs_hash(env->sc_srs_key, tmp), SHA_DIGEST_LENGTH,
112 md[0], md[1], md[2], md[3], tmp);
123 char tmp[SMTPD_MAXMAILADDRSIZE]; local
133 ret = snprintf(tmp, sizeof tmp, "%s==%s@%s",
135 if (ret == -1 || ret >= (int)sizeof tmp)
155 char tmp[SMTPD_MAXMAILADDRSIZE]; local
[all...]
/openbsd-current/regress/lib/libpthread/
H A DMakefile37 rm -f /tmp/thread-{shared,static,debug}
39 REGRESS_LOG=/tmp/thread-shared make
41 REGRESS_LOG=/tmp/thread-static make)
43 REGRESS_LOG=/tmp/thread-debug make)
45 @(shared=$$(grep FAIL /tmp/thread-shared) || true; \
51 @(static=$$(grep FAIL /tmp/thread-static) || true; \
57 @(debug=$$(grep FAIL /tmp/thread-debug) || true; \
/openbsd-current/sys/arch/i386/stand/libsa/
H A Dsmpprobe.c77 mp_float_t *tmp = (mp_float_t*)(ptr + i); local
79 if (tmp->signature == MP_FLOAT_SIG) {
82 mpp = tmp;
85 if ((tmp->signature == MP_FLOAT_SIG) &&
86 mp_checksum((u_int8_t *)tmp, tmp->length*16)) {
92 mpp = tmp;
/openbsd-current/usr.bin/dig/lib/dns/
H A Dttl.c44 char tmp[60]; local
49 len = snprintf(tmp, sizeof(tmp), "%s%u %s%s",
54 len = snprintf(tmp, sizeof(tmp), "%u%c", t, s[0]);
56 INSIST(len + 1 <= sizeof(tmp));
60 memmove(region.base, tmp, len);
/openbsd-current/sys/dev/pci/drm/radeon/
H A Dsi_smc.c115 u32 tmp = RREG32_SMC(SMC_SYSCON_RESET_CNTL); local
117 tmp &= ~RST_REG;
119 WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp);
124 u32 tmp; local
131 tmp = RREG32_SMC(SMC_SYSCON_RESET_CNTL);
132 tmp |= RST_REG;
133 WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp);
145 u32 tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); local
147 tmp |= CK_DISABLE;
149 WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp);
154 u32 tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); local
174 u32 tmp; local
195 u32 tmp; local
[all...]
H A Drs600.c124 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); local
128 tmp |= AVIVO_D1GRPH_UPDATE_LOCK;
129 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp);
152 tmp &= ~AVIVO_D1GRPH_UPDATE_LOCK;
153 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp);
172 u32 tmp = 0; local
192 tmp |= AVIVO_TMDS_BIT_DEPTH_CONTROL_SPATIAL_DITHER_EN;
194 tmp |= AVIVO_TMDS_BIT_DEPTH_CONTROL_TRUNCATE_EN;
199 tmp |= (AVIVO_TMDS_BIT_DEPTH_CONTROL_SPATIAL_DITHER_EN |
202 tmp |
234 u32 tmp, dyn_pwrmgt_sclk_length, dyn_sclk_vol_cntl; local
328 u32 tmp; local
346 u32 tmp; local
362 u32 tmp; local
385 u32 tmp; local
466 u32 status, tmp; local
530 uint32_t tmp; local
565 u32 tmp; local
629 u32 tmp; local
669 uint32_t tmp = 0; local
724 u32 tmp; local
[all...]
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Dcik_ih.c191 u32 wptr, tmp; local
204 tmp = RREG32(mmIH_RB_CNTL);
205 tmp |= IH_RB_CNTL__WPTR_OVERFLOW_CLEAR_MASK;
206 WREG32(mmIH_RB_CNTL, tmp);
211 tmp &= ~IH_RB_CNTL__WPTR_OVERFLOW_CLEAR_MASK;
212 WREG32(mmIH_RB_CNTL, tmp);
357 u32 tmp = RREG32(mmSRBM_STATUS); local
359 if (tmp & SRBM_STATUS__IH_BUSY_MASK)
368 u32 tmp; local
373 tmp
386 u32 tmp = RREG32(mmSRBM_STATUS); local
[all...]
H A Dgmc_v6_0.c86 u32 tmp; local
89 tmp = RREG32(mmMC_SHARED_BLACKOUT_CNTL);
90 tmp = REG_SET_FIELD(tmp, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE, 0);
91 WREG32(mmMC_SHARED_BLACKOUT_CNTL, tmp);
93 tmp = REG_SET_FIELD(0, BIF_FB_EN, FB_READ_EN, 1);
94 tmp = REG_SET_FIELD(tmp, BIF_FB_EN, FB_WRITE_EN, 1);
95 WREG32(mmBIF_FB_EN, tmp);
236 u32 tmp; local
266 u32 tmp; local
388 u32 tmp; local
414 u32 tmp; local
816 u32 tmp = RREG32(mmMC_SEQ_MISC0); local
872 u64 tmp = RREG32(mmMC_VM_FB_OFFSET); local
957 u32 tmp = RREG32(mmSRBM_STATUS); local
984 u32 tmp = RREG32(mmSRBM_STATUS); local
1028 u32 tmp; local
[all...]
H A Dgfx_v11_0.c325 uint32_t tmp = 0; local
348 tmp = RREG32(scratch);
349 if (tmp == 0xDEADBEEF)
1704 u32 tmp; local
1716 tmp = RREG32_SOC15(GC, 0, regTA_CNTL2);
1718 REG_GET_FIELD(tmp, TA_CNTL2, TRUNCATE_COORD_MODE);
1728 tmp = REG_SET_FIELD(0, SH_MEM_BASES, PRIVATE_BASE,
1730 tmp = REG_SET_FIELD(tmp, SH_MEM_BASES, SHARED_BASE,
1732 WREG32_SOC15(GC, 0, regSH_MEM_BASES, tmp);
1746 u32 tmp; local
1780 u32 tmp = RREG32_SOC15(GC, 0, regRLC_CNTL); local
1829 uint32_t tmp; local
1864 u32 tmp; local
1908 u32 tmp; local
2021 uint32_t tmp; local
2065 uint32_t tmp; local
2109 uint32_t tmp; local
2153 uint32_t tmp; local
2275 uint32_t tmp; local
2398 uint32_t tmp; local
2483 uint32_t pipe_id, tmp; local
2641 u32 tmp = RREG32_SOC15(GC, 0, regCP_ME_CNTL); local
2710 uint32_t tmp; local
2928 uint32_t tmp; local
3205 u32 tmp; local
3216 u32 tmp; local
3241 u32 tmp; local
3438 u32 tmp, fw_ucode_size, fw_data_size; local
3568 uint32_t tmp; local
3600 uint32_t tmp; local
3744 uint32_t tmp; local
4196 u32 tmp; local
4418 u32 tmp; local
4436 u32 tmp; local
[all...]
/openbsd-current/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/
H A Dadler32.c29 unsigned long tmp = a >> 16; \
31 a += (tmp << 4) - tmp; \
45 z_off64_t tmp = a >> 32; \
47 a += (tmp << 8) - (tmp << 5) + tmp; \
48 tmp = a >> 16; \
50 a += (tmp << 4) - tmp; \
[all...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/calcs/
H A Dbw_fixed.c156 uint64_t tmp; local
164 tmp = arg1_int * arg2_fra;
166 ASSERT(tmp <= (uint64_t)(MAX_I64 - res.value));
168 res.value += tmp;
170 tmp = arg2_int * arg1_fra;
172 ASSERT(tmp <= (uint64_t)(MAX_I64 - res.value));
174 res.value += tmp;
176 tmp = arg1_fra * arg2_fra;
178 tmp = (tmp >> BW_FIXED_BITS_PER_FRACTIONAL_PAR
[all...]
/openbsd-current/lib/libz/
H A Dadler32.c25 unsigned long tmp = a >> 16; \
27 a += (tmp << 4) - tmp; \
41 z_off64_t tmp = a >> 32; \
43 a += (tmp << 8) - (tmp << 5) + tmp; \
44 tmp = a >> 16; \
46 a += (tmp << 4) - tmp; \
[all...]
/openbsd-current/sys/lib/libz/
H A Dadler32.c25 unsigned long tmp = a >> 16; \
27 a += (tmp << 4) - tmp; \
41 z_off64_t tmp = a >> 32; \
43 a += (tmp << 8) - (tmp << 5) + tmp; \
44 tmp = a >> 16; \
46 a += (tmp << 4) - tmp; \
[all...]
/openbsd-current/usr.sbin/ypserv/revnetgroup/
H A Dhash.c175 struct grouplist *tmp,*p; local
181 tmp = malloc(sizeof(struct grouplist));
182 tmp->groupname = strdup(data);
183 tmp->next = NULL;
191 free(tmp->groupname);
192 free(tmp);
197 tmp->next = cur->groups;
198 cur->groups = tmp;
208 new->groups = tmp;
/openbsd-current/gnu/usr.bin/perl/cpan/Encode/lib/Encode/CN/
H A DHZ.pm149 my $tmp = $1;
150 $tmp =~ s/~/~~/g; # escapes tildes
155 $ret .= pack 'a*', $tmp; # remove UTF8 flag.
159 my $tmp = $GB->encode( $s, $chk || 0 );
160 last if !defined $tmp;
161 if ( length $tmp == 2 ) { # maybe a valid GB char (XXX)
166 $ret .= $tmp;
168 elsif ( length $tmp ) { # maybe FALLBACK in ASCII (XXX)
173 $ret .= $tmp;
/openbsd-current/gnu/usr.bin/cvs/lib/
H A Dstrtoul.c49 int tmp; local
55 tmp = 10; /* doesn't start with 0 - assume decimal */
57 tmp = 16, s += 2; /* starts with 0x or 0X - hence hex */
59 tmp = 8; /* starts with 0 - hence octal */
61 base = (int)tmp;
/openbsd-current/gnu/llvm/compiler-rt/lib/builtins/ppc/
H A Dgcc_qmul.c18 double ab, tmp, tau; local
42 tmp = LOWORDER(ab, aHi, aLo, bHi, bLo);
43 tmp += (A * b + a * B);
44 tau = ab + tmp;
46 dst.s.lo = (ab - tau) + tmp;
/openbsd-current/usr.bin/mg/
H A Dlog.c163 char buf[4096], tmp[1024]; local
184 snprintf(tmp, sizeof(tmp), "%.*s",
187 (void)strlcat(buf, tmp, sizeof(buf));
190 snprintf(tmp, sizeof(tmp), " [%d]", rec->region.r_size);
191 if (strlcat(buf, tmp, sizeof(buf)) >= sizeof(buf)) {
197 tmp[0] = buf[0] = '\0';
209 char *curline, *tmp, o; local
229 tmp
393 char tmp[NFILEN], *tmp2; local
[all...]
/openbsd-current/regress/lib/libcrypto/symbols/
H A DMakefile16 @echo "#include <openssl/$h>" >> include_headers.c.tmp
18 mv include_headers.c.tmp include_headers.c
27 CLEANFILES+= include_headers.c symbols.c symbols.c.tmp
32 < ${BSDSRCDIR}/lib/libcrypto/Symbols.list > $@.tmp; \
33 mv -f $@.tmp $@
/openbsd-current/lib/libcrypto/modes/asm/
H A Dghash-sparcv9.pl53 $tmp="%o5";
87 sethi %hi(_GLOBAL_OFFSET_TABLE_-4), $tmp
89 or $tmp, %lo(_GLOBAL_OFFSET_TABLE_+4), $tmp
90 add $tmp, $rem, $tmp
101 ldx [$rem_4bit+$tmp], $rem_4bit
123 sllx $Zhi,60,$tmp
126 xor $Zlo,$tmp,$Zlo
143 sllx $Zhi,60,$tmp
[all...]

Completed in 180 milliseconds

1234567891011>>