Home
last modified time | relevance | path

Searched refs:IdType (Results 1 - 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/
H A Dnode_id_map.h44 using IdType = uint32_t;
57 const ast::Node* GetNode(IdType id) const;
63 IdType GetId(const ast::Node* node) const;
68 void Add(const ast::Node* node, IdType id);
75 bool IdIsFreshAndValid(IdType id);
83 IdType TakeFreshId();
86 IdType fresh_id_ = 1;
88 std::unordered_map<const ast::Node*, IdType> node_to_id_;
89 std::unordered_map<IdType, const ast::Node*> id_to_node_;
H A Dnode_id_map.cc31 NodeIdMap::IdType NodeIdMap::GetId(const ast::Node* node) const { in GetId()
36 const ast::Node* NodeIdMap::GetNode(IdType id) const { in GetNode()
41 void NodeIdMap::Add(const ast::Node* node, IdType id) { in Add()
54 bool NodeIdMap::IdIsFreshAndValid(IdType id) { in IdIsFreshAndValid()
58 NodeIdMap::IdType NodeIdMap::TakeFreshId() { in TakeFreshId()
/third_party/skia/third_party/externals/spirv-tools/source/
H A Dtext_handler.h46 struct IdType { struct
52 // Default equality operator for IdType. Tests if all members are the same.
53 inline bool operator==(const IdType& first, const IdType& second) { in operator ==()
60 inline bool operator!=(const IdType& first, const IdType& second) { in operator !=()
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
[all...]
H A Dtext_handler.cpp152 const IdType kUnknownType = {0, false, IdTypeClass::kBottom};
241 const char* val, spv_result_t error_code, const IdType& type, in binaryEncodeNumericLiteral()
244 // Populate the NumberType from the IdType for parsing. in binaryEncodeNumericLiteral()
345 IdType AssemblyContext::getTypeOfTypeGeneratingValue(uint32_t value) const { in getTypeOfTypeGeneratingValue()
353 IdType AssemblyContext::getTypeOfValueInstruction(uint32_t value) const { in getTypeOfValueInstruction()
H A Dtext.cpp306 spvtools::IdType expected_type = { in spvTextEncodeOperand()
326 spvtools::IdType expected_type = spvtools::kUnknownType; in spvTextEncodeOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
H A Dtext_handler.h46 struct IdType { struct
52 // Default equality operator for IdType. Tests if all members are the same.
53 inline bool operator==(const IdType& first, const IdType& second) { in operator ==()
60 inline bool operator!=(const IdType& first, const IdType& second) { in operator !=()
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
[all...]
H A Dtext_handler.cpp152 const IdType kUnknownType = {0, false, IdTypeClass::kBottom};
241 const char* val, spv_result_t error_code, const IdType& type, in binaryEncodeNumericLiteral()
244 // Populate the NumberType from the IdType for parsing. in binaryEncodeNumericLiteral()
345 IdType AssemblyContext::getTypeOfTypeGeneratingValue(uint32_t value) const { in getTypeOfTypeGeneratingValue()
353 IdType AssemblyContext::getTypeOfValueInstruction(uint32_t value) const { in getTypeOfValueInstruction()
H A Dtext.cpp306 spvtools::IdType expected_type = { in spvTextEncodeOperand()
326 spvtools::IdType expected_type = spvtools::kUnknownType; in spvTextEncodeOperand()
/third_party/spirv-tools/source/
H A Dtext_handler.h46 struct IdType { struct
52 // Default equality operator for IdType. Tests if all members are the same.
53 inline bool operator==(const IdType& first, const IdType& second) { in operator ==()
60 inline bool operator!=(const IdType& first, const IdType& second) { in operator !=()
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
[all...]
H A Dtext_handler.cpp154 const IdType kUnknownType = {0, false, IdTypeClass::kBottom};
243 const char* val, spv_result_t error_code, const IdType& type, in binaryEncodeNumericLiteral()
246 // Populate the NumberType from the IdType for parsing. in binaryEncodeNumericLiteral()
341 IdType AssemblyContext::getTypeOfTypeGeneratingValue(uint32_t value) const { in getTypeOfTypeGeneratingValue()
349 IdType AssemblyContext::getTypeOfValueInstruction(uint32_t value) const { in getTypeOfValueInstruction()
H A Dtext.cpp307 spvtools::IdType expected_type = { in spvTextEncodeOperand()
318 spvtools::IdType expected_type = { in spvTextEncodeOperand()
338 spvtools::IdType expected_type = spvtools::kUnknownType; in spvTextEncodeOperand()
/third_party/typescript/tests/baselines/reference/
H A DdeclarationEmitReexportedSymlinkReference2.js12 export declare type IdType = A | B;
13 export declare class MetadataAccessor<T, D extends IdType = IdType> {
17 static create<T, D extends IdType = IdType>(key: string): MetadataAccessor<T, D>;
33 export {IdType} from '@raymondfeng/pkg1';
77 export declare const ADMIN: MetadataAccessor<boolean, import("@raymondfeng/pkg2/dist/secondary").IdType>;
H A DdeclarationEmitReexportedSymlinkReference.js12 export declare type IdType = A | B;
13 export declare class MetadataAccessor<T, D extends IdType = IdType> {
17 static create<T, D extends IdType = IdType>(key: string): MetadataAccessor<T, D>;
74 export declare const ADMIN: MetadataAccessor<boolean, import("@raymondfeng/pkg2").IdType>;
H A DdeclarationEmitReexportedSymlinkReference3.js12 export declare type IdType = A | B;
13 export declare class MetadataAccessor<T, D extends IdType = IdType> {
17 static create<T, D extends IdType = IdType>(key: string): MetadataAccessor<T, D>;
H A DindexSignatures1.js292 type IdType = `${number}-${number}-${number}-${number}`
293 const id: IdType = '0000-0000-0000-0001';
295 type A = Record<IdType, string>;
652 type IdType = `${number}-${number}-${number}-${number}`;
653 declare const id: IdType;
654 type A = Record<IdType, string>;
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dmock_helpers.h41 using IdType = ::absl::base_internal::FastTypeIdType;
59 std::declval<IdType>(), std::declval<void*>(), std::declval<void*>()));
85 static inline bool PrivateInvokeMock(URBG* urbg, IdType type, in PrivateInvokeMock()
123 m, std::declval<IdType>())) { in decltype()
/third_party/rust/crates/rustix/src/process/
H A Dprocctl.rs22 pub enum IdType { enum
31 /// `None` represents the current process. `Some((IdType::Pid, pid))` represents the process
32 /// with pid `pid`. `Some((IdType::Pgid, pgid))` represents the control processes belonging to
34 pub type ProcSelector = Option<(IdType, Pid)>;
35 fn proc_selector_to_raw(selector: ProcSelector) -> (IdType, RawPid) { in proc_selector_to_raw()
38 None => (IdType::Pid, 0), in proc_selector_to_raw()
/third_party/typescript/tests/baselines/reference/tsc/declarationEmit/
H A Dwhen-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js12 export declare type IdType = A | B;
13 export declare class MetadataAccessor<T, D extends IdType = IdType> {
17 static create<T, D extends IdType = IdType>(key: string): MetadataAccessor<T, D>;
H A Dwhen-pkg-references-sibling-package-through-indirect-symlink.js12 export declare type IdType = A | B;
13 export declare class MetadataAccessor<T, D extends IdType = IdType> {
17 static create<T, D extends IdType = IdType>(key: string): MetadataAccessor<T, D>;
/third_party/skia/platform_tools/android/tradefed/
H A Dupload_dm_results.py30 gs_utils.GSUtils.IdType.GROUP_BY_DOMAIN,
/third_party/skia/third_party/externals/spirv-tools/test/
H A Dtext_literal_test.cpp177 IdType expected_type{test.bitwidth, test.is_signed, type}; in successfulEncode()
192 IdType expected_type{test.bitwidth, test.is_signed, type}; in failedEncode()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
H A Dtext_literal_test.cpp177 IdType expected_type{test.bitwidth, test.is_signed, type}; in successfulEncode()
192 IdType expected_type{test.bitwidth, test.is_signed, type}; in failedEncode()
/third_party/spirv-tools/test/
H A Dtext_literal_test.cpp177 IdType expected_type{test.bitwidth, test.is_signed, type}; in successfulEncode()
192 IdType expected_type{test.bitwidth, test.is_signed, type}; in failedEncode()

Completed in 12 milliseconds