Home
last modified time | relevance | path

Searched refs:_STR (Results 1 – 15 of 15) sorted by relevance

/third_party/boost/libs/metaparse/example/meta_hs/
Dexample_in_haskell.hpp28 #ifdef _STR
29 # error _STR already defined
31 #define _STR BOOST_METAPARSE_STRING macro
35 ::import1<_STR("f"), double_number>::type
36 ::import<_STR("val"), boost::mpl::int_<11> >::type
38 ::define<_STR("fib n = if n<2 then 1 else fib(n-2) + fib(n-1)")>::type
39 ::define<_STR("fact n = if n<1 then 1 else n * fact(n-1)")>::type
40 ::define<_STR("times4 n = f (f n)")>::type
41 ::define<_STR("times11 n = n * val")>::type
44 typedef metafunctions::get<_STR("fib")> fib;
[all …]
/third_party/boost/libs/metaparse/example/grammar_calculator/
Dmain.cpp64 #ifdef _STR
65 #error _STR already defined
67 #define _STR BOOST_METAPARSE_STRING macro
133 grammar<_STR("plus_exp")>
135 ::rule<_STR("int ::= ('0'|'1'|'2'|'3'|'4'|'5'|'6'|'7'|'8'|'9')+"), int_action>::type
136 ::rule<_STR("ws ::= (' ' | '\n' | '\r' | '\t')*")>::type
137 ::rule<_STR("int_token ::= int ws"), front<_1>>::type
138 ::rule<_STR("plus_token ::= '+' ws"), front<_1>>::type
139 ::rule<_STR("minus_token ::= '-' ws"), front<_1>>::type
140 ::rule<_STR("mult_token ::= '*' ws"), front<_1>>::type
[all …]
/third_party/boost/libs/metaparse/example/meta_metaparse/
Dmain.cpp45 #ifdef _STR
46 # error _STR already defined
48 #define _STR BOOST_METAPARSE_STRING macro
212 grammar<_STR("plus_exp")>
213 ::import<_STR("int_token"), token<transform<int_, build_value>>>::type
215 ::rule<_STR("ws ::= (' ' | '\n' | '\r' | '\t')*")>::type
216 ::rule<_STR("plus_token ::= '+' ws"), keep_front>::type
217 ::rule<_STR("minus_token ::= '-' ws"), keep_front>::type
218 ::rule<_STR("mult_token ::= '*' ws"), keep_front>::type
219 ::rule<_STR("div_token ::= '/' ws"), keep_front>::type
[all …]
/third_party/boost/libs/metaparse/example/calculator_with_parens_and_unary_ops/
Dmain.cpp160 #ifdef _STR
161 # error _STR already defined
163 #define _STR BOOST_METAPARSE_STRING macro
177 << apply_wrap1<calculator_parser, _STR("13")>::type::value << endl in main()
178 << apply_wrap1<calculator_parser, _STR(" 1+ 2*4-6/2")>::type::value << endl in main()
179 << apply_wrap1<calculator_parser, _STR("1+2*3+4")>::type::value << endl in main()
180 << apply_wrap1<calculator_parser, _STR("(1+2)*(3+4)")>::type::value << endl in main()
181 << apply_wrap1<calculator_parser, _STR("(2*3)+(4*5)")>::type::value << endl in main()
182 << apply_wrap1<calculator_parser, _STR("2 * 3 + 4")>::type::value << endl in main()
183 << apply_wrap1<calculator_parser, _STR("2 + (3 * 4)")>::type::value << endl in main()
[all …]
/third_party/boost/libs/metaparse/example/calculator_with_parens/
Dmain.cpp136 #ifdef _STR
137 # error _STR already defined
139 #define _STR BOOST_METAPARSE_STRING macro
153 << apply_wrap1<calculator_parser, _STR("13")>::type::value << endl in main()
154 << apply_wrap1<calculator_parser, _STR(" 1+ 2*4-6/2")>::type::value << endl in main()
155 << apply_wrap1<calculator_parser, _STR("1+2*3+4")>::type::value << endl in main()
156 << apply_wrap1<calculator_parser, _STR("(1+2)*(3+4)")>::type::value << endl in main()
157 << apply_wrap1<calculator_parser, _STR("(2*3)+(4*5)")>::type::value << endl in main()
158 << apply_wrap1<calculator_parser, _STR("2 * 3 + 4")>::type::value << endl in main()
159 << apply_wrap1<calculator_parser, _STR("2 + (3 * 4)")>::type::value << endl in main()
/third_party/boost/libs/metaparse/example/binary_number/
Dmain.cpp54 #ifdef _STR
55 # error _STR already defined
57 #define _STR BOOST_METAPARSE_STRING macro
79 << binary<_STR("100")>::value << endl in main()
80 << binary<_STR("1011")>::value << endl in main()
81 << binary<_STR("1")>::value << endl; in main()
/third_party/boost/libs/metaparse/example/calculator/
Dmain.cpp123 #ifdef _STR
124 # error _STR already defined
126 #define _STR BOOST_METAPARSE_STRING macro
151 << apply_wrap1<calculator_parser, _STR("13")>::type::value << endl in main()
152 << apply_wrap1<calculator_parser, _STR(" 1+ 2*4-6/2")>::type::value << endl in main()
/third_party/curl/src/
Dcurl.rc81 #define _STR(macro) _STR_(macro)
89 _STR(LIBCURL_VERSION_MAJOR) "."
90 _STR(LIBCURL_VERSION_MINOR) "."
91 _STR(LIBCURL_VERSION_PATCH) ".0"" type=""win32""/>"
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dconfig.c2143 #define _STR(f) #f, wpa_config_parse_str, OFFSET(f) macro
2146 #define _STR(f) #f, wpa_config_parse_str, wpa_config_write_str, OFFSET(f) macro
2149 #define STR(f) _STR(f), NULL, NULL, NULL, 0
2151 #define STR_KEY(f) _STR(f), NULL, NULL, NULL, 1
2157 #define _STR_LEN(f) _STR(f), OFFSET(f ## _len)
2414 #undef _STR
4705 #define _STR(f) #f, wpa_global_config_parse_str, wpa_config_get_str, OFFSET(f) macro
4706 #define STR(f) _STR(f), NULL, NULL
4707 #define STR_RANGE(f, min, max) _STR(f), (void *) min, (void *) max
4881 #undef _STR
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dconfig.c2334 #define _STR(f) #f, wpa_config_parse_str, OFFSET(f) macro
2337 #define _STR(f) #f, wpa_config_parse_str, wpa_config_write_str, OFFSET(f) macro
2341 #define STR(f) _STR(f), NULL, NULL, NULL, 0
2343 #define STR_KEY(f) _STR(f), NULL, NULL, NULL, 1
2349 #define _STR_LEN(f) _STR(f), OFFSET(f ## _len)
2645 #undef _STR
5077 #define _STR(f) #f, wpa_global_config_parse_str, wpa_config_get_str, OFFSET(f) macro
5078 #define STR(f) _STR(f), NULL, NULL
5079 #define STR_RANGE(f, min, max) _STR(f), (void *) min, (void *) max
5273 #undef _STR
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cClipDistance.cpp36 #define _STR(s) STR(s) macro
Dgl3cTextureSizePromotion.cpp39 #define _STR(s) STR(s) macro
Dgl3cTransformFeedbackTests.cpp45 #define _STR(s) STR(s) macro
/third_party/ejdb/src/jbl/
Djbl.c10 #define _STR(x) _STRX(x) macro
2936 return "Exceeded the maximal object nesting level: " _STR(JBL_MAX_NESTING_LEVEL) in _jbl_ecodefn()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvavpp.c2091 g_quark_from_static_string (G_PASTE (G_PASTE (GST_META_TAG_VIDEO_, type), _STR)) in _register_debug_category()