/third_party/rust/crates/clap/examples/tutorial_builder/ |
H A D | 04_01_enum.rs | 26 .expect("no values are skipped") in fmt() 57 .expect("'MODE' is required and parsing will fail if its missing") in main()
|
/third_party/rust/crates/bindgen/bindgen-cli/ |
H A D | main.rs | 52 builder.generate().expect("Unable to generate bindings"); in main() 56 bindings.write(output).expect("Unable to write output"); in main()
|
/third_party/python/Lib/test/test_json/ |
H A D | test_separators.py | 10 expect = textwrap.dedent("""\ 40 self.assertEqual(d2, expect)
|
H A D | test_scanstring.py | 90 def assertScan(given, expect): 92 (expect, len(given)))
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | ext.py | 243 parser.stream.expect("comma") 249 name = parser.stream.expect("name") 278 parser.stream.expect("block_end") 297 name = parser.stream.expect("name") 306 parser.stream.expect("block_end") 357 name = parser.stream.expect("name").value 360 parser.stream.expect("variable_end") 494 lineno = parser.stream.expect("name:debug").lineno
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | ext.py | 243 parser.stream.expect("comma") 249 name = parser.stream.expect("name") 278 parser.stream.expect("block_end") 297 name = parser.stream.expect("name") 306 parser.stream.expect("block_end") 357 name = parser.stream.expect("name").value 360 parser.stream.expect("variable_end") 494 lineno = parser.stream.expect("name:debug").lineno
|
/third_party/node/deps/v8/third_party/ittapi/ittapi-rs/tests/ |
H A D | bindgen-up-to-date.rs | 20 .expect("Unable to generate ittnotify bindings.") in test_ittnotify_bindings_up_to_date() 48 .expect("Unable to generate jitprofiling bindings") in test_jitprofiling_bindings_up_to_date()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | dynamic_loading_template.rs | 44 (self.foo.as_ref().expect("Expected function, got error."))(x) in foo() 47 (self.foo1.as_ref().expect("Expected function, got error."))(x) in foo1()
|
H A D | dynamic_loading_with_allowlist.rs | 60 (self.foo.as_ref().expect("Expected function, got error."))(x) in foo() 66 (self.baz.as_ref().expect("Expected function, got error."))(x) in baz()
|
/third_party/rust/crates/nix/test/ |
H A D | test_time.rs | 14 nix::time::clock_getres(ClockId::CLOCK_REALTIME).expect("assertion failed"); in test_clock_getres() 19 clock_gettime(ClockId::CLOCK_REALTIME).expect("assertion failed"); in test_clock_gettime()
|
/third_party/vk-gl-cts/modules/gles3/scripts/ |
H A D | gen-keywords.py | 57 self.expect = '' if expectToCompile else 'expect compile_fail' 62 "EXPECT" : self.expect }
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/ |
H A D | cpuset_hotplug_test.sh | 42 # check_result <result> <expect> 46 local expect="$2" 48 case "$expect" in 54 test "$expect" = "$result"
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/ |
H A D | cpuset_syscall_testset.sh | 48 # $4 - expect return value of test task 92 tst_resm TFAIL "Test task exited abnormally.(expect return value is 0)" 97 tst_resm TFAIL "Test task exited abnormally.(expect return value is !0)" 110 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0\"" 122 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0\"" 134 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"1\"" 146 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0-1\"" 158 tst_resm TFAIL "Result(getaffinity) = \"$(cat $TEST_OUTPUT)\", expect = \"0,\")" 163 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0\")" 175 tst_resm TFAIL "Result(getaffinity) = \"$(cat $TEST_OUTPUT)\", expect [all...] |
/third_party/ltp/testcases/kernel/syscalls/cma/ |
H A D | process_vm_readv03.c | 97 unsigned char expect, actual; in child_read() local 125 expect = count % 256; in child_read() 127 if (expect != actual) in child_read()
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_pyshell.py | 25 expect, taglen = "= RESTART: Shell", 16 28 self.assertEqual(pyshell.restart_line(width, ''), expect) 29 self.assertEqual(pyshell.restart_line(taglen+2, ''), expect+' =')
|
/third_party/icu/icu4c/source/tools/genrb/ |
H A D | parse.cpp | 258 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenumber, UErrorCode *status) in expect() function 291 expect(state, TOK_STRING, &tokenValue, comment, line, status); in getInvariantString() 335 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); in parseUCARules() 358 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); in parseUCARules() 476 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); in parseTransliterator() 499 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); in parseTransliterator() 549 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); in parseDependency() 598 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); in parseDependency() 614 expect(state, TOK_STRING, &tokenValue, NULL, NULL, status); in parseString() 619 doesn't survive expect eithe in parseString() [all...] |
/third_party/node/deps/icu-small/source/tools/genrb/ |
H A D | parse.cpp | 258 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenumber, UErrorCode *status) in expect() function 291 expect(state, TOK_STRING, &tokenValue, comment, line, status); in getInvariantString() 335 expect(state, TOK_STRING, &tokenValue, nullptr, &line, status); in parseUCARules() 358 expect(state, TOK_CLOSE_BRACE, nullptr, nullptr, nullptr, status); in parseUCARules() 476 expect(state, TOK_STRING, &tokenValue, nullptr, &line, status); in parseTransliterator() 499 expect(state, TOK_CLOSE_BRACE, nullptr, nullptr, nullptr, status); in parseTransliterator() 549 expect(state, TOK_STRING, &tokenValue, nullptr, &line, status); in parseDependency() 598 expect(state, TOK_CLOSE_BRACE, nullptr, nullptr, nullptr, status); in parseDependency() 614 expect(state, TOK_STRING, &tokenValue, nullptr, nullptr, status); in parseString() 619 doesn't survive expect eithe in parseString() [all...] |
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
H A D | parse.cpp | 250 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenumber, UErrorCode *status) in expect() function 283 expect(state, TOK_STRING, &tokenValue, comment, line, status); in getInvariantString() 327 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); in parseUCARules() 350 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); in parseUCARules() 468 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); in parseTransliterator() 491 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); in parseTransliterator() 541 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); in parseDependency() 590 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); in parseDependency() 606 expect(state, TOK_STRING, &tokenValue, NULL, NULL, status); in parseString() 611 doesn't survive expect eithe in parseString() [all...] |
/third_party/python/Lib/lib2to3/pgen2/ |
H A D | pgen.py | 153 name = self.expect(token.NAME) 154 self.expect(token.OP, ":") 156 self.expect(token.NEWLINE) 281 self.expect(token.OP, "]") 301 self.expect(token.OP, ")") 313 def expect(self, type, value=None): member in ParserGenerator
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | ext.py | 231 parser.stream.expect('comma') 237 name = parser.stream.expect('name') 263 parser.stream.expect('block_end') 282 name = parser.stream.expect('name') 289 parser.stream.expect('block_end') 335 name = parser.stream.expect('name').value 338 parser.stream.expect('variable_end')
|
/third_party/rust/crates/clap/examples/ |
H A D | pacman.rs | 77 .expect("contains_id") in main() 87 .expect("is present") in main()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | traits_test.cc | 94 // CheckWideningConvertsTo<T, U, [expect]> 97 // If "expect" is false, then asserts that T does NOT widening-convert to U. 98 template <typename T, typename U, bool expect = true> 100 static_assert(is_widening_convertible<T, U>::value == expect, in CheckWideningConvertsTo()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | ncnvfbts.c | 132 static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, in testConvertFromUnicode() argument 244 printSeq((const unsigned char*)expect, expectLen); in testConvertFromUnicode() 260 printSeqErr((const unsigned char*)expect, expectLen); in testConvertFromUnicode() 280 if(!memcmp(junkout, expect, expectLen)) in testConvertFromUnicode() 290 printSeqErr((const unsigned char*)expect, expectLen); in testConvertFromUnicode() 295 static UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, in testConvertToUnicode() argument 406 printUSeq(expect, expectlen); in testConvertToUnicode() 438 if(!memcmp(junkout, expect, expectlen*2)) in testConvertToUnicode() 449 printUSeqErr(expect, expectlen); in testConvertToUnicode()
|
/third_party/rust/crates/clap/src/parser/ |
H A D | arg_matcher.rs | 167 .expect(INTERNAL_ERROR_MSG) 176 let ma = self.get_mut(arg).expect(INTERNAL_ERROR_MSG); 181 let ma = self.get_mut(arg).expect(INTERNAL_ERROR_MSG); 196 let expected = o.get_num_args().expect(INTERNAL_ERROR_MSG);
|
/third_party/rust/crates/rust-cexpr/tests/ |
H A D | clang.rs | 48 .expect(&format!("Invalid definition in testcase: {}", display_name)); in test_definition() 59 .expect(&format!("Invalid definition in testcase: {}", display_name)); in test_definition() 99 .expect(&format!("Invalid definition in testcase: {}", display_name)) in test_definition() 115 .expect(&format!( in test_definition()
|