/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
H A D | UnrollFlatten_test.cpp | 43 void expect(const char *patterns[], size_t count) in expect() function in __anon20149::UnrollFlattenTest 121 expect(expectations, ArraySize(expectations)); in TEST_F() 160 expect(expectations, ArraySize(expectations)); in TEST_F() 199 expect(expectations, ArraySize(expectations)); in TEST_F() 227 expect(expectations, ArraySize(expectations)); in TEST_F()
|
/third_party/rust/crates/clap/tests/builder/ |
H A D | flag_subcommands.rs | 23 .expect("defaulted by clap")); in flag_subcommand_normal() 48 .expect("defaulted by clap")); in flag_subcommand_normal_with_alias() 69 .expect("defaulted by clap")); in flag_subcommand_short() 90 .expect("defaulted by clap")); in flag_subcommand_short_with_args() 115 .expect("defaulted by clap")); in flag_subcommand_short_with_alias() 188 .expect("defaulted by clap")); in flag_subcommand_short_with_aliases() 243 assert!(*subm.get_one::<bool>("clean").expect("defaulted by clap")); in flag_subcommand_short_after_long_arg() 264 .expect("defaulted by clap")); in flag_subcommand_long() 288 .expect("defaulted by clap")); in flag_subcommand_long_with_alias() 312 .expect("defaulte in flag_subcommand_long_with_aliases() [all...] |
H A D | require.rs | 29 assert!(*m.get_one::<bool>("color").expect("defaulted by clap")); in flag_required_2() 30 assert!(*m.get_one::<bool>("flag").expect("defaulted by clap")); in flag_required_2() 168 assert!(*m.get_one::<bool>("some").expect("defaulted by clap")); in group_required_2() 169 assert!(!*m.get_one::<bool>("other").expect("defaulted by clap")); in group_required_2() 170 assert!(*m.get_one::<bool>("flag").expect("defaulted by clap")); in group_required_2() 182 assert!(!*m.get_one::<bool>("some").expect("defaulted by clap")); in group_required_3() 183 assert!(*m.get_one::<bool>("other").expect("defaulted by clap")); in group_required_3() 184 assert!(*m.get_one::<bool>("flag").expect("defaulted by clap")); in group_required_3() 214 assert!(*m.get_one::<bool>("some").expect("defaulted by clap")); in arg_require_group_2() 215 assert!(!*m.get_one::<bool>("other").expect("defaulte in arg_require_group_2() [all...] |
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
H A D | callbacks.rs | 43 let ssl_idx = X509StoreContext::ssl_idx().expect("BUG: store context ssl index missing"); in raw_verify() 50 .expect("BUG: store context missing ssl") in raw_verify() 53 .expect("BUG: verify callback missing") as *const F; in raw_verify() 81 .expect("BUG: psk callback missing") as *const F; in raw_client_psk() 120 .expect("BUG: psk callback missing") as *const F; in raw_server_psk() 147 let ssl_idx = X509StoreContext::ssl_idx().expect("BUG: store context ssl index missing"); in ssl_raw_verify() 152 .expect("BUG: store context missing ssl") in ssl_raw_verify() 154 .expect("BUG: ssl verify callback missing") in ssl_raw_verify() 196 .expect("BUG: alpn callback missing") as *const F; in raw_alpn_select() 222 .expect("BU [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/ |
H A D | WasmAsmParser.cpp | 81 bool expect(AsmToken::TokenKind Kind, const char *KindName) { in expect() function in __anon24255::WasmAsmParser 111 if (expect(AsmToken::Comma, ",")) in parseSectionDirective() 147 if (expect(AsmToken::Comma, ",") || expect(AsmToken::At, "@") || in parseSectionDirective() 148 expect(AsmToken::EndOfStatement, "eol")) in parseSectionDirective() 163 if (expect(AsmToken::Comma, ",")) in parseDirectiveSize() 168 if (expect(AsmToken::EndOfStatement, "eol")) in parseDirectiveSize() 199 return expect(AsmToken::EndOfStatement, "EOL"); in parseDirectiveType()
|
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
H A D | generator_impl_sanitizer_test.cc | 54 auto* expect = R"(#include <metal_stdlib> in TEST_F() local 70 EXPECT_EQ(expect, got); in TEST_F() 100 auto* expect = R"(#include <metal_stdlib> in TEST_F() local 118 EXPECT_EQ(expect, got); in TEST_F() 149 auto* expect = R"(#include <metal_stdlib> in TEST_F() local 166 EXPECT_EQ(expect, got); in TEST_F() 205 auto* expect = R"(#include <metal_stdlib> in TEST_F() local 221 EXPECT_EQ(expect, got); in TEST_F()
|
/third_party/rust/crates/bindgen/bindgen/ir/analysis/ |
H A D | template_params.rs | 213 .expect( in take_this_id_usage_set() 218 .expect( in take_this_id_usage_set() 254 .expect("Should have a used entry for the template arg") in constrain_instantiation_of_blocklisted_template() 256 .expect( in constrain_instantiation_of_blocklisted_template() 286 .expect("Should have a used entry for instantiation's template definition") in constrain_instantiation() 288 .expect("And it should be Some because only this_id's set is None, and an \ in constrain_instantiation() 317 .expect("Should have a used entry for the template arg") in constrain_instantiation() 319 .expect( in constrain_instantiation() 350 .expect("Should have a used set for the sub_id successor") in constrain_join() 352 .expect( in constrain_join() [all...] |
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/lexer/ |
H A D | lexer_test.go | 28 expect tok.Token 118 case got[0].Kind != test.expect.Kind: 119 t.Errorf(`%v returned unexpected token kind: got "%+v", expected "%+v"`, name, got[0], test.expect) 120 case string(got[0].Runes) != string(test.expect.Runes): 121 t.Errorf(`%v returned unexpected token runes: got "%+v", expected "%+v"`, name, string(got[0].Runes), string(test.expect.Runes)) 122 case got[0].Source != test.expect.Source: 123 t.Errorf(`%v returned unexpected token source: got %+v, expected %+v`, name, got[0].Source, test.expect.Source) 131 expect string 140 if gotErr := err.Error(); test.expect != gotErr { 141 t.Errorf(`Lex() returned error "%+v", expected error "%+v"`, gotErr, test.expect) [all...] |
/third_party/python/Lib/test/ |
H A D | test_difflib.py | 392 def assertDiff(expect, actual): 393 # do not compare expect and equal as lists, because unittest 396 self.assertEqual(len(expect), len(actual)) 397 for e, a in zip(expect, actual): 400 expect = [ 408 assertDiff(expect, actual) 416 expect = [ 428 assertDiff(expect, actual) 438 expect = "lines to compare must be str, not bytes (b'hello')" 439 self._assert_type_error(expect, unifie [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/ |
H A D | BasicTest.java | 352 ", expect " + hex(exp)); in TestZeroIndex() 360 ", expect " + hex(exp)); in TestZeroIndex() 813 String expect = Utility.unescape(tests[i][outCol]); in staticTest() 819 if (!output.equals(expect)) { in staticTest() 821 + " expected '" + expect + "' (" + hex(expect) + ")" in staticTest() 829 String expect =Utility.unescape( tests[i][outCol]); in staticTest() 845 if (!expect.equals(new String(output,0,reqLength))) { in staticTest() 847 + " expected '" + expect + "' (" + hex(expect) in staticTest() 2562 public String input, expect; global() field in BasicTest.TestCompositionCase 2563 TestCompositionCase(Normalizer.Mode mode, int options, String input, String expect) TestCompositionCase() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | BasicTest.java | 349 ", expect " + hex(exp)); in TestZeroIndex() 357 ", expect " + hex(exp)); in TestZeroIndex() 810 String expect = Utility.unescape(tests[i][outCol]); in staticTest() 816 if (!output.equals(expect)) { in staticTest() 818 + " expected '" + expect + "' (" + hex(expect) + ")" in staticTest() 826 String expect =Utility.unescape( tests[i][outCol]); in staticTest() 842 if (!expect.equals(new String(output,0,reqLength))) { in staticTest() 844 + " expected '" + expect + "' (" + hex(expect) in staticTest() 2559 public String input, expect; global() field in BasicTest.TestCompositionCase 2560 TestCompositionCase(Normalizer.Mode mode, int options, String input, String expect) TestCompositionCase() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
H A D | ICUDurationTest.java | 178 String expect; in TestBasics() 183 expect = "fra quattro secondi"; in TestBasics() 184 if(!expect.equals(formatted)) { in TestBasics() 185 errln("Expected " + expect + " but got " + formatted); in TestBasics() 193 expect = years + " anni fa"; in TestBasics() 194 if(!expect.equals(formatted)) { in TestBasics() 195 errln("Expected " + expect + " but got " + formatted); in TestBasics() 201 expect = "fra un giorno"; in TestBasics() 202 if(!expect.equals(formatted)) { in TestBasics() 203 errln("Expected " + expect in TestBasics() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/ |
H A D | ICUDurationTest.java | 181 String expect; in TestBasics() 186 expect = "fra quattro secondi"; in TestBasics() 187 if(!expect.equals(formatted)) { in TestBasics() 188 errln("Expected " + expect + " but got " + formatted); in TestBasics() 196 expect = years + " anni fa"; in TestBasics() 197 if(!expect.equals(formatted)) { in TestBasics() 198 errln("Expected " + expect + " but got " + formatted); in TestBasics() 204 expect = "fra un giorno"; in TestBasics() 205 if(!expect.equals(formatted)) { in TestBasics() 206 errln("Expected " + expect in TestBasics() [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | putiltst.c | 53 static void doAssert(double expect, double got, const char *message); 451 static void doAssert(double got, double expect, const char *message) in doAssert() argument 453 if(! compareWithNAN(expect, got) ) { in doAssert() 454 log_err("ERROR : %s. Expected : %lf, Got: %lf\n", message, expect, got); in doAssert() 511 static void Test_aestrncpy(int32_t line, const uint8_t *expect, const uint8_t *src, int32_t len) in Test_aestrncpy() argument 521 if(!uprv_memcmp(str_buf, expect, AESTRNCPY_SIZE)) { in Test_aestrncpy() 523 log_verbose("\n%s:%d: expected: %s", __FILE__, line, dump_binline((uint8_t *)expect)); in Test_aestrncpy() 527 log_err ("\n%s:%d: expected: %s", __FILE__, line, dump_binline((uint8_t *)expect)); in Test_aestrncpy() 607 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findBasename() local 610 if(result==expect||!strcm in toolutil_findBasename() 701 const char *expect = STRNULL(testCases[i].expectResult); toolutil_findDirname() local [all...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | tests.rs | 77 .expect("should spawn `rustup run nightly rustfmt`"); in rustfmt() 97 io::copy(&mut stdout, &mut output).expect("Should copy stdout into vec OK"); in rustfmt() 101 let _ = child.wait().expect("should wait on rustfmt child OK"); in rustfmt() 105 .expect("writer thread should not have panicked") in rustfmt() 106 .expect("should have written to child rustfmt's stdin OK"); in rustfmt() 109 .expect("rustfmt should only emit valid utf-8"); in rustfmt() 113 .expect("stderr reader thread should not have panicked") in rustfmt() 114 .expect("should have read child rustfmt's stderr OK"); in rustfmt() 607 .expect("should spawn ../ci/no-includes.sh OK") in no_system_header_includes() 609 .expect("shoul in no_system_header_includes() [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | expression.c | 69 token = expect(token, '(', where); in parens_expression() 79 token = expect(token, '}', "at end of statement expression"); in parens_expression() 85 return expect(token, ')', where); in parens_expression() 169 return expect(token, '(', in builtin_types_compatible_p_expr() 174 return expect(token, ',', in builtin_types_compatible_p_expr() 179 return expect(token, ')', in builtin_types_compatible_p_expr() 197 return expect(token, '(', "after __builtin_offset"); in builtin_offsetof_expr() 207 return expect(token, ',', "in __builtin_offset"); in builtin_offsetof_expr() 216 return expect(token, ')', "at end of __builtin_offset"); in builtin_offsetof_expr() 239 token = expect(toke in builtin_offsetof_expr() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/ |
H A D | WebAssemblyAsmParser.cpp | 279 bool expect(AsmToken::TokenKind Kind, const char *KindName) { in expect() function in __anon24850::final 400 if (expect(AsmToken::Equal, "=")) in checkForP2AlignIfLoadStore() 587 expect(AsmToken::Integer, "integer"); 591 expect(AsmToken::RCurly, "}"); 599 if (expect(AsmToken::Comma, ",")) 617 if (expect(AsmToken::LParen, "(")) in parseSignature() 621 if (expect(AsmToken::RParen, ")")) in parseSignature() 623 if (expect(AsmToken::MinusGreater, "->")) in parseSignature() 625 if (expect(AsmToken::LParen, "(")) in parseSignature() 629 if (expect(AsmToke in parseSignature() [all...] |
/third_party/elfutils/tests/ |
H A D | leb128.c | 72 test_one_sleb (const unsigned char *data, size_t len, int64_t expect) in test_one_sleb() argument 79 if (value != expect || p != data + len) in test_one_sleb() 84 if (value != expect || p != data + len) in test_one_sleb() 121 test_one_uleb (const unsigned char *data, size_t len, uint64_t expect) in test_one_uleb() argument 128 if (value != expect || p != data + len) in test_one_uleb() 133 if (value != expect || p != data + len) in test_one_uleb()
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
H A D | zsh.rs | 20 .expect("crate::generate should have set the bin_name"); in generate() 94 .expect("crate::generate should have set the bin_name"); in subcommand_details() 131 subcommands_of(parser_of(p, bin_name).expect(INTERNAL_ERROR_MSG)) in subcommand_details() 237 parser_of(parent, bin_name).expect(INTERNAL_ERROR_MSG), in get_subcommands_of() 246 let children = get_subcommands_of(parser_of(parent, bin_name).expect(INTERNAL_ERROR_MSG)); in get_subcommands_of() 258 .expect("crate::generate should have set the bin_name"); in get_subcommands_of() 342 .expect("crate::generate should have set the bin_name"); in get_args_of() 466 let vc = vc.repeat(o.get_num_args().expect("built").min_values()); in write_opts_of() 639 let num_args = arg.get_num_args().expect("built"); in write_positionals_of()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | thcoll.cpp | 262 Collator::EComparisonResult expect; in compareArray() local 264 expect = Collator::LESS; in compareArray() 266 expect = Collator::GREATER; in compareArray() 268 expect = Collator::EQUAL; in compareArray() 270 // expect = Integer.decode(tests[i+1]).intValue(); in compareArray() 279 doTest(&c, s1, s2, expect); in compareArray() 283 if (sign(result) != sign(expect)) in compareArray() 289 + ") got " + result + "; expected " + expect); in compareArray() 313 if (sign(result) != sign(expect)) { in compareArray() 318 + ")) got " + result + "; expected " + expect); in compareArray() [all...] |
/third_party/python/Lib/test/test_importlib/ |
H A D | test_util.py | 259 def verify(self, module, expect): 268 self.assertEqual(expect, module.__package__) 568 expect = os.path.join('foo', 'bar', 'baz', '__pycache__', 571 expect) 582 expect = os.path.join('foo.bar', '__pycache__', 585 expect) 606 expect = os.path.join('__pycache__', 'foo.{}.pyc'.format(self.tag)) 608 expect) 631 expect = os.path.join('__pycache__', 'foo.{}.pyc'.format(self.tag)) 633 expect) [all...] |
/third_party/openssl/test/recipes/ |
H A D | 20-test_kdf.t | 95 my ($cmdarray, $expect) = @_; 96 if (defined($expect)) { 97 $expect = uc $expect; 102 if (defined($expect)) { 103 if ($lines[0] =~ m|^\Q${expect}\E\R$|) { 107 print "Exp: $expect\n";
|
/third_party/musl/libc-test/src/regression/ |
H A D | inet_ntop-v4mapped.c | 9 char *expect = "::ffff:192.168.0.1"; in main() local 12 if (inet_pton(AF_INET6, expect, addr) == 1) { in main() 16 t_error("inet_ntop produced %s instead of %s\n", buf, expect); in main()
|
/third_party/node/test/parallel/ |
H A D | test-url-format.js | 268 const expect = formatTests[u].href; 272 assert.strictEqual(actual, expect, 273 `wonky format(${u}) == ${expect}\nactual:${actual}`); 274 assert.strictEqual(actualObj, expect, 276 expect}\nactual: ${actualObj}`);
|
/third_party/skia/src/sksl/lex/ |
H A D | RegexParser.cpp | 29 void RegexParser::expect(char c) { in expect() function in RegexParser 103 this->expect('.'); in dot() 108 this->expect('('); in group() 110 this->expect(')'); in group() 132 expect('['); in set()
|