/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | protostream_objectsource.cc | 186 string field_name; in WriteMessage() local 199 field_name = field->json_name(); in WriteMessage() 216 ow->StartObject(field_name); in WriteMessage() 217 ASSIGN_OR_RETURN(tag, RenderMap(field, field_name, tag, ow)); in WriteMessage() 220 ASSIGN_OR_RETURN(tag, RenderList(field, field_name, tag, ow)); in WriteMessage() 224 RETURN_IF_ERROR(RenderField(field, field_name, ow)); in WriteMessage() 318 StringPiece field_name, ObjectWriter* ow) { in RenderTimestamp() argument 325 StrCat("Timestamp seconds exceeds limit for field: ", field_name)); in RenderTimestamp() 331 StrCat("Timestamp nanos exceeds limit for field: ", field_name)); in RenderTimestamp() 334 ow->RenderString(field_name, in RenderTimestamp() [all …]
|
D | protostream_objectsource.h | 239 StringPiece field_name, ObjectWriter* ow) const; 244 StringPiece field_name, 266 StringPiece field_name) const;
|
D | utility.cc | 156 const google::protobuf::Type* type, StringPiece field_name) { in FindFieldInTypeOrNull() argument 160 if (field.name() == field_name) { in FindFieldInTypeOrNull()
|
D | utility.h | 132 const google::protobuf::Type* type, StringPiece field_name);
|
/frameworks/base/core/jni/ |
D | core_jni_helpers.h | 35 static inline jfieldID GetFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetFieldIDOrDie() argument 37 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); in GetFieldIDOrDie() 38 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); in GetFieldIDOrDie() 49 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetStaticFieldIDOrDie() argument 51 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature); in GetStaticFieldIDOrDie() 52 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); in GetStaticFieldIDOrDie()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | field_mask_util_test.cc | 343 #define TEST_MERGE_ONE_PRIMITIVE_FIELD(field_name) \ in TEST() argument 346 tmp.set_##field_name(src.field_name()); \ in TEST() 348 mask.add_paths(#field_name); \ in TEST() 352 src.clear_##field_name(); \ in TEST() 353 tmp.clear_##field_name(); \ in TEST() 377 #define TEST_MERGE_ONE_FIELD(field_name) \ in TEST() argument 380 *tmp.mutable_##field_name() = src.field_name(); \ in TEST() 382 mask.add_paths(#field_name); \ in TEST() 492 #define TEST_TRIM_ONE_PRIMITIVE_FIELD(field_name) \ in TEST() argument 497 tmp.set_##field_name(msg.field_name()); \ in TEST() [all …]
|
D | field_mask_util.cc | 135 const string& field_name = parts[i]; in InternalIsValidPath() local 139 const FieldDescriptor* field = descriptor->FindFieldByName(field_name); in InternalIsValidPath() 358 const string& field_name = it->first; in MergeMessage() local 360 const FieldDescriptor* field = descriptor->FindFieldByName(field_name); in MergeMessage() 362 GOOGLE_LOG(ERROR) << "Cannot find field \"" << field_name << "\" in message " in MergeMessage() 370 GOOGLE_LOG(ERROR) << "Field \"" << field_name << "\" in message " in MergeMessage()
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator.cpp | 214 std::string field_name; member 256 styleable_attr.field_name = in ProcessStyleable() 316 styleable_comment << "<tr><td><code>{@link #" << entry.field_name << " " in ProcessStyleable() 332 styleable_comment << "@see #" << entry.field_name << "\n"; in ProcessStyleable() 391 util::make_unique<IntMember>(sorted_attributes[i].field_name, static_cast<uint32_t>(i)); in ProcessStyleable() 419 StringPrintf("int styleable %s %zd", sorted_attributes[i].field_name.c_str(), i)); in ProcessStyleable() 450 const std::string field_name = TransformToFieldName(name.entry); in ProcessResource() local 453 util::make_unique<ResourceMember>(field_name, real_id); in ProcessResource() 483 .Print(field_name) in ProcessResource() 491 type_str.data(), field_name.data(), in ProcessResource() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/tests/ |
D | repeated_field_test.rb | 29 repeated_field_names(TestMessage).each do |field_name| 30 assert_nil m.send(field_name).first 49 repeated_field_names(TestMessage).each do |field_name| 50 assert_nil m.send(field_name).first 69 repeated_field_names(TestMessage).each do |field_name| 70 assert_nil m.send(field_name).pop 96 repeated_field_names(TestMessage).each do |field_name| 97 assert_nil m.send(field_name).pop 176 %w(repeated_int32 repeated_int64 repeated_uint32 repeated_uint64).each do |field_name| 177 m.send(field_name)[3] = 10 [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | python_message.py | 447 def _ReraiseTypeErrorWithFieldName(message_name, field_name): argument 452 exc = TypeError('%s for field %s.%s' % (str(exc), message_name, field_name)) 490 for field_name, field_value in kwargs.items(): 491 field = _GetFieldByName(message_descriptor, field_name) 494 (message_descriptor.name, field_name)) 527 _ReraiseTypeErrorWithFieldName(message_descriptor.name, field_name) 533 setattr(self, field_name, field_value) 535 _ReraiseTypeErrorWithFieldName(message_descriptor.name, field_name) 542 def _GetFieldByName(message_descriptor, field_name): argument 552 return message_descriptor.fields_by_name[field_name] [all …]
|
D | well_known_types_test.py | 424 field_name = field.name 428 mask.paths.append(field_name) 433 repeated_src = getattr(src, field_name) 434 repeated_msg = getattr(msg, field_name) 441 getattr(msg, field_name).CopyFrom(getattr(src, field_name)) 443 setattr(msg, field_name, getattr(src, field_name))
|
D | generator_test.py | 66 field_name = 'optional_nested_message' 70 proto_type.DESCRIPTOR.fields_by_name[field_name].message_type) 302 for field_name, field_desc in desc.fields_by_name.items(): 303 if field_name in nested_names:
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_helpers.cc | 74 bool IsForbidden(const string& field_name) { in IsForbidden() argument 76 if (field_name == kForbiddenWordList[i]) { in IsForbidden() 84 string field_name; in FieldName() local 89 field_name = field->message_type()->name(); in FieldName() 91 field_name = field->name(); in FieldName() 93 if (IsForbidden(field_name)) { in FieldName() 96 field_name += "#"; in FieldName() 98 return field_name; in FieldName()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/ |
D | message.c | 388 VALUE Message_index(VALUE _self, VALUE field_name) { in Message_index() argument 392 Check_Type(field_name, T_STRING); in Message_index() 393 field = upb_msgdef_ntofz(self->descriptor->msgdef, RSTRING_PTR(field_name)); in Message_index() 407 VALUE Message_index_set(VALUE _self, VALUE field_name, VALUE value) { in Message_index_set() argument 411 Check_Type(field_name, T_STRING); in Message_index_set() 412 field = upb_msgdef_ntofz(self->descriptor->msgdef, RSTRING_PTR(field_name)); in Message_index_set() 414 rb_raise(rb_eArgError, "Unknown field: %s", RSTRING_PTR(field_name)); in Message_index_set()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | text_format.cc | 377 string field_name; in ConsumeField() local 404 DO(ConsumeFullTypeName(&field_name)); in ConsumeField() 408 ? finder_->FindExtension(message, field_name) in ConsumeField() 409 : reflection->FindKnownExtensionByName(field_name)); in ConsumeField() 413 ReportError("Extension \"" + field_name + "\" is not defined or " in ConsumeField() 418 ReportWarning("Extension \"" + field_name + "\" is not defined or " in ConsumeField() 424 DO(ConsumeIdentifier(&field_name)); in ConsumeField() 427 if (allow_field_number_ && safe_strto32(field_name, &field_number)) { in ConsumeField() 434 field = descriptor->FindFieldByName(field_name); in ConsumeField() 439 string lower_field_name = field_name; in ConsumeField() [all …]
|
D | wire_format.h | 247 const char* field_name); 325 const char* field_name) { in VerifyUTF8StringNamedField() argument 328 data, size, static_cast<WireFormatLite::Operation>(op), field_name); in VerifyUTF8StringNamedField()
|
D | wire_format_lite.cc | 517 const char* field_name) { in VerifyUtf8String() argument 530 if (field_name != NULL) { in VerifyUtf8String() 531 quoted_field_name = StringPrintf(" '%s'", field_name); in VerifyUtf8String()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | message.py | 234 def HasField(self, field_name): argument 240 def ClearField(self, field_name): argument
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/ |
D | message.c | 43 void message_set_property(zval* object, zval* field_name, zval* value, in message_set_property() argument 49 CHECK_TYPE(field_name, IS_STRING); in message_set_property() 50 field = upb_msgdef_ntofz(self->descriptor->msgdef, Z_STRVAL_P(field_name)); in message_set_property() 52 zend_error(E_ERROR, "Unknown field: %s", Z_STRVAL_P(field_name)); in message_set_property()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/ |
D | objectivec_oneof.cc | 82 string field_name = FieldNameCapitalized(field); in GenerateCaseEnum() local 86 "field_name", field_name, in GenerateCaseEnum()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/ |
D | message.cc | 786 const char* field_name = existing_field->name().c_str(); in CheckAndGetInteger() local 788 PyDict_GetItemString(cmessage->composite_fields, field_name) : NULL; in CheckAndGetInteger() 798 return PyDict_DelItemString(cmessage->composite_fields, field_name); in CheckAndGetInteger() 895 char* field_name; in CheckAndGetInteger() local 897 if (PyString_AsStringAndSize(name, &field_name, &size) < 0) { in CheckAndGetInteger() 901 message_descriptor->FindFieldByName(string(field_name, size)); in CheckAndGetInteger() 1357 const Message* message, const string& field_name, bool* in_oneof) { in CheckAndGetInteger() argument 1361 descriptor->FindFieldByName(field_name); in CheckAndGetInteger() 1366 descriptor->FindOneofByName(field_name); in CheckAndGetInteger() 1411 char* field_name; in CheckAndGetInteger() local [all …]
|
/frameworks/base/tools/stats_log_api_gen/ |
D | test_collation.cpp | 68 #define EXPECT_HAS_ENUM_FIELD(atom, field_name, values) \ argument 72 if (field->name == field_name) { \
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | parser_unittest.cc | 2170 const Message& descriptor_proto, const string& field_name) { in HasSpan() argument 2171 return HasSpan(start_marker, end_marker, descriptor_proto, field_name, -1); in HasSpan() 2175 const Message& descriptor_proto, const string& field_name, in HasSpan() argument 2178 field_name, index, NULL, NULL, NULL); in HasSpan() 2183 const string& field_name, int index, in HasSpan() argument 2188 descriptor_proto.GetDescriptor()->FindFieldByName(field_name); in HasSpan() 2191 << " has no such field: " << field_name; in HasSpan() 2206 bool HasSpan(const Message& descriptor_proto, const string& field_name) { in HasSpan() argument 2207 return HasSpan('\0', '\0', descriptor_proto, field_name, -1); in HasSpan() 2210 bool HasSpan(const Message& descriptor_proto, const string& field_name, in HasSpan() argument [all …]
|
D | parser.cc | 90 string MapEntryName(const string& field_name) { in MapEntryName() argument 93 result.reserve(field_name.size() + sizeof(kSuffix)); in MapEntryName() 95 for (int i = 0; i < field_name.size(); ++i) { in MapEntryName() 96 if (field_name[i] == '_') { in MapEntryName() 100 if ('a' <= field_name[i] && field_name[i] <= 'z') { in MapEntryName() 101 result.push_back(field_name[i] - 'a' + 'A'); in MapEntryName() 103 result.push_back(field_name[i]); in MapEntryName() 107 result.push_back(field_name[i]); in MapEntryName()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 1314 string field_name; in FixOptionsForField() local 1318 field_name = field.name(); in FixOptionsForField() 1320 field_name = FieldReferencingExpression( in FixOptionsForField() 1324 field_name = FieldReferencingExpression( in FixOptionsForField() 1327 PrintDescriptorOptionsFixingCode(field_name, field_options, printer_); in FixOptionsForField()
|