Home
last modified time | relevance | path

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

12

/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/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/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-subzero/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
Dxmlrpclib.py666 dispatch[NoneType] = dump_nil
Dpickle.py434 dispatch[NoneType] = save_none
/external/clang/include/clang/Analysis/Analyses/
DPostOrderCFGView.h50 std::pair<llvm::NoneType, bool> insert(const CFGBlock *Block) { in insert()
/external/python/cpython2/Doc/library/
Dconstants.rst24 The sole value of :attr:`types.NoneType`. ``None`` is frequently used to
Dtypes.rst42 .. data:: NoneType
/external/python/cpython3/Tools/clinic/
Dclinic.py33 NoneType = type(None) variable
51 NoneType = type(None) variable
2682 default_type = (str, Null, NoneType)
2751 r('z', accept={str, NoneType})
2752 r('z#', zeroes=True, accept={robuffer, str, NoneType})
2768 default_type = (str, Null, NoneType)
2772 @add_legacy_c_converter('Z', accept={str, NoneType})
2773 @add_legacy_c_converter('Z#', accept={str, NoneType}, zeroes=True)
2776 default_type = (str, Null, NoneType)
2780 format_unit = 'Z' if accept=={str, NoneType} else 'u'
[all …]
/external/python/cpython3/Doc/library/
Dconstants.rst22 The sole value of the type ``NoneType``. ``None`` is frequently used to
Dfunctools.rst361 dict_keys([<class 'NoneType'>, <class 'int'>, <class 'object'>,
/external/swiftshader/third_party/LLVM/test/Scripts/
Dcoff-dump.py385 elif format_type is types.NoneType:
/external/python/cpython2/Lib/test/
Dtest_descr.py4070 class X(types.NoneType):
4073 class X(object, types.NoneType):
4076 class X(types.NoneType, object):
4081 class X(O, types.NoneType):
4084 class X(types.NoneType, O):
4090 X.__bases__ = types.NoneType,
4092 X.__bases__ = object, types.NoneType
4094 X.__bases__ = types.NoneType, object
4096 X.__bases__ = O, types.NoneType
4098 X.__bases__ = types.NoneType, O
/external/python/cpython3/Doc/howto/
Dclinic.rst776 To accept ``None``, add ``NoneType`` to this set.
857 ``'Z'`` ``Py_UNICODE(accept={str, NoneType})``
858 ``'Z#'`` ``Py_UNICODE(accept={str, NoneType}, zeroes=True)``
859 ``'z'`` ``str(accept={str, NoneType})``
860 ``'z#'`` ``str(accept={str, NoneType}, zeroes=True)``
861 ``'z*'`` ``Py_buffer(accept={buffer, str, NoneType})``
1056 (There's also an experimental ``NoneType`` converter, which lets you
/external/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp35 Cursor(NoneType) : Ptr(nullptr), End(nullptr) {} in Cursor() argument
/external/python/cpython2/Doc/howto/
Dargparse.rst552 TypeError: unorderable types: NoneType() >= int()

12