Home
last modified time | relevance | path

Searched refs:IsBool (Results 1 – 22 of 22) sorted by relevance

/external/flatbuffers/src/
Didl_gen_swift.cpp405 !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()
Didl_gen_dart.cpp557 if (IsBool(field.value.type.base_type)) { in GenImplementationGetters()
572 if (IsBool(field.value.type.base_type)) { in GenImplementationGetters()
Didl_gen_text.cpp54 if (IsBool(type.base_type)) { in PrintScalar()
Didl_gen_python.cpp200 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()
Didl_parser.cpp1720 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()
Didl_gen_rust.cpp145 if (IsBool(type.base_type)) { in GetFullType()
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc412 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/
DInlineAsmLowering.cpp670 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/
Dubsan_handlers.cpp527 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/
DCGExpr.cpp1620 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/
Dflexbuffers.h392 bool IsBool() const { return type_ == FBT_BOOL; } in IsBool() function
567 } else if (IsBool()) { in ToString()
Didl.h138 inline bool IsBool (BaseType t) { return t == BASE_TYPE_BOOL; } in IsBool() function
/external/flatbuffers/tests/
Dtest.cpp2836 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/
DCGExpr.cpp1224 bool IsBool = hasBooleanRepresentation(Ty); in getRangeForType() local
1225 if (!IsBool && !IsRegularCPlusPlusEnum) in getRangeForType()
1228 if (IsBool) { in getRangeForType()
/external/bcc/tests/cc/
Dcatch.hpp3974 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/
Dgflags.h.in513 // We'll use 'sizeof(IsBool(val))' to distinguish. This code requires
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp4440 bool IsBool = C->getConstantIntValue()->getBitWidth() == 1; in LowerAsmOperandForConstraint() local
4442 ISD::NodeType ExtOpc = IsBool ? getExtendForContent(BCont) in LowerAsmOperandForConstraint()
/external/clang/lib/Sema/
DSemaChecking.cpp7848 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/
DTargetLowering.cpp4145 bool IsBool = C->getConstantIntValue()->getBitWidth() == 1; in LowerAsmOperandForConstraint() local
4147 ISD::NodeType ExtOpc = IsBool ? getExtendForContent(BCont) in LowerAsmOperandForConstraint()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp11561 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/
DX86ISelLowering.cpp46781 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/
DX86ISelLowering.cpp50550 bool IsBool = CST->getConstantIntValue()->getBitWidth() == 1; in LowerAsmOperandForConstraint() local
50552 ISD::NodeType ExtOpc = IsBool ? getExtendForContent(BCont) in LowerAsmOperandForConstraint()