Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 25 of 99) sorted by relevance

1234

/glibc-2.36/time/
Dtst-strptime2.c68 long int expect = LONG_MAX; in mkbuf() local
90 expect = neg ? -tm_gmtoff : tm_gmtoff; in mkbuf()
93 return expect; in mkbuf()
114 compare (const char *buf, long int expect, unsigned int *nresult) in compare() argument
126 fail = test_result != expect; in compare()
130 bool expect_string_valid = expect != LONG_MAX; in compare()
133 describe (expect_string_valid, expect); in compare()
155 long int expect; in do_test() local
171 expect = LONG_MAX; in do_test()
172 result |= compare (buf, expect, nresult); in do_test()
[all …]
/glibc-2.36/posix/
Dtst-rxspencer.c218 char *expect, char *matches, const char *fail) in test() argument
276 if (expect == NULL) in test()
284 if (expect == NULL) in test()
293 ret = check_match (rm, 0, string, expect, fail); in test()
322 char *expect, const char *matches, const char *letters, in mb_test() argument
328 char *expect_mb = mb_frob_string (expect, letters); in mb_test()
333 || (expect && !expect_mb) || (matches && !matches_mb)) in mb_test()
352 char *expect, const char *matches) in mb_tests() argument
400 ret |= mb_test (pattern, cflags, string, eflags, expect, matches, in mb_tests()
440 char *pattern, *flagstr, *string, *expect, *matches, *p; in main() local
[all …]
Dbug-regex6.c34 regmatch_t expect[10] = { in main() local
59 if (! memcmp (mat, expect, sizeof (mat))) in main()
Dtst-fnmatch.input64 # expect [a-z] to match uppercase characters.
/glibc-2.36/stdio-common/
Dbug17.c7 static const char expect[] = "0, 0, 0"; in do_test() local
13 if (strcmp (buf, expect) != 0) in do_test()
15 printf ("\"%s\": got \"%s\", expected \"%s\"\n", fmt1, buf, expect); in do_test()
21 if (strcmp (buf, expect) != 0) in do_test()
23 printf ("\"%s\": got \"%s\", expected \"%s\"\n", fmt2, buf, expect); in do_test()
Dtst-fphex.c29 const CHAR_T *expect; member
57 if (n != STR_LEN (t->expect) || STR_CMP (buf, t->expect) != 0) in do_test()
61 t->fmt, t->expect, STR_LEN (t->expect), in do_test()
/glibc-2.36/stdlib/
Dtst-strtoll.c14 unsigned long long int expect; /* To get this. */ member
329 if (l == (long long int) lt->expect && *ep == lt->left in do_test()
335 if (l != (long long int) lt->expect) in do_test()
337 l, (long long int) lt->expect); in do_test()
362 if (ul == lt->expect && *ep == lt->left && save_errno == lt->err) in do_test()
367 if (ul != lt->expect) in do_test()
369 ul, lt->expect); in do_test()
Dtst-strtol.c14 unsigned long int expect; /* To get this. */ member
554 if (l == (long int) lt->expect && *ep == lt->left in do_test()
560 if (l != (long int) lt->expect) in do_test()
562 l, (long int) lt->expect); in do_test()
587 if (ul == lt->expect && *ep == lt->left && save_errno == lt->err) in do_test()
592 if (ul != lt->expect) in do_test()
594 ul, lt->expect); in do_test()
Dtst-strtod.c31 double expect; /* To get this. */ member
102 if (d == lt->expect && *ep == lt->left && save_errno == lt->err) in do_test()
107 if (d != lt->expect) in do_test()
108 printf (" returns %.60g, expected %.60g\n", d, lt->expect); in do_test()
/glibc-2.36/string/
Dtest-memccpy.c45 void *expect = len > n ? NULL : (char *) dst + len; in do_one_test() local
46 if (CALL (impl, dst, src, c, n) != expect) in do_one_test()
49 CALL (impl, dst, src, c, n), expect); in do_one_test()
166 unsigned char *expect; in do_random_tests() local
170 expect = NULL; in do_random_tests()
172 expect = p2 + align2 + len + 1; in do_random_tests()
174 if (res != expect) in do_random_tests()
177 n, impl->name, align1, align2, len, size, c, res, expect); in do_random_tests()
DMakefile235 $(objpfx)tst-svc-cmp.out: tst-svc.expect $(objpfx)tst-svc.out
/glibc-2.36/localedata/
Dtst-numeric.sh29 while IFS=" " read locale format value expect; do
33 "$locale" "$format" "$value" "$expect" < /dev/null
36 "Value: \"${value}\" Expect: \"${expect}\" passed"
40 "Value: \"${value}\" Expect: \"${expect}\" failed"
Dtst-fmon.sh56 while IFS=" " read locale format value expect; do
60 expect=`echo "$expect" | sed 's/^\"\(.*\)\"$/\1/'`
62 "$locale" "$format" "$value" "$expect" < /dev/null || ret=$?
/glibc-2.36/nptl/
Dtst-cleanup4.c146 const int expect[] = in do_test() local
190 if (global != expect[i]) in do_test()
192 printf ("global = %d, expected %d\n", global, expect[i]); in do_test()
/glibc-2.36/scripts/
Dtest_printers_common.py102 gdb.expect(gdb_prompt)
133 index = gdb.expect([u'{0}.+{1}'.format(pattern, gdb_prompt),
151 gdb.expect(gdb_prompt)
/glibc-2.36/localedata/tests-mbwc/
Dtst_funcs.h64 TEX_##_FUNC_##_REC expect; \
75 #define TST_EXPECT(func) tst_##func##_loc[ loc ].rec[ rec ].expect
79 tst_##func##_loc[ loc ].rec[ rec ].expect.seq[ seq_num ]
/glibc-2.36/timezone/
Detcetera32 # even though this is the opposite of what many people expect.
33 # POSIX has positive signs west of Greenwich, but many people expect
36 # (i.e. west of Greenwich) even though many people would expect it to
/glibc-2.36/nis/
DVersions3 # Many programs expect this, but every user program should
/glibc-2.36/intl/
Dplural.y52 %expect 7
/glibc-2.36/manual/
DREADME.tunables97 where it can expect the tunable value to be passed in VALP.
Dio.texi59 on. Certain functions expect streams, and others are designed to
123 portable as streams. You can expect any system running @w{ISO C} to
Dgetopt.texi97 written to expect this.
Dmath.texi152 does not define it. Fixing programs written to expect it is simple:
1940 what you expect.
/glibc-2.36/localedata/locales/
Dhr_HR85 % would expect to find them among dž, lj and nj
/glibc-2.36/sysdeps/pthread/
DMakefile269 $(objpfx)tst-cleanup0-cmp.out: $(..)sysdeps/pthread/tst-cleanup0.expect $(objpfx)tst-cleanup0.out

1234