Home
last modified time | relevance | path

Searched refs:Union (Results 1 - 25 of 188) sorted by relevance

12345678

/third_party/node/deps/v8/src/compiler/
H A Dtype-cache.h33 Type::Union(kUint8, Type::MinusZeroOrNaN(), zone());
48 Type const kHoleySmi = Type::Union(Type::SignedSmall(), Type::Hole(), zone());
55 Type::Union(kSingletonZero, Type::MinusZero(), zone());
57 Type::Union(kSingletonZero, Type::Undefined(), zone());
59 Type::Union(kSingletonTen, Type::Undefined(), zone());
61 Type const kMinusOneToOneOrMinusZeroOrNaN = Type::Union(
62 Type::Union(CreateRange(-1.0, 1.0), Type::MinusZero(), zone()),
65 Type const kZeroOrOneOrNaN = Type::Union(kZeroOrOne, Type::NaN(), zone());
69 Type::Union(kSingletonZero, Type::MinusZeroOrNaN(), zone());
72 Type::Union(kIntege
[all...]
H A Doperation-typer.cc35 signed32ish_ = Type::Union(Type::Signed32(), truncating_to_zero, zone); in OperationTyper()
36 unsigned32ish_ = Type::Union(Type::Unsigned32(), truncating_to_zero, zone); in OperationTyper()
38 falsish_ = Type::Union( in OperationTyper()
40 Type::Union(Type::Union(singleton_false_, cache_->kZeroish, zone), in OperationTyper()
41 Type::Union(singleton_empty_string_, Type::Hole(), zone), in OperationTyper()
44 truish_ = Type::Union( in OperationTyper()
46 Type::Union(Type::DetectableReceiver(), Type::Symbol(), zone), zone); in OperationTyper()
50 return Type::Union(left, right, zone()); in Merge()
188 if (nans > 0) type = Type::Union(typ in AddRanger()
[all...]
/third_party/ninja/misc/
H A Dninja_syntax.py27 from typing import Dict, List, Match, Optional, Tuple, Union namespace
48 value: Optional[Union[bool, int, float, str, List[str]]],
72 deps: Optional[Union[str, List[str]]] = None,
95 outputs: Union[str, List[str]],
97 inputs: Optional[Union[str, List[str]]] = None,
98 implicit: Optional[Union[str, List[str]]] = None,
99 order_only: Optional[Union[str, List[str]]] = None,
101 Union[
102 List[Tuple[str, Optional[Union[str, List[str]]]]],
103 Dict[str, Optional[Union[st
[all...]
/third_party/python/Lib/ctypes/
H A D_endian.py35 class _swapped_union_meta(_swapped_meta, type(Union)): pass
53 LittleEndianUnion = Union
55 class BigEndianUnion(Union, metaclass=_swapped_union_meta):
56 """Union with big endian byte order"""
70 BigEndianUnion = Union
72 class LittleEndianUnion(Union, metaclass=_swapped_union_meta):
73 """Union with little endian byte order"""
/third_party/typescript/tests/baselines/reference/
H A DconditionalTypes2.js160 type Union = 'a' | 'b';
161 type Product<A extends Union, B> = { f1: A, f2: B};
166 [K in Union]: Exclude<Union, K>
173 [K in Union]: Exclude<Union, Exclude<Union, K>>
180 [K in Union]: Exclude<ProductUnion, { f1: K }>
187 [K in Union]: Exclude<ProductUnion, Exclude<ProductUnion, { f1: K }>>
423 type Union
[all...]
H A DunionErrorMessageOnMatchingDiscriminant.js17 type Union = A | B | C;
20 const foo: Union = {
/third_party/jinja2/
H A Dfilters.py57 attribute: t.Optional[t.Union[str, int]],
85 attribute: t.Optional[t.Union[str, int]],
99 split: t.Sequence[t.Union[str, int, None]] = attribute.split(",")
125 attr: t.Optional[t.Union[str, int]]
126 ) -> t.List[t.Union[str, int]]:
136 def do_forceescape(value: "t.Union[str, HasHTML]") -> Markup:
145 value: t.Union[str, t.Mapping[str, t.Any], t.Iterable[t.Tuple[str, t.Any]]]
221 def do_items(value: t.Union[t.Mapping[K, V], Undefined]) -> t.Iterator[t.Tuple[K, V]]:
376 attribute: t.Optional[t.Union[str, int]] = None,
431 attribute: t.Optional[t.Union[st
[all...]
H A Denvironment.py108 extensions: t.Sequence[t.Union[str, t.Type["Extension"]]],
306 extensions: t.Sequence[t.Union[str, t.Type["Extension"]]] = (),
310 autoescape: t.Union[bool, t.Callable[[t.Optional[str]], bool]] = False,
368 def add_extension(self, extension: t.Union[str, t.Type["Extension"]]) -> None:
398 extensions: t.Sequence[t.Union[str, t.Type["Extension"]]] = missing,
402 autoescape: t.Union[bool, t.Callable[[t.Optional[str]], bool]] = missing,
462 self, obj: t.Any, argument: t.Union[str, t.Any]
463 ) -> t.Union[t.Any, Undefined]:
495 name: t.Union[str, Undefined],
709 source: t.Union[st
[all...]
/third_party/skia/tests/
H A DRegionTest.cpp14 static void Union(SkRegion* rgn, const SkIRect& rect) { in Union() function
26 Union(&r, SkIRect::MakeXYWH(0, 0, 1, 1)); in test_fromchrome()
34 Union(&r, SkIRect::MakeXYWH(0, 0, 3, 3)); in test_fromchrome()
35 Union(&r, SkIRect::MakeXYWH(10, 0, 3, 3)); in test_fromchrome()
36 Union(&r, SkIRect::MakeXYWH(0, 10, 13, 3)); in test_fromchrome()
68 Union(&container, SkIRect::MakeXYWH(0, 0, 40, 20)); in test_fromchrome()
69 Union(&container, SkIRect::MakeXYWH(30, 20, 10, 20)); in test_fromchrome()
75 Union(&rgn, SkIRect::MakeXYWH(0, 0, 10, 10)); in test_fromchrome()
76 Union(&rgn, SkIRect::MakeLTRB(5, 10, 20, 20)); in test_fromchrome()
300 Union( in DEF_TEST()
[all...]
/third_party/python/Lib/test/typinganndata/
H A Dann_module9.py4 from typing import Union, List namespace
6 ann = Union[List[str], int]
14 ann1 = Union[List[A], int]
/third_party/python/Lib/test/
H A Dtest_types.py643 self.assertEqual(int | str, typing.Union[int, str])
644 self.assertNotEqual(int | list, typing.Union[int, str])
645 self.assertEqual(str | int, typing.Union[int, str])
646 self.assertEqual(int | None, typing.Union[int, None])
647 self.assertEqual(None | int, typing.Union[int, None])
650 self.assertEqual(int | str | list, typing.Union[int, str, list])
651 self.assertEqual(int | (str | list), typing.Union[int, str, list])
652 self.assertEqual(str | (int | list), typing.Union[int, str, list])
653 self.assertEqual(typing.List | typing.Tuple, typing.Union[typing.List, typing.Tuple])
654 self.assertEqual(typing.List[int] | typing.Tuple[int], typing.Union[typin
[all...]
H A Dtest_typing.py19 from typing import Union, Optional, Literal namespace
415 self.assertEqual(Union[X], X)
416 self.assertNotEqual(Union[X], Union[X, Y])
417 self.assertEqual(Union[X, X], X)
418 self.assertNotEqual(Union[X, int], Union[X])
419 self.assertNotEqual(Union[X, int], Union[int])
420 self.assertEqual(Union[
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DPointerUnion.h1 //===- llvm/ADT/PointerUnion.h - Discriminated Union of 2 Ptrs --*- C++ -*-===//
183 /// Test if the Union currently holds the type matching T.
277 using Union = PointerUnion<PTs...>;
281 static inline Union getEmptyKey() { return Union(FirstInfo::getEmptyKey()); }
283 static inline Union getTombstoneKey() {
284 return Union(FirstInfo::getTombstoneKey());
287 static unsigned getHashValue(const Union &UnionVal) {
292 static bool isEqual(const Union &LHS, const Union
[all...]
/third_party/rust/crates/regex/regex-syntax/src/ast/
H A Dvisitor.rs167 Union {
388 Some(ClassFrame::Union { head: item, tail: &[] }) in induct_class()
395 ClassInduct::Item(&ast::ClassSetItem::Union(ref x)) => { in induct_class()
399 Some(ClassFrame::Union { in induct_class()
416 ClassFrame::Union { tail, .. } => { in pop_class()
420 Some(ClassFrame::Union { in pop_class()
453 ClassFrame::Union { head, .. } => ClassInduct::Item(head), in child()
481 ClassFrame::Union { .. } => "Union", in fmt()
501 ast::ClassSetItem::Union( in fmt()
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dparm-union.rs28 pub fn Struct_Function(this: *mut Struct, arg1: *mut Union); in Struct_Function()
32 pub unsafe fn Function(&mut self, arg1: *mut Union) { in Function()
38 pub struct Union { structure names
H A Dclass_1_0.rs420 pub struct Union { structure names
427 const UNINIT: ::std::mem::MaybeUninit<Union> = in bindgen_test_layout_Union()
431 ::std::mem::size_of::<Union>(), in bindgen_test_layout_Union()
433 concat!("Size of: ", stringify!(Union)) in bindgen_test_layout_Union()
436 ::std::mem::align_of::<Union>(), in bindgen_test_layout_Union()
438 concat!("Alignment of ", stringify!(Union)) in bindgen_test_layout_Union()
443 concat!("Offset of field: ", stringify!(Union), "::", stringify!(d)) in bindgen_test_layout_Union()
448 concat!("Offset of field: ", stringify!(Union), "::", stringify!(i)) in bindgen_test_layout_Union()
451 impl Clone for Union {
459 pub data: Union,
[all...]
H A Dforward_declared_complex_types_1_0.rs87 pub struct Union { structure names
90 impl Clone for Union {
97 pub fn baz_union(u: *mut Union); in baz_union()
/third_party/python/Lib/importlib/metadata/
H A D_meta.py1 from typing import Any, Dict, Iterator, List, Protocol, TypeVar, Union namespace
20 def get_all(self, name: str, failobj: _T = ...) -> Union[List[Any], _T]:
26 def json(self) -> Dict[str, Union[str, List[str]]]:
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
H A DNativeTypeUDT.cpp27 Union(std::move(UR)), Tag(Union.getPointer()) {} in NativeTypeUDT()
51 if (getUdtKind() != PDB_UdtType::Union) in dump()
106 return Union->getSize(); in getLength()
116 case TypeRecordKind::Union: in getUdtKind()
117 return PDB_UdtType::Union; in getUdtKind()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A Dversion.py12 from typing import Any, Callable, NamedTuple, Optional, SupportsInt, Tuple, Union namespace
18 LocalType = Tuple[Union[int, str], ...]
20 CmpPrePostDevType = Union[InfinityType, NegativeInfinityType, Tuple[str, int]]
21 CmpLocalType = Union[
23 Tuple[Union[Tuple[int, str], Tuple[NegativeInfinityType, Union[int, str]]], ...],
453 letter: Optional[str], number: Union[str, bytes, SupportsInt, None]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiHashing.h35 : FullRecordHash(Full), ForwardDeclHash(Forward), Union(std::move(UR)) { in TagRecordHash()
49 return Union; in getRecord()
58 codeview::UnionRecord Union; member
/third_party/skia/third_party/externals/tint/src/utils/
H A Denum_set.h46 explicit constexpr EnumSet(VALUES... values) : set(Union(values...)) {} in EnumSet()
212 static constexpr uint64_t Union() { return 0; } in Union() function
215 static constexpr uint64_t Union(FIRST first, VALUES... values) { in Union() function
216 return Bit(first) | Union(values...); in Union()
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Dforward_declared_complex_types_1_0.hpp12 union Union;
14 void baz_union(Union* u);
H A Dforward_declared_complex_types.hpp10 union Union;
12 void baz_union(Union* u);
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/
H A Dclass_1_0.rs604 pub struct Union { structure names
611 const UNINIT: ::std::mem::MaybeUninit<Union> = in bindgen_test_layout_Union()
615 ::std::mem::size_of::<Union>(), in bindgen_test_layout_Union()
617 concat!("Size of: ", stringify!(Union)) in bindgen_test_layout_Union()
620 ::std::mem::align_of::<Union>(), in bindgen_test_layout_Union()
622 concat!("Alignment of ", stringify!(Union)) in bindgen_test_layout_Union()
627 concat!("Offset of field: ", stringify!(Union), "::", stringify!(d)) in bindgen_test_layout_Union()
632 concat!("Offset of field: ", stringify!(Union), "::", stringify!(i)) in bindgen_test_layout_Union()
635 impl Clone for Union {
643 pub data: Union,
[all...]

Completed in 19 milliseconds

12345678