Home
last modified time | relevance | path

Searched refs:is_list (Results 1 – 25 of 33) sorted by relevance

12

/third_party/python/Lib/lib2to3/tests/
Dtest_util.py45 def is_list(self, string): member in Test_is_list
46 return fixer_util.is_list(parse(string, strip_levels=2))
49 self.assertTrue(self.is_list("[]"))
50 self.assertTrue(self.is_list("[a]"))
51 self.assertTrue(self.is_list("[a, b]"))
52 self.assertTrue(self.is_list("[a, [b, c]]"))
53 self.assertTrue(self.is_list("[[a, [b, c]],]"))
56 self.assertFalse(self.is_list("[]+[]"))
/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter.h269 bool is_placeholder, bool is_list);
272 Item(Item* parent, ItemType item_type, bool is_placeholder, bool is_list);
295 bool is_list() const { return is_list_; } in is_list() function
388 bool is_placeholder, bool is_list);
Dprotostream_objectwriter.cc446 bool is_list) in Item() argument
452 is_list_(is_list) { in Item()
463 bool is_list) in Item() argument
469 is_list_(is_list) { in Item()
1303 bool is_list) { in Push() argument
1304 is_list ? ProtoWriter::StartList(name) : ProtoWriter::StartObject(name); in Push()
1309 new Item(current_.release(), item_type, is_placeholder, is_list)); in Push()
1324 current_->is_list() ? ProtoWriter::EndList() : ProtoWriter::EndObject(); in PopOneElement()
Dproto_writer.cc308 bool is_list) in ProtoElement() argument
315 size_index_(!is_list && in ProtoElement()
319 array_index_(is_list ? 0 : -1), in ProtoElement()
322 if (!is_list) { in ProtoElement()
730 bool is_list) { in BeginNamed() argument
741 if (is_list && !IsRepeated(*field)) { in BeginNamed()
Dproto_writer.h172 const google::protobuf::Type& type, bool is_list);
263 bool is_list);
/third_party/python/Lib/lib2to3/fixes/
Dfix_except.py28 from ..fixer_util import Assign, Attr, Name, is_tuple, is_list, syms
77 if is_tuple(N) or is_list(N):
/third_party/gstreamer/gstreamer/plugins/elements/
Dgsttee.c823 gst_tee_do_message (GstTee * tee, GstPad * pad, gpointer data, gboolean is_list) in gst_tee_do_message() argument
827 if (is_list) { in gst_tee_do_message()
843 gst_tee_do_push (GstTee * tee, GstPad * pad, gpointer data, gboolean is_list) in gst_tee_do_push() argument
851 } else if (is_list) { in gst_tee_do_push()
869 gst_tee_handle_data (GstTee * tee, gpointer data, gboolean is_list) in gst_tee_handle_data() argument
876 gst_tee_do_message (tee, tee->sinkpad, data, is_list); in gst_tee_handle_data()
896 } else if (is_list) { in gst_tee_handle_data()
939 is_list ? "list" : "buffer", data); in gst_tee_handle_data()
941 ret = gst_tee_do_push (tee, pad, data, is_list); in gst_tee_handle_data()
995 is_list ? "buffer-list" : "buffer"); in gst_tee_handle_data()
Dgstfunnel.c317 gboolean is_list, GstMiniObject * obj) in gst_funnel_sink_chain_object() argument
334 if (is_list) in gst_funnel_sink_chain_object()
341 GST_LOG_OBJECT (pad, "handled buffer%s %s", (is_list ? "list" : ""), in gst_funnel_sink_chain_object()
Dgstqueue.c1183 GstMiniObject * obj, gboolean is_list) in gst_queue_chain_buffer_or_list() argument
1197 if (!is_list) { in gst_queue_chain_buffer_or_list()
1268 if (!is_list) { in gst_queue_chain_buffer_or_list()
1291 if (is_list) in gst_queue_chain_buffer_or_list()
1361 gboolean is_list; in gst_queue_push_one() local
1368 is_list = GST_IS_BUFFER_LIST (data); in gst_queue_push_one()
1370 if (GST_IS_BUFFER (data) || is_list) { in gst_queue_push_one()
1371 if (!is_list) { in gst_queue_push_one()
/third_party/mesa3d/src/compiler/glsl/
Ds_expression.h67 virtual bool is_list() const { return false; } in is_list() function
139 virtual bool is_list() const { return true; } in is_list() function
Ds_expression.cpp184 case LIST: if (expr->is_list()) *p_list = (s_list *) expr; break; in match()
/third_party/gn/src/base/
Dvalues.cc234 CHECK(is_list()); in GetList()
239 CHECK(is_list()); in GetList()
474 if (out_value && is_list()) { in GetAsList()
478 return is_list(); in GetAsList()
482 if (out_value && is_list()) { in GetAsList()
486 return is_list(); in GetAsList()
865 if (!result || !value->is_list()) in GetList()
963 if (!result || !value->is_list()) in GetListWithoutPathExpansion()
1179 if (!result || !value->is_list()) in GetList()
1280 CHECK(other->is_list()); in Swap()
/third_party/node/tools/gyp/pylib/gyp/
Dxcodeproj_file.py492 (is_list, property_type, is_strong) = attributes[0:3]
494 if not is_list:
782 (is_list, property_type, is_strong) = self._schema[property][0:3]
783 if is_list:
858 if not is_list:
884 (is_list, property_type, is_strong) = self._schema[key][0:3]
885 if not is_list:
918 (is_list, property_type, is_strong, is_required) = attributes[0:4]
928 (is_list, property_type, is_strong, is_required) = attributes[0:4]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dxcodeproj_file.py492 (is_list, property_type, is_strong) = attributes[0:3]
494 if not is_list:
782 (is_list, property_type, is_strong) = self._schema[property][0:3]
783 if is_list:
858 if not is_list:
884 (is_list, property_type, is_strong) = self._schema[key][0:3]
885 if not is_list:
918 (is_list, property_type, is_strong, is_required) = attributes[0:4]
928 (is_list, property_type, is_strong, is_required) = attributes[0:4]
/third_party/cef/libcef/common/
Dvalues_impl.cc39 if (value->is_list()) { in GetOrCreateRefOrCopy()
858 if (value && value->is_list()) { in GetList()
970 if (out_value->is_list() || out_value->is_dict()) { in RemoveInternal()
1278 if (const_value().Get(index, &out_value) && out_value->is_list()) { in GetList()
1386 if (out_value.is_list() || out_value.is_dict()) { in RemoveInternal()
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Drtpstats.h91 gboolean is_list; member
Dgstrtpfunnel.c263 gboolean is_list, GstMiniObject * obj) in gst_rtp_funnel_sink_chain_object() argument
274 if (is_list) { in gst_rtp_funnel_sink_chain_object()
Drtpsession.h414 …FlowReturn rtp_session_send_rtp (RTPSession *sess, gpointer data, gboolean is_list,
Drtpsession.c2152 gboolean send, gboolean rtp, gboolean is_list, gpointer data, in update_packet_info() argument
2159 pinfo->is_list = is_list; in update_packet_info()
2170 if (is_list) { in update_packet_info()
3200 rtp_session_send_rtp (RTPSession * sess, gpointer data, gboolean is_list, in rtp_session_send_rtp() argument
3211 g_return_val_if_fail (is_list || GST_IS_BUFFER (data), GST_FLOW_ERROR); in rtp_session_send_rtp()
3213 GST_LOG ("received RTP %s for sending", is_list ? "list" : "packet"); in rtp_session_send_rtp()
3216 if (!update_packet_info (sess, &pinfo, TRUE, TRUE, is_list, data, in rtp_session_send_rtp()
Dgstrtpsession.c2399 gpointer data, gboolean is_list) in gst_rtp_session_chain_send_rtp_common() argument
2408 GST_LOG_OBJECT (rtpsession, "received RTP %s", is_list ? "list" : "packet"); in gst_rtp_session_chain_send_rtp_common()
2411 if (is_list) { in gst_rtp_session_chain_send_rtp_common()
2438 ret = rtp_session_send_rtp (priv->session, data, is_list, current_time, in gst_rtp_session_chain_send_rtp_common()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/
Dgstrtpbasedepayload.c1305 gboolean is_list, gpointer obj) in gst_rtp_base_depayload_finish_push() argument
1314 if (is_list) { in gst_rtp_base_depayload_finish_push()
1361 gst_rtp_base_depayload_do_push (GstRTPBaseDepayload * filter, gboolean is_list, in gst_rtp_base_depayload_do_push() argument
1366 if (is_list) { in gst_rtp_base_depayload_do_push()
Dgstrtpbasepayload.c1833 gpointer obj, gboolean is_list) in gst_rtp_base_payload_prepare_push() argument
1854 if (is_list) { in gst_rtp_base_payload_prepare_push()
1931 if (is_list) { in gst_rtp_base_payload_prepare_push()
1947 (is_list) ? "list" : "packet", in gst_rtp_base_payload_prepare_push()
1948 (is_list) ? gst_buffer_list_length (GST_BUFFER_LIST_CAST (obj)) : in gst_rtp_base_payload_prepare_push()
/third_party/protobuf/src/google/protobuf/
Dmap.h505 const bool is_list = revalidate_if_necessary(&tree_it);
506 if (is_list) {
648 const bool is_list = it.revalidate_if_necessary(&tree_it);
651 if (is_list) {
/third_party/node/deps/v8/third_party/inspector_protocol/lib/
Dbase_string_adapter_cc.template53 if (value.is_list()) {
/third_party/node/tools/inspector_protocol/lib/
Dbase_string_adapter_cc.template49 if (value->is_list()) {

12