Home
last modified time | relevance | path

Searched refs:name_size (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor_pool.cc174 Py_ssize_t name_size; in FindMessageByName() local
176 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindMessageByName()
181 self->pool->FindMessageTypeByName(string(name, name_size)); in FindMessageByName()
222 Py_ssize_t name_size; in FindFileByName() local
224 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindFileByName()
229 self->pool->FindFileByName(string(name, name_size)); in FindFileByName()
240 Py_ssize_t name_size; in FindFieldByName() local
242 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindFieldByName()
247 self->pool->FindFieldByName(string(name, name_size)); in FindFieldByName()
258 Py_ssize_t name_size; in FindExtensionByName() local
[all …]
Ddescriptor_containers.cc171 Py_ssize_t name_size; in _GetItemByKey() local
172 if (PyString_AsStringAndSize(key, &name, &name_size) < 0) { in _GetItemByKey()
182 self, string(name, name_size)); in _GetItemByKey()
188 Py_ssize_t name_size; in _GetItemByKey() local
189 if (PyString_AsStringAndSize(key, &camelcase_name, &name_size) < 0) { in _GetItemByKey()
199 self, string(camelcase_name, name_size)); in _GetItemByKey()
Ddescriptor.cc1575 Py_ssize_t name_size; in FindMethodByName() local
1577 if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) { in FindMethodByName()
1582 _GetDescriptor(self)->FindMethodByName(string(name, name_size)); in FindMethodByName()
Dmessage.cc2054 Py_ssize_t name_size; in CheckAndGetInteger() local
2056 if (PyString_AsStringAndSize(arg, &name_data, &name_size) < 0) in CheckAndGetInteger()
2058 string oneof_name = string(name_data, name_size); in CheckAndGetInteger()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dparser.cc467 if (option.name_size() > 1) { in ValidateEnum()
673 if (uninterpreted.name_size() == 1 && in IsMessageSetWireFormatMessage()
1020 if (option.name_size() == 1 && in GenerateMapEntry()
1320 uninterpreted_option->name_size()); in ParseOption()
1328 uninterpreted_option->name_size()); in ParseOption()
/frameworks/native/vulkan/libvulkan/
Dapi.cpp238 bool GrowImplicitLayerArray(uint32_t layer_count, size_t name_size) { in GrowImplicitLayerArray() argument
268 while (arr.pool_size + name_size > arr.max_pool_size) { in GrowImplicitLayerArray()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor.cc5612 if (uninterpreted_option_->name_size() == 0) { in InterpretSingleOption()
5656 for (int i = 0; i < uninterpreted_option_->name_size(); ++i) { in InterpretSingleOption()
5718 } else if (i < uninterpreted_option_->name_size() - 1) { in InterpretSingleOption()
Ddescriptor.pb.cc13207 for (unsigned int i = 0, n = this->name_size(); i < n; i++) { in SerializeWithCachedSizes()
13264 for (unsigned int i = 0, n = this->name_size(); i < n; i++) { in InternalSerializeWithCachedSizesToArray()
13369 total_size += 1 * this->name_size(); in ByteSize()
13370 for (int i = 0; i < this->name_size(); i++) { in ByteSize()
13569 int UninterpretedOption::name_size() const { in name_size() function in google::protobuf::UninterpretedOption
Ddescriptor.pb.h3259 int name_size() const;
7217 inline int UninterpretedOption::name_size() const { in name_size() function
Ddescriptor_unittest.cc2544 ASSERT_EQ(1, option.name_size()); in TEST_P()