/third_party/nghttp2/integration-tests/ |
H A D | nghttpx_http2_test.go | 33 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 D | nghttpx_http1_test.go | 31 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 D | strxfrm.c | 30 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 D | mtest.c | 50 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 D | mtest.h | 98 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 D | a_d2i_fp.c | 114 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 D | a_d2i_fp.c | 114 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 D | gen.c | 39 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 D | ulp.h | 42 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 D | vprintf.c | 35 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 D | structdata.c | 118 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 D | memmove.c | 54 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 D | wcsnlen.c | 29 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 D | strnlen.c | 27 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 D | wcscspn.c | 31 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 D | reindent.py | 212 # 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 D | test-cli-node-options.js | 88 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 D | string_memcpy.c | 19 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 D | doctest.py | 111 # - 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 D | printf-1e9-oob.c | 7 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 D | printf-fmt-g-round.c | 7 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 D | printf-fmt-g-zeros.c | 7 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 D | test_telnetlib.py | 189 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 D | SRGBTest.cpp | 117 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 D | strtoimax.c | 30 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()
|