Home
last modified time | relevance | path

Searched refs:real (Results 1 – 25 of 1153) sorted by relevance

12345678910>>...47

/third_party/python/Modules/
Dcmathmodule.c104 r.real = 0.0; in c_infj()
125 r.real = 0.0; in c_nanj()
183 if (!Py_IS_FINITE((z).real) || !Py_IS_FINITE((z).imag)) { \
185 return table[special_type((z).real)] \
225 if (fabs(z.real) > CM_LARGE_DOUBLE || fabs(z.imag) > CM_LARGE_DOUBLE) { in cmath_acos_impl()
227 r.real = atan2(fabs(z.imag), z.real); in cmath_acos_impl()
230 if (z.real < 0.) { in cmath_acos_impl()
231 r.imag = -copysign(log(hypot(z.real/2., z.imag/2.)) + in cmath_acos_impl()
234 r.imag = copysign(log(hypot(z.real/2., z.imag/2.)) + in cmath_acos_impl()
238 s1.real = 1.-z.real; in cmath_acos_impl()
[all …]
/third_party/python/Objects/
Dcomplexobject.c29 r.real = a.real + b.real; in _Py_c_sum()
38 r.real = a.real - b.real; in _Py_c_diff()
47 r.real = -a.real; in _Py_c_neg()
56 r.real = a.real*b.real - a.imag*b.imag; in _Py_c_prod()
57 r.imag = a.real*b.imag + a.imag*b.real; in _Py_c_prod()
92 const double abs_breal = b.real < 0 ? -b.real : b.real; in _Py_c_quot()
99 r.real = r.imag = 0.0; in _Py_c_quot()
102 const double ratio = b.imag / b.real; in _Py_c_quot()
103 const double denom = b.real + b.imag * ratio; in _Py_c_quot()
104 r.real = (a.real + a.imag * ratio) / denom; in _Py_c_quot()
[all …]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Ddual_quaternion.inl15 return (&real)[i];
22 return (&real)[i];
31 : real(tquat<T, P>())
40 : real(d.real)
48 : real(d.real)
60 : real(r), dual(tquat<T, P>(0, 0, 0, 0))
65 : real(q), dual(
74 : real(r), dual(d)
82 : real(q.real)
104 this->real = q.real;
[all …]
/third_party/alsa-lib/include/
Dalsa-symbols.h32 #define symbol_version(real, name, version) \ argument
33 __asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@" #version)
34 #define default_symbol_version(real, name, version) \ argument
35 __asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@@" #version)
44 #define use_symbol_version(real, name, version) \ argument
45 symbol_version(real, name, version)
46 #define use_default_symbol_version(real, name, version) \ argument
47 default_symbol_version(real, name, version)
49 #define use_symbol_version(real, name, version) /* nothing */ argument
51 #define use_default_symbol_version(real, name, version) \ argument
[all …]
/third_party/node/test/parallel/
Dtest-http2-compat-serverresponse-headers.js15 const real = 'foo-bar';
17 const denormalised = ` ${real.toUpperCase()}\n\t`;
20 response.setHeader(real, expectedValue);
22 assert.strictEqual(response.hasHeader(real), true);
25 assert.strictEqual(response.getHeader(real), expectedValue);
32 response.setHeader(real, expectedValue);
33 assert.strictEqual(response.getHeader(real), expectedValue);
34 assert.strictEqual(response.hasHeader(real), true);
35 response.removeHeader(real);
36 assert.strictEqual(response.hasHeader(real), false);
[all …]
/third_party/lame/mpglib/
Dlayer3.c46 static real ispow[8207];
47 static real aa_ca[8], aa_cs[8];
48 static real COS1[12][6];
49 static real win[4][36];
50 static real win1[4][36];
51 static real gainpow2[256 + 118 + 4];
52 static real COS9[9];
53 static real COS6_1, COS6_2;
54 static real tfcos36[9];
55 static real tfcos12[3];
[all …]
Dtabinit.c39 real decwin[512 + 32];
40 static real cos64[16], cos32[8], cos16[4], cos8[2], cos4[1];
41 real *pnts[] = { cos64, cos32, cos16, cos8, cos4 };
118 real *table, *costab; in make_decode_tables()
130 costab[k] = (real) (1.0 / (2.0 * cos(M_PI * ((double) k * 2.0 + 1.0) / (double) divv))); in make_decode_tables()
137 table[16] = table[0] = (real) (dewin[j] * scaleval); in make_decode_tables()
146 table[16] = table[0] = (real) (dewin[j] * scaleval); in make_decode_tables()
Ddecode_i386.c100 synth_1to1_mono(PMPSTR mp, real * bandPtr, unsigned char *out, int *pnt) in synth_1to1_mono()
104 synth_1to1_mono_unclipped(PMPSTR mp, real * bandPtr, unsigned char *out, int *pnt) in synth_1to1_mono_unclipped()
106 SYNTH_1TO1_MONO_CLIPCHOICE(real, synth_1to1_unclipped) in synth_1to1_mono_unclipped()
116 real *b0,(*buf)[0x110]; \
147 real *window = decwin + 16 - bo1; \
151 real sum; \
173 real sum; \
189 real sum; \
217 synth_1to1(PMPSTR mp, real * bandPtr, int channel, unsigned char *out, int *pnt) in synth_1to1()
221 synth_1to1_unclipped(PMPSTR mp, real * bandPtr, int channel, unsigned char *out, int *pnt) in synth_1to1_unclipped()
[all …]
Dlayer1.c110 I_step_two(PMPSTR mp, sideinfo_layer_I *si, real fraction[2][SBLIMIT]) in I_step_two()
143 fraction[0][i] = (real)r0; in I_step_two()
144 fraction[1][i] = (real)r1; in I_step_two()
162 fraction[0][i] = (real)r0; in I_step_two()
163 fraction[1][i] = (real)r1; in I_step_two()
183 fraction[0][i] = (real)r0; in I_step_two()
202 real fraction[2][SBLIMIT]; /* FIXME: change real -> double ? */ in decode_layer1_frame()
219 clip += synth_1to1_mono(mp, (real *) fraction[single], pcm_sample, pcm_point); in decode_layer1_frame()
226 clip += synth_1to1(mp, (real *) fraction[0], 0, pcm_sample, &p1); in decode_layer1_frame()
227 clip += synth_1to1(mp, (real *) fraction[1], 1, pcm_sample, pcm_point); in decode_layer1_frame()
Ddct64_i386.c45 dct64_1(real * out0, real * out1, real * b1, real * b2, real * samples) in dct64_1()
49 real *costab = pnts[0]; in dct64_1()
102 real *costab = pnts[1]; in dct64_1()
140 real *costab = pnts[2]; in dct64_1()
180 real const cos0 = pnts[3][0]; in dct64_1()
181 real const cos1 = pnts[3][1]; in dct64_1()
225 real const cos0 = pnts[4][0]; in dct64_1()
344 dct64(real * a, real * b, real * c) in dct64()
346 real bufs[0x40]; in dct64()
Dmpg123.h67 # define real float macro
69 # define real long double macro
71 # define real double macro
139 real *full_gain[3];
140 real *pow2gain;
Dlayer2.c63 real *table; in hip_init_tables_layer2()
88 *table++ = (real) (m * pow(2.0, (double) j / 3.0)); in hip_init_tables_layer2()
218 II_step_two(PMPSTR mp, sideinfo_layer_II* si, struct frame *fr, int gr, real fraction[2][4][SBLIMIT… in II_step_two()
260 fraction[ch][0][i] = (real) r0; in II_step_two()
261 fraction[ch][1][i] = (real) r1; in II_step_two()
262 fraction[ch][2][i] = (real) r2; in II_step_two()
292 fraction[ch][0][i] = (real) r0; in II_step_two()
293 fraction[ch][1][i] = (real) r1; in II_step_two()
294 fraction[ch][2][i] = (real) r2; in II_step_two()
310 fraction[ch][0][i] = (real) r0; in II_step_two()
[all …]
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c267 assert(!bo->real.reusable); in find_and_ref_external_bo()
557 list_inithead(&bo->real.exports); in bo_calloc()
569 VG_NOACCESS(bo->real.map, bo->size); in bo_unmap()
570 os_munmap(bo->real.map, bo->size); in bo_unmap()
571 bo->real.map = NULL; in bo_unmap()
748 bo->slab.real = iris_get_backing_bo(slab->bo); in iris_slab_alloc()
887 if (mmap_mode != cur->real.mmap_mode) in alloc_bo_from_cache()
962 bo->real.heap = flags_to_heap(bufmgr, flags); in alloc_fresh_bo()
973 switch (bo->real.heap) { in alloc_fresh_bo()
1001 bo->real.heap == IRIS_HEAP_DEVICE_LOCAL_PREFERRED) { in alloc_fresh_bo()
[all …]
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c70 if (bo->bo && bo->u.real.is_shared) { in amdgpu_bo_wait()
173 if (!bo->u.real.is_user_ptr && bo->u.real.cpu_ptr) { in amdgpu_bo_destroy()
174 bo->u.real.cpu_ptr = NULL; in amdgpu_bo_destroy()
177 assert(bo->u.real.is_user_ptr || bo->u.real.map_count == 0); in amdgpu_bo_destroy()
182 list_del(&bo->u.real.global_list_item); in amdgpu_bo_destroy()
212 amdgpu_va_range_free(bo->u.real.va_handle); in amdgpu_bo_destroy()
234 if (bo->u.real.use_reusable_pool) in amdgpu_bo_destroy_or_cache()
252 assert(!(bo->base.usage & RADEON_FLAG_SPARSE) && bo->bo && !bo->u.real.is_user_ptr); in amdgpu_bo_do_map()
262 if (p_atomic_inc_return(&bo->u.real.map_count) == 1) { in amdgpu_bo_do_map()
280 struct amdgpu_winsys_bo *real; in amdgpu_bo_map() local
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c130 if (bo->mem && !bo->u.real.use_reusable_pool) { in bo_destroy()
131 simple_mtx_lock(&bo->u.real.export_lock); in bo_destroy()
132 list_for_each_entry_safe(struct bo_export, export, &bo->u.real.exports, link) { in bo_destroy()
138 simple_mtx_unlock(&bo->u.real.export_lock); in bo_destroy()
139 simple_mtx_destroy(&bo->u.real.export_lock); in bo_destroy()
143 if (!bo->u.real.is_user_ptr && bo->u.real.cpu_ptr) { in bo_destroy()
144 bo->u.real.map_count = 1; in bo_destroy()
145 bo->u.real.cpu_ptr = NULL; in bo_destroy()
233 if (bo->u.real.use_reusable_pool) in bo_destroy_or_cache()
293 bo->u.real.use_reusable_pool = true; in bo_create_internal()
[all …]
/third_party/node/deps/v8/src/libplatform/tracing/
Dtrace-writer.cc75 std::string real; in AppendArgValue() local
80 real = convert_stream.str(); in AppendArgValue()
84 if (real.find('.') == std::string::npos && in AppendArgValue()
85 real.find('e') == std::string::npos && in AppendArgValue()
86 real.find('E') == std::string::npos) { in AppendArgValue()
87 real += ".0"; in AppendArgValue()
92 real = "\"NaN\""; in AppendArgValue()
94 real = "\"-Infinity\""; in AppendArgValue()
96 real = "\"Infinity\""; in AppendArgValue()
98 stream_ << real; in AppendArgValue()
/third_party/skia/third_party/externals/opengl-registry/extensions/SGI/
DSGI_complex.txt35 complex color consisting of a real and imaginary parts or subcomponents
52 real and imaginary components equally. is this okay?
73 initialized. In RGBA mode state is maintained for both the real and
74 imaginary parts of each component, but only the real part may be set.
87 ... After lighting, both real and imaginary parts of RGBA colors are
98 ... After lighting, real and imaginary parts of RGBA colors are clamped
103 [ are real and imaginary parts clipped independently? ]
108 [ indicate the both real & imaginary components are converted and
119 left unaffected, but the A value is multiplied by a floating-point real
129 setting the real part to the floating-point value computed in the
[all …]
/third_party/openGLES/extensions/SGI/
DSGI_complex.txt35 complex color consisting of a real and imaginary parts or subcomponents
52 real and imaginary components equally. is this okay?
73 initialized. In RGBA mode state is maintained for both the real and
74 imaginary parts of each component, but only the real part may be set.
87 ... After lighting, both real and imaginary parts of RGBA colors are
98 ... After lighting, real and imaginary parts of RGBA colors are clamped
103 [ are real and imaginary parts clipped independently? ]
108 [ indicate the both real & imaginary components are converted and
119 left unaffected, but the A value is multiplied by a floating-point real
129 setting the real part to the floating-point value computed in the
[all …]
/third_party/node/test/es-module/
Dtest-esm-symlink.js14 const real = path.join(tmpDir, 'index.mjs'); constant
21 fs.writeFileSync(real, 'export default [];');
35 fs.symlinkSync(real, link_absolute_path);
36 fs.symlinkSync(path.basename(real), link_relative_path);
37 fs.symlinkSync(real, link_ignore_extension);
38 fs.symlinkSync(path.dirname(real), link_directory, 'dir');
/third_party/ffmpeg/tests/fate/
Dreal.mak10 fate-ra-144: CMD = md5 -i $(TARGET_SAMPLES)/real/ra3_in_rm_file.rm -f s16le
13 fate-ra-288: CMD = pcm -i $(TARGET_SAMPLES)/real/ra_288.rm
15 fate-ra-288: REF = $(SAMPLES)/real/ra_288.pcm
19 fate-ra-cook: CMD = pcm -i $(TARGET_SAMPLES)/real/ra_cook.rm
21 fate-ra-cook: REF = $(SAMPLES)/real/ra_cook.pcm
24 fate-rv20-1239: CMD = framecrc -flags +bitexact -idct simple -lowres 1 -i $(TARGET_SAMPLES)/real/G2…
27 fate-rv30: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/real/rv30.rm -an
30 fate-rv40: CMD = framecrc -i $(TARGET_SAMPLES)/real/spygames-2MB.rmvb -t 10 -an
58 fate-real: fate-realaudio fate-realmedia
/third_party/python/Lib/test/
Dtest_complex.py28 unittest.TestCase.assertAlmostEqual(self, a.real, b.real)
31 unittest.TestCase.assertAlmostEqual(self, a.real, b)
35 unittest.TestCase.assertAlmostEqual(self, a, b.real)
77 self.assertCloseAbs(x.real, y.real, eps)
115 self.assertTrue(isnan(z.real))
259 for real in values:
261 with self.subTest(real=real, imag=imag):
262 c = complex(real, imag)
264 c ** real
370 self.assertAlmostEqual(complex(real=17, imag=23), 17+23j)
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/
D1-1.c32 char *real; in main() local
50 real = asctime(&time_ptr); in main()
58 printf("real = %s\n", real); in main()
61 if (strcmp(real, expected) != 0) { in main()
63 printf("Got %s\n", real); in main()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/
Druntests.py359 real = Fraction(text)
362 if real > DOUBLE_ZERO_CUTOFF:
365 if real < DOUBLE_INF_CUTOFF:
368 if -real < DOUBLE_INF_CUTOFF:
372 validate_normal(text, real, sig, k, "f64")
376 if real > SINGLE_ZERO_CUTOFF:
379 if real < SINGLE_INF_CUTOFF:
382 if -real < SINGLE_INF_CUTOFF:
386 validate_normal(text, real, sig, k, "f32")
394 def validate_normal(text, real, sig, k, kind): argument
[all …]
/third_party/curl/tests/data/
Dtest203121 This is not the real page!
31 This is still not the real page!
52 This is not the real page!
62 This is still not the real page!
71 Finally, this is the real page!
82 This is not the real page!
92 This is still not the real page!
113 This is not the real page!
123 This is still not the real page!
144 This is not the real page!
[all …]
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c368 if (bo->u.real.ptr) in radeon_bo_destroy()
369 os_munmap(bo->u.real.ptr, bo->base.size); in radeon_bo_destroy()
401 mtx_destroy(&bo->u.real.map_mutex); in radeon_bo_destroy()
408 if (bo->u.real.map_count >= 1) { in radeon_bo_destroy()
425 if (bo->u.real.use_reusable_pool) in radeon_bo_destroy_or_cache()
426 pb_cache_add_buffer(&bo->u.real.cache_entry); in radeon_bo_destroy_or_cache()
444 offset = bo->va - bo->u.slab.real->va; in radeon_bo_do_map()
445 bo = bo->u.slab.real; in radeon_bo_do_map()
449 mtx_lock(&bo->u.real.map_mutex); in radeon_bo_do_map()
451 if (bo->u.real.ptr) { in radeon_bo_do_map()
[all …]

12345678910>>...47