Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc82 if (cmessage::ReleaseSubMessage( in ReleaseExtension()
93 const FieldDescriptor* descriptor = cmessage::GetExtensionDescriptor(key); in subscript()
103 return cmessage::InternalGetScalar(self->message, descriptor); in subscript()
122 PyObject* sub_message = cmessage::InternalGetSubMessage( in subscript()
134 cmessage::GetDescriptorPoolForMessage(self->parent), in subscript()
161 const FieldDescriptor* descriptor = cmessage::GetExtensionDescriptor(key); in ass_subscript()
176 cmessage::AssureWritable(self->parent); in ass_subscript()
177 if (cmessage::InternalSetScalar(self->parent, descriptor, value) < 0) { in ass_subscript()
188 cmessage::GetExtensionDescriptor(extension); in ClearExtension()
199 if (ScopedPyObjectPtr(cmessage::ClearFieldByDescriptor( in ClearExtension()
[all …]
Drepeated_composite_container.cc110 CMessage* cmsg = cmessage::NewEmptyMessage(self->child_message_class); in UpdateChildMessages()
136 if (cmessage::AssureWritable(self->parent) == -1) in AddToAttached()
142 CMessage* cmsg = cmessage::NewEmptyMessage(self->child_message_class); in AddToAttached()
149 if (cmessage::InitAttributes(cmsg, kwargs) < 0) { in AddToAttached()
193 cmessage::AssureWritable(self->parent); in Extend()
213 if (ScopedPyObjectPtr(cmessage::MergeFrom(new_cmessage, next.get())) == in Extend()
253 if (cmessage::InternalDeleteRepeatedField(self->parent, in AssignSubscript()
453 cmessage::SetOwner(target, released_message); in ReleaseLastTo()
496 if (cmessage::SetOwner(reinterpret_cast<CMessage*>(msg), new_owner) == -1) { in SetOwner()
Dmessage.cc410 namespace cmessage { namespace
432 int VisitCMessage(CMessage* cmessage, in VisitCMessage()
505 const FieldDescriptor* descriptor = cmessage::GetExtensionDescriptor(key); in ForEachCompositeField()
753 namespace cmessage { in CheckAndGetInteger() namespace
767 CMessage* cmessage, in CheckAndGetInteger() argument
770 Message* message = cmessage->message; in CheckAndGetInteger()
787 PyObject* child_message = cmessage->composite_fields ? in CheckAndGetInteger()
788 PyDict_GetItemString(cmessage->composite_fields, field_name) : NULL; in CheckAndGetInteger()
795 cmessage, existing_field, child_message) < 0) { in CheckAndGetInteger()
798 return PyDict_DelItemString(cmessage->composite_fields, field_name); in CheckAndGetInteger()
[all …]
Drepeated_scalar_container.cc89 cmessage::AssureWritable(self->parent); in AssignItem()
107 return cmessage::InternalDeleteRepeatedField(self->parent, field_descriptor, in AssignItem()
355 cmessage::AssureWritable(self->parent); in Append()
444 cmessage::AssureWritable(self->parent); in AssSubscript()
474 return cmessage::InternalDeleteRepeatedField( in AssSubscript()
498 cmessage::AssureWritable(self->parent); in Extend()
Dmessage.h150 namespace cmessage {
Dmap_container.cc110 cmessage::AssureWritable(parent); in GetMutableMessage()
618 CMessage* cmsg = cmessage::NewEmptyMessage(self->message_class); in GetCMessage()
Ddescriptor.cc271 cmessage::AssureWritable(message); in CopyToPythonProto()
/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()