Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 25 of 55) sorted by relevance

123

/glibc-2.36/posix/
Dtst-regex.c49 static int test_expr (const char *expr, int expected, int expectedicase);
50 static int run_test (const char *expr, const char *mem, size_t memlen,
52 static int run_test_backwards (const char *expr, const char *mem,
145 test_expr (const char *expr, int expected, int expectedicase) in test_expr() argument
158 printf ("\nTest \"%s\" with multi-byte locale\n", expr); in test_expr()
159 result |= run_test (expr, mem, memlen, 0, expected); in test_expr()
160 printf ("\nTest \"%s\" with multi-byte locale, case insensitive\n", expr); in test_expr()
161 result |= run_test (expr, mem, memlen, 1, expectedicase); in test_expr()
162 printf ("\nTest \"%s\" backwards with multi-byte locale\n", expr); in test_expr()
163 result |= run_test_backwards (expr, mem, memlen, 0, expected); in test_expr()
[all …]
Dwordexp.c60 static int eval_expr (char *expr, long int *result);
541 eval_expr_val (char **expr, long int *result) in eval_expr_val() argument
546 for (digit = *expr; digit && *digit && isspace (*digit); ++digit); in eval_expr_val()
551 for (++digit; **expr && **expr != ')'; ++(*expr)); in eval_expr_val()
554 if (!**expr) in eval_expr_val()
557 *(*expr)++ = 0; in eval_expr_val()
567 *result = strtol (digit, expr, 0); in eval_expr_val()
568 if (digit == *expr) in eval_expr_val()
575 eval_expr_multdiv (char **expr, long int *result) in eval_expr_multdiv() argument
580 if (eval_expr_val (expr, result) != 0) in eval_expr_multdiv()
[all …]
/glibc-2.36/assert/
Dassert.h50 # define assert(expr) (__ASSERT_VOID_CAST (0)) argument
89 # define assert(expr) \ argument
90 (static_cast <bool> (expr) \
92 : __assert_fail (#expr, __FILE__, __LINE__, __ASSERT_FUNCTION))
94 # define assert(expr) \
95 ((expr) \
97 : __assert_fail (#expr, __FILE__, __LINE__, __ASSERT_FUNCTION))
104 # define assert(expr) \
105 ((void) sizeof ((expr) ? 1 : 0), __extension__ ({ \
106 if (expr) \
[all …]
/glibc-2.36/sysdeps/sparc/
Dsparc-ifunc.h22 #define sparc_libc_ifunc_redirected(redirected_name, name, expr) \ argument
23 __ifunc (redirected_name, name, expr(hwcap), int hwcap, INIT_ARCH)
25 #define sparc_libm_ifunc(name, expr) \ argument
26 __ifunc (name, name, expr, int hwcap, libm_ifunc_init)
28 #define sparc_libc_ifunc(name, expr) sparc_libm_ifunc (name, expr) argument
30 #define sparc_libm_ifunc_redirected(redirected_name, name, expr) \ argument
31 __ifunc (redirected_name, name, expr, int hwcap, libm_ifunc_init)
/glibc-2.36/support/
Dcheck.h50 #define TEST_VERIFY(expr) \ argument
52 if (expr) \
55 support_test_verify_impl (__FILE__, __LINE__, #expr); \
59 #define TEST_VERIFY_EXIT(expr) \ argument
61 if (expr) \
65 (1, __FILE__, __LINE__, #expr); \
78 const char *expr);
80 const char *expr)
Dsupport_test_compare_blob.c27 report_length (const char *what, unsigned long int length, const char *expr) in report_length() argument
29 printf (" %s %lu bytes (from %s)\n", what, length, expr); in report_length()
34 unsigned long int length, const char *expr) in report_blob() argument
37 printf (" %s (evaluated from %s): NULL\n", what, expr); in report_blob()
40 printf (" %s (evaluated from %s):\n", what, expr); in report_blob()
Dsupport_test_verify_impl.c26 support_test_verify_impl (const char *file, int line, const char *expr) in support_test_verify_impl() argument
30 printf ("error: %s:%d: not true: %s\n", file, line, expr); in support_test_verify_impl()
36 const char *expr) in support_test_verify_exit_impl() argument
38 support_test_verify_impl (file, line, expr); in support_test_verify_exit_impl()
/glibc-2.36/include/
Dlibc-symbols.h160 # define _weak_extern(expr) _Pragma (#expr) argument
735 #define __ifunc_resolver(type_name, name, expr, arg, init, classifier) \ argument
740 __typeof (type_name) *res = expr; \
745 # define __ifunc(type_name, name, expr, arg, init) \ argument
748 __ifunc_resolver (type_name, name, expr, arg, init, static)
750 # define __ifunc_hidden(type_name, name, expr, arg, init) \ argument
751 __ifunc (type_name, name, expr, arg, init)
762 # define __ifunc(type_name, name, expr, arg, init) \ argument
765 __ifunc_resolver (type_name, name, expr, arg, init,) \
768 # define __ifunc_hidden(type_name, name, expr, arg, init) \ argument
[all …]
Dlibc-pointer-arith.h33 # define __integer_if_pointer_type(expr) \ argument
34 __integer_if_pointer_type_sub(__typeof__ ((__typeof__ (expr)) 0), \
35 __pointer_type (__typeof__ (expr)))
/glibc-2.36/nss/
Dtst-field.c33 check (const char *what, bool expr) in check() argument
35 if (!expr) in check()
42 #define CHECK(expr) check (#expr, (expr)) argument
/glibc-2.36/math/
Dbug-tgmath1.c10 #define TEST(expr, res) \ in main() argument
11 if (sizeof (expr) != res) \ in main()
13 printf ("sizeof(%s) == %zu, expected %zu\n", #expr, \ in main()
14 sizeof (expr), (size_t) (res)); \ in main()
Dtest-tgmath2.c97 #define TEST_TYPE_ONLY(expr, rettype) \ argument
100 __typeof__ (expr) texpr = 0; \
102 if (sizeof (expr) != sizeof (rettype)) \
104 if (__alignof__ (expr) != __alignof__ (rettype)) \
111 #define TEST2(expr, type, rettype, fn) \ argument
114 __typeof__ (expr) texpr = 0; \
115 TEST_TYPE_ONLY (expr, rettype); \
120 texpr = expr; \
131 #define TEST(expr, type, fn) TEST2(expr, type, type, fn) argument
/glibc-2.36/sysdeps/hurd/include/hurd/
Dfd.h17 #define HURD_DPORT_USE_CANCEL(fd, expr) \ argument
18 HURD_FD_USE ((fd), HURD_FD_PORT_USE_CANCEL (descriptor, (expr)))
21 #define HURD_FD_PORT_USE_CANCEL(fd, expr) \ argument
41 __result = (expr); \
Dport.h17 #define HURD_PORT_USE_CANCEL(portcell, expr) \ argument
20 __typeof(expr) __result; \
27 __result = (expr); \
/glibc-2.36/hurd/hurd/
Dfd.h108 #define HURD_FD_USE(fd, expr) \ argument
110 descriptor == NULL ? EBADF : (expr); })
115 #define HURD_DPORT_USE(fd, expr) \ argument
116 HURD_FD_USE ((fd), HURD_FD_PORT_USE (descriptor, (expr)))
121 #define HURD_FD_PORT_USE(fd, expr) \ argument
139 __result = (expr); \
/glibc-2.36/debug/
Dxtrace.sh77 width=$(expr $COLUMNS - 30)
78 filelen=$(expr length $file)
80 rwidth=$(expr $width - 3)
154 printf "%-20s %-*s %6s\n" Function $(expr $COLUMNS - 30) File Line
/glibc-2.36/localedata/
Dtst-mbswcs4.c24 #define show(expr, nexp, wcexp, end) \ argument
25 n = expr; \
26 printf (#expr " -> %zu", n); \
Dtst-mbswcs1.c24 #define show(expr, nexp, wcexp) \ argument
25 n = expr; \
26 printf (#expr " -> %zu", n); \
Dtst-mbswcs2.c24 #define show(expr, nexp, wcexp, end) \ argument
25 n = expr; \
26 printf (#expr " -> %zu", n); \
Dtst-mbswcs5.c24 #define show(expr, nexp, bufexp) \ argument
26 size_t res = expr; \
27 printf (#expr " -> %zu", res); \
Dtst-mbswcs3.c24 #define show(expr, nexp, srcexp, bufexp) \ argument
26 size_t res = expr; \
27 printf (#expr " -> %zu", res); \
/glibc-2.36/soft-fp/
Dsoft-fp.h62 # define _FP_STATIC_ASSERT(expr, msg) \ argument
63 _Static_assert ((expr), msg)
65 # define _FP_STATIC_ASSERT(expr, msg) \ argument
67 [!!sizeof (struct { int __error_if_negative: (expr) ? 2 : -1; })]
/glibc-2.36/timezone/
Dtzselect.ksh116 select_width=`expr $# : '.*'`
127 select_i=`expr $select_i + 1`
134 shift `expr $select_i - 1`
168 shift `expr $OPTIND - 1`
/glibc-2.36/sysdeps/hurd/include/
Dhurd.h7 #define __USEPORT_CANCEL(which, expr) \ argument
8 HURD_PORT_USE_CANCEL (&_hurd_ports[INIT_PORT_##which], (expr))
/glibc-2.36/sysdeps/arm/
Darm-ifunc.h24 #define arm_libc_ifunc_redirected(redirected_name, name, expr) \ argument
25 __ifunc (redirected_name, name, expr(hwcap), int hwcap, INIT_ARCH)

123