Home
last modified time | relevance | path

Searched refs:cmessage (Results 1 – 8 of 8) sorted by relevance

/external/protobuf/python/google/protobuf/pyext/
Drepeated_composite_container.cc229 ScopedPyObjectPtr py_cmsg(cmessage::NewEmpty(self->subclass_init)); in UpdateChildMessages()
237 if (cmessage::InitAttributes(cmsg, NULL, NULL) < 0) { in UpdateChildMessages()
256 if (cmessage::AssureWritable(self->parent) == -1) in AddToAttached()
262 PyObject* py_cmsg = cmessage::NewEmpty(self->subclass_init); in AddToAttached()
273 if (cmessage::InitAttributes(cmsg, NULL, kwargs) < 0) { in AddToAttached()
291 if (cmessage::InitAttributes(cmsg, NULL, kwargs) < 0) { in AddToReleased()
316 cmessage::AssureWritable(self->parent); in Extend()
336 if (cmessage::MergeFrom(new_cmessage, next) == NULL) { in Extend()
401 if (cmessage::InternalDeleteRepeatedField(self->message, in AssignSubscript()
612 CMessage* cmessage) { in ReleaseLastTo() argument
[all …]
Dextension_dict.cc110 if (cmessage::ReleaseSubMessage( in ReleaseExtension()
133 return cmessage::InternalGetScalar(self->parent, descriptor); in subscript()
144 PyObject* sub_message = cmessage::InternalGetSubMessage( in subscript()
207 cmessage::AssureWritable(self->parent); in ass_subscript()
208 if (cmessage::InternalSetScalar(self->parent, descriptor, value) < 0) { in ass_subscript()
229 if (cmessage::ClearFieldByDescriptor(self->parent, in ClearExtension()
246 PyObject* result = cmessage::HasFieldByDescriptor( in HasExtension()
Drepeated_scalar_container.cc89 cmessage::AssureWritable(self->parent); in AssignItem()
113 return cmessage::InternalDeleteRepeatedField(message, field_descriptor, in AssignItem()
358 cmessage::AssureWritable(self->parent); in Append()
451 cmessage::AssureWritable(self->parent); in AssSubscript()
481 return cmessage::InternalDeleteRepeatedField( in AssSubscript()
505 cmessage::AssureWritable(self->parent); in Extend()
667 CMessage* cmessage = reinterpret_cast<CMessage*>(py_parent); in Init() local
671 if (!FIELD_BELONGS_TO_MESSAGE(cdescriptor->descriptor, cmessage->message)) { in Init()
677 self->message = cmessage->message; in Init()
678 self->parent = cmessage; in Init()
[all …]
Dmessage.cc83 namespace cmessage { namespace
107 int VisitCMessage(CMessage* cmessage, in VisitCMessage()
152 PyObject* cdescriptor = cmessage::GetDescriptor(self, key); in ForEachCompositeField()
396 namespace cmessage { in CheckAndGetInteger() namespace
399 CMessage* cmessage, in CheckAndGetInteger() argument
402 google::protobuf::Message* message = cmessage->message; in CheckAndGetInteger()
420 cmessage->composite_fields, field_name); in CheckAndGetInteger()
430 return PyDict_DelItemString(cmessage->composite_fields, field_name); in CheckAndGetInteger()
803 int VisitCMessage(CMessage* cmessage, in CheckAndGetInteger()
805 cmessage->parent = NULL; in CheckAndGetInteger()
[all …]
Drepeated_composite_container.h165 CMessage* cmessage);
Dmessage.h114 namespace cmessage {
/external/protobuf/python/google/protobuf/internal/
Dcpp_message.py96 cmessage = self._cmsg.NewSubMessage(cdescriptor)
97 sub_message = message_type._concrete_class(__cmessage=cmessage)
199 cmessage = self._cmsg.AddMessage(self._cfield_descriptor)
200 return self._subclass(__cmessage=cmessage, __owner=self._message, **kwargs)
360 cmessage = self._cmsg.NewSubMessage(cdescriptor)
361 return extension.message_type._concrete_class(__cmessage=cmessage)
456 cmessage = kwargs.pop('__cmessage', None)
457 if cmessage:
458 self._cmsg = cmessage
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp.cc502 const char* cmessage = message.c_str(); in IsLineType() local
503 return (cmessage[line_start] == type && in IsLineType()
504 cmessage[line_start + 1] == kSdpDelimiterEqual); in IsLineType()