Home
last modified time | relevance | path

Searched refs:TYPE (Results 1 – 25 of 68) sorted by relevance

123

/glibc-2.36/math/
Dtest-tgmath.c182 #define TYPE double macro
192 #define TYPE float macro
202 #define TYPE long double macro
225 TYPE a, b, c = 1.0; in F()
226 complex TYPE d; in F()
285 a = scalb (scalb (x, a), (TYPE) (6)); in F()
397 a = scalb (y, (const TYPE) (6)); in F()
423 d = cos ((const complex TYPE) z); in F()
424 d = acos ((const complex TYPE) z); in F()
425 d = sin ((const complex TYPE) z); in F()
[all …]
Dtest-nan-payload.c31 #define CHECK_IS_NAN(TYPE, A) \ argument
35 puts ("PASS: " #TYPE " " #A); \
38 puts ("FAIL: " #TYPE " " #A); \
44 #define CHECK_SAME_NAN(TYPE, A, B) \ argument
48 puts ("PASS: " #TYPE " " #A " = " #B); \
51 puts ("FAIL: " #TYPE " " #A " = " #B); \
57 #define CHECK_DIFF_NAN(TYPE, A, B) \ argument
61 puts ("PASS: " #TYPE " " #A " != " #B); \
64 puts ("FAIL: " #TYPE " " #A " != " #B); \
74 #define RUN_TESTS(TYPE, SFUNC, FUNC, MANT_DIG) \ argument
[all …]
Dmath-narrow.h90 #define NARROW_ADD_ROUND_TO_ODD(X, Y, TYPE, UNION, SUFFIX, MANTISSA) \ argument
93 TYPE ret; \
98 ret = (TYPE) ((X) + (Y)); \
100 ret = (TYPE) ROUND_TO_ODD (math_opt_barrier (X) + (Y), \
112 #define NARROW_ADD_TRIVIAL(X, Y, TYPE) \ argument
115 TYPE ret; \
117 ret = (TYPE) ((X) + (Y)); \
148 #define NARROW_SUB_ROUND_TO_ODD(X, Y, TYPE, UNION, SUFFIX, MANTISSA) \ argument
151 TYPE ret; \
156 ret = (TYPE) ((X) - (Y)); \
[all …]
Dtst-CMPLX2.c25 #define COMPARE_BODY(A, B, TYPE, COPYSIGN) \ argument
27 TYPE s1 = COPYSIGN ((TYPE) 1.0, A); \
28 TYPE s2 = COPYSIGN ((TYPE) 1.0, B); \
78 #define VERIFY(A, B, TYPE, COMPARE, CL) \ argument
80 TYPE a = A; \
81 TYPE b = B; \
82 _Complex TYPE cr = CL (a, b); \
83 static _Complex TYPE cs = CL (A, B); \
88 #define ALL_CHECKS(PZ, NZ, NAN, INF, TYPE, COMPARE, CL) \ argument
90 VERIFY (PZ, PZ, TYPE, COMPARE, CL); \
[all …]
Dtest-tgmath2.c458 #define TYPE double macro
465 #define TYPE float macro
473 #define TYPE ldouble macro
491 TYPE in TYPE() function
492 (F(cos)) (TYPE x) in TYPE()
507 TYPE in TYPE() function
508 (F(fabs)) (TYPE x) in TYPE()
515 TYPE in TYPE() function
531 TYPE in TYPE() function
532 (F(expm1)) (TYPE x) in TYPE()
[all …]
Dtest-signgam-main.c25 #define INITVAL ((TYPE) -1 / 3)
28 TYPE signgam = INITVAL;
30 TYPE signgam;
33 #define RUN_TESTS(FUNC, TYPE) \ argument
36 volatile TYPE a, b, c __attribute__ ((unused)); \
Dtest-iszero-excess-precision.c23 #define TEST(TYPE, TRUE_MIN) \ argument
27 puts ("iszero removes excess precision for " #TYPE); \
30 puts ("iszero fails to remove excess precision for " #TYPE); \
Dlgamma-compat.h60 #define CALL_LGAMMA(TYPE, FUNC, ARG) \ argument
62 TYPE lgamma_tmp; \
Dtest-nan-overflow.c44 #define NAN_TEST(TYPE, FUNC) \ in do_test() argument
48 volatile TYPE v = FUNC (p); \ in do_test()
/glibc-2.36/sysdeps/generic/
Dmath-tests.h24 # define MATH_TESTS_TG(PREFIX, ARGS, TYPE) \ argument
25 (sizeof (TYPE) == sizeof (float) ? PREFIX ## float ARGS \
26 : sizeof (TYPE) == sizeof (double) ? PREFIX ## double ARGS \
27 : __builtin_types_compatible_p (TYPE, _Float128) ? PREFIX ## float128 ARGS \
30 # define MATH_TESTS_TG(PREFIX, ARGS, TYPE) \ argument
31 (sizeof (TYPE) == sizeof (float) ? PREFIX ## float ARGS \
32 : sizeof (TYPE) == sizeof (double) ? PREFIX ## double ARGS \
39 #define ROUNDING_TESTS(TYPE, MODE) \ argument
40 MATH_TESTS_TG (ROUNDING_TESTS_, (MODE), TYPE)
42 #define EXCEPTION_TESTS(TYPE) MATH_TESTS_TG (EXCEPTION_TESTS_, , TYPE) argument
Dlibc-tsd.h53 #define __libc_tsd_define(CLASS, TYPE, KEY) \ argument
54 CLASS __thread TYPE __libc_tsd_##KEY attribute_tls_model_ie;
56 #define __libc_tsd_address(TYPE, KEY) (&__libc_tsd_##KEY) argument
57 #define __libc_tsd_get(TYPE, KEY) (__libc_tsd_##KEY) argument
58 #define __libc_tsd_set(TYPE, KEY, VALUE) (__libc_tsd_##KEY = (VALUE)) argument
/glibc-2.36/include/
Dmath.h156 # define MATH_REDIRECT_UNARY_ARGS(TYPE) TYPE argument
157 # define MATH_REDIRECT_BINARY_ARGS(TYPE) TYPE, TYPE argument
158 # define MATH_REDIRECT_TERNARY_ARGS(TYPE) TYPE, TYPE, TYPE argument
/glibc-2.36/sysdeps/unix/sysv/linux/
Dclone-internal.c31 #define sizeof_field(TYPE, MEMBER) sizeof ((((TYPE *)0)->MEMBER)) argument
32 #define offsetofend(TYPE, MEMBER) \ argument
33 (offsetof (TYPE, MEMBER) + sizeof_field (TYPE, MEMBER))
/glibc-2.36/stdlib/
Dtst-width.c22 #define CHECK_WIDTH(TYPE, MAX, WIDTH) \ argument
25 if ((MAX >> ((TYPE) -1 < 0 ? (WIDTH - 2) : (WIDTH - 1))) != 1) \
27 puts ("bad width of " #TYPE); \
31 puts ("width of " #TYPE " OK"); \
Dtst-width-stdint.c25 #define CHECK_WIDTH(TYPE, MAX, WIDTH) \ argument
28 if ((MAX >> ((TYPE) -1 < 0 ? (WIDTH - 2) : (WIDTH - 1))) != 1) \
30 puts ("bad width of " #TYPE); \
34 puts ("width of " #TYPE " OK"); \
Dtst-strtol-locale-main.c32 #define TEST(LOC, STR, EXP_VAL, FN, TYPE, FMT) \ argument
36 TYPE val = FNX (FN) (STR, &ep, 36); \
38 if (val == (TYPE) (EXP_VAL) && *ep == 0) \
/glibc-2.36/nptl/
Dtst-rwlock2.c37 #ifndef TYPE in do_test()
38 # define TYPE PTHREAD_RWLOCK_PREFER_READER_NP in do_test() macro
41 if (pthread_rwlockattr_setkind_np (&at, TYPE) != 0) in do_test()
Dtst-mutex7a.c1 #define TYPE PTHREAD_MUTEX_ADAPTIVE_NP macro
Dtst-rwlock2b.c1 #define TYPE PTHREAD_RWLOCK_PREFER_WRITER_NP macro
/glibc-2.36/sysdeps/pthread/
Dtst-mutex7.c30 #ifndef TYPE
31 # define TYPE PTHREAD_MUTEX_DEFAULT macro
95 if (pthread_mutexattr_settype (&a, TYPE) != 0) in do_test()
Dtst-mutex5.c34 #ifndef TYPE
35 # define TYPE PTHREAD_MUTEX_NORMAL macro
51 TEST_COMPARE (pthread_mutexattr_settype (&a, TYPE), 0); in do_test_clock()
/glibc-2.36/sysdeps/ia64/fpu/
Dlgamma-compat.h32 #define CALL_LGAMMA(TYPE, FUNC, ARG) \ argument
34 TYPE lgamma_tmp; \
/glibc-2.36/posix/
Dposix-conf-vars.list2 # is of the format TYPE PREFIX SC_PREFIX with the opening curly brace on the
3 # same line. TYPE can either be SYSCONF, PATHCONF, CONFSTR or SPEC. In the
/glibc-2.36/libio/
DlibioP.h90 #define _IO_MEMBER_TYPE(TYPE, MEMBER) __typeof__ (((TYPE){}).MEMBER) argument
94 #define _IO_CAST_FIELD_ACCESS(THIS, TYPE, MEMBER) \ argument
95 (*(_IO_MEMBER_TYPE (TYPE, MEMBER) *)(((char *) (THIS)) \
96 + offsetof(TYPE, MEMBER)))
122 #define JUMP_FIELD(TYPE, NAME) TYPE NAME argument
/glibc-2.36/timezone/
Dnorthamerica123 # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
281 # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER
318 # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER
357 # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER
378 # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER
597 # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER
616 # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER
635 # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER
656 # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER
677 # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER
[all …]

123