/external/tensorflow/tensorflow/contrib/ignite/python/ops/ |
D | ignite_dataset_ops.py | 185 def __init__(self, type_id, type_name, fields): argument 187 self.type_id = type_id 195 def __init__(self, field_name, type_id, field_id): argument 198 self.type_id = type_id 231 def __init__(self, name, type_id, fields=None, permutation=None): argument 241 self.type_id = type_id 257 if self.type_id in types: 258 object_type = types[self.type_id] 263 raise ValueError("Unsupported type [type_id=%d]" % self.type_id) 272 if self.type_id in types: [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | constants.cpp | 116 return context()->get_type_mgr()->GetType(inst->type_id()); in GetType() 136 uint32_t type_id) const { in FindDeclaredConstant() 146 if (type_id == 0 || const_def->type_id() == type_id) { in FindDeclaredConstant() 167 const Constant* new_const, Module::inst_iterator* pos, uint32_t type_id) { in BuildInstructionAndAddToModule() argument 170 auto new_inst = CreateInstruction(new_id, new_const, type_id); in BuildInstructionAndAddToModule() 183 const Constant* c, uint32_t type_id, Module::inst_iterator* pos) { in GetDefiningInstruction() argument 184 assert(type_id == 0 || in GetDefiningInstruction() 185 context()->get_type_mgr()->GetType(type_id) == c->type()); in GetDefiningInstruction() 186 uint32_t decl_id = FindDeclaredConstant(c, type_id); in GetDefiningInstruction() 190 return BuildInstructionAndAddToModule(c, pos, type_id); in GetDefiningInstruction() [all …]
|
D | ir_builder.h | 61 Instruction* AddNullaryOp(uint32_t type_id, SpvOp opcode) { in AddNullaryOp() argument 64 GetContext(), opcode, type_id, in AddNullaryOp() 69 Instruction* AddUnaryOp(uint32_t type_id, SpvOp opcode, uint32_t operand1) { in AddUnaryOp() argument 72 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddUnaryOp() 77 Instruction* AddBinaryOp(uint32_t type_id, SpvOp opcode, uint32_t operand1, in AddBinaryOp() argument 81 GetContext(), opcode, type_id, in AddBinaryOp() 88 Instruction* AddTernaryOp(uint32_t type_id, SpvOp opcode, uint32_t operand1, in AddTernaryOp() argument 92 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddTernaryOp() 99 Instruction* AddQuadOp(uint32_t type_id, SpvOp opcode, uint32_t operand1, in AddQuadOp() argument 104 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddQuadOp() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | constants.cpp | 116 return context()->get_type_mgr()->GetType(inst->type_id()); in GetType() 136 uint32_t type_id) const { in FindDeclaredConstant() 146 if (type_id == 0 || const_def->type_id() == type_id) { in FindDeclaredConstant() 167 const Constant* new_const, Module::inst_iterator* pos, uint32_t type_id) { in BuildInstructionAndAddToModule() argument 170 auto new_inst = CreateInstruction(new_id, new_const, type_id); in BuildInstructionAndAddToModule() 183 const Constant* c, uint32_t type_id, Module::inst_iterator* pos) { in GetDefiningInstruction() argument 184 assert(type_id == 0 || in GetDefiningInstruction() 185 context()->get_type_mgr()->GetType(type_id) == c->type()); in GetDefiningInstruction() 186 uint32_t decl_id = FindDeclaredConstant(c, type_id); in GetDefiningInstruction() 190 return BuildInstructionAndAddToModule(c, pos, type_id); in GetDefiningInstruction() [all …]
|
D | ir_builder.h | 61 Instruction* AddNullaryOp(uint32_t type_id, SpvOp opcode) { in AddNullaryOp() argument 64 GetContext(), opcode, type_id, in AddNullaryOp() 69 Instruction* AddUnaryOp(uint32_t type_id, SpvOp opcode, uint32_t operand1) { in AddUnaryOp() argument 72 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddUnaryOp() 77 Instruction* AddBinaryOp(uint32_t type_id, SpvOp opcode, uint32_t operand1, in AddBinaryOp() argument 81 GetContext(), opcode, type_id, in AddBinaryOp() 88 Instruction* AddTernaryOp(uint32_t type_id, SpvOp opcode, uint32_t operand1, in AddTernaryOp() argument 92 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddTernaryOp() 99 Instruction* AddQuadOp(uint32_t type_id, SpvOp opcode, uint32_t operand1, in AddQuadOp() argument 104 GetContext(), opcode, type_id, GetContext()->TakeNextId(), in AddQuadOp() [all …]
|
/external/google-fruit/src/ |
D | binding_normalization.cpp | 48 if (entry.type_id == last_entry.type_id && in printLazyComponentInstallationLoop() 57 if (entry.type_id == last_entry.type_id && in printLazyComponentInstallationLoop() 62 std::cerr << std::string(entry.type_id) << std::endl; in printLazyComponentInstallationLoop() 76 std::cerr << std::string(last_entry.type_id) << std::endl; in printLazyComponentInstallationLoop() 149 << " with signature " << std::string(replaced_component_entry.type_id) in printIncompatibleComponentReplacementsError() 152 … << std::string(replacement_component_entry1.type_id) << " and the component function at " in printIncompatibleComponentReplacementsError() 154 << std::string(replacement_component_entry2.type_id) << " ." << std::endl; in printIncompatibleComponentReplacementsError() 157 << std::string(replaced_component_entry.type_id) in printIncompatibleComponentReplacementsError() 159 …<< std::string(replacement_component_entry1.type_id) << " and another component function with sign… in printIncompatibleComponentReplacementsError() 160 << std::string(replacement_component_entry2.type_id) << " ." << std::endl; in printIncompatibleComponentReplacementsError() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/comp/ |
D | markv_codec.h | 161 uint64_t GetMtfIdOfType(uint32_t type_id) const { in GetMtfIdOfType() argument 162 return kMtfIdOfTypeBegin + type_id; in GetMtfIdOfType() 176 uint64_t GetMtfVectorOfComponentType(uint32_t type_id) const { in GetMtfVectorOfComponentType() argument 177 return kMtfVectorOfComponentTypeBegin + type_id; in GetMtfVectorOfComponentType() 186 uint64_t GetMtfPointerToType(uint32_t type_id) const { in GetMtfPointerToType() argument 187 return kMtfPointerToTypeBegin + type_id; in GetMtfPointerToType() 191 uint64_t GetMtfFunctionTypeWithReturnType(uint32_t type_id) const { in GetMtfFunctionTypeWithReturnType() argument 192 return kMtfFunctionTypeWithReturnTypeBegin + type_id; in GetMtfFunctionTypeWithReturnType() 196 uint64_t GetMtfFunctionWithReturnType(uint32_t type_id) const { in GetMtfFunctionWithReturnType() argument 197 return kMtfFunctionWithReturnTypeBegin + type_id; in GetMtfFunctionWithReturnType()
|
D | markv_codec.cpp | 206 cur_function_return_type_ = inst_.type_id; in ProcessCurInstruction() 209 multi_mtf_.Insert(GetMtfFunctionWithReturnType(inst_.type_id), in ProcessCurInstruction() 243 : inst_.type_id); in ProcessCurInstruction() 313 if (inst_.type_id) { in ProcessCurInstruction() 314 const val::Instruction* type_inst = FindDef(inst_.type_id); in ProcessCurInstruction() 319 multi_mtf_.Insert(GetMtfIdOfType(inst_.type_id), inst_.result_id); in ProcessCurInstruction() 321 if (multi_mtf_.HasValue(kMtfTypeFloatScalarOrVector, inst_.type_id)) { in ProcessCurInstruction() 325 if (multi_mtf_.HasValue(kMtfTypeIntScalarOrVector, inst_.type_id)) in ProcessCurInstruction() 328 if (multi_mtf_.HasValue(kMtfTypeBoolScalarOrVector, inst_.type_id)) in ProcessCurInstruction() 331 if (multi_mtf_.HasValue(kMtfTypeComposite, inst_.type_id)) in ProcessCurInstruction() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/comp/ |
D | markv_codec.h | 161 uint64_t GetMtfIdOfType(uint32_t type_id) const { in GetMtfIdOfType() argument 162 return kMtfIdOfTypeBegin + type_id; in GetMtfIdOfType() 176 uint64_t GetMtfVectorOfComponentType(uint32_t type_id) const { in GetMtfVectorOfComponentType() argument 177 return kMtfVectorOfComponentTypeBegin + type_id; in GetMtfVectorOfComponentType() 186 uint64_t GetMtfPointerToType(uint32_t type_id) const { in GetMtfPointerToType() argument 187 return kMtfPointerToTypeBegin + type_id; in GetMtfPointerToType() 191 uint64_t GetMtfFunctionTypeWithReturnType(uint32_t type_id) const { in GetMtfFunctionTypeWithReturnType() argument 192 return kMtfFunctionTypeWithReturnTypeBegin + type_id; in GetMtfFunctionTypeWithReturnType() 196 uint64_t GetMtfFunctionWithReturnType(uint32_t type_id) const { in GetMtfFunctionWithReturnType() argument 197 return kMtfFunctionWithReturnTypeBegin + type_id; in GetMtfFunctionWithReturnType()
|
D | markv_codec.cpp | 206 cur_function_return_type_ = inst_.type_id; in ProcessCurInstruction() 209 multi_mtf_.Insert(GetMtfFunctionWithReturnType(inst_.type_id), in ProcessCurInstruction() 243 : inst_.type_id); in ProcessCurInstruction() 313 if (inst_.type_id) { in ProcessCurInstruction() 314 const val::Instruction* type_inst = FindDef(inst_.type_id); in ProcessCurInstruction() 319 multi_mtf_.Insert(GetMtfIdOfType(inst_.type_id), inst_.result_id); in ProcessCurInstruction() 321 if (multi_mtf_.HasValue(kMtfTypeFloatScalarOrVector, inst_.type_id)) { in ProcessCurInstruction() 325 if (multi_mtf_.HasValue(kMtfTypeIntScalarOrVector, inst_.type_id)) in ProcessCurInstruction() 328 if (multi_mtf_.HasValue(kMtfTypeBoolScalarOrVector, inst_.type_id)) in ProcessCurInstruction() 331 if (multi_mtf_.HasValue(kMtfTypeComposite, inst_.type_id)) in ProcessCurInstruction() [all …]
|
/external/v8/src/inspector/build/ |
D | generate_protocol_externs.py | 54 def full_qualified_type_id(domain_name, type_id): argument 55 if type_id.find(".") == -1: 56 return "%s.%s" % (domain_name, type_id) 57 return type_id 89 type_id = full_qualified_type_id(domain_name, param["$ref"]) 90 if type_id in ref_types: 91 return ref_types[type_id] 93 print "Type not found: " + type_id 94 return "!! Type not found: " + type_id 122 type_id = full_qualified_type_id(domain_name, type["id"]) [all …]
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.h | 201 const T* GetAsArray(Reference ref, uint32_t type_id, size_t count) const { in GetAsArray() argument 202 return allocator_->GetAsArray<T>(ref, type_id, count); in GetAsArray() 208 Reference GetAsReference(const void* memory, uint32_t type_id) const { in GetAsReference() argument 209 return allocator_->GetAsReference(memory, type_id); in GetAsReference() 413 T* GetAsArray(Reference ref, uint32_t type_id, size_t count) { in GetAsArray() argument 416 GetBlockData(ref, type_id, count * sizeof(T)))); in GetAsArray() 419 const T* GetAsArray(Reference ref, uint32_t type_id, size_t count) const { in GetAsArray() argument 422 GetBlockData(ref, type_id, count * sizeof(T)))); in GetAsArray() 428 Reference GetAsReference(const void* memory, uint32_t type_id) const; 500 Reference Allocate(size_t size, uint32_t type_id); [all …]
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_constants.cpp | 27 auto type = _.FindDef(inst->type_id()); in ValidateConstantBool() 31 << _.getIdName(inst->type_id()) << "' is not a boolean type."; in ValidateConstantBool() 41 const auto result_type = _.FindDef(inst->type_id()); in ValidateConstantComposite() 45 << _.getIdName(inst->type_id()) << "' is not a composite type."; in ValidateConstantComposite() 79 const auto constituent_result_type = _.FindDef(constituent->type_id()); in ValidateConstantComposite() 130 const auto vector = _.FindDef(constituent->type_id()); in ValidateConstantComposite() 196 const auto constituent_type = _.FindDef(constituent->type_id()); in ValidateConstantComposite() 215 << _.getIdName(inst->type_id()) in ValidateConstantComposite() 232 const auto constituent_type = _.FindDef(constituent->type_id()); in ValidateConstantComposite() 258 const auto result_type = _.FindDef(inst->type_id()); in ValidateConstantSampler() [all …]
|
D | validate_datarules.cpp | 131 auto type_id = inst->GetOperandAs<const uint32_t>(1); in ValidateMatrixColumnType() local 132 auto col_type_instr = _.FindDef(type_id); in ValidateMatrixColumnType() 168 auto type_id = inst->GetOperandAs<const uint32_t>(0); in ValidateSpecConstNumerical() local 169 auto type_instruction = _.FindDef(type_id); in ValidateSpecConstNumerical() 183 auto type_instruction = _.FindDef(inst->type_id()); in ValidateSpecConstBoolean() 206 auto type_id = inst->GetOperandAs<const uint32_t>(i); in ValidateStruct() local 207 auto type_instruction = _.FindDef(type_id); in ValidateStruct() 208 if (type_instruction == nullptr && !_.IsForwardPointer(type_id)) { in ValidateStruct()
|
D | validate_function.cpp | 37 if (return_id != inst->type_id()) { in ValidateFunction() 39 << "OpFunction Result Type <id> '" << _.getIdName(inst->type_id()) in ValidateFunction() 107 if (!param_type || inst->type_id() != param_type->id()) { in ValidateFunctionParameter() 110 << _.getIdName(inst->type_id()) in ValidateFunctionParameter() 127 auto return_type = _.FindDef(function->type_id()); in ValidateFunctionCall() 128 if (!return_type || return_type->id() != inst->type_id()) { in ValidateFunctionCall() 131 << _.getIdName(inst->type_id()) in ValidateFunctionCall() 161 const auto argument_type = _.FindDef(argument->type_id()); in ValidateFunctionCall()
|
D | validate_arithmetics.cpp | 32 const uint32_t result_type = inst->type_id(); in ArithmeticsPass() 95 const uint32_t type_id = _.GetOperandTypeId(inst, operand_index); in ArithmeticsPass() local 96 if (!type_id || in ArithmeticsPass() 97 (!_.IsIntScalarType(type_id) && !_.IsIntVectorType(type_id))) in ArithmeticsPass() 103 if (_.GetDimension(type_id) != dimension) in ArithmeticsPass() 109 if (_.GetBitWidth(type_id) != bit_width) in ArithmeticsPass() 128 const uint32_t type_id = _.GetOperandTypeId(inst, operand_index); in ArithmeticsPass() local 130 if (!type_id || !_.IsFloatVectorType(type_id)) in ArithmeticsPass() 136 const uint32_t component_type = _.GetComponentType(type_id); in ArithmeticsPass() 143 const uint32_t num_components = _.GetDimension(type_id); in ArithmeticsPass()
|
/external/deqp-deps/SPIRV-Tools/source/reduce/ |
D | operand_to_const_reduction_pass.cpp | 60 auto type_id = def->type_id(); in GetAvailableOpportunities() local 61 if (type_id) { in GetAvailableOpportunities() 62 if (constant->type_id() == type_id) { in GetAvailableOpportunities()
|
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | operand_to_const_reduction_pass.cpp | 61 auto type_id = def->type_id(); in GetAvailableOpportunities() local 62 if (type_id) { in GetAvailableOpportunities() 63 if (constant->type_id() == type_id) { in GetAvailableOpportunities()
|
D | operand_to_undef_reduction_pass.cpp | 34 auto type_id = inst.type_id(); in GetAvailableOpportunities() local 35 if (type_id) { in GetAvailableOpportunities() 36 auto type_id_def = context->get_def_use_mgr()->GetDef(type_id); in GetAvailableOpportunities() 67 auto operand_type_id = operand_id_def->type_id(); in GetAvailableOpportunities()
|
D | reduction_util.cpp | 24 uint32_t FindOrCreateGlobalUndef(IRContext* context, uint32_t type_id) { in FindOrCreateGlobalUndef() argument 29 if (inst.type_id() == type_id) { in FindOrCreateGlobalUndef() 37 new Instruction(context, SpvOpUndef, type_id, undef_id, {})); in FindOrCreateGlobalUndef()
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_constants.cpp | 27 auto type = _.FindDef(inst->type_id()); in ValidateConstantBool() 31 << _.getIdName(inst->type_id()) << "' is not a boolean type."; in ValidateConstantBool() 41 const auto result_type = _.FindDef(inst->type_id()); in ValidateConstantComposite() 45 << _.getIdName(inst->type_id()) << "' is not a composite type."; in ValidateConstantComposite() 79 const auto constituent_result_type = _.FindDef(constituent->type_id()); in ValidateConstantComposite() 130 const auto vector = _.FindDef(constituent->type_id()); in ValidateConstantComposite() 196 const auto constituent_type = _.FindDef(constituent->type_id()); in ValidateConstantComposite() 215 << _.getIdName(inst->type_id()) in ValidateConstantComposite() 232 const auto constituent_type = _.FindDef(constituent->type_id()); in ValidateConstantComposite() 258 const auto result_type = _.FindDef(inst->type_id()); in ValidateConstantSampler() [all …]
|
D | validate_datarules.cpp | 131 auto type_id = inst->GetOperandAs<const uint32_t>(1); in ValidateMatrixColumnType() local 132 auto col_type_instr = _.FindDef(type_id); in ValidateMatrixColumnType() 168 auto type_id = inst->GetOperandAs<const uint32_t>(0); in ValidateSpecConstNumerical() local 169 auto type_instruction = _.FindDef(type_id); in ValidateSpecConstNumerical() 183 auto type_instruction = _.FindDef(inst->type_id()); in ValidateSpecConstBoolean() 206 auto type_id = inst->GetOperandAs<const uint32_t>(i); in ValidateStruct() local 207 auto type_instruction = _.FindDef(type_id); in ValidateStruct() 208 if (type_instruction == nullptr && !_.IsForwardPointer(type_id)) { in ValidateStruct()
|
D | validate_arithmetics.cpp | 32 const uint32_t result_type = inst->type_id(); in ArithmeticsPass() 95 const uint32_t type_id = _.GetOperandTypeId(inst, operand_index); in ArithmeticsPass() local 96 if (!type_id || in ArithmeticsPass() 97 (!_.IsIntScalarType(type_id) && !_.IsIntVectorType(type_id))) in ArithmeticsPass() 103 if (_.GetDimension(type_id) != dimension) in ArithmeticsPass() 109 if (_.GetBitWidth(type_id) != bit_width) in ArithmeticsPass() 128 const uint32_t type_id = _.GetOperandTypeId(inst, operand_index); in ArithmeticsPass() local 130 if (!type_id || !_.IsFloatVectorType(type_id)) in ArithmeticsPass() 136 const uint32_t component_type = _.GetComponentType(type_id); in ArithmeticsPass() 143 const uint32_t num_components = _.GetDimension(type_id); in ArithmeticsPass()
|
/external/google-fruit/include/fruit/impl/normalized_component_storage/ |
D | binding_normalization.templates.h | 167 auto itr = context.functors.find_normalized_binding(entry.type_id); in handleBindingForConstructedObject() 171 printMultipleBindingsError(entry.type_id); in handleBindingForConstructedObject() 178 ComponentStorageEntry& entry_in_map = context.binding_data_map[entry.type_id]; in handleBindingForConstructedObject() 179 if (entry_in_map.type_id.type_info != nullptr) { in handleBindingForConstructedObject() 182 printMultipleBindingsError(entry.type_id); in handleBindingForConstructedObject() 206 auto itr = context.functors.find_normalized_binding(entry.type_id); in handleBindingForObjectToConstructThatNeedsAllocation() 210 printMultipleBindingsError(entry.type_id); in handleBindingForObjectToConstructThatNeedsAllocation() 217 ComponentStorageEntry& entry_in_map = context.binding_data_map[entry.type_id]; in handleBindingForObjectToConstructThatNeedsAllocation() 218 context.fixed_size_allocator_data.addType(entry.type_id); in handleBindingForObjectToConstructThatNeedsAllocation() 219 if (entry_in_map.type_id.type_info != nullptr) { in handleBindingForObjectToConstructThatNeedsAllocation() [all …]
|
/external/scapy/scapy/contrib/ |
D | http2.py | 1419 type_id = 0 variable in H2DataFrame 1495 type_id = 1 variable in H2HeadersFrame 1643 type_id = 2 variable in H2PriorityFrame 1698 type_id = 3 variable in H2ResetFrame 1738 type_id = 4 variable in H2SettingsFrame 1776 type_id = 5 variable in H2PushPromiseFrame 1851 type_id = 6 variable in H2PingFrame 1882 type_id = 7 variable in H2GoAwayFrame 1897 type_id = 8 variable in H2WindowUpdateFrame 1924 type_id = 9 variable in H2ContinuationFrame [all …]
|