Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 49) sorted by relevance

12

/picolibc-3.5.0-3.4.0/newlib/libc/include/sys/
Dtree.h88 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument
89 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
90 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
91 (head)->sph_root = tmp; \
94 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument
95 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
96 SPLAY_LEFT(tmp, field) = (head)->sph_root; \
97 (head)->sph_root = tmp; \
100 #define SPLAY_LINKLEFT(head, tmp, field) do { \ argument
101 SPLAY_LEFT(tmp, field) = (head)->sph_root; \
[all …]
/picolibc-3.5.0-3.4.0/newlib/libc/machine/aarch64/
Dmemchr.S48 #define tmp x4 macro
105 sub tmp, soff, #32
106 adds cntin, cntin, tmp
115 lsl tmp, soff, #1
116 lsr synd, synd, tmp
117 lsl synd, synd, tmp
149 add tmp, cntrem, soff
150 and tmp, tmp, #31
151 sub tmp, tmp, #32
152 neg tmp, tmp, lsl #1
[all …]
/picolibc-3.5.0-3.4.0/newlib/libm/common/
Dexp2.c54 specialcase (double_t tmp, uint64_t sbits, uint64_t ki) in specialcase() argument
63 y = 2 * (scale + scale * tmp); in specialcase()
69 y = scale + scale * tmp; in specialcase()
77 lo = scale - y + scale * tmp; in specialcase()
104 double_t kd, r, r2, scale, tail, tmp; in exp2() local
147 tmp = tail + r * C1 + r2 * C2 + r * r2 * (C3 + r * C4); in exp2()
149 tmp = tail + r * C1 + r2 * (C2 + r * C3) + r2 * r2 * (C4 + r * C5); in exp2()
151 tmp = tail + r * C1 + r2 * (0.5 + r * C3) + r2 * r2 * (C4 + r * C5 + r2 * C6); in exp2()
154 return specialcase (tmp, sbits, ki); in exp2()
158 return scale + scale * tmp; in exp2()
Dexp.c56 specialcase (double_t tmp, uint64_t sbits, uint64_t ki) in specialcase() argument
65 y = 0x1p1009 * (scale + scale * tmp); in specialcase()
71 y = scale + scale * tmp; in specialcase()
79 lo = scale - y + scale * tmp; in specialcase()
106 double_t kd, z, r, r2, scale, tail, tmp; in exp() local
160 tmp = tail + r + r2 * C2 + r * r2 * (C3 + r * C4); in exp()
162 tmp = tail + r + r2 * (C2 + r * C3) + r2 * r2 * (C4 + r * C5); in exp()
164 tmp = tail + r + r2 * (0.5 + r * C3) + r2 * r2 * (C4 + r * C5 + r2 * C6); in exp()
167 return specialcase (tmp, sbits, ki); in exp()
171 return scale + scale * tmp; in exp()
Dsf_log.c55 uint32_t ix, iz, tmp; in logf() local
81 tmp = ix - OFF; in logf()
82 i = (tmp >> (23 - LOGF_TABLE_BITS)) % N; in logf()
83 k = (int32_t) tmp >> 23; /* arithmetic shift */ in logf()
84 iz = ix - (tmp & (uint32_t) 0x1ff << 23); in logf()
Dsf_log2.c54 uint32_t ix, iz, top, tmp; in log2f() local
80 tmp = ix - OFF; in log2f()
81 i = (tmp >> (23 - LOG2F_TABLE_BITS)) % N; in log2f()
82 top = tmp & 0xff800000; in log2f()
84 k = (int32_t) tmp >> 23; /* arithmetic shift */ in log2f()
Ds_round.c93 __uint32_t tmp; in round64() local
99 tmp = lsw + (1 << (51 - exponent_less_1023)); in round64()
100 if (tmp < lsw) in round64()
102 lsw = tmp; in round64()
Dpow.c64 uint64_t iz, tmp; in log_inline() local
70 tmp = ix - OFF; in log_inline()
71 i = (tmp >> (52 - POW_LOG_TABLE_BITS)) % N; in log_inline()
72 k = (int64_t) tmp >> 52; /* arithmetic shift */ in log_inline()
73 iz = ix - (tmp & 0xfffULL << 52); in log_inline()
151 specialcase (double_t tmp, uint64_t sbits, uint64_t ki) in specialcase() argument
160 y = 0x1p1009 * (scale + scale * tmp); in specialcase()
167 y = scale + scale * tmp; in specialcase()
181 lo = scale - y + scale * tmp; in specialcase()
205 double_t kd, z, r, r2, scale, tail, tmp; in exp_inline() local
[all …]
Ds_llround.c66 unsigned int tmp = lsw in llround64() local
69 if (tmp < lsw) in llround64()
74 | SAFE_RIGHT_SHIFT (tmp, (52 - exponent_less_1023)); in llround64()
Ds_lround.c105 unsigned int tmp = lsw in lround64() local
109 if (tmp < lsw) in lround64()
116 | SAFE_RIGHT_SHIFT (tmp, (52 - exponent_less_1023)); in lround64()
/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/
Dl64a.c35 unsigned long tmp = (unsigned long)value & 0xffffffff; in l64a() local
43 if (tmp == 0) in l64a()
49 index = tmp & (64 - 1); in l64a()
51 tmp >>= 6; in l64a()
Dwctomb_r.c64 wchar_t tmp; in __utf8_wctomb() local
65 tmp = ((uint32_t) state->__value.__wchb[0] << 16 | (uint32_t) state->__value.__wchb[1] << 8) in __utf8_wctomb()
67 *s++ = 0xe0 | ((tmp & 0xf000) >> 12); in __utf8_wctomb()
68 *s++ = 0x80 | ((tmp & 0xfc0) >> 6); in __utf8_wctomb()
69 *s++ = 0x80 | (tmp & 0x3f); in __utf8_wctomb()
89 uint32_t tmp; in __utf8_wctomb() local
94 tmp = ((wchar & 0x3ff) << 10) + 0x10000; in __utf8_wctomb()
95 state->__value.__wchb[0] = (tmp >> 16) & 0xff; in __utf8_wctomb()
96 state->__value.__wchb[1] = (tmp >> 8) & 0xff; in __utf8_wctomb()
98 *s = (0xf0 | ((tmp & 0x1c0000) >> 18)); in __utf8_wctomb()
[all …]
/picolibc-3.5.0-3.4.0/newlib/libc/machine/spu/
Dea_internal.h76 size_ea_t tmp = (size_ea_t) x; in round_down_128_ea() local
77 tmp &= (~127); in round_down_128_ea()
78 return (__ea void*)tmp; in round_down_128_ea()
84 size_ea_t tmp = (size_ea_t) x; in round_up_next_128_ea() local
85 tmp += 128; in round_up_next_128_ea()
86 tmp &= (~127); in round_up_next_128_ea()
87 return (__ea void*)tmp; in round_up_next_128_ea()
Dstack_reg_va.S84 #define tmp $74 macro
107 il tmp, -(SPE_STACK_REGS+2+3)*16
108 a code_ptr, $sp, tmp
109 lqr tmp, save_regs_1 /* store stack code */
110 stqd tmp, 0(code_ptr)
162 ceqbi tmp, inst, 3 /* if (reg-num == 3) tmp = 0x000000FF 000..0 */
166 brz tmp, save_regs_1 /* if (tmp == 0) jump */
/picolibc-3.5.0-3.4.0/test/libc-testsuite/
Dbasename.c31 tmp = strdup((p)); \
32 s = basename(tmp); \
38 free(tmp); \
43 char *tmp, *s; in test_basename() local
Ddirname.c31 tmp = strdup((p)); \
32 s = dirname (tmp); \
38 free(tmp); \
43 char *tmp, *s; in test_dirname() local
/picolibc-3.5.0-3.4.0/newlib/libc/locale/
Dlnumeric.c75 struct __lc_cats tmp = locale->lc_cat[LC_NUMERIC]; in __numeric_load_locale() local
79 if (tmp.buf) in __numeric_load_locale()
81 free ((void *) tmp.ptr); in __numeric_load_locale()
82 free (tmp.buf); in __numeric_load_locale()
Dlmessages.c81 struct __lc_cats tmp = locale->lc_cat[LC_MESSAGES]; in __messages_load_locale() local
85 if (tmp.buf) in __messages_load_locale()
87 free ((void *) tmp.ptr); in __messages_load_locale()
88 free (tmp.buf); in __messages_load_locale()
Dlctype.c88 struct __lc_cats tmp = locale->lc_cat[LC_CTYPE]; in __ctype_load_locale() local
92 if (tmp.buf) in __ctype_load_locale()
94 free ((void *) tmp.ptr); in __ctype_load_locale()
95 free (tmp.buf); in __ctype_load_locale()
Dlmonetary.c106 struct __lc_cats tmp = locale->lc_cat[LC_MONETARY]; in __monetary_load_locale() local
110 if (tmp.buf) in __monetary_load_locale()
112 free ((void *) tmp.ptr); in __monetary_load_locale()
113 free (tmp.buf); in __monetary_load_locale()
Dtimelocal.c174 struct __lc_cats tmp = locale->lc_cat[LC_TIME]; in __time_load_locale() local
178 if (tmp.buf) in __time_load_locale()
180 free ((void *) tmp.ptr); in __time_load_locale()
181 free (tmp.buf); in __time_load_locale()
/picolibc-3.5.0-3.4.0/newlib/libm/math/
Dsf_jn.c107 float q0, q1, h, tmp; in jnf() local
118 tmp = z * q1 - q0; in jnf()
120 q1 = tmp; in jnf()
135 tmp = n; in jnf()
137 tmp = tmp * logf(fabsf(v * tmp)); in jnf()
138 if (tmp < (float)8.8721679688e+01) { in jnf()
Ds_jn.c170 __float64 q0, q1, h, tmp; in jn64() local
181 tmp = z * q1 - q0; in jn64()
183 q1 = tmp; in jn64()
198 tmp = n; in jn64()
200 tmp = tmp * log(fabs64(v * tmp)); in jn64()
201 if (tmp < _F_64(7.09782712893383973096e+02)) { in jn64()
/picolibc-3.5.0-3.4.0/newlib/libc/machine/arm/
Dmemchr.S100 #define tmp r3 macro
147 ldrb tmp, [srcin], #1
148 cmp tmp, chrin
161 movw tmp, #0x0201
162 movt tmp, #0x0804
163 lsl soff, tmp, #4
164 vmov vrepmask0, tmp, soff
165 vmov vrepmask1, tmp, soff
177 sub tmp, soff, #32
178 adds cntin, cntin, tmp
[all …]
/picolibc-3.5.0-3.4.0/newlib/libc/string/
Dmemmem.c143 size_t tmp, shift1; in memmem() local
161 tmp = shift[hash2 (hs)]; in memmem()
163 while (hs <= end && tmp == 0); in memmem()
167 hs -= tmp; in memmem()
168 if (tmp < m1) in memmem()

12