Home
last modified time | relevance | path

Searched refs:IdType (Results 1 – 25 of 36) sorted by relevance

12

/external/deqp-deps/SPIRV-Tools/source/
Dtext_handler.h46 struct IdType { struct
53 inline bool operator==(const IdType& first, const IdType& second) {
60 inline bool operator!=(const IdType& first, const IdType& second) {
65 extern const IdType kUnknownType;
68 inline bool isScalarIntegral(const IdType& type) { in isScalarIntegral()
73 inline bool isScalarFloating(const IdType& type) { in isScalarFloating()
80 inline int assumedBitWidth(const IdType& type) { in assumedBitWidth()
203 const IdType& type,
209 IdType getTypeOfTypeGeneratingValue(uint32_t value) const;
215 IdType getTypeOfValueInstruction(uint32_t value) const;
[all …]
Dtext_handler.cpp154 const IdType kUnknownType = {0, false, IdTypeClass::kBottom};
243 const char* val, spv_result_t error_code, const IdType& type, in binaryEncodeNumericLiteral()
341 IdType AssemblyContext::getTypeOfTypeGeneratingValue(uint32_t value) const { in getTypeOfTypeGeneratingValue()
349 IdType AssemblyContext::getTypeOfValueInstruction(uint32_t value) const { in getTypeOfValueInstruction()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/
Dtext_handler.h46 struct IdType { struct
53 inline bool operator==(const IdType& first, const IdType& second) {
60 inline bool operator!=(const IdType& first, const IdType& second) {
65 extern const IdType kUnknownType;
68 inline bool isScalarIntegral(const IdType& type) { in isScalarIntegral()
73 inline bool isScalarFloating(const IdType& type) { in isScalarFloating()
80 inline int assumedBitWidth(const IdType& type) { in assumedBitWidth()
203 const IdType& type,
209 IdType getTypeOfTypeGeneratingValue(uint32_t value) const;
215 IdType getTypeOfValueInstruction(uint32_t value) const;
[all …]
Dtext_handler.cpp154 const IdType kUnknownType = {0, false, IdTypeClass::kBottom};
243 const char* val, spv_result_t error_code, const IdType& type, in binaryEncodeNumericLiteral()
341 IdType AssemblyContext::getTypeOfTypeGeneratingValue(uint32_t value) const { in getTypeOfTypeGeneratingValue()
349 IdType AssemblyContext::getTypeOfValueInstruction(uint32_t value) const { in getTypeOfValueInstruction()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dtext_handler.h46 struct IdType { struct
53 inline bool operator==(const IdType& first, const IdType& second) {
60 inline bool operator!=(const IdType& first, const IdType& second) {
65 extern const IdType kUnknownType;
68 inline bool isScalarIntegral(const IdType& type) { in isScalarIntegral()
73 inline bool isScalarFloating(const IdType& type) { in isScalarFloating()
80 inline int assumedBitWidth(const IdType& type) { in assumedBitWidth()
203 const IdType& type,
209 IdType getTypeOfTypeGeneratingValue(uint32_t value) const;
215 IdType getTypeOfValueInstruction(uint32_t value) const;
[all …]
Dtext_handler.cpp154 const IdType kUnknownType = {0, false, IdTypeClass::kBottom};
243 const char* val, spv_result_t error_code, const IdType& type, in binaryEncodeNumericLiteral()
341 IdType AssemblyContext::getTypeOfTypeGeneratingValue(uint32_t value) const { in getTypeOfTypeGeneratingValue()
349 IdType AssemblyContext::getTypeOfValueInstruction(uint32_t value) const { in getTypeOfValueInstruction()
/external/cronet/base/types/
Did_type_unittest.cc15 using FooId = IdType<Foo, int, 0>;
19 TEST(IdType, DefaultValueIsInvalid) { in TEST() argument
24 TEST(IdType, NormalValueIsValid) { in TEST() argument
29 TEST(IdType, Generator) { in TEST() argument
35 TEST(IdType, GeneratorWithNonZeroInvalidValue) { in TEST() argument
36 using TestId = IdType<class TestIdTag, int, -1>; in TEST()
43 TEST(IdType, GeneratorWithBigUnsignedInvalidValue) { in TEST() argument
45 IdType<class TestIdTag, uint32_t, std::numeric_limits<uint32_t>::max()>; in TEST()
55 TEST(IdType, GeneratorWithDifferentStartingValue) { in TEST() argument
56 using TestId = IdType<class TestIdTag, int, -1, 1>; in TEST()
[all …]
Did_type.h55 class IdType : public StrongAlias<TypeMarker, WrappedType> {
80 IdType GenerateNextId() { return FromUnsafeValue(next_id_++); } in GenerateNextId()
91 constexpr IdType() in IdType() function
100 constexpr static IdType FromUnsafeValue(WrappedType value) { in FromUnsafeValue()
101 return IdType(value); in FromUnsafeValue()
108 using IdType32 = IdType<TypeMarker, std::int32_t, 0>;
110 using IdTypeU32 = IdType<TypeMarker, std::uint32_t, 0>;
112 using IdType64 = IdType<TypeMarker, std::int64_t, 0>;
114 using IdTypeU64 = IdType<TypeMarker, std::uint64_t, 0>;
/external/perfetto/src/tracing/core/
Did_allocator_unittest.cc25 using IdType = uint32_t; in TEST() typedef
26 const IdType kMaxId = 1023; in TEST()
27 IdAllocator<IdType> id_allocator(kMaxId); in TEST()
30 std::set<IdType> ids; in TEST()
31 for (IdType i = 1; i <= kMaxId; i++) { in TEST()
58 for (IdType i = 0; i < kMaxId; i++) in TEST()
/external/cronet/base/allocator/partition_allocator/starscan/
Dstats_collector.h57 using IdType = variable
73 using IdType = StatsCollector::IdType<context>;
75 std::array<DeferredTraceEvent, static_cast<size_t>(IdType::kNumIds)>;
84 inline void RegisterBeginEventFromCurrentThread(IdType id);
85 inline void RegisterEndEventFromCurrentThread(IdType id);
97 Scope(StatsCollector& stats, IdType<context> type) in Scope()
109 IdType<context> type_;
161 IdType<context> id) const;
182 context>::RegisterBeginEventFromCurrentThread(IdType id) { in RegisterBeginEventFromCurrentThread()
195 context>::RegisterEndEventFromCurrentThread(IdType id) { in RegisterEndEventFromCurrentThread()
Dstats_collector.cc37 IdType<context> id) const { in GetTimeImpl()
51 std::array<base::TimeDelta, static_cast<size_t>(IdType<context>::kNumIds)> in ReportTracesAndHistsImpl()
66 reporter.ReportTraceEvent(static_cast<IdType<context>>(id), tid, in ReportTracesAndHistsImpl()
78 reporter.ReportStats(ToUMAString(static_cast<IdType<context>>(id)).c_str(), in ReportTracesAndHistsImpl()
100 IdType<Context::kMutator>) const;
103 IdType<Context::kScanner>) const;
/external/clang/test/SemaObjCXX/
Darc-bridged-cast.mm17 template<typename IdType, typename StringType, typename IntPtrType>
19 id obj1 = (__bridge_transfer IdType)CFCreateSomething();
22 id obj3 = (__bridge IdType)CFGetSomething();
28 template<typename IdType, typename StringType>
30 CFTypeRef cf1 = (__bridge_retained IdType)CreateSomething();
32 CFTypeRef cf3 = (__bridge IdType)CreateSomething();
/external/perfetto/ui/src/common/
Devent_set.ts23 export const IdType = 'id' as const; constant
28 typeof NumType|typeof StrType|typeof NullType|typeof IdType|typeof BoolType;
39 readonly id: typeof IdType,
44 readonly id: typeof IdType;
55 type IsId<T> = T extends IsExactly<T, typeof IdType>? string : never;
Devent_set_nocompile_test.ts18 IdType,
41 id: IdType,
55 id: IdType,
/external/cronet/components/metrics/structured/
Dproject_validator.h34 IdType id_type() const { return id_type_; } in id_type()
42 IdType id_type,
49 const IdType id_type_;
Dstructured_metrics_provider.cc432 if (project_validator->id_type() == IdType::kUmaId || in RecordEvent()
488 case IdType::kProjectId: in RecordEvent()
493 case IdType::kUmaId: in RecordEvent()
496 case IdType::kUnidentified: in RecordEvent()
/external/cronet/third_party/abseil-cpp/absl/random/internal/
Dmock_helpers.h42 using IdType = ::absl::base_internal::FastTypeIdType; variable
60 std::declval<IdType>(), std::declval<void*>(), std::declval<void*>()));
86 static inline bool PrivateInvokeMock(URBG* urbg, IdType type,
124 m, std::declval<IdType>())) {
/external/tensorflow/third_party/absl/abseil-cpp/absl/random/internal/
Dmock_helpers.h42 using IdType = ::absl::base_internal::FastTypeIdType; variable
60 std::declval<IdType>(), std::declval<void*>(), std::declval<void*>()));
86 static inline bool PrivateInvokeMock(URBG* urbg, IdType type,
124 m, std::declval<IdType>())) {
/external/abseil-cpp/absl/random/internal/
Dmock_helpers.h42 using IdType = ::absl::base_internal::FastTypeIdType; variable
60 std::declval<IdType>(), std::declval<void*>(), std::declval<void*>()));
86 static inline bool PrivateInvokeMock(URBG* urbg, IdType type,
124 m, std::declval<IdType>())) {
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Dmock_helpers.h42 using IdType = ::absl::base_internal::FastTypeIdType; variable
60 std::declval<IdType>(), std::declval<void*>(), std::declval<void*>()));
86 static inline bool PrivateInvokeMock(URBG* urbg, IdType type,
124 m, std::declval<IdType>())) {
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dmock_helpers.h41 using IdType = ::absl::base_internal::FastTypeIdType; variable
59 std::declval<IdType>(), std::declval<void*>(), std::declval<void*>()));
85 static inline bool PrivateInvokeMock(URBG* urbg, IdType type,
123 m, std::declval<IdType>())) {
/external/angle/third_party/abseil-cpp/absl/random/internal/
Dmock_helpers.h42 using IdType = ::absl::base_internal::FastTypeIdType; variable
60 std::declval<IdType>(), std::declval<void*>(), std::declval<void*>()));
86 static inline bool PrivateInvokeMock(URBG* urbg, IdType type,
124 m, std::declval<IdType>())) {
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Dmock_helpers.h41 using IdType = ::absl::base_internal::FastTypeIdType; variable
59 std::declval<IdType>(), std::declval<void*>(), std::declval<void*>()));
116 std::declval<IdType>())) {
/external/openscreen/third_party/abseil/src/absl/random/internal/
Dmock_helpers.h41 using IdType = ::absl::base_internal::FastTypeIdType; variable
59 std::declval<IdType>(), std::declval<void*>(), std::declval<void*>()));
116 std::declval<IdType>())) {
/external/pigweed/pw_transfer/public/pw_transfer/internal/
Dchunk.h46 enum IdType { enum
51 constexpr Identifier(IdType type, uint32_t value) in Identifier()
54 IdType type_;

12