Home
last modified time | relevance | path

Searched refs:want (Results 1 - 25 of 208) sorted by relevance

123456789

/third_party/nghttp2/integration-tests/
H A Dnghttpx_http2_test.go33 if got, want := res.status, http.StatusOK; got != want {
34 t.Errorf("status = %v; want %v", got, want)
45 if got, want := xfp, "foo, http"; got != want {
46 t.Errorf("X-Forwarded-Proto = %q; want %q", got, want)
62 if got, want := res.status, http.StatusOK; got != want {
[all...]
H A Dnghttpx_http1_test.go31 if got, want := res.status, http.StatusOK; got != want {
32 t.Errorf("status = %v; want %v", got, want)
52 if got, want := res.status, http.StatusOK; got != want {
53 t.Errorf("status = %v; want %v", got, want)
76 if got, want := res.status, http.StatusNotImplemented; got != want {
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/locale/
H A Dstrxfrm.c30 int want = 6; in strxfrm_0100() local
31 size_t result = strxfrm(desp, str, want + 1); in strxfrm_0100()
32 if (result != want) { in strxfrm_0100()
33 t_error("%s strxfrm get size is %d is not want %d\n", __func__, result, want); in strxfrm_0100()
36 t_error("%s strxfrm get desp is %s is not want %s\n", __func__, desp, str); in strxfrm_0100()
49 int want = 6; in strxfrm_0200() local
50 size_t result = strxfrm(desp, str, want); in strxfrm_0200()
51 if (result != want) { in strxfrm_0200()
52 t_error("%s strxfrm get size is %d is not want in strxfrm_0200()
68 int want = 3; strxfrm_0300() local
87 int want = 6; strxfrm_0400() local
107 int want = 6; strxfrm_0500() local
127 int want = 6; strxfrm_0600() local
149 int want = 6; strxfrm_0700() local
[all...]
/third_party/musl/libc-test/src/common/
H A Dmtest.c50 float ulperrf(float got, float want, float dwant) in ulperrf() argument
52 if (isnan(got) && isnan(want)) in ulperrf()
54 if (got == want) { in ulperrf()
55 if (signbit(got) == signbit(want)) in ulperrf()
61 want *= 0.5; in ulperrf()
63 return scalbn(got - want, -eulpf(want)) + dwant; in ulperrf()
66 float ulperr(double got, double want, float dwant) in ulperr() argument
68 if (isnan(got) && isnan(want)) in ulperr()
70 if (got == want) { in ulperr()
82 ulperrl(long double got, long double want, float dwant) ulperrl() argument
[all...]
H A Dmtest.h98 float ulperr(double got, double want, float dwant);
99 float ulperrf(float got, float want, float dwant);
100 float ulperrl(long double got, long double want, float dwant);
102 static int checkexcept(int got, int want, int r) in checkexcept() argument
106 return got == want; in checkexcept()
108 return got == want || got == (want|INEXACT); in checkexcept()
110 return (got|INEXACT) == (want|INEXACT); in checkexcept()
112 return (got|INEXACT|UNDERFLOW) == (want|INEXACT|UNDERFLOW); in checkexcept()
115 static int checkexceptall(int got, int want, in argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Da_d2i_fp.c114 size_t want = HEADER_SIZE; in asn1_d2i_read_bio() local
133 if (want >= diff) { in asn1_d2i_read_bio()
134 want -= diff; in asn1_d2i_read_bio()
136 if (len + want < len || !BUF_MEM_grow_clean(b, len + want)) { in asn1_d2i_read_bio()
140 i = BIO_read(in, &(b->data[len]), want); in asn1_d2i_read_bio()
179 want = HEADER_SIZE; in asn1_d2i_read_bio()
186 want = HEADER_SIZE; in asn1_d2i_read_bio()
189 want = slen; in asn1_d2i_read_bio()
190 if (want > (le in asn1_d2i_read_bio()
[all...]
/third_party/openssl/crypto/asn1/
H A Da_d2i_fp.c114 size_t want = HEADER_SIZE; in asn1_d2i_read_bio() local
133 if (want >= diff) { in asn1_d2i_read_bio()
134 want -= diff; in asn1_d2i_read_bio()
136 if (len + want < len || !BUF_MEM_grow_clean(b, len + want)) { in asn1_d2i_read_bio()
140 i = BIO_read(in, &(b->data[len]), want); in asn1_d2i_read_bio()
179 want = HEADER_SIZE; in asn1_d2i_read_bio()
186 want = HEADER_SIZE; in asn1_d2i_read_bio()
189 want = slen; in asn1_d2i_read_bio()
190 if (want > (le in asn1_d2i_read_bio()
[all...]
/third_party/musl/libc-test/src/math/gen/
H A Dgen.c39 static int check(struct t *want, struct t *got, struct fun *f, float ulpthres, float *abserr);
126 static int check(struct t *want, struct t *got, struct fun *f, float ulpthres, float *abserr) in check() argument
131 if ((got->e|m) != (want->e|m)) { in check()
132 fprintf(stdout, "//%s %s(%La,%La)==%La except: want %s", in check()
133 rstr(want->r), f->name, want->x, want->x2, want->y, estr(want->e)); in check()
137 if (isnan(got->y) && isnan(want in check()
[all...]
/third_party/optimized-routines/math/test/
H A Dulp.h42 RT(float) want = p->y;
46 if (RT(asuint) (got) == RT(asuint) (want))
48 if (signbit (got) != signbit (want))
50 //return isnan(got) && isnan(want) ? 0 : INFINITY;
52 if (!isfinite (want) || !isfinite (got))
54 if (isnan (got) != isnan (want))
56 if (isnan (want))
61 want *= 0.5f;
63 if (isinf (want))
65 want
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dvprintf.c35 char *want = "This is the 1th test for vprintf"; in vprintf_0100() local
36 int len = strlen(want); in vprintf_0100()
38 t_error("%s vprintf get wrong result, want %s", __func__, want); in vprintf_0100()
56 char *want = "This is the 2th test for vprintf"; in vprintf_0200() local
57 int len = strlen(want); in vprintf_0200()
59 t_error("%s vprintf get wrong result, want %s", __func__, want); in vprintf_0200()
/third_party/skia/third_party/externals/expat/expat/tests/
H A Dstructdata.c118 const StructDataEntry *want = &expected[i]; in StructData_CheckItems() local
121 assert(want != NULL); in StructData_CheckItems()
123 if (xcstrcmp(got->str, want->str) != 0) { in StructData_CheckItems()
127 if (got->data0 != want->data0 || got->data1 != want->data1 in StructData_CheckItems()
128 || got->data2 != want->data2) { in StructData_CheckItems()
132 got->str, want->data0, want->data1, want->data2, got->data0, in StructData_CheckItems()
/third_party/optimized-routines/string/test/
H A Dmemmove.c54 unsigned char *want = wbuf; in test() local
57 unsigned char *w = want + dalign; in test()
68 want[i] = dst[i] = '*'; in test()
78 if (dst[i] != want[i]) in test()
83 quoteat ("want", want, len + A, i); in test()
94 unsigned char *want = wbuf; in test_overlap() local
106 src[i] = want[i] = '?'; in test_overlap()
109 s[i] = want[salign + i] = 'a' + i % 23; in test_overlap()
123 if (dst[i] != want[ in test_overlap()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/string/
H A Dwcsnlen.c29 size_t want = 6; in wcsnlen_0100() local
31 if (result != want) { in wcsnlen_0100()
32 t_error("%s wcsnlen error get result is %d are not want 6\n", __func__, result); in wcsnlen_0100()
46 t_error("%s wcsnlen error get result is %d are not want 0\n", __func__, result); in wcsnlen_0200()
58 size_t want = 3; in wcsnlen_0300() local
60 if (result != want) { in wcsnlen_0300()
61 t_error("%s wcsnlen error get result is %d are not want 3\n", __func__, result); in wcsnlen_0300()
74 size_t want = 6; in wcsnlen_0400() local
76 if (result != want) { in wcsnlen_0400()
77 t_error("%s wcsnlen error get result is %d are not want in wcsnlen_0400()
[all...]
H A Dstrnlen.c27 size_t want = 5; in strnlen_0100() local
30 if (result != want) { in strnlen_0100()
42 size_t want = 6; in strnlen_0200() local
45 if (result != want) { in strnlen_0200()
H A Dwcscspn.c31 t_error("%s wcscspn get result is %d are not want 0U\n", __func__, result); in wcscspn_0100()
43 size_t want = 5U; in wcscspn_0200() local
44 if (result != want) { in wcscspn_0200()
45 t_error("%s wcscspn get result is %d are not want 5U\n", __func__, result); in wcscspn_0200()
57 size_t want = 11U; in wcscspn_0300() local
58 if (result != want) { in wcscspn_0300()
59 t_error("%s wcscspn get result is %d are not want 11U\n", __func__, result); in wcscspn_0300()
/third_party/python/Tools/scripts/
H A Dreindent.py212 # Map count of leading spaces to # we want.
224 want = thislevel * 4
225 if want < 0:
231 want = have2want.get(have, -1)
232 if want < 0:
238 want = jlevel * 4
240 if want < 0: # Maybe it's a hanging
247 want = have + (getlspace(after[jline - 1]) -
250 if want < 0:
252 want
[all...]
/third_party/node/test/parallel/
H A Dtest-cli-node-options.js88 function expectNoWorker(opt, want, command, wantsError) {
89 expect(opt, want, command, wantsError, false);
93 opt, want, command = 'console.log("B")', wantsError = false, testWorker = true
101 if (typeof want === 'string')
102 want = new RegExp(want);
112 if (want.test(stdout)) return;
115 `${type}: for ${o}, failed to find ${want} in: <\n${stdout}\n>`
/third_party/musl/libc-test/src/functional/
H A Dstring_memcpy.c19 char *want = aligned(buf + 256); in test_align() local
27 dst[i] = want[i] = ' '; in test_align()
30 src[salign+i] = want[dalign+i] = '0'+i; in test_align()
35 if (dst[i] != want[i]) { in test_align()
38 t_printf("want: %.*s\n", dalign+len+1, want); in test_align()
/third_party/python/Lib/
H A Ddoctest.py111 # - Example: a <source, want> pair, plus an intra-docstring line number.
162 # Special string markers for use in `want` strings:
271 def _ellipsis_match(want, got):
277 if ELLIPSIS_MARKER not in want:
278 return want == got
281 ws = want.split(ELLIPSIS_MARKER)
311 # due to an ellipsis at the start or end of `want`. That's OK.
428 ## - An "example" is a <source, want> pair, where "source" is a
429 ## fragment of source code, and "want" is the expected output for
445 - want
[all...]
/third_party/musl/libc-test/src/regression/
H A Dprintf-1e9-oob.c7 static void t(const char *fmt, double d, const char *want) in t() argument
10 int n = strlen(want); in t()
12 if (r != n || memcmp(buf, want, n+1) != 0) in t()
13 t_error("snprintf(\"%s\",%f) want %s got %s\n", fmt, d, want, buf); in t()
H A Dprintf-fmt-g-round.c7 static void t(const char *fmt, double d, const char *want) in t() argument
10 int n = strlen(want); in t()
12 if (r != n || memcmp(buf, want, n+1) != 0) in t()
13 t_error("snprintf(\"%s\", %f) want %s got %s\n", fmt, d, want, buf); in t()
H A Dprintf-fmt-g-zeros.c7 static void t(const char *fmt, double d, const char *want) in t() argument
10 int n = strlen(want); in t()
12 if (r != n || memcmp(buf, want, n+1) != 0) in t()
13 t_error("snprintf(\"%s\",%f) want %s got %s\n", fmt, d, want, buf); in t()
/third_party/python/Lib/test/
H A Dtest_telnetlib.py189 want = [b'xxxmatchyyy']
190 telnet = test_telnet(want)
233 want = b'x' * 100
234 telnet = test_telnet([want])
245 self.assertEqual(data, want)
256 want = b'x' * 100
257 telnet = test_telnet([want])
262 self.assertEqual(want, data)
266 want = b'x' * 100
267 telnet = test_telnet([want])
[all...]
/third_party/skia/tests/
H A DSRGBTest.cpp117 SkColor4f want = expected(i); in DEF_TEST() local
119 SkDebugf("got %g %g %g, want %g %g %g\n", in DEF_TEST()
121 want.fR, want.fG, want.fB); in DEF_TEST()
123 REPORTER_ASSERT(r, close(rgba[i].fR, want.fR)); in DEF_TEST()
124 REPORTER_ASSERT(r, close(rgba[i].fG, want.fG)); in DEF_TEST()
125 REPORTER_ASSERT(r, close(rgba[i].fB, want.fB)); in DEF_TEST()
/third_party/musl/libc-test/src/functionalext/supplement/stdlib/
H A Dstrtoimax.c30 intmax_t want = -18737357; in strtoimax_0100() local
32 if (result != want) { in strtoimax_0100()
48 intmax_t want = -0x18737357f; in strtoimax_0200() local
50 if (result != want) { in strtoimax_0200()

Completed in 10 milliseconds

123456789