Searched refs:message_module (Results 1 – 3 of 3) sorted by relevance
/external/protobuf/python/google/protobuf/internal/ |
D | message_test.py | 96 def testBadUtf8String(self, message_module): argument 103 message_module.TestAllTypes.FromString(bad_utf8_data) 106 def testGoldenMessage(self, message_module): argument 110 if message_module is unittest_pb2: 116 golden_message = message_module.TestAllTypes() 118 if message_module is unittest_pb2: 124 def testGoldenPackedMessage(self, message_module): argument 126 golden_message = message_module.TestPackedTypes() 128 all_set = message_module.TestPackedTypes() 135 def testPickleSupport(self, message_module): argument [all …]
|
D | text_format_test.py | 102 def testPrintExotic(self, message_module): argument 103 message = message_module.TestAllTypes() 122 def testPrintExoticUnicodeSubclass(self, message_module): argument 125 message = message_module.TestAllTypes() 131 def testPrintNestedMessageAsOneLine(self, message_module): argument 132 message = message_module.TestAllTypes() 139 def testPrintRepeatedFieldsAsOneLine(self, message_module): argument 140 message = message_module.TestAllTypes() 151 def testPrintNestedNewLineInStringAsOneLine(self, message_module): argument 152 message = message_module.TestAllTypes() [all …]
|
/external/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 1739 ScopedPyObjectPtr message_module(PyImport_ImportModule( in CheckAndGetInteger() local 1741 if (message_module.get() == NULL) { in CheckAndGetInteger() 1746 PyObject_GetAttrString(message_module.get(), "EncodeError")); in CheckAndGetInteger() 3057 PyObject* message_module = PyImport_ImportModule( in CheckAndGetInteger() local 3059 if (message_module == NULL) { in CheckAndGetInteger() 3062 EncodeError_class = PyObject_GetAttrString(message_module, "EncodeError"); in CheckAndGetInteger() 3063 DecodeError_class = PyObject_GetAttrString(message_module, "DecodeError"); in CheckAndGetInteger() 3064 PythonMessage_class = PyObject_GetAttrString(message_module, "Message"); in CheckAndGetInteger() 3065 Py_DECREF(message_module); in CheckAndGetInteger()
|