/third_party/boost/libs/wave/test/testlexers/ |
D | cpp_tokens.hpp | 17 boost::wave::token_id id; 23 { "bitand", boost::wave::T_AND_ALT }, 24 { "and", boost::wave::T_ANDAND_ALT }, 25 { "and_eq", boost::wave::T_ANDASSIGN_ALT }, 26 { "bitor", boost::wave::T_OR_ALT }, 27 { "or_eq", boost::wave::T_ORASSIGN_ALT }, 28 { "or", boost::wave::T_OROR_ALT }, 29 { "xor", boost::wave::T_XOR_ALT }, 30 { "xor_eq", boost::wave::T_XORASSIGN_ALT }, 31 { "not", boost::wave::T_NOT_ALT }, [all …]
|
D | test_slex_lexer.cpp | 33 typedef boost::wave::cpplexer::slex_token<> token_type; 34 typedef boost::wave::cpplexer::slex::slex_iterator<token_type> lexer_type; 38 template struct boost::wave::cpplexer::slex::new_lexer_gen< 62 boost::wave::support_option_long_long); in main() 67 std::cerr << boost::wave::get_token_name(data->id) << std::endl; in main() 70 if (data->id != boost::wave::token_id(*it)) { in main() 71 BOOST_TEST(data->id == boost::wave::token_id(*it)); in main() 73 << boost::wave::get_token_name(data->id); in main() 75 << boost::wave::get_token_name(boost::wave::token_id(*it)) in main() 79 if (boost::wave::T_EOF != boost::wave::token_id(*it)) { in main() [all …]
|
D | test_lexertl_lexer.cpp | 29 typedef boost::wave::cpplexer::lex_token<> token_type; 30 typedef boost::wave::cpplexer::lexertl::lex_iterator<token_type> lexer_type; 53 boost::wave::support_option_long_long); in main() 58 std::cerr << boost::wave::get_token_name(data->id) << std::endl; in main() 61 if (data->id != boost::wave::token_id(*it)) { in main() 62 BOOST_TEST(data->id == boost::wave::token_id(*it)); in main() 64 << boost::wave::get_token_name(data->id); in main() 66 << boost::wave::get_token_name(boost::wave::token_id(*it)) in main() 70 if (boost::wave::T_EOF != boost::wave::token_id(*it)) { in main() 71 BOOST_TEST(boost::wave::T_EOF == boost::wave::token_id(*it)); in main() [all …]
|
D | test_re2c_lexer.cpp | 35 typedef boost::wave::cpplexer::lex_token<> token_type; 36 typedef boost::wave::cpplexer::lex_iterator<token_type> lexer_type; 59 boost::wave::support_option_long_long); in main() 64 std::cerr << boost::wave::get_token_name(data->id) << std::endl; in main() 67 if (data->id != boost::wave::token_id(*it)) { in main() 68 BOOST_TEST(data->id == boost::wave::token_id(*it)); in main() 70 << boost::wave::get_token_name(data->id); in main() 72 << boost::wave::get_token_name(boost::wave::token_id(*it)) in main() 76 if (boost::wave::T_EOF != boost::wave::token_id(*it)) { in main() 77 BOOST_TEST(boost::wave::T_EOF == boost::wave::token_id(*it)); in main() [all …]
|
D | test_xlex_lexer.cpp | 32 typedef boost::wave::cpplexer::lex_token<> token_type; 33 typedef boost::wave::cpplexer::xlex::xlex_iterator<token_type> lexer_type; 37 template struct boost::wave::cpplexer::xlex::new_lexer_gen<std::string::iterator>; 60 boost::wave::support_option_long_long); in main() 65 std::cerr << boost::wave::get_token_name(data->id) << std::endl; in main() 68 if (data->id != boost::wave::token_id(*it)) { in main() 69 BOOST_TEST(data->id == boost::wave::token_id(*it)); in main() 71 << boost::wave::get_token_name(data->id); in main() 73 << boost::wave::get_token_name(boost::wave::token_id(*it)) in main() 77 BOOST_TEST(boost::wave::T_EOF == boost::wave::token_id(*it)); in main() [all …]
|
/third_party/libinput/doc/ |
D | button-debouncing-wave-diagram.txt | 1 # Source for the button debouncing wave diagram 4 {name:'current mode', wave: '3............', data: ['normal button press and release']}, 5 {name:'physical button', wave: '01......0....'}, 6 {name:'application ', wave: '01......0....'}, 9 {name:'current mode', wave: '4............', data: ['debounced button press']}, 10 {name:'physical button', wave: '0101...0.....'}, 11 {name: 'timeouts', wave: '01...0.1...0.'}, 12 {name:'application ', wave: '01.....0.....'}, 14 {name:'current mode', wave: '4............', data: ['debounced button release']}, 15 {name:'physical button', wave: '1...010......'}, [all …]
|
/third_party/boost/boost/wave/util/ |
D | insert_whitespace_detection.hpp | 25 namespace wave { namespace 55 handle_identifier(boost::wave::token_id prev, in handle_identifier() 56 boost::wave::token_id before, StringT const &value) in handle_identifier() 58 using namespace boost::wave; in handle_identifier() 90 handle_intlit(boost::wave::token_id prev, boost::wave::token_id /*before*/) in handle_intlit() 92 using namespace boost::wave; in handle_intlit() 109 handle_floatlit(boost::wave::token_id prev, in handle_floatlit() 110 boost::wave::token_id /*before*/) in handle_floatlit() 112 using namespace boost::wave; in handle_floatlit() 129 handle_alt_leftbrace(boost::wave::token_id prev, in handle_alt_leftbrace() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | loopwave.c | 39 } wave; variable 58 waveptr = wave.sound + wave.soundpos; in fillerup() 59 waveleft = wave.soundlen - wave.soundpos; in fillerup() 66 waveptr = wave.sound; in fillerup() 67 waveleft = wave.soundlen; in fillerup() 68 wave.soundpos = 0; in fillerup() 71 wave.soundpos += len; in fillerup() 111 if (SDL_LoadWAV(filename, &wave.spec, &wave.sound, &wave.soundlen) == NULL) { in main() 116 wave.spec.callback = fillerup; in main() 136 if (SDL_OpenAudio(&wave.spec, NULL) < 0) { in main() [all …]
|
D | loopwavequeue.c | 34 } wave; variable 66 if (SDL_QueueAudio(1, wave.sound, wave.soundlen) == 0) { in loop() 67 SDL_Log("Device queued %u more bytes.\n", (unsigned int) wave.soundlen); in loop() 69 …SDL_Log("Device FAILED to queue %u more bytes: %s\n", (unsigned int) wave.soundlen, SDL_GetError()… in loop() 95 if (SDL_LoadWAV(filename, &wave.spec, &wave.sound, &wave.soundlen) == NULL) { in main() 100 wave.spec.callback = NULL; /* we'll push audio. */ in main() 115 if (SDL_OpenAudio(&wave.spec, NULL) < 0) { in main() 117 SDL_FreeWAV(wave.sound); in main() 145 SDL_FreeWAV(wave.sound); in main()
|
/third_party/python/Lib/test/ |
D | test_wave.py | 8 import wave 13 module = wave 110 support.check__all__(self, wave, not_exported={'WAVE_FORMAT_PCM'}) 118 wave.open(io.BytesIO(b)) 122 with self.assertRaisesRegex(wave.Error, 124 wave.open(io.BytesIO(b)) 128 with self.assertRaisesRegex(wave.Error, 130 wave.open(io.BytesIO(b)) 134 with self.assertRaisesRegex(wave.Error, 136 wave.open(io.BytesIO(b)) [all …]
|
/third_party/boost/libs/wave/samples/waveidl/idllexer/ |
D | idl_re2c_lexer.hpp | 42 namespace wave { namespace 54 typename PositionT = boost::wave::util::file_position_type 58 typedef boost::wave::cpplexer::re2clex::Scanner<IteratorT> scanner_t; 63 typedef boost::wave::cpplexer::re2clex::Scanner<IteratorT> base_t; 64 typedef boost::wave::cpplexer::lex_token<PositionT> token_type; 68 PositionT const &pos, boost::wave::language_support language); 89 boost::wave::language_support language; 98 boost::wave::language_support language) in lexer() 102 using namespace boost::wave::cpplexer::re2clex; in lexer() 125 inline boost::wave::cpplexer::lex_token<PositionT>& [all …]
|
D | idl_re.hpp | 64 namespace wave { namespace 70 get_one_char(boost::wave::cpplexer::re2clex::Scanner<Iterator> *s) in get_one_char() 72 using namespace boost::wave::cpplexer::re2clex; in get_one_char() 81 rewind_stream (boost::wave::cpplexer::re2clex::Scanner<Iterator> *s, int cnt) in rewind_stream() 90 get_first_eol_offset(boost::wave::cpplexer::re2clex::Scanner<Iterator>* s) in get_first_eol_offset() 104 adjust_eol_offsets(boost::wave::cpplexer::re2clex::Scanner<Iterator>* s, in adjust_eol_offsets() 107 boost::wave::cpplexer::re2clex::aq_queue q; in adjust_eol_offsets() 111 s->eol_offsets = boost::wave::cpplexer::re2clex::aq_create(); in adjust_eol_offsets() 137 count_backslash_newlines(boost::wave::cpplexer::re2clex::Scanner<Iterator> *s, in count_backslash_newlines() 138 boost::wave::cpplexer::re2clex::uchar *cursor) in count_backslash_newlines() [all …]
|
/third_party/boost/libs/wave/tool/ |
D | cpp.cpp | 108 typedef boost::wave::cpplexer::lex_token<> token_type; 109 typedef boost::wave::cpplexer::lex_iterator<token_type> 116 typedef boost::wave::context< 118 boost::wave::iteration_context_policies::load_file_to_string, 393 e.get_severity() == boost::wave::util::severity_error || in report_error_message() 394 e.get_severity() == boost::wave::util::severity_fatal) ? 1 : 0; in report_error_message() 399 report_error_message(Context &ctx, boost::wave::cpp_exception const &e, in report_error_message() 405 using boost::wave::preprocess_exception; in report_error_message() 467 boost::wave::util::create_path(vm["state"].as<std::string>())); in load_state() 469 state_file = boost::wave::util::create_path("wave.state"); in load_state() [all …]
|
D | trace_macro_expansion.hpp | 70 public boost::wave::preprocess_exception 75 boost::wave::preprocess_exception::last_error_number + 1, 81 : boost::wave::preprocess_exception(what_, in bad_pragma_exception() 82 (boost::wave::preprocess_exception::error_code)code, line_, in bad_pragma_exception() 98 return boost::wave::util::severity_remark; in get_severity() 113 static boost::wave::util::severity severity_level(int code) in severity_level() 117 return boost::wave::util::severity_remark; in severity_level() 120 return boost::wave::util::severity_error; in severity_level() 122 return boost::wave::util::severity_fatal; in severity_level() 126 return boost::wave::util::get_severity(boost::wave::util::severity_remark); in severity_text() [all …]
|
/third_party/boost/libs/wave/test/testwave/ |
D | testwave_app.cpp | 125 using boost::wave::util::impl::unescape_lit; in handle_quoted_filepath() 128 fs::path p (boost::wave::util::create_path(unesc_name.c_str())); in handle_quoted_filepath() 130 name = String("\"") + boost::wave::util::leaf(p).c_str() + String("\""); in handle_quoted_filepath() 150 using boost::wave::util::impl::unescape_lit; in handle_line_directive() 194 using boost::wave::util::impl::escape_lit; in got_expected_result() 241 boost::wave::util::complete_path( in got_expected_result() 242 boost::wave::util::create_path(filename), in got_expected_result() 243 boost::wave::util::current_path()) in got_expected_result() 256 fullpath = boost::wave::util::branch_path(fullpath) / in got_expected_result() 257 boost::wave::util::create_path(base); in got_expected_result() [all …]
|
/third_party/boost/libs/phoenix/preprocess/ |
D | Jamfile.v2 | 5 # Generates preprocessed files with wave. 13 toolset.flags wave PHOENIX-LIMIT <phoenix-limit> ; 15 actions wave bind PHOENIX-LIMIT 18 $(>[2]) -o- -DBOOST_PHOENIX_LIMIT=$(PHOENIX-LIMIT) --config-file wave.cfg $(>[1]) 21 W = /boost/libs/wave/tool//wave ; 24 : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>10 28 : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>20 32 : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>30 36 : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>40 40 : preprocess_phoenix.cpp $(W) : wave : <phoenix-limit>50
|
/third_party/boost/libs/fusion/preprocess/ |
D | Jamfile.v2 | 5 # Generates preprocessed files with wave. 11 toolset.flags wave FUSION-LIMIT <fusion-limit> ; 15 actions wave bind FUSION-LIMIT 18 …LIST_SIZE=$(FUSION-LIMIT) -DFUSION_MAX_ZIP_SEQUENCES=$(FUSION-LIMIT) --config-file wave.cfg $(>[1]) 21 W = /boost/libs/wave/tool//wave ; 24 : preprocess_fusion.cpp $(W) : wave : <fusion-limit>10 28 : preprocess_fusion.cpp $(W) : wave : <fusion-limit>20 32 : preprocess_fusion.cpp $(W) : wave : <fusion-limit>30 36 : preprocess_fusion.cpp $(W) : wave : <fusion-limit>40 40 : preprocess_fusion.cpp $(W) : wave : <fusion-limit>50
|
/third_party/boost/libs/wave/samples/list_includes/ |
D | lexertl_interface.hpp | 21 namespace boost { namespace wave { namespace cpplexer { namespace lexertl namespace 31 typename PositionT = wave::util::file_position_type 38 static wave::cpplexer::lex_input_interface< 39 wave::cpplexer::lex_token<PositionT> 42 PositionT const &pos, wave::language_support language); 56 : wave::cpplexer::lex_input_interface<TokenT> 58 typedef typename wave::cpplexer::lex_input_interface<TokenT>::position_type 65 static wave::cpplexer::lex_input_interface<TokenT> * 67 position_type const &pos, wave::language_support language) in new_lexer()
|
/third_party/boost/libs/function_types/build/ |
D | preprocess_encoding.cpp | 13 #pragma wave option(line: 0, preserve: 2) 15 #pragma wave option(output: null) 23 #pragma wave option(output: BOOST_FT_OUT_FILE, preserve: 2) 25 #pragma wave option(output: null) 31 #pragma wave option(output: BOOST_FT_OUT_FILE, preserve: 2) 33 #pragma wave option(output: null) 39 #pragma wave option(output: BOOST_FT_OUT_FILE, preserve: 2) 41 #pragma wave option(output: null)
|
/third_party/boost/libs/wave/samples/real_positions/ |
D | real_position_token.hpp | 33 : id(boost::wave::T_EOI), refcnt(1) in token_data() 38 : id(boost::wave::T_UNKNOWN), refcnt(1) in token_data() 41 token_data(boost::wave::token_id id_, string_type const &value_, in token_data() 59 operator boost::wave::token_id() const { return id; } in operator boost::wave::token_id() 66 return id == boost::wave::T_EOI; in is_eoi() 69 void set_token_id (boost::wave::token_id id_) { id = id_; } in set_token_id() 83 boost::wave::token_id id; // the token id 95 template <typename PositionT = boost::wave::util::file_position_type> 127 lex_token(boost::wave::token_id id_, string_type const &value_, in lex_token() 152 operator boost::wave::token_id() const in operator boost::wave::token_id() [all …]
|
/third_party/boost/libs/wave/samples/token_statistics/ |
D | xlex_interface.hpp | 22 namespace wave { namespace 39 typename PositionT = wave::util::file_position_type 46 static wave::cpplexer::lex_input_interface<wave::cpplexer::lex_token<PositionT> > * 48 PositionT const &pos, wave::language_support language); 65 typedef typename wave::cpplexer::lex_input_interface<TokenT>::position_type 74 static wave::cpplexer::lex_input_interface<TokenT> * 76 position_type const &pos, wave::language_support language) in new_lexer()
|
/third_party/boost/libs/wave/samples/lexed_tokens/ |
D | lexed_tokens.cpp | 35 boost::wave::cpplexer::lex_token<PositionT> const &t) in operator <<() 38 using namespace boost::wave; in operator <<() 42 << left << boost::wave::get_token_name(id) << " (" in operator <<() 64 typedef typename boost::wave::cpplexer::lex_token<PositionT>::string_type in operator <<() 93 boost::wave::util::file_position_type current_position; in main() 109 typedef boost::wave::cpplexer::lex_token<> token_type; in main() 110 typedef boost::wave::cpplexer::lex_iterator<token_type> lexer_type; in main() 115 boost::wave::language_support( in main() 116 boost::wave::support_cpp|boost::wave::support_option_long_long)); in main() 125 catch (boost::wave::cpplexer::lexing_exception const& e) { in main()
|
/third_party/boost/boost/wave/cpplexer/re2clex/ |
D | cpp_re2c_lexer.hpp | 52 namespace wave { namespace 63 typename PositionT = boost::wave::util::file_position_type, 72 PositionT const &pos, boost::wave::language_support language_); 101 boost::wave::language_support language; 119 boost::wave::language_support language_) in lexer() 139 scanner.act_in_c99_mode = boost::wave::need_c99(language_); in lexer() 143 scanner.enable_import_keyword = !boost::wave::need_c99(language_); in lexer() 148 scanner.detect_pp_numbers = boost::wave::need_prefer_pp_numbers(language_); in lexer() 149 scanner.single_line_only = boost::wave::need_single_line(language_); in lexer() 152 scanner.act_in_cpp0x_mode = boost::wave::need_cpp0x(language_); in lexer() [all …]
|
/third_party/boost/libs/proto/preprocess/ |
D | Jamfile.v2 | 5 # Generates preprocessed files with wave. 9 actions wave 11 $(>[2]) -o- -DBOOST_PROTO_MAX_ARITY=10 --config-file wave.cfg $(>[1]) 14 W = /boost/libs/wave/tool//wave ; 17 : preprocess_proto.cpp $(W) : wave : <dependency>wave.cfg
|
/third_party/boost/libs/wave/samples/custom_directives/ |
D | custom_directives.cpp | 45 boost::wave::util::file_position_type current_position; in main() 62 typedef boost::wave::cpplexer::lex_token<> token_type; in main() 66 typedef boost::wave::cpplexer::lex_iterator<token_type> lex_iterator_type; in main() 71 typedef boost::wave::context<std::string::iterator, lex_iterator_type, in main() 72 boost::wave::iteration_context_policies::load_file_to_string, in main() 85 ctx.set_language(boost::wave::enable_long_long(ctx.get_language())); in main() 86 ctx.set_language(boost::wave::enable_preserve_comments(ctx.get_language())); in main() 87 ctx.set_language(boost::wave::enable_prefer_pp_numbers(ctx.get_language())); in main() 99 catch (boost::wave::cpp_exception const& e) { in main()
|