Home
last modified time | relevance | path

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

/third_party/protobuf/csharp/src/Google.Protobuf/
DMessageExtensions.cs228 return !f.IsRequired; in IsInitialized()
231 else if (f.IsRequired) in IsInitialized()
/third_party/flatbuffers/src/
Didl_gen_swift.cpp464 if (field.IsRequired()) in GenTableWriter()
691 std::string is_required = field.IsRequired() ? "!" : "?"; in GenTableReaderFields()
692 auto required_reader = field.IsRequired() ? "return " : const_string; in GenTableReaderFields()
1031 if (field.IsRequired()) { in GenerateObjectAPITableExtension()
1150 std::string is_required = field.IsRequired() ? "" : "?"; in BuildObjectAPIConstructorBody()
1159 (field.IsRequired() || (optional && is_fixed) ? "" : "?"); in BuildObjectAPIConstructorBody()
1171 (field.IsRequired() ? "!" : question_mark) + ".unpack()"); in BuildObjectAPIConstructorBody()
1185 if (field.IsRequired()) { in BuildObjectAPIConstructorBody()
1191 if (field.IsDefault() && !field.IsRequired()) { in BuildObjectAPIConstructorBody()
Didl_gen_rust.cpp960 field.IsRequired() ? "\"\"" : "\"" + field.value.constant + "\""; in GetDefaultValue()
1458 !(field.IsOptional() || field.IsRequired()) in GenTableAccessorFuncBody()
1767 if (field.IsRequired()) { in GenTable()
1816 if (field.IsRequired()) { in GenTable()
1848 code_.SetValue("IS_REQ", field.IsRequired() ? "true" : "false"); in GenTable()
1899 code_ += field.IsRequired() ? " // required field" : ""; in GenTable()
1967 if (!field.IsRequired()) return; in GenTable()
2089 if (field.IsRequired()) { in GenTableObject()
Didl_gen_fbs.cpp139 if (field.IsRequired()) schema += " (required)"; in GenerateFBS()
Didl_gen_json_schema.cpp242 [](FieldDef const *prop) { return prop->IsRequired(); }); in generate()
Didl_gen_php.cpp539 if (!field.deprecated && field.IsRequired()) { in GetStartOfTable()
648 if (!field.deprecated && field.IsRequired()) { in GetEndOffsetOnTable()
Didl_gen_java.cpp652 (field.IsRequired() ? "" : GenNullableAnnotation(field.value.type)) + in GenStruct()
1098 if (!field.deprecated && field.IsRequired()) { in GenStruct()
Didl_gen_cpp.cpp1874 code_.SetValue("REQUIRED", field.IsRequired() ? "Required" : ""); in GenVerifyCall()
2476 if (!field.deprecated && field.IsRequired()) { in GenBuilders()
2820 if (!field.IsRequired()) { in GenCreateParam()
2938 if (opts_.set_empty_vectors_to_null && !field.IsRequired()) { in GenCreateParam()
Didl_gen_kotlin.cpp649 if (field.deprecated || !field.IsRequired()) { continue; } in GenerateEndStructMethod()
Didl_gen_ts.cpp1459 if (!field.deprecated && field.IsRequired()) { in GenStruct()
Didl_parser.cpp1302 if (!required_field->IsRequired()) { continue; } in ParseTable()
3615 IsFloat(value.type.base_type) ? d : 0.0, deprecated, IsRequired(), key, in Serialize()
Didl_gen_csharp.cpp1145 if (!field.deprecated && field.IsRequired()) { in GenStruct()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp533 bool IsRequired = isRequiredForExecution(Section) || ProcessAllSections; in computeTotalAllocSize() local
536 if (IsRequired) { in computeTotalAllocSize()
781 bool IsRequired = isRequiredForExecution(Section); in emitSection() local
832 if (IsRequired || ProcessAllSections) { in emitSection()
883 if (!IsRequired) in emitSection()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DYAMLParser.cpp184 bool IsRequired = false; member
411 , bool IsRequired);
979 , bool IsRequired) { in saveSimpleKeyCandidate() argument
985 SK.IsRequired = IsRequired; in saveSimpleKeyCandidate()
995 if (i->IsRequired) in removeStaleSimpleKeyCandidates()
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DFieldDescriptor.cs218 public bool IsRequired => Proto.Label == FieldDescriptorProto.Types.Label.Required; field in Google.Protobuf.Reflection.FieldDescriptor
/third_party/flatbuffers/include/flatbuffers/
Didl.h313 bool IsRequired() const { in IsRequired() function
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc402 bool IsRequired(const std::vector<const FieldDescriptor*>& v) { in IsRequired() function
3821 chunks.erase(std::remove_if(chunks.begin(), chunks.end(), IsRequired), in GenerateByteSize()