Home
last modified time | relevance | path

Searched refs:NoneType (Results 1 – 25 of 85) sorted by relevance

1234

/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DOptional.h35 Optional(NoneType) : hasVal(false) {} in Optional() argument
188 bool operator==(const Optional<T> &X, NoneType) {
193 bool operator==(NoneType, const Optional<T> &X) {
198 bool operator!=(const Optional<T> &X, NoneType) {
203 bool operator!=(NoneType, const Optional<T> &X) {
207 template <typename T> bool operator<(const Optional<T> &X, NoneType) {
211 template <typename T> bool operator<(NoneType, const Optional<T> &X) {
215 template <typename T> bool operator<=(const Optional<T> &X, NoneType) {
219 template <typename T> bool operator<=(NoneType, const Optional<T> &X) {
223 template <typename T> bool operator>(const Optional<T> &X, NoneType) {
[all …]
DNone.h22 enum class NoneType { None }; enum
23 const NoneType None = None;
DSmallSet.h80 std::pair<NoneType, bool> insert(const T &V) { in insert()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DOptional.h222 constexpr Optional(NoneType) {} in Optional() argument
332 bool operator==(const Optional<T> &X, NoneType) {
337 bool operator==(NoneType, const Optional<T> &X) {
342 bool operator!=(const Optional<T> &X, NoneType) {
347 bool operator!=(NoneType, const Optional<T> &X) {
351 template <typename T> bool operator<(const Optional<T> &X, NoneType) {
355 template <typename T> bool operator<(NoneType, const Optional<T> &X) {
359 template <typename T> bool operator<=(const Optional<T> &X, NoneType) {
363 template <typename T> bool operator<=(NoneType, const Optional<T> &X) {
367 template <typename T> bool operator>(const Optional<T> &X, NoneType) {
[all …]
DNone.h22 enum class NoneType { None = 1 }; enum
23 const NoneType None = NoneType::None;
DStringSet.h27 class StringSet : public StringMap<NoneType, AllocatorTy> {
28 using base = StringMap<NoneType, AllocatorTy>;
DStringMap.h145 class StringMapEntryStorage<NoneType> : public StringMapEntryBase {
147 explicit StringMapEntryStorage(size_t strLen, NoneType none = None)
151 NoneType getValue() const { return None; } in getValue()
/external/llvm/include/llvm/ADT/
DOptional.h35 Optional(NoneType) : hasVal(false) {} in Optional() argument
163 bool operator==(const Optional<T> &X, NoneType) {
168 bool operator==(NoneType, const Optional<T> &X) {
173 bool operator!=(const Optional<T> &X, NoneType) {
178 bool operator!=(NoneType, const Optional<T> &X) {
DNone.h22 enum class NoneType { None }; enum
23 const NoneType None = None;
DSmallSet.h75 std::pair<NoneType, bool> insert(const T &V) { in insert()
DArrayRef.h54 /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {} in ArrayRef() argument
236 /*implicit*/ MutableArrayRef(NoneType) : ArrayRef<T>() {} in MutableArrayRef() argument
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dlstm_utils_test.cc163 EXPECT_FALSE(it->getOperand(1).getType().isa<NoneType>()); in TEST_F()
165 EXPECT_TRUE(it->getOperand(20).getType().isa<NoneType>()); in TEST_F()
217 EXPECT_TRUE(it->getOperand(1).getType().isa<NoneType>()); in TEST_F()
244 EXPECT_FALSE(it->getOperand(1).getType().isa<NoneType>()); in TEST_F()
247 EXPECT_FALSE(it->getOperand(20).getType().isa<NoneType>()); in TEST_F()
/external/llvm/include/llvm/Analysis/
DObjCARCAnalysisUtils.h258 ImpreciseReleaseMDKind = NoneType::None; in init()
259 CopyOnEscapeMDKind = NoneType::None; in init()
260 NoObjCARCExceptionsMDKind = NoneType::None; in init()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DObjCARCAnalysisUtils.h270 ImpreciseReleaseMDKind = NoneType::None; in init()
271 CopyOnEscapeMDKind = NoneType::None; in init()
272 NoObjCARCExceptionsMDKind = NoneType::None; in init()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DOptional.cpp12 llvm::raw_ostream &llvm::operator<<(raw_ostream &OS, NoneType) { in operator <<() argument
/external/starlark-go/starlark/
Dvalue.go347 type NoneType byte type
349 const None = NoneType(0)
351 func (NoneType) String() string { return "None" }
352 func (NoneType) Type() string { return "NoneType" }
353 func (NoneType) Freeze() {} // immutable
354 func (NoneType) Truth() Bool { return False }
355 func (NoneType) Hash() (uint32, error) { return 0, nil }
1128 case NoneType:
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSMLoc.h54 SMRange(NoneType) {} in SMRange() argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSMLoc.h53 SMRange(NoneType) {} in SMRange() argument
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dprepare_quantize_helper.h100 !op.projection_weights().getType().template isa<NoneType>(); in GetLstmProperty()
102 !op.cell_to_output_weights().getType().template isa<NoneType>(); in GetLstmProperty()
104 !op.forget_layer_norm_coefficients().getType().template isa<NoneType>(); in GetLstmProperty()
111 op.input_to_input_weights().getType().template isa<NoneType>(); in GetLstmProperty()
Doptimize.cc586 const bool is_none_bias = bias.getType().isa<NoneType>(); in matchAndRewrite()
679 if (!old_bias || old_bias.getType().isa<NoneType>()) { in matchAndRewrite()
836 if (!bias.getType().isa<NoneType>() && in matchAndRewrite()
869 if (!bias.getType().isa<NoneType>()) { in matchAndRewrite()
948 if (!bias.getType().isa<NoneType>() && in matchAndRewrite()
986 if (!bias.getType().isa<NoneType>()) { in matchAndRewrite()
1036 if (!bias.getType().isa<NoneType>() && in matchAndRewrite()
1067 if (bias.getType().isa<NoneType>()) { // none bias, a list of zeros in matchAndRewrite()
1244 if (!bias.getType().isa<NoneType>() && in CanFuseAffineOp()
/external/python/cpython2/Lib/distutils/
Dunixccompiler.py19 from types import StringType, NoneType
163 if type(output_dir) not in (StringType, NoneType):
/external/python/cpython2/Lib/
Dtypes.py12 NoneType = type(None) variable
/external/clang/include/clang/Analysis/Analyses/
DPostOrderCFGView.h50 std::pair<llvm::NoneType, bool> insert(const CFGBlock *Block) { in insert()
/external/starlark-go/internal/compile/
Dcompile_test.go59 Error: unknown binary op: string * NoneType`
/external/python/cpython3/Tools/clinic/
Dclinic.py31 NoneType = type(None) variable
46 NoneType = type(None) variable
3070 elif accept == {int, NoneType}:
3097 def converter_init(self, *, accept={int, NoneType}): argument
3100 elif accept == {int, NoneType}:
3233 default_type = (str, Null, NoneType)
3253 if NoneType in accept and self.c_default == "Py_None":
3346 r('z', accept={str, NoneType})
3347 r('z#', zeroes=True, accept={robuffer, str, NoneType})
3387 default_type = (str, Null, NoneType)
[all …]

1234