Home
last modified time | relevance | path

Searched refs:rint (Results 1 – 25 of 145) sorted by relevance

123456

/third_party/libffi/testsuite/libffi.call/
Dstrlen.c20 ffi_arg rint; in main() local
31 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); in main()
32 CHECK(rint == 1); in main()
35 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); in main()
36 CHECK(rint == 7); in main()
39 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); in main()
40 CHECK(rint == 25); in main()
Dstrlen3.c21 ffi_arg rint; in main() local
35 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
36 CHECK(rint == 1); in main()
40 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
41 CHECK(rint == 6); in main()
45 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
46 CHECK(rint == 26); in main()
Dstrlen2.c21 ffi_arg rint; in main() local
35 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
36 CHECK(rint == 1); in main()
40 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
41 CHECK(rint == 6); in main()
45 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
46 CHECK(rint == 26); in main()
Dstrlen4.c21 ffi_arg rint; in main() local
39 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
40 CHECK(rint == 2); in main()
45 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
46 CHECK(rint == 4); in main()
51 ffi_call(&cif, FFI_FN(my_f), &rint, values); in main()
52 CHECK(rint == 28); in main()
Dnegint.c22 ffi_arg rint; in main() local
45 ffi_call(&cif, FFI_FN(checking), &rint, values); in main()
47 printf ("%d vs %d\n", (int)rint, checking (si, ss, sc)); in main()
49 CHECK(rint != 0); in main()
Dfloat.c25 ffi_arg rint; in main() local
52 ffi_call(&cif, FFI_FN(floating), &rint, values); in main()
54 printf ("%d vs %d\n", (int)rint, floating (si1, f, d, ld)); in main()
56 CHECK((int)rint == floating(si1, f, d, ld)); in main()
Dreturn_sc.c19 ffi_arg rint; in main() local
32 ffi_call(&cif, FFI_FN(return_sc), &rint, values); in main()
33 CHECK((signed char)rint == sc); in main()
Dreturn_uc.c20 ffi_arg rint; in main() local
34 ffi_call(&cif, FFI_FN(return_uc), &rint, values); in main()
35 CHECK((unsigned char)rint == uc); in main()
Dpromotion.c22 ffi_arg rint; in main() local
53 ffi_call(&cif, FFI_FN(promotion), &rint, values); in main()
54 CHECK((int)rint == (signed char) sc + (signed short) ss + in main()
/third_party/musl/libc-test/src/functionalext/supplement/math/
Drint_ext.c37 int32_t ret = rint(argNum1); in rint_0100()
48 int32_t ret = rint(argNum2); in rint_0200()
59 int32_t ret = rint(argNum3); in rint_0300()
70 int32_t ret = rint(argNum4); in rint_0400()
81 int32_t ret = rint(0); in rint_0500()
/third_party/musl/src/math/x86_64/
Dexp2l.s61 fsub %st(2) # st(0)=x-rint(x), st(1)=1, st(2)=rint(x)
63 faddp # 2^(x-rint(x))
79 faddp # 2^(x-rint(x))
80 fldt (%rsp) # 2^rint(x)
/third_party/musl/src/math/x32/
Dexp2l.s61 fsub %st(2) # st(0)=x-rint(x), st(1)=1, st(2)=rint(x)
63 faddp # 2^(x-rint(x))
79 faddp # 2^(x-rint(x))
80 fldt (%esp) # 2^rint(x)
/third_party/musl/src/math/i386/
Dexp_ld.s71 fsub %st(2) # st(0)=x-rint(x), st(1)=1, st(2)=rint(x)
73 faddp # 2^(x-rint(x))
89 faddp # 2^(x-rint(x))
90 fldt (%esp) # 2^rint(x)
/third_party/skia/tests/sksl/intrinsics/
DRoundEven.metal18rint(_uniforms.testInputs.x)) == -1.0 && all(float2(rint(_uniforms.testInputs.xy)) == float2(-1.0,…
/third_party/ffmpeg/libavutil/
Dtablegen.h41 #define rint ff_rint macro
45 return rint(x); in ff_llrint()
51 return rint(x); in ff_lrint()
Dlibm.h394 #define llrint(x) ((long long)rint(x))
399 #define llrintf(x) ((long long)rint(x))
423 static inline double rint(double x) in rint() function
432 return rint(x); in lrint()
439 return (int)(rint(x)); in lrintf()
/third_party/gstreamer/gstplugins_good/gst/debugutils/
Dgstnavigationtest.c32 #define rint(x) (floor((x)+0.5)) macro
190 rint (click->x), rint (click->y), click->cy, click->cu, click->cv); in gst_navigationtest_transform_frame()
197 rint (navtest->x), rint (navtest->y), 0, 128, 128); in gst_navigationtest_transform_frame()
/third_party/libffi/testsuite/libffi.closures/
Dunwindtest_ffi_call.cc22 ffi_arg rint; in main() local
45 ffi_call(&cif, FFI_FN(checking), &rint, values); in main()
/third_party/musl/src/math/
Dlrint.c47 x = rint(x); in lrint_slow()
70 return rint(x); in lrint()
Dllrint.c7 return rint(x); in llrint()
/third_party/musl/porting/liteos_a/kernel/src/math/
Dlrint.c47 x = rint(x); in lrint_slow()
70 return rint(x); in lrint()
Dllrint.c7 return rint(x); in llrint()
/third_party/gstreamer/gstreamer/gst/
Dmath-compat.h85 #if defined (__GST_MATH_COMPAT_NEED_RINT) && !defined (rint)
86 #define rint(x) __gst_math_compat_rint(x) macro
/third_party/gstreamer/gstreamer/libs/gst/controller/
Dgstdirectcontrolbinding.c126 DEFINE_CONVERT (int, Int, INT, rint);
127 DEFINE_CONVERT (uint, UInt, UINT, rint);
128 DEFINE_CONVERT (long, Long, LONG, rint);
129 DEFINE_CONVERT (ulong, ULong, ULONG, rint);
130 DEFINE_CONVERT (int64, Int64, INT64, rint);
131 DEFINE_CONVERT (uint64, UInt64, UINT64, rint);
/third_party/musl/libc-test/src/api/
Dtgmath.c251 #ifdef rint in f()
252 {double r = rint(x);} in f()
254 #error no rint(x) in f()

123456