/external/flatbuffers/src/ |
D | idl_gen_swift.cpp | 405 !IsBool(field.value.type.base_type)) { in GenTableWriterFields() 416 if (IsBool(field.value.type.base_type)) { in GenTableWriterFields() 457 !IsBool(field.value.type.base_type)) { in GenTableReaderFields() 464 if (IsBool(field.value.type.base_type)) { in GenTableReaderFields() 546 if (IsBool(vectortype.base_type)) { in GenTableReaderVectorFields() 552 const_string + (IsBool(vectortype.base_type) ? "0 != " : "") + "\\"; in GenTableReaderVectorFields() 555 !IsBool(field.value.type.base_type)) { in GenTableReaderVectorFields()
|
D | idl_gen_dart.cpp | 557 if (IsBool(field.value.type.base_type)) { in GenImplementationGetters() 572 if (IsBool(field.value.type.base_type)) { in GenImplementationGetters()
|
D | idl_gen_text.cpp | 54 if (IsBool(type.base_type)) { in PrintScalar()
|
D | idl_gen_python.cpp | 200 auto is_bool = IsBool(field.value.type.base_type); in GetScalarFieldOfTable() 720 if (IsBool(base_type)) { in GetBasePythonTypeForScalarAndString() 736 if (IsBool(base_type)) { in GetDefaultValue()
|
D | idl_parser.cpp | 1720 if (!match && IsBool(in_type)) { in ParseSingleValue() 1725 TRY_ECHECK(kTokenStringOrIdent, IsBool(in_type), BASE_TYPE_BOOL); in ParseSingleValue() 1730 if (!match && IsInteger(in_type) && !IsBool(in_type) && in ParseSingleValue() 2061 IsBool(enum_def->underlying_type.base_type)) in ParseEnum()
|
D | idl_gen_rust.cpp | 145 if (IsBool(type.base_type)) { in GetFullType()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cc | 412 bool IsBool = (0 == internal_strcmp(Data->Type.getTypeName(), "'bool'")); in handleLoadInvalidValue() local 414 IsBool ? ErrorType::InvalidBoolLoad : ErrorType::InvalidEnumLoad; in handleLoadInvalidValue()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | InlineAsmLowering.cpp | 670 bool IsBool = CI->getBitWidth() == 1; in lowerAsmOperandForConstraint() local 671 int64_t ExtVal = IsBool ? CI->getZExtValue() : CI->getSExtValue(); in lowerAsmOperandForConstraint()
|
/external/llvm-project/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.cpp | 527 bool IsBool = (0 == internal_strcmp(Data->Type.getTypeName(), "'bool'")) || in handleLoadInvalidValue() local 530 IsBool ? ErrorType::InvalidBoolLoad : ErrorType::InvalidEnumLoad; in handleLoadInvalidValue()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExpr.cpp | 1620 bool StrictEnums, bool IsBool) { in getRangeForType() argument 1624 if (!IsBool && !IsRegularCPlusPlusEnum) in getRangeForType() 1627 if (IsBool) { in getRangeForType() 1668 bool IsBool = hasBooleanRepresentation(Ty) || in EmitScalarRangeCheck() local 1670 bool NeedsBoolCheck = HasBoolCheck && IsBool; in EmitScalarRangeCheck() 1678 if (IsBool && in EmitScalarRangeCheck() 1683 if (!getRangeForType(*this, Ty, Min, End, /*StrictEnums=*/true, IsBool)) in EmitScalarRangeCheck()
|
/external/flatbuffers/include/flatbuffers/ |
D | flexbuffers.h | 392 bool IsBool() const { return type_ == FBT_BOOL; } in IsBool() function 567 } else if (IsBool()) { in ToString()
|
D | idl.h | 138 inline bool IsBool (BaseType t) { return t == BASE_TYPE_BOOL; } in IsBool() function
|
/external/flatbuffers/tests/ |
D | test.cpp | 2836 TEST_EQ(vec[4].IsBool(), true); // Check if type is a bool in FlexBuffersTest() 2878 TEST_EQ(jmap["c"].IsBool(), true); // Parsed correctly to a bool in FlexBuffersTest() 2880 TEST_EQ(jmap["d"].IsBool(), true); // Parsed correctly to a bool in FlexBuffersTest()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 1224 bool IsBool = hasBooleanRepresentation(Ty); in getRangeForType() local 1225 if (!IsBool && !IsRegularCPlusPlusEnum) in getRangeForType() 1228 if (IsBool) { in getRangeForType()
|
/external/bcc/tests/cc/ |
D | catch.hpp | 3974 template<typename T> struct IsBool { static const bool value = false; }; argument 3975 template<> struct IsBool<bool> { static const bool value = true; }; argument 4066 virtual bool takesArg() const { return !IsBool<M>::value; } in takesArg() 4083 virtual bool takesArg() const { return !IsBool<M>::value; } in takesArg() 4134 virtual bool takesArg() const { return !IsBool<T>::value; } in takesArg()
|
/external/gflags/src/ |
D | gflags.h.in | 513 // We'll use 'sizeof(IsBool(val))' to distinguish. This code requires
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 4440 bool IsBool = C->getConstantIntValue()->getBitWidth() == 1; in LowerAsmOperandForConstraint() local 4442 ISD::NodeType ExtOpc = IsBool ? getExtendForContent(BCont) in LowerAsmOperandForConstraint()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 7848 const bool IsBool = T->isSpecificBuiltinType(BuiltinType::Bool); in DiagnoseFloatingImpCast() local 7919 if (IsBool) in DiagnoseFloatingImpCast()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 4145 bool IsBool = C->getConstantIntValue()->getBitWidth() == 1; in LowerAsmOperandForConstraint() local 4147 ISD::NodeType ExtOpc = IsBool ? getExtendForContent(BCont) in LowerAsmOperandForConstraint()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaChecking.cpp | 11561 const bool IsBool = T->isSpecificBuiltinType(BuiltinType::Bool); in DiagnoseFloatingImpCast() local 11620 if (!IsBool && Result == llvm::APFloat::opInvalidOp) in DiagnoseFloatingImpCast() 11656 if (IsBool) in DiagnoseFloatingImpCast()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 46781 bool IsBool = CST->getConstantIntValue()->getBitWidth() == 1; in LowerAsmOperandForConstraint() local 46783 ISD::NodeType ExtOpc = IsBool ? getExtendForContent(BCont) in LowerAsmOperandForConstraint()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 50550 bool IsBool = CST->getConstantIntValue()->getBitWidth() == 1; in LowerAsmOperandForConstraint() local 50552 ISD::NodeType ExtOpc = IsBool ? getExtendForContent(BCont) in LowerAsmOperandForConstraint()
|