/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstbaseparse.c | 365 #define GST_BASE_PARSE_INDEX_LOCK(parse) \ argument 366 g_mutex_lock (&parse->priv->index_lock); 367 #define GST_BASE_PARSE_INDEX_UNLOCK(parse) \ argument 368 g_mutex_unlock (&parse->priv->index_lock); 374 static void gst_base_parse_init (GstBaseParse * parse, 417 static void gst_base_parse_reset (GstBaseParse * parse); 428 static gboolean gst_base_parse_handle_seek (GstBaseParse * parse, 430 static void gst_base_parse_set_upstream_tags (GstBaseParse * parse, 452 static GstFlowReturn gst_base_parse_parse_frame (GstBaseParse * parse, 455 static gboolean gst_base_parse_sink_event_default (GstBaseParse * parse, [all …]
|
D | gstbaseparse.h | 74 #define GST_BASE_PARSE_LOST_SYNC(parse) (!!(GST_BASE_PARSE_CAST(parse)->flags & GST_BASE_PARSE_FLAG… argument 83 #define GST_BASE_PARSE_DRAINING(parse) (!!(GST_BASE_PARSE_CAST(parse)->flags & GST_BASE_PARSE_FLAG… argument 238 gboolean (*start) (GstBaseParse * parse); 240 gboolean (*stop) (GstBaseParse * parse); 242 gboolean (*set_sink_caps) (GstBaseParse * parse, 260 GstFlowReturn (*handle_frame) (GstBaseParse * parse, 264 GstFlowReturn (*pre_push_frame) (GstBaseParse * parse, 267 gboolean (*convert) (GstBaseParse * parse, 273 gboolean (*sink_event) (GstBaseParse * parse, 276 gboolean (*src_event) (GstBaseParse * parse, [all …]
|
/third_party/jerryscript/tests/jerry/ |
D | date-parse.js | 77 var d = Date.parse(wrongFormats[i]); 83 d = Date.parse(undefined); 86 d = Date.parse({}); 89 d = Date.parse(2000 + 15); 92 d = Date.parse("2015"); 95 d = Date.parse("2015-01"); 98 d = Date.parse("2015-01-01"); 101 d = Date.parse("2015-01T00:00"); 104 d = Date.parse("2015-01T00:00:00"); 107 d = Date.parse("2015-01T00:00:00.000"); [all …]
|
D | json-parse.js | 25 JSON.parse (str); 33 assert (JSON.parse (str) === null); 35 assert (JSON.parse (str) === true); 37 assert (JSON.parse (str) === false); 39 assert (JSON.parse (str) == -3250); 41 assert (JSON.parse (str) == "str"); 43 assert (JSON.parse (str) === "\b\f\n\t\r"); 46 assert (JSON.parse (str) === "\x00\x1f"); 48 assert (JSON.parse (str) === "\ud801\udc00\ud801\udc00\ud801\udc00\ud801\udc00"); 51 assert (JSON.parse (str) === "\ud801,\udc00,\ud801,\udc00,\ud801,\udc00,\ud801,\udc00"); [all …]
|
/third_party/gstreamer/gstplugins_good/gst/matroska/ |
D | matroska-parse.c | 73 #define DEBUG_ELEMENT_START(parse, ebml, element) \ argument 74 GST_DEBUG_OBJECT (parse, "Parsing " element " element at offset %" \ 77 #define DEBUG_ELEMENT_STOP(parse, ebml, element, ret) \ argument 78 GST_DEBUG_OBJECT (parse, "Parsing " element " element " \ 102 static GstFlowReturn gst_matroska_parse_parse_id (GstMatroskaParse * parse, 114 static gboolean gst_matroska_parse_handle_seek_event (GstMatroskaParse * parse, 137 static gboolean perform_seek_to_offset (GstMatroskaParse * parse, 154 GstMatroskaParse *parse = GST_MATROSKA_PARSE (object); in gst_matroska_parse_finalize() local 156 gst_matroska_read_common_finalize (&parse->common); in gst_matroska_parse_finalize() 195 gst_matroska_parse_init (GstMatroskaParse * parse) in gst_matroska_parse_init() argument [all …]
|
/third_party/gstreamer/gstplugins_base/ext/theora/ |
D | gsttheoraparse.c | 157 gst_theora_parse_init (GstTheoraParse * parse) in gst_theora_parse_init() argument 159 parse->sinkpad = in gst_theora_parse_init() 161 gst_pad_set_chain_function (parse->sinkpad, theora_parse_chain); in gst_theora_parse_init() 162 gst_pad_set_event_function (parse->sinkpad, theora_parse_sink_event); in gst_theora_parse_init() 163 gst_element_add_pad (GST_ELEMENT (parse), parse->sinkpad); in gst_theora_parse_init() 165 parse->srcpad = in gst_theora_parse_init() 167 gst_pad_set_query_function (parse->srcpad, theora_parse_src_query); in gst_theora_parse_init() 168 gst_element_add_pad (GST_ELEMENT (parse), parse->srcpad); in gst_theora_parse_init() 174 GstTheoraParse *parse = GST_THEORA_PARSE (object); in theora_parse_dispose() local 176 g_free (parse->times); in theora_parse_dispose() [all …]
|
/third_party/boost/tools/build/src/engine/ |
D | jamgram.y | 148 { parse_save( $1.parse ); } 159 { $$.parse = $1.parse; } 161 { $$.parse = $1.parse; } 165 { $$.parse = $1.parse; } 167 { $$.parse = prules( $1.parse, $2.parse ); } 169 { $$.parse = plocal( $3.parse, $4.parse, $7.parse ); } 173 { $$.parse = pnull(); } 177 { $$.parse = $3.parse; $$.number = ASSIGN_SET; } 179 { $$.parse = $1.parse; $$.number = ASSIGN_APPEND; } 183 { $$.parse = $2.parse; } [all …]
|
D | jamgram.yy | 56 #include "parse.h" 102 { parse_save( $1.parse ); } 113 { $$.parse = $1.parse; } 115 { $$.parse = $1.parse; } 119 { $$.parse = $1.parse; } 121 { $$.parse = prules( $1.parse, $2.parse ); } 123 { $$.parse = plocal( $3.parse, $4.parse, $7.parse ); } 127 { $$.parse = pnull(); } 131 { $$.parse = $3.parse; $$.number = ASSIGN_SET; } 133 { $$.parse = $1.parse; $$.number = ASSIGN_APPEND; } [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/jpegformat/ |
D | gstjpegparse.c | 81 static gboolean gst_jpeg_parse_set_sink_caps (GstBaseParse * parse, 83 static gboolean gst_jpeg_parse_sink_event (GstBaseParse * parse, 85 static gboolean gst_jpeg_parse_start (GstBaseParse * parse); 86 static gboolean gst_jpeg_parse_stop (GstBaseParse * parse); 126 gst_jpeg_parse_init (GstJpegParse * parse) in gst_jpeg_parse_init() argument 128 parse->next_ts = GST_CLOCK_TIME_NONE; in gst_jpeg_parse_init() 134 GstJpegParse *parse = GST_JPEG_PARSE_CAST (bparse); in gst_jpeg_parse_set_sink_caps() local 140 parse->framerate_numerator = gst_value_get_fraction_numerator (framerate); in gst_jpeg_parse_set_sink_caps() 141 parse->framerate_denominator = in gst_jpeg_parse_set_sink_caps() 143 parse->has_fps = TRUE; in gst_jpeg_parse_set_sink_caps() [all …]
|
/third_party/gstreamer/gstplugins_base/ext/vorbis/ |
D | gstvorbisparse.c | 94 static GstFlowReturn vorbis_parse_parse_packet (GstVorbisParse * parse, 116 gst_vorbis_parse_init (GstVorbisParse * parse) in gst_vorbis_parse_init() argument 118 parse->sinkpad = in gst_vorbis_parse_init() 120 gst_pad_set_chain_function (parse->sinkpad, in gst_vorbis_parse_init() 122 gst_pad_set_event_function (parse->sinkpad, in gst_vorbis_parse_init() 124 gst_element_add_pad (GST_ELEMENT (parse), parse->sinkpad); in gst_vorbis_parse_init() 126 parse->srcpad = in gst_vorbis_parse_init() 128 gst_pad_set_query_function (parse->srcpad, in gst_vorbis_parse_init() 130 gst_element_add_pad (GST_ELEMENT (parse), parse->srcpad); in gst_vorbis_parse_init() 134 vorbis_parse_set_header_on_caps (GstVorbisParse * parse, GstCaps * caps) in vorbis_parse_set_header_on_caps() argument [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/kate/ |
D | gstkateparse.c | 104 static GstFlowReturn gst_kate_parse_parse_packet (GstKateParse * parse, 128 gst_kate_parse_init (GstKateParse * parse) in gst_kate_parse_init() argument 130 parse->sinkpad = in gst_kate_parse_init() 132 gst_pad_set_chain_function (parse->sinkpad, in gst_kate_parse_init() 134 gst_pad_set_event_function (parse->sinkpad, in gst_kate_parse_init() 136 gst_element_add_pad (GST_ELEMENT (parse), parse->sinkpad); in gst_kate_parse_init() 138 parse->srcpad = in gst_kate_parse_init() 140 gst_pad_set_query_function (parse->srcpad, in gst_kate_parse_init() 142 gst_element_add_pad (GST_ELEMENT (parse), parse->srcpad); in gst_kate_parse_init() 146 gst_kate_parse_drain_event_queue (GstKateParse * parse) in gst_kate_parse_drain_event_queue() argument [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/ |
D | mpegtsparse.c | 113 static MpegTSParsePad *mpegts_parse_create_tspad (MpegTSParse2 * parse, 115 static void mpegts_parse_destroy_tspad (MpegTSParse2 * parse, 136 drain_pending_buffers (MpegTSParse2 * parse, gboolean drain_all); 141 MpegTSParse2 *parse = (MpegTSParse2 *) object; in mpegts_parse_finalize() local 143 gst_flow_combiner_free (parse->flowcombiner); in mpegts_parse_finalize() 145 gst_adapter_clear (parse->ts_adapter.adapter); in mpegts_parse_finalize() 146 g_object_unref (parse->ts_adapter.adapter); in mpegts_parse_finalize() 211 mpegts_parse_init (MpegTSParse2 * parse) in mpegts_parse_init() argument 213 MpegTSBase *base = (MpegTSBase *) parse; in mpegts_parse_init() 220 parse->user_pcr_pid = parse->pcr_pid = -1; in mpegts_parse_init() [all …]
|
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/ |
D | RangeSpecificationTest.java | 22 import static com.google.i18n.phonenumbers.metadata.RangeSpecification.parse; 41 assertThat(parse("")).isSameInstanceAs(RangeSpecification.empty()); in testParse() 42 assertThat(parse("0").toString()).isEqualTo("0"); in testParse() 43 assertThat(parse("0").length()).isEqualTo(1); in testParse() 44 assertThat(parse("01234").toString()).isEqualTo("01234"); in testParse() 45 assertThat(parse("01234").length()).isEqualTo(5); in testParse() 46 assertThat(parse("012[0-9]").toString()).isEqualTo("012x"); in testParse() 47 assertThat(parse("012[0234789]xxx").toString()).isEqualTo("012[02-47-9]xxx"); in testParse() 48 assertThat(parse("0_1_2").toString()).isEqualTo("012"); in testParse() 49 assertThat(parse("0_12[3-8]_xxx_xxx").toString()).isEqualTo("012[3-8]xxxxxx"); in testParse() [all …]
|
/third_party/node/deps/npm/node_modules/qs/test/ |
D | parse.js | 11 st.deepEqual(qs.parse('0=foo'), { 0: 'foo' }); 12 st.deepEqual(qs.parse('foo=c++'), { foo: 'c ' }); 13 st.deepEqual(qs.parse('a[>=]=23'), { a: { '>=': '23' } }); 14 st.deepEqual(qs.parse('a[<=>]==23'), { a: { '<=>': '=23' } }); 15 st.deepEqual(qs.parse('a[==]=23'), { a: { '==': '23' } }); 16 st.deepEqual(qs.parse('foo', { strictNullHandling: true }), { foo: null }); 17 st.deepEqual(qs.parse('foo'), { foo: '' }); 18 st.deepEqual(qs.parse('foo='), { foo: '' }); 19 st.deepEqual(qs.parse('foo=bar'), { foo: 'bar' }); 20 st.deepEqual(qs.parse(' foo = bar = baz '), { ' foo ': ' bar = baz ' }); [all …]
|
/third_party/boost/libs/spirit/classic/test/ |
D | numerics_tests.cpp | 34 { return uint2_t().parse(scan); } in parse_frac_n() 57 if (RT hit = uint3_p.parse(scan)) in parse_n() 62 while (match<> next = (',' >> uint3_3_p[assign_a(n)]).parse(scan)) in parse_n() 135 parse("123456", uint_p[assign_a(u)]); in main() 138 parse(max_unsigned, uint_p[assign_a(u)]); in main() 141 BOOST_TEST(!parse(unsigned_overflow, uint_p).full); in main() 147 parse("123456", int_p[assign_a(i)]); in main() 150 parse("-123456", int_p[assign_a(i)]); in main() 153 parse(max_int, int_p[assign_a(i)]); in main() 156 parse(min_int, int_p[assign_a(i)]); in main() [all …]
|
D | switch_tests_wo_default.cpp | 122 BOOST_TEST(parse("a1", g).full); in operator ()() 123 BOOST_TEST(!parse("a,", g).hit); in operator ()() 124 BOOST_TEST(!parse("abcd", g).hit); in operator ()() 125 BOOST_TEST(!parse("a", g).hit); in operator ()() 127 BOOST_TEST(parse("a 1", g, space_p).full); in operator ()() 128 BOOST_TEST(!parse("a ,", g, space_p).hit); in operator ()() 129 BOOST_TEST(!parse("a bcd", g, space_p).hit); in operator ()() 130 BOOST_TEST(!parse("a ", g, space_p).hit); in operator ()() 132 BOOST_TEST(!parse("b1", g).hit); in operator ()() 133 BOOST_TEST(parse("b,", g).full); in operator ()() [all …]
|
D | escape_char_parser_tests.cpp | 34 BOOST_TEST(parse("a", c_escape_ch_p[assign_a(c)]).full); in main() 36 BOOST_TEST(parse("\\b", c_escape_ch_p[assign_a(c)]).full); in main() 38 BOOST_TEST(parse("\\t", c_escape_ch_p[assign_a(c)]).full); in main() 40 BOOST_TEST(parse("\\n", c_escape_ch_p[assign_a(c)]).full); in main() 42 BOOST_TEST(parse("\\f", c_escape_ch_p[assign_a(c)]).full); in main() 44 BOOST_TEST(parse("\\r", c_escape_ch_p[assign_a(c)]).full); in main() 46 BOOST_TEST(parse("\\\"", c_escape_ch_p[assign_a(c)]).full); in main() 48 BOOST_TEST(parse("\\'", c_escape_ch_p[assign_a(c)]).full); in main() 50 BOOST_TEST(parse("\\\\", c_escape_ch_p[assign_a(c)]).full); in main() 52 BOOST_TEST(parse("\\120", c_escape_ch_p[assign_a(c)]).full); in main() [all …]
|
D | distinct_tests.cpp | 32 BOOST_TEST(parse("keyword123", r, space_p).full); in distinct_parser_test() 41 BOOST_TEST(parse("keyword 123", r, space_p).full); in distinct_parser_test() 42 BOOST_TEST(parse("keyword-123", r, space_p).full); in distinct_parser_test() 43 BOOST_TEST(!parse("keyword123", r, space_p).hit); in distinct_parser_test() 62 BOOST_TEST(parse("keyword 123", r, space_p).full); in distinct_parser_test() 63 BOOST_TEST(parse("keyword--123", r, space_p).full); in distinct_parser_test() 64 BOOST_TEST(!parse("keyword-123", r, space_p).hit); in distinct_parser_test() 77 BOOST_TEST(parse("keyword123", r, space_p).full); in distinct_directive_test() 83 BOOST_TEST(parse("keyword123", r, space_p).full); in distinct_directive_test() 94 BOOST_TEST(parse("keyword 123", r, space_p).full); in distinct_directive_test() [all …]
|
D | loops_tests.cpp | 26 pi = parse("\"Hello World\"", "\"" >> *(anychar_p - "\"") >> "\""); in loops_tests() 32 pi = parse("\"Hello World\"", "\"" >> repeat_p(0, more)[anychar_p - "\""] >> "\""); in loops_tests() 38 pi = parse("xx", +ch_p('x')); in loops_tests() 44 pi = parse("xx", repeat_p(1, more)[ch_p('x')]); in loops_tests() 50 pi = parse("", +ch_p('x')); in loops_tests() 53 pi = parse("", repeat_p(1, more)[ch_p('x')]); in loops_tests() 56 pi = parse("", *ch_p('x')); in loops_tests() 62 pi = parse("", repeat_p(0, more)[ch_p('x')]); in loops_tests() 70 BOOST_TEST(!parse("abcdefgX", rep8).hit); in loops_tests() 71 BOOST_TEST(parse("abcdefghX", rep8).full); in loops_tests() [all …]
|
D | switch_tests_single.cpp | 230 BOOST_TEST(!parse("a1", g).hit); in operator ()() 231 BOOST_TEST(!parse("a,", g).hit); in operator ()() 232 BOOST_TEST(!parse("abcd", g).hit); in operator ()() 234 BOOST_TEST(!parse("a 1", g, space_p).hit); in operator ()() 235 BOOST_TEST(!parse("a ,", g, space_p).hit); in operator ()() 236 BOOST_TEST(!parse("a bcd", g, space_p).hit); in operator ()() 238 BOOST_TEST(!parse("b1", g).hit); in operator ()() 239 BOOST_TEST(!parse("b,", g).hit); in operator ()() 240 BOOST_TEST(!parse("bbcd", g).hit); in operator ()() 242 BOOST_TEST(!parse("b 1", g, space_p).hit); in operator ()() [all …]
|
D | operators_tests.cpp | 27 pi = parse("Hello World", str_p("Hello ") >> "World"); in operators_tests() 33 pi = parse("Banana", str_p("Banana") | "Pineapple"); in operators_tests() 39 pi = parse("Pineapple", str_p("Banana") | "Pineapple"); in operators_tests() 45 pi = parse("a.2 ", alpha_p || ('.' >> digit_p)); in operators_tests() 49 pi = parse("a ", alpha_p || ('.' >> digit_p)); in operators_tests() 53 pi = parse(".1 ", alpha_p || ('.' >> digit_p)); in operators_tests() 57 pi = parse("1.a ", alpha_p || ('.' >> digit_p)); in operators_tests() 60 pi = parse("abcdefghij", +xdigit_p & +alpha_p); in operators_tests() 64 pi = parse("abcdefghij", +alpha_p & +xdigit_p); in operators_tests() 67 pi = parse("abcdefghij", +digit_p & +alpha_p); in operators_tests() [all …]
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/ |
D | parse_dynamic.cc | 27 namespace mindspore::parse { namespace 32 static const std::set<std::string> unchanged_named_primitive = {parse::NAMED_PRIMITIVE_ATTRIBUTE, 33 parse::NAMED_PRIMITIVE_NAMECONSTANT, 34 … parse::NAMED_PRIMITIVE_NUM, parse::NAMED_PRIMITIVE_STR}; 36 std::string DynamicParser::ParseNodeName(const std::shared_ptr<parse::ParseFunctionAst> &ast, const… in ParseNodeName() 37 parse::AstMainType type) { in ParseNodeName() 46 parse::AstMainType node_main_type = node_type->main_type(); in ParseNodeName() 56 void DynamicParser::ParseInputArgs(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::o… in ParseInputArgs() 66 bool DynamicParser::ParseIfWhileExprNode(const std::shared_ptr<parse::ParseFunctionAst> &ast, const… in ParseIfWhileExprNode() 68 py::object test_node = parse::python_adapter::GetPyObjAttr(node, parse::NAMED_PRIMITIVE_TEST); in ParseIfWhileExprNode() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/opus/ |
D | gstopusparse.c | 71 static gboolean gst_opus_parse_start (GstBaseParse * parse); 72 static gboolean gst_opus_parse_stop (GstBaseParse * parse); 108 gst_opus_parse_init (GstOpusParse * parse) in gst_opus_parse_init() argument 110 parse->header_sent = FALSE; in gst_opus_parse_init() 111 parse->got_headers = FALSE; in gst_opus_parse_init() 112 parse->pre_skip = 0; in gst_opus_parse_init() 118 GstOpusParse *parse = GST_OPUS_PARSE (base); in gst_opus_parse_start() local 120 parse->header_sent = FALSE; in gst_opus_parse_start() 121 parse->got_headers = FALSE; in gst_opus_parse_start() 122 parse->pre_skip = 0; in gst_opus_parse_start() [all …]
|
/third_party/gstreamer/gstplugins_base/gst/subparse/ |
D | gstssaparse.c | 69 GstSsaParse *parse = GST_SSA_PARSE (object); in gst_ssa_parse_dispose() local 71 g_free (parse->ini); in gst_ssa_parse_dispose() 72 parse->ini = NULL; in gst_ssa_parse_dispose() 78 gst_ssa_parse_init (GstSsaParse * parse) in gst_ssa_parse_init() argument 80 parse->sinkpad = gst_pad_new_from_static_template (&sink_templ, "sink"); in gst_ssa_parse_init() 81 gst_pad_set_chain_function (parse->sinkpad, in gst_ssa_parse_init() 83 gst_pad_set_event_function (parse->sinkpad, in gst_ssa_parse_init() 85 gst_element_add_pad (GST_ELEMENT (parse), parse->sinkpad); in gst_ssa_parse_init() 87 parse->srcpad = gst_pad_new_from_static_template (&src_templ, "src"); in gst_ssa_parse_init() 88 gst_pad_set_event_function (parse->srcpad, in gst_ssa_parse_init() [all …]
|
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/ |
D | JSONTest.kt | 32 val root = parser.parse(buffer) in parse2Test() 55 val root = JSONParser().parse(ArrayReadWriteBuffer(data, writePosition = data.size)) in parseSample() 93 assertEquals(-0.0, parser.parse(values[0]).toDouble()) in testDoubles() 94 assertEquals(1.0, parser.parse(values[1]).toDouble()) in testDoubles() 95 assertEquals(1.7976931348613157, parser.parse(values[2]).toDouble()) in testDoubles() 96 assertEquals(0.0, parser.parse(values[3]).toDouble()) in testDoubles() 97 assertEquals(-0.5, parser.parse(values[4]).toDouble()) in testDoubles() 98 assertEquals(3.141592653589793, parser.parse(values[5]).toDouble()) in testDoubles() 99 assertEquals(2.718281828459045e-3, parser.parse(values[6]).toDouble()) in testDoubles() 100 assertEquals(2.2250738585072014E-308, parser.parse(values[7]).toDouble()) in testDoubles() [all …]
|