Home
last modified time | relevance | path

Searched refs:Py_ssize_t (Results 1 – 13 of 13) sorted by relevance

/external/protobuf/python/google/protobuf/pyext/
Drepeated_composite_container.cc82 static Py_ssize_t Length(RepeatedCompositeContainer* self) { in Length()
103 Py_ssize_t message_length = Length(self); in UpdateChildMessages()
104 Py_ssize_t child_length = PyList_GET_SIZE(self->child_messages); in UpdateChildMessages()
107 for (Py_ssize_t i = child_length; i < message_length; ++i) { in UpdateChildMessages()
260 Py_ssize_t from; in AssignSubscript()
261 Py_ssize_t to; in AssignSubscript()
262 Py_ssize_t step; in AssignSubscript()
263 Py_ssize_t length = Length(self); in AssignSubscript()
264 Py_ssize_t slicelength; in AssignSubscript()
291 Py_ssize_t index = PySequence_Index(self->child_messages, value); in Remove()
[all …]
Drepeated_scalar_container.cc71 for (Py_ssize_t i = 0; i < PyList_GET_SIZE(list); ++i) { in InternalAssignRepeatedField()
80 static Py_ssize_t Len(RepeatedScalarContainer* self) { in Len()
87 Py_ssize_t index, in AssignItem()
191 static PyObject* Item(RepeatedScalarContainer* self, Py_ssize_t index) { in Item()
291 Py_ssize_t from; in Subscript()
292 Py_ssize_t to; in Subscript()
293 Py_ssize_t step; in Subscript()
294 Py_ssize_t length; in Subscript()
295 Py_ssize_t slicelength; in Subscript()
332 for (Py_ssize_t index = from; index < to; index += step) { in Subscript()
[all …]
Ddescriptor_pool.cc174 Py_ssize_t name_size; in FindMessageByName()
222 Py_ssize_t name_size; in FindFileByName()
240 Py_ssize_t name_size; in FindFieldByName()
258 Py_ssize_t name_size; in FindExtensionByName()
275 Py_ssize_t name_size; in FindEnumTypeByName()
292 Py_ssize_t name_size; in FindOneofByName()
309 Py_ssize_t name_size; in FindFileContainingSymbol()
412 Py_ssize_t message_len; in AddSerializedFile()
Ddescriptor_containers.cc171 Py_ssize_t name_size; in _GetItemByKey()
188 Py_ssize_t name_size; in _GetItemByKey()
204 Py_ssize_t number = PyNumber_AsSsize_t(key, NULL); in _GetItemByKey()
225 static PyObject* _NewKey_ByIndex(PyContainer* self, Py_ssize_t index) { in _NewKey_ByIndex()
252 static PyObject* _NewObj_ByIndex(PyContainer* self, Py_ssize_t index) { in _NewObj_ByIndex()
257 static Py_ssize_t Length(PyContainer* self) { in Length()
472 Py_ssize_t count = Length(self); in Keys()
477 for (Py_ssize_t index = 0; index < count; ++index) { in Keys()
488 Py_ssize_t count = Length(self); in Values()
493 for (Py_ssize_t index = 0; index < count; ++index) { in Values()
[all …]
Dmessage.cc477 Py_ssize_t pos = 0; in ForEachCompositeField()
487 Py_ssize_t key_str_size; in ForEachCompositeField()
709 Py_ssize_t value_len; in CheckAndGetInteger()
896 Py_ssize_t size; in CheckAndGetInteger()
933 Py_ssize_t size; in CheckAndGetInteger()
959 Py_ssize_t length, from, to, step, slice_length; in CheckAndGetInteger()
998 Py_ssize_t i = from; in CheckAndGetInteger()
1049 Py_ssize_t pos = 0; in CheckAndGetInteger()
1073 Py_ssize_t map_pos = 0; in CheckAndGetInteger()
1268 const Py_ssize_t n = PyList_GET_SIZE(container->child_messages); in CheckAndGetInteger()
[all …]
Dscoped_pyobject_ptr.h78 Py_ssize_t refcnt() const { return Py_REFCNT(ptr_); } in refcnt()
Ddescriptor_database.cc92 Py_ssize_t len; in GetFileDescriptorProto()
Dmap_container.cc64 static Py_ssize_t Length(PyObject* _self);
117 Py_ssize_t value_len; in PyStringToSTL()
315 Py_ssize_t MapReflectionFriend::Length(PyObject* _self) { in Length()
Ddescriptor.cc117 Py_ssize_t filename_size; in _CalledFromGeneratedFile()
/external/clang/test/CodeGen/
Dunion-init.c4 typedef int Py_ssize_t; typedef
10 Py_ssize_t gc_refs;
/external/libmojo/third_party/markupsafe/
D_speedups.c18 typedef int Py_ssize_t; typedef
25 static Py_ssize_t escaped_chars_delta_len[ESCAPED_CHARS_TABLE_SIZE];
63 Py_ssize_t delta=0, erepl=0, delta_len=0; in escape_unicode()
/external/libxml2/python/
Dtypes.c636 Py_ssize_t size; in libxml_xmlXPathObjectPtrConvert()
Dlibxml.c299 Py_ssize_t size; in xmlPythonFileReadRaw()
364 Py_ssize_t size; in xmlPythonFileRead()