/third_party/boost/libs/regex/test/named_subexpressions/ |
D | named_subexpressions_test.cpp | 55 boost::match_results<const charT*> what; in test_named_subexpressions() local 56 if(regex_search(t, what, expression)) in test_named_subexpressions() 58 BOOST_CHECK(what.length(1) == 3); in test_named_subexpressions() 59 BOOST_CHECK(what.length(one) == 3); in test_named_subexpressions() 60 BOOST_CHECK(what.length(s_one) == 3); in test_named_subexpressions() 61 BOOST_CHECK(what.length(c_one) == 3); in test_named_subexpressions() 62 BOOST_CHECK(what.length(cs_one) == 3); in test_named_subexpressions() 63 BOOST_CHECK(what.position(1) == 2); in test_named_subexpressions() 64 BOOST_CHECK(what.position(one) == 2); in test_named_subexpressions() 65 BOOST_CHECK(what.position(s_one) == 2); in test_named_subexpressions() [all …]
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
D | error.hpp | 61 error(cl_int code, std::string what = "") : in error() argument 62 std::runtime_error(what), code(code) { in error() 75 invalid_build_options_error(const std::string &what = "") : in invalid_build_options_error() argument 76 error(CL_INVALID_BUILD_OPTIONS, what) {} in invalid_build_options_error() 81 build_error(const std::string &what = "") : in build_error() argument 82 error(CL_BUILD_PROGRAM_FAILURE, what) {} in build_error() 91 invalid_object_error(std::string what = "") : in invalid_object_error() argument 92 error(CL_INVALID_COMMAND_QUEUE, what) {} in invalid_object_error() 98 invalid_object_error(std::string what = "") : in invalid_object_error() argument 99 error(CL_INVALID_CONTEXT, what) {} in invalid_object_error() [all …]
|
/third_party/boost/libs/math/reporting/performance/ |
D | table_helper.hpp | 78 int what = 1; in dcdflib_beta_cdf() local 81 cdfbet(&what, &p, &q, &x, &y, &a, &b, &status, &bound); in dcdflib_beta_cdf() 87 int what = 2; in dcdflib_beta_quantile() local 90 cdfbet(&what, &p, &q, &x, &y, &a, &b, &status, &bound); in dcdflib_beta_quantile() 96 int what = 1; in dcdflib_binomial_cdf() local 99 cdfbin(&what, &p, &q, &x, &s, &sf, &sfc, &status, &bound); in dcdflib_binomial_cdf() 105 int what = 2; in dcdflib_binomial_quantile() local 108 cdfbin(&what, &p, &q, &x, &s, &sf, &sfc, &status, &bound); in dcdflib_binomial_quantile() 114 int what = 1; in dcdflib_chi_cdf() local 117 cdfchi(&what, &p, &q, &x, &df, &status, &bound); in dcdflib_chi_cdf() [all …]
|
/third_party/boost/libs/regex/test/pathology/ |
D | recursion_test.cpp | 36 boost::smatch what; in cpp_main() local 43 BOOST_CHECK(boost::regex_search(good_text, what, e)); in cpp_main() 44 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e), std::runtime_error); in cpp_main() 45 BOOST_CHECK(boost::regex_search(good_text, what, e)); in cpp_main() 46 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e), std::runtime_error); in cpp_main() 47 BOOST_CHECK(boost::regex_search(good_text, what, e)); in cpp_main() 48 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e), std::runtime_error); in cpp_main() 49 BOOST_CHECK(boost::regex_search(good_text, what, e)); in cpp_main() 50 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e), std::runtime_error); in cpp_main() 51 BOOST_CHECK(boost::regex_search(good_text, what, e)); in cpp_main() [all …]
|
D | bad_expression_test.cpp | 34 boost::smatch what; in cpp_main() local 38 BOOST_CHECK(boost::regex_search(good_text, what, e1)); in cpp_main() 39 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e1), std::runtime_error); in cpp_main() 40 BOOST_CHECK(boost::regex_search(good_text, what, e1)); in cpp_main() 42 BOOST_CHECK(boost::regex_match(good_text, what, e1)); in cpp_main() 43 BOOST_CHECK_THROW(boost::regex_match(bad_text, what, e1), std::runtime_error); in cpp_main() 44 BOOST_CHECK(boost::regex_match(good_text, what, e1)); in cpp_main() 48 BOOST_CHECK(boost::regex_search(good_text, what, e2)); in cpp_main() 49 BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e2), std::runtime_error); in cpp_main() 50 BOOST_CHECK(boost::regex_search(good_text, what, e2)); in cpp_main() [all …]
|
/third_party/boost/boost/xpressive/detail/core/ |
D | access.hpp | 73 match_results<BidiIter> &what in init_match_results() 81 what.init_(regex_id, tr, sub_matches, size, named_marks); in init_match_results() 84 static sub_match_vector<BidiIter> &get_sub_match_vector(match_results<BidiIter> &what) in get_sub_match_vector() 86 return what.sub_matches_; in get_sub_match_vector() 94 static results_extras<BidiIter> &get_extras(match_results<BidiIter> &what) in get_extras() 96 return what.get_extras_(); in get_extras() 99 static nested_results<BidiIter> &get_nested_results(match_results<BidiIter> &what) in get_nested_results() 101 return what.nested_results_; in get_nested_results() 104 static action_args_type &get_action_args(match_results<BidiIter> &what) in get_action_args() 106 return what.args_; in get_action_args() [all …]
|
/third_party/python/Lib/test/ |
D | test_sndhdr.py | 19 what = sndhdr.what(filename) 20 self.assertNotEqual(what, None, filename) 21 self.assertSequenceEqual(what, expected) 22 self.assertEqual(what.filetype, expected[0]) 23 self.assertEqual(what.framerate, expected[1]) 24 self.assertEqual(what.nchannels, expected[2]) 25 self.assertEqual(what.nframes, expected[3]) 26 self.assertEqual(what.sampwidth, expected[4]) 30 what = sndhdr.what(filename) 32 dump = pickle.dumps(what, proto) [all …]
|
D | test_imghdr.py | 47 self.assertEqual(imghdr.what(filename), expected) 49 self.assertEqual(imghdr.what(stream), expected) 52 self.assertEqual(imghdr.what(None, data), expected) 53 self.assertEqual(imghdr.what(None, bytearray(data)), expected) 59 self.assertEqual(imghdr.what(pathlib.Path(filename)), expected) 67 self.assertEqual(imghdr.what(None, b'eggs'), 'ham') 76 self.assertEqual(imghdr.what(stream), 'png') 81 imghdr.what() 83 imghdr.what(None) 85 imghdr.what(self.testfile, 1) [all …]
|
/third_party/boost/tools/build/src/build/ |
D | configure.jam | 12 # - Reporting what is built, and how it is configured. 30 # The configure feature allows external definition of what features are 109 # FIXME: See what was intended with this initial assignment. 174 rule try-build ( targets * : ps : what : retry ? ) 176 local cache-name = $(what) [ $(ps).raw ] ; 192 local x = [ PAD " - $(what)" : $(.width) ] ; 195 .$(what)-supported.$(ps) = yes ; 210 local x = [ PAD " - $(what)" : $(.width) ] ; 214 .$(what)-supported.$(ps) = yes ; 239 rule try-find-build ( ps : what : * ) [all …]
|
/third_party/boost/libs/xpressive/example/ |
D | main.cpp | 30 void operator ()( match_results< BidiIterT > const &what ) const in operator ()() 38 std::cout << what[0] << '\n'; in operator ()() 42 what.nested_results().begin(), in operator ()() 43 what.nested_results().end(), in operator ()() 62 smatch what; in example1() local 64 if( regex_match( hello, what, rex ) ) in example1() 66 std::cout << what[0] << '\n'; // whole match in example1() 67 std::cout << what[1] << '\n'; // first capture in example1() 68 std::cout << what[2] << '\n'; // second capture in example1() 99 cmatch what; in example2() local [all …]
|
/third_party/boost/boost/xpressive/ |
D | regex_algorithms.hpp | 52 , match_results<BidiIter> &what in regex_match_impl() argument 62 detail::match_state<BidiIter> state(begin, end, what, *access::get_regex_impl(re), flags); in regex_match_impl() 68 access::set_prefix_suffix(what, begin, end); in regex_match_impl() 79 access::reset(what); in regex_match_impl() 104 , match_results<BidiIter> &what in regex_match() argument 113 access::reset(what); in regex_match() 117 return detail::regex_match_impl(begin, end, what, re, flags); in regex_match() 137 match_results<BidiIter> what; in regex_match() local 138 return detail::regex_match_impl(begin, end, what, re, flags); in regex_match() 147 , match_results<Char *> &what in regex_match() argument [all …]
|
/third_party/boost/libs/phoenix/test/statement/ |
D | exceptions.cpp | 33 char const *what() const BOOST_NOEXCEPT_OR_NOTHROW in what() function 81 BOOST_TEST(err.what() == string("error")); in main() 100 BOOST_TEST(err.what() == string("error")); in main() 119 string what; in main() local 127 , phx::ref(what) = phx::bind(&exception::what, _e) in main() 131 BOOST_TEST(what == string("error")); in main() 136 string what; in main() local 144 , phx::ref(what) = phx::bind(&exception::what, _e) in main() 148 BOOST_TEST(what == string("error")); in main() 163 string what; in main() local [all …]
|
/third_party/boost/libs/xpressive/perf/ |
D | command_line.cpp | 34 int handle_argument(const std::string& what) in handle_argument() argument 36 if(what == "-b") in handle_argument() 38 else if(what == "-g") in handle_argument() 40 else if(what == "-gs") in handle_argument() 42 else if(what == "-dx") in handle_argument() 44 else if(what == "-sx") in handle_argument() 50 else if(what == "-all") in handle_argument() 60 else if(what == "-test-matches") in handle_argument() 62 else if(what == "-test-short-twain") in handle_argument() 64 else if(what == "-test-long-twain") in handle_argument() [all …]
|
/third_party/boost/boost/detail/ |
D | catch_exceptions.hpp | 83 { detail::report_exception( out, "std::bad_alloc:", ex.what() ); } in catch_exceptions() 87 { detail::report_exception( out, "std::bad_cast:", ex.what() ); } in catch_exceptions() 89 { detail::report_exception( out, "std::bad_typeid:", ex.what() ); } in catch_exceptions() 98 { detail::report_exception( out, "std::bad_exception:", ex.what() ); } in catch_exceptions() 100 { detail::report_exception( out, "std::domain_error:", ex.what() ); } in catch_exceptions() 102 { detail::report_exception( out, "std::invalid_argument:", ex.what() ); } in catch_exceptions() 104 { detail::report_exception( out, "std::length_error:", ex.what() ); } in catch_exceptions() 106 { detail::report_exception( out, "std::out_of_range:", ex.what() ); } in catch_exceptions() 108 { detail::report_exception( out, "std::range_error:", ex.what() ); } in catch_exceptions() 110 { detail::report_exception( out, "std::overflow_error:", ex.what() ); } in catch_exceptions() [all …]
|
/third_party/boost/libs/xpressive/test/ |
D | test_dynamic_grammar.cpp | 38 smatch what; in test_dynamic_grammar() local 40 if(regex_search(str, what, expr)) in test_dynamic_grammar() 42 BOOST_CHECK_EQUAL(what[0].str(), "9*(10+3)"); in test_dynamic_grammar() 43 BOOST_CHECK_EQUAL((*what.nested_results().begin())[0].str(), "9*(10+3)"); in test_dynamic_grammar() 44 … BOOST_CHECK_EQUAL((*(*what.nested_results().begin()).nested_results().begin())[0].str(), "9"); in test_dynamic_grammar() 45 …BOOST_CHECK_EQUAL((*++(*what.nested_results().begin()).nested_results().begin())[0].str(), "(10+3)… in test_dynamic_grammar() 76 smatch what; in test_dynamic_grammar2() local 78 if(regex_search(str, what, expr)) in test_dynamic_grammar2() 80 BOOST_CHECK_EQUAL(what[0].str(), "9*(10+3)"); in test_dynamic_grammar2() 81 BOOST_CHECK_EQUAL((*what.nested_results().begin())[0].str(), "9*(10+3)"); in test_dynamic_grammar2() [all …]
|
D | misc1.cpp | 41 smatch what; in test2() local 43 BOOST_REQUIRE(regex_match(str, what, sentence)); in test2() 44 BOOST_REQUIRE(7 == what.nested_results().size()); in test2() 45 smatch::nested_results_type::const_iterator pword = what.nested_results().begin(); in test2() 53 BOOST_CHECK(pword == what.nested_results().end()); in test2() 97 smatch what = tmpwhat; in test3() local 98 BOOST_REQUIRE(3 == what.nested_results().size()); in test3() 100 msg = what.nested_results().begin(); in test3() 175 smatch what; in test4() local 179 BOOST_REQUIRE(regex_search(str, what, parentheses)); in test4() [all …]
|
/third_party/node/test/parallel/ |
D | test-child-process-fork-net-server.js | 39 if (msg.what !== 'server') return; 49 process.send({ what: 'connection' }); property 55 process.send({ what: 'listening' }); property 64 if (msg.what !== 'close') return; 68 process.send({ what: 'close' }); property 75 process.send({ what: 'ready' }); property 92 child.send({ what: 'close' }); property 116 child.send({ what: 'server' }, server); property 126 if (msg.what === 'listening') { 139 } else if (msg.what === 'connection') { [all …]
|
/third_party/boost/tools/auto_index/src/ |
D | file_scanning.cpp | 220 std::cerr << e.what() << std::endl; in scan_file() 226 std::cerr << e.what() << std::endl; in scan_file() 332 boost::smatch what; in process_script() local 341 if(regex_match(line, what, comment_parser)) in process_script() 345 else if(regex_match(line, what, scan_parser)) in process_script() 347 std::string f = unquote(what[1].str()); in process_script() 368 else if(regex_match(line, what, debug_parser)) in process_script() 370 debug = unquote(what[1].str()); in process_script() 372 else if(regex_match(line, what, define_scanner_parser)) in process_script() 374 add_file_scanner(unquote(what.str(1)), unquote(what.str(2)), unquote(what.str(3)), in process_script() [all …]
|
/third_party/boost/libs/regex/test/captures/ |
D | captures_test.cpp | 54 boost::smatch what; in test_captures() local 55 if(boost::regex_match(text, what, e, boost::match_extra)) in test_captures() 60 BOOST_CHECK(what.size() == ARRAY_SIZE(expected)); in test_captures() 62 for(i = 0; i < what.size(); ++i) in test_captures() 64 BOOST_CHECK(what.captures(i).size() == array_size(expected[i])); in test_captures() 65 for(j = 0; j < what.captures(i).size(); ++j) in test_captures() 67 BOOST_CHECK(what.captures(i)[j] == expected[i][j]); in test_captures() 99 what = boost::smatch(); in test_captures() 100 if(boost::u32regex_match(text, what, ure, boost::match_extra)) in test_captures() 105 BOOST_CHECK(what.size() == ARRAY_SIZE(expected)); in test_captures() [all …]
|
/third_party/boost/libs/regex/doc/ |
D | regex_grep.qbk | 61 contains information on what matched, and calls the predicate /foo/, passing the 132 bool operator()(const smatch& what) 134 // what[0] contains the whole string 135 // what[5] contains the class name. 136 // what[6] contains the template specialisation if any. 138 … m[std::string(what[5].first, what[5].second) + std::string(what[6].first, what[6].second)] = 139 what[5].first - base; 189 bool grep_callback(const boost::smatch& what) 191 // what[0] contains the whole string 192 // what[5] contains the class name. [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | jsdocParamTagTypeLiteral.types | 117 * @param {object} opts5[].what - Look at us go! Here's the first nest! 118 * @param {string} opts5[].what.a - (Another normal one) 119 * @param {Object[]} opts5[].what.bad - Now we're nesting inside a nested type 120 * @param {string} opts5[].what.bad[].idea - I don't think you can get back out of this level... 121 * @param {boolean} opts5[].what.bad[].oh - Oh ... that's how you do it. 125 >foo5 : (opts5: { help: string; what: { a: string; bad: { idea: stri… 126 >opts5 : { help: string; what: { a: string; bad: { idea: string; oh: boolean; }[]; }; unnest: numbe… 128 opts5[0].what.bad[0].idea; 129 >opts5[0].what.bad[0].idea : string 130 >opts5[0].what.bad[0] : { idea: string; oh: boolean; } [all …]
|
/third_party/toybox/toys/posix/ |
D | file.c | 292 char *what; in do_regular_file() local 296 if (s[4] == 7) what = (bit==32)?"x86":"x86-"; in do_regular_file() 297 else if (s[4] == 12) what = "arm"; in do_regular_file() 298 else if (s[4] == 18) what = "ppc"; in do_regular_file() 299 else what = NULL; in do_regular_file() 300 if (what) xprintf("%s%s ", what, (bit==32)?"":"64"); in do_regular_file() 303 if (s[12] == 1) what = "object"; in do_regular_file() 304 else if (s[12] == 2) what = "executable"; in do_regular_file() 305 else if (s[12] == 6) what = "shared library"; in do_regular_file() 306 else what = NULL; in do_regular_file() [all …]
|
/third_party/gn/src/gn/ |
D | desc_builder.cc | 120 BaseDescBuilder(const std::set<std::string>& what, in BaseDescBuilder() argument 124 : what_(what), all_(all), tree_(tree), blame_(blame) {} in BaseDescBuilder() 129 bool what(const std::string& w) const { in what() function in __anon60fa7e5c0111::BaseDescBuilder 216 if (what(variables::kPrecompiledHeader) && in FillInPrecompiledHeader() 222 if (what(variables::kPrecompiledSource) && in FillInPrecompiledHeader() 237 ConfigDescBuilder(const Config* config, const std::set<std::string>& what) in ConfigDescBuilder() argument 238 : BaseDescBuilder(what, false, false, false), config_(config) {} in ConfigDescBuilder() 250 if (what(variables::kConfigs) && !config_->configs().empty()) { in BuildDescription() 256 if (what(variables::kVisibility)) { in BuildDescription() 262 if (what(#name)) { \ in BuildDescription() [all …]
|
/third_party/boost/libs/math/include_private/boost/math/constants/ |
D | generate.hpp | 55 smatch what; variable 56 if(regex_match(s, what, e)) 60 << what[1] << "e" << (what[3].length() ? what[3].str() : std::string("0")) << ", " 61 … << "\"" << what[1] << what[2] << "e" << (what[3].length() ? what[3].str() : std::string("0"))
|
/third_party/node/deps/npm/lib/install/ |
D | report-optional-failure.js | 12 function reportOptionalFailure (tree, what, error) { argument 16 if (what) { 17 var depVer = tree.package.dependencies && tree.package.dependencies[what] 18 var optDepVer = tree.package.optionalDependencies && tree.package.optionalDependencies[what] 19 var devDepVer = tree.package.devDependencies && tree.package.devDependencies[what] 21 id = what + (version ? '@' + version : '') 26 if (what) location = path.join(location, 'node_modules', what)
|