Home
last modified time | relevance | path

Searched refs:is_required (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dmetric_spec.py67 fn_name, fn_args, candidate_args, canonical_arg, is_required=False): argument
98 elif is_required:
/external/protobuf/src/google/protobuf/
Dreflection_ops.cc147 if (descriptor->field(i)->is_required()) { in IsInitialized()
233 if (descriptor->field(i)->is_required()) { in FindInitializationErrors()
Ddescriptor.h544 bool is_required() const; // shorthand for label() == LABEL_REQUIRED
1794 inline bool FieldDescriptor::is_required() const { in is_required() function
Ddescriptor_unittest.cc841 EXPECT_TRUE (foo_->is_required()); in TEST_F()
845 EXPECT_FALSE(bar_->is_required()); in TEST_F()
849 EXPECT_FALSE(baz_->is_required()); in TEST_F()
Ddescriptor.cc5202 if (field->is_required()) { in ValidateProto3Field()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_message.cc119 if (field->is_required()) { in HasRequiredFields()
415 if (field->is_required()) { in GenerateIsInitialized()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_enum_field.cc179 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode()
199 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode()
Djavanano_primitive_field.cc368 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializationCode()
395 if (descriptor_->is_required() && !params_.generate_has()) { in GenerateSerializedSizeCode()
/external/libprotobuf-mutator/src/
Dmutator.cc229 (!field->is_required() || !keep_initialized_)) { in Sample()
585 if (keep_initialized_ && field->is_required() && in InitializeAndTrim()
590 if (max_depth <= 0 && !field->is_required()) { in InitializeAndTrim()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc136 if (field->is_required()) { in HasRequiredFields()
409 if (descriptor->field(i)->is_required()) { in MessageGenerator()
3427 if (desc->field(i)->is_required()) { in RequiredFieldsBitMask()
3492 if (field->is_required()) { in GenerateByteSize()
3530 if (!field->is_required()) continue; in GenerateByteSize()
3543 if (!field->is_required()) continue; in GenerateByteSize()
3564 if (!field->is_required() && !field->is_repeated() && in GenerateByteSize()
3574 if (!field->is_required() && !field->is_repeated() && in GenerateByteSize()
3735 if (field->is_required()) { in GenerateIsInitialized()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc84 if (descriptor->is_required()) field_flags.push_back("GPBFieldRequired"); in SetCommonFieldVariables()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_builder.cc568 if (field->is_required()) { in GenerateIsInitialized()
Djava_helpers.cc726 if (field->is_required()) { in HasRequiredFields()
Djava_message_lite.cc687 if (field->is_required()) { in GenerateDynamicMethodIsInitialized()
Djava_message.cc861 if (field->is_required()) { in GenerateIsInitialized()
/external/expat/tests/
Druntests.c2008 int is_required; member
2017 int is_required) in verify_attlist_decl_handler() argument
2031 if (is_required != at->is_required) in verify_attlist_decl_handler()
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc927 } else if (field->is_required() && !is_primitive && !force_optional) { in JSFieldTypeAnnotation()