Home
last modified time | relevance | path

Searched refs:Container (Results 1 - 25 of 122) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8632/
H A DTestUtil.h301 template <typename Container = C, int Size = N> \
302 typename std::enable_if<std::is_floating_point<Container>::value, \
306 typename std::conditional<std::is_same<float, Container>::value, \
308 static_assert(sizeof(ElemType) == sizeof(Container), \
331 template <typename Container = C, int Size = N> \
332 typename std::enable_if<std::is_floating_point<Container>::value, \
336 typename std::conditional<std::is_same<float, Container>::value, \
338 static_assert(sizeof(ElemType) == sizeof(Container), \
340 const Container *const RhsPtr = \
341 reinterpret_cast<const Container *cons
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
H A Djava_iterator.h38 template <typename ReturnType, typename Container,
39 typename ContainerBase = Container>
41 public RefCounted< PODIterator<ReturnType, Container> > {
43 explicit PODIterator(Container* container) : container_(container) {} in PODIterator()
59 Container* container() { return container_; } in container()
62 Container* container_; // Dumb pointer is used to avoid circular ref-counting
65 template <typename ReturnType, typename Container,
66 typename ContainerBase = Container>
68 public RefCounted< RefIterator<ReturnType, Container> > {
70 explicit RefIterator(Container* containe
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
H A DDebugSubsectionRecord.cpp27 CodeViewContainer Container) in DebugSubsectionRecord()
28 : Container(Container), Kind(Kind), Data(Data) {} in DebugSubsectionRecord()
32 CodeViewContainer Container) { in initialize()
42 Info.Container = Container; in initialize()
56 std::shared_ptr<DebugSubsection> Subsection, CodeViewContainer Container) in DebugSubsectionRecordBuilder()
57 : Subsection(std::move(Subsection)), Container(Container) {} in DebugSubsectionRecordBuilder()
60 const DebugSubsectionRecord &Contents, CodeViewContainer Container) in DebugSubsectionRecordBuilder()
25 DebugSubsectionRecord(DebugSubsectionKind Kind, BinaryStreamRef Data, CodeViewContainer Container) DebugSubsectionRecord() argument
30 initialize(BinaryStreamRef Stream, DebugSubsectionRecord &Info, CodeViewContainer Container) initialize() argument
55 DebugSubsectionRecordBuilder( std::shared_ptr<DebugSubsection> Subsection, CodeViewContainer Container) DebugSubsectionRecordBuilder() argument
59 DebugSubsectionRecordBuilder( const DebugSubsectionRecord &Contents, CodeViewContainer Container) DebugSubsectionRecordBuilder() argument
[all...]
/third_party/json/include/nlohmann/
H A Dordered_map.hpp33 using Container = std::vector<std::pair<const Key, T>, Allocator>;
34 using iterator = typename Container::iterator;
35 using const_iterator = typename Container::const_iterator;
36 using size_type = typename Container::size_type;
37 using value_type = typename Container::value_type;
44 // Explicit constructors instead of `using Container::Container`
46 ordered_map() noexcept(noexcept(Container())) : Container{} {} in noexcept()
47 explicit ordered_map(const Allocator& alloc) noexcept(noexcept(Container(allo in noexcept()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8664/
H A DTestUtil.h413 template <typename Container = C, int Size = N> \
414 typename std::enable_if<std::is_floating_point<Container>::value, \
418 typename std::conditional<std::is_same<float, Container>::value, \
420 static_assert(sizeof(ElemType) == sizeof(Container), \
443 template <typename Container = C, int Size = N> \
444 typename std::enable_if<std::is_floating_point<Container>::value, \
448 typename std::conditional<std::is_same<float, Container>::value, \
450 static_assert(sizeof(ElemType) == sizeof(Container), \
452 const Container *const RhsPtr = \
453 reinterpret_cast<const Container *cons
[all...]
/third_party/typescript/tests/baselines/reference/
H A DjsDeclarationsExportAssignedVisibility.js12 class Container {
18 module.exports = Container;
29 var Container = /** @class */ (function () {
30 function Container() {
33 return Container;
35 module.exports = Container;
44 export = Container;
45 declare class Container {
H A DrecursiveGenericUnionType1.js3 export type Container<T> = T | {
4 [i: string]: Container<T>;
6 export type IStringContainer = Container<string>;
10 export type Container<T> = T | {
11 [i: string]: Container<T>;
13 export type IStringContainer = Container<string>;
16 var x: Test1.Container<number>;
H A DrecursiveGenericUnionType2.js3 export type Container<T> = T | {
4 [i: string]: Container<T>[];
6 export type IStringContainer = Container<string>;
10 export type Container<T> = T | {
11 [i: string]: Container<T>[];
13 export type IStringContainer = Container<string>;
16 var x: Test1.Container<number>;
H A DnumericStringLiteralTypes.js22 type Container<T> = {
26 type UnwrapContainers<T extends Container<unknown>[]> = { [K in keyof T]: T[K]['value'] };
28 declare function createContainer<T extends unknown>(value: T): Container<T>;
30 declare function f<T extends Container<unknown>[]>(containers: [...T], callback: (...values: UnwrapContainers<T>) => void): void;
71 type Container<T> = {
74 type UnwrapContainers<T extends Container<unknown>[]> = {
77 declare function createContainer<T extends unknown>(value: T): Container<T>;
78 declare function f<T extends Container<unknown>[]>(containers: [...T], callback: (...values: UnwrapContainers<T>) => void): void;
79 declare const container1: Container<string>;
80 declare const container2: Container<numbe
[all...]
H A DintersectionReduction.js103 type Container<Type extends string> = {
107 const f2 = (t: Container<"a"> | (Container<"b"> & Container<"c">)): Container<"a"> => t;
108 const f3 = (t: Container<"a"> | (Container<"b"> & { dataB: boolean } & Container<"a">)): Container<"a"> => t;
109 const f4 = (t: number | (Container<"
[all...]
H A DintersectionReductionStrict.js92 type Container<Type extends string> = {
96 const f2 = (t: Container<"a"> | (Container<"b"> & Container<"c">)): Container<"a"> => t;
97 const f3 = (t: Container<"a"> | (Container<"b"> & { dataB: boolean } & Container<"a">)): Container<"a"> => t;
98 const f4 = (t: number | (Container<"
[all...]
H A DerrorElaboration.js7 interface Container<T> {
8 m1: Container<Ref<T>>;
11 declare function foo(x: () => Container<Ref<number>>): void;
12 let a: () => Container<Ref<string>>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolRecordMapping.h23 CodeViewContainer Container) in SymbolRecordMapping()
24 : IO(Reader), Container(Container) {} in SymbolRecordMapping()
26 CodeViewContainer Container) in SymbolRecordMapping()
27 : IO(Writer), Container(Container) {} in SymbolRecordMapping()
41 CodeViewContainer Container; member in llvm::codeview::SymbolRecordMapping
22 SymbolRecordMapping(BinaryStreamReader &Reader, CodeViewContainer Container) SymbolRecordMapping() argument
25 SymbolRecordMapping(BinaryStreamWriter &Writer, CodeViewContainer Container) SymbolRecordMapping() argument
H A DDebugSubsectionRecord.h39 CodeViewContainer Container);
42 CodeViewContainer Container);
49 CodeViewContainer Container = CodeViewContainer::ObjectFile; member in llvm::codeview::DebugSubsectionRecord
57 CodeViewContainer Container);
63 CodeViewContainer Container);
75 CodeViewContainer Container; member in llvm::codeview::DebugSubsectionRecordBuilder
H A DSymbolDeserializer.h26 MappingInfo(ArrayRef<uint8_t> RecordData, CodeViewContainer Container) in MappingInfo()
28 Mapping(Reader, Container) {} in MappingInfo()
56 CodeViewContainer Container) in SymbolDeserializer()
57 : Delegate(Delegate), Container(Container) {} in SymbolDeserializer()
65 Mapping = std::make_unique<MappingInfo>(Record.content(), Container);
93 CodeViewContainer Container; member in llvm::codeview::SymbolDeserializer
55 SymbolDeserializer(SymbolVisitorDelegate *Delegate, CodeViewContainer Container) SymbolDeserializer() argument
H A DSymbolDumper.h28 CodeViewContainer Container, in CVSymbolDumper()
31 : W(W), Types(Types), Container(Container), in CVSymbolDumper()
50 CodeViewContainer Container; member in llvm::codeview::CVSymbolDumper
27 CVSymbolDumper(ScopedPrinter &W, TypeCollection &Types, CodeViewContainer Container, std::unique_ptr<SymbolDumpDelegate> ObjDelegate, CPUType CPU, bool PrintRecordBytes) CVSymbolDumper() argument
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/
H A Dhash_testing.h143 template <int&... ExplicitBarrier, typename Container>
145 VerifyTypeImplementsAbslHashCorrectly(const Container& values);
147 template <int&... ExplicitBarrier, typename Container, typename Eq>
149 VerifyTypeImplementsAbslHashCorrectly(const Container& values, Eq equals);
186 template <typename Container, typename Eq>
188 VerifyTypeImplementsAbslHashCorrectly(const Container& values, Eq equals) { in VerifyTypeImplementsAbslHashCorrectly()
189 using V = typename Container::value_type; in VerifyTypeImplementsAbslHashCorrectly()
302 template <typename Container>
304 using V = absl::variant<const typename Container::value_type*>;
307 static Out Do(const Container
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dopaque-tracing.rs10 pub fn foo(c: *mut Container); in foo()
15 pub struct Container { structure names
21 ::std::mem::size_of::<Container>(), in bindgen_test_layout_Container()
23 concat!("Size of: ", stringify!(Container)) in bindgen_test_layout_Container()
26 ::std::mem::align_of::<Container>(), in bindgen_test_layout_Container()
28 concat!("Alignment of ", stringify!(Container)) in bindgen_test_layout_Container()
/third_party/gn/src/base/containers/
H A Dspan.h55 template <typename Container, typename T>
57 std::remove_pointer_t<decltype(std::data(std::declval<Container>()))>,
60 template <typename Container>
62 std::is_integral<decltype(std::size(std::declval<Container>()))>;
75 // SFINAE check if Container can be converted to a span<T>.
76 template <typename Container, typename T>
78 std::enable_if_t<!internal::IsSpan<Container>::value &&
79 !internal::IsStdArray<Container>::value &&
80 !internal::IsCArray<Container>::value &&
81 ContainerHasConvertibleData<Container,
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
H A DInterfaceFile.cpp21 typename C::iterator addEntry(C &Container, StringRef InstallName) { in addEntry() argument
22 auto I = partition_point(Container, [=](const InterfaceFileRef &O) { in addEntry()
25 if (I != Container.end() && I->getInstallName() == InstallName) in addEntry()
28 return Container.emplace(I, InstallName); in addEntry()
32 typename C::iterator addEntry(C &Container, const Target &Target_) { in addEntry() argument
34 lower_bound(Container, Target_, [](const Target &LHS, const Target &RHS) { in addEntry()
37 if ((Iter != std::end(Container)) && !(Target_ < *Iter)) in addEntry()
40 return Container.insert(Iter, Target_); in addEntry()
/third_party/skia/include/private/
H A DSkTLogic.h32 template<typename Container>
33 constexpr auto data(Container& c) -> decltype(c.data()) { return c.data(); } in decltype()
34 template<typename Container>
35 constexpr auto data(const Container& c) -> decltype(c.data()) { return c.data(); } in decltype()
41 template<typename Container>
42 constexpr auto size(Container& c) -> decltype(c.size()) { return c.size(); } in decltype()
83 template <typename Container>
84 constexpr int SkCount(const Container& c) { return SkTo<int>(skstd::size(c)); } in SkCount()
/third_party/rust/crates/serde/serde_derive/src/
H A Dpretend.rs1 use crate::internals::ast::{Container, Data, Field, Style, Variant};
22 pub fn pretend_used(cont: &Container, is_packed: bool) -> TokenStream { in pretend_used()
64 fn pretend_fields_used(cont: &Container, is_packed: bool) -> TokenStream { in pretend_fields_used()
78 fn pretend_fields_used_struct(cont: &Container, fields: &[Field]) -> TokenStream { in pretend_fields_used_struct()
93 fn pretend_fields_used_struct_packed(cont: &Container, fields: &[Field]) -> TokenStream { in pretend_fields_used_struct_packed()
111 fn pretend_fields_used_enum(cont: &Container, variants: &[Variant]) -> TokenStream { in pretend_fields_used_enum()
147 fn pretend_variants_used(cont: &Container) -> TokenStream { in pretend_variants_used()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dstr_split_internal.h283 template <typename Container,
285 SplitterIsConvertibleTo<Container>::value>::type>
286 operator Container() const { // NOLINT(runtime/explicit) in operator Container()
287 return ConvertToContainer<Container, typename Container::value_type, in operator Container()
288 HasMappedType<Container>::value>()(*this); in operator Container()
310 // Container of ValueType. It is specialized below to optimize splitting to
311 // certain combinations of Container and ValueType.
316 template <typename Container, typename ValueType, bool is_map = false>
318 Container operato
[all...]
/third_party/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h2300 template <typename Container>
2301 operator Matcher<Container>() const { in operator Matcher()
2302 return Matcher<Container>(new Impl<const Container&>(size_matcher_)); in operator Matcher()
2305 template <typename Container>
2306 class Impl : public MatcherInterface<Container> {
2308 using SizeType = decltype(std::declval<Container>().size());
2321 bool MatchAndExplain(Container container,
2348 template <typename Container>
2349 operator Matcher<Container>() cons
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dhashtable_debug_hooks.h48 template <class Container, typename Enabler = void>
58 static size_t GetNumProbes(const Container& c, in GetNumProbes()
59 const typename Container::key_type& key) { in GetNumProbes()
65 if (c.key_eq()(key, GetKey<Container>(*it, 0))) return num_probes; in GetNumProbes()
72 // static size_t AllocatedByteSize(const Container& c);
75 // `Container` and `c.size()` is equal to `num_elements`.

Completed in 24 milliseconds

12345