Home
last modified time | relevance | path

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

123

/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()
DArrayRef.h56 /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {} in ArrayRef() argument
293 /*implicit*/ MutableArrayRef(NoneType) : ArrayRef<T>() {} in MutableArrayRef() argument
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DOptional.h138 constexpr Optional(NoneType) {}
245 bool operator==(const Optional<T> &X, NoneType) {
250 bool operator==(NoneType, const Optional<T> &X) {
255 bool operator!=(const Optional<T> &X, NoneType) {
260 bool operator!=(NoneType, const Optional<T> &X) {
264 template <typename T> bool operator<(const Optional<T> &X, NoneType) {
268 template <typename T> bool operator<(NoneType, const Optional<T> &X) {
272 template <typename T> bool operator<=(const Optional<T> &X, NoneType) {
276 template <typename T> bool operator<=(NoneType, const Optional<T> &X) {
280 template <typename T> bool operator>(const Optional<T> &X, NoneType) {
[all …]
DNone.h23 enum class NoneType { None = 1 }; enum
24 const NoneType None = NoneType::None;
DArrayRef.h64 /*implicit*/ ArrayRef(NoneType) {} in ArrayRef() argument
300 /*implicit*/ MutableArrayRef(NoneType) : ArrayRef<T>() {} in MutableArrayRef() argument
DSmallSet.h181 std::pair<NoneType, bool> insert(const T &V) { in insert()
/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.cc157 EXPECT_FALSE(it->getOperand(1).getType().isa<NoneType>()); in TEST_F()
159 EXPECT_TRUE(it->getOperand(20).getType().isa<NoneType>()); in TEST_F()
210 EXPECT_TRUE(it->getOperand(1).getType().isa<NoneType>()); in TEST_F()
236 EXPECT_FALSE(it->getOperand(1).getType().isa<NoneType>()); in TEST_F()
239 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-7.0/llvm/include/llvm/Analysis/
DObjCARCAnalysisUtils.h271 ImpreciseReleaseMDKind = NoneType::None; in init()
272 CopyOnEscapeMDKind = NoneType::None; in init()
273 NoObjCARCExceptionsMDKind = NoneType::None; in init()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize.cc234 const bool is_none_bias = bias.getType().isa<NoneType>(); in matchAndRewrite()
339 if (!bias.getType().isa<NoneType>() && in matchAndRewrite()
371 if (!bias.getType().isa<NoneType>()) { in matchAndRewrite()
443 if (!bias.getType().isa<NoneType>() && in matchAndRewrite()
475 if (!bias.getType().isa<NoneType>()) { in matchAndRewrite()
526 if (!bias.getType().isa<NoneType>() && in matchAndRewrite()
551 if (bias.getType().isa<NoneType>()) { // none bias, a list of zeros in matchAndRewrite()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSMLoc.h54 SMRange(NoneType) {} in SMRange() argument
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DSMLoc.h54 SMRange(NoneType) {} in SMRange() argument
/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/python/cpython3/Tools/clinic/
Dclinic.py31 NoneType = type(None) variable
46 NoneType = type(None) variable
3056 elif accept == {int, NoneType}:
3088 def converter_init(self, *, accept={int, NoneType}): argument
3091 elif accept == {int, NoneType}:
3211 default_type = (str, Null, NoneType)
3231 if NoneType in accept and self.c_default == "Py_None":
3324 r('z', accept={str, NoneType})
3325 r('z#', zeroes=True, accept={robuffer, str, NoneType})
3365 default_type = (str, Null, NoneType)
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.h185 if (operand_type.isa<NoneType>()) { in matchAndRewrite()
215 if (result_type.isa<NoneType>()) { in matchAndRewrite()
/external/python/cpython2/Doc/library/
Dconstants.rst24 The sole value of :attr:`types.NoneType`. ``None`` is frequently used to
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/
DOpDescriptor.h62 SourcePred(PredT Pred, NoneType) : Pred(Pred) { in SourcePred() argument

123