Home
last modified time | relevance | path

Searched refs:ParamIndex (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dpython_api_info.h63 using ParamIndex = int;
67 ParamIndex index; // -1 if this is an inferred attribute
81 ParamIndex index;
88 ParamIndex index;
97 std::vector<ParamIndex> tensor_params; // single-tensor inputs.
98 std::vector<ParamIndex> tensor_list_params; // list(tensor) inputs.
107 std::vector<ParamIndex> tensor_list_params; // list(tensor) inputs.
116 std::vector<ParamIndex> tensor_list_params; // list(tensor) inputs.
231 const std::map<std::string, ParamIndex>& param_name_to_index);
Dpython_api_parameter_converter.cc46 using ParamIndex = PythonAPIInfo::ParamIndex; typedef
259 for (ParamIndex index : input.tensor_params) { in ConvertInputsWithTypeAttr()
265 for (ParamIndex index : input.tensor_list_params) { in ConvertInputsWithTypeAttr()
280 for (ParamIndex index : input.tensor_params) { in ConvertInputsWithTypeAttr()
287 for (ParamIndex index : input.tensor_list_params) { in ConvertInputsWithTypeAttr()
361 for (ParamIndex index : input.tensor_list_params) { in ConvertInputsWithTypeListAttr()
372 for (ParamIndex index : input.tensor_list_params) { in ConvertInputsWithTypeListAttr()
Dpython_api_info.cc301 const std::map<std::string, ParamIndex>& param_name_to_index) { in InitializeInput()
306 const ParamIndex param_index = in InitializeInput()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DUnusedParametersCheck.cpp135 unsigned ParamIndex) { in warnOnUnusedParameter() argument
136 const auto *Param = Function->getParamDecl(ParamIndex); in warnOnUnusedParameter()
165 MyDiag << removeParameter(Result, FD, ParamIndex); in warnOnUnusedParameter()
169 if (ParamIndex < Call->getNumArgs()) // See PR38055 for example. in warnOnUnusedParameter()
170 MyDiag << removeArgument(Result, Call, ParamIndex); in warnOnUnusedParameter()
DUnusedParametersCheck.h35 const FunctionDecl *Function, unsigned ParamIndex);
/external/skia/src/gpu/d3d/
DGrD3DRootSignature.h20 enum class ParamIndex { enum
27 static constexpr unsigned int kParamIndexCount = (unsigned int)(ParamIndex::kLast) + 1;
DGrD3DPipelineState.cpp67 (unsigned int)(GrD3DRootSignature::ParamIndex::kConstantBufferView), in setAndBindConstants()
137 (unsigned int)GrD3DRootSignature::ParamIndex::kShaderViewDescriptorTable, in setAndBindTextures()
144 (unsigned int)GrD3DRootSignature::ParamIndex::kSamplerDescriptorTable, in setAndBindTextures()
DGrD3DCommandList.cpp547 (unsigned int) GrD3DRootSignature::ParamIndex::kConstantBufferView); in setGraphicsRootConstantBufferView()
557 (unsigned int)GrD3DRootSignature::ParamIndex::kConstantBufferView); in setComputeRootConstantBufferView()
567 (unsigned int)GrD3DRootSignature::ParamIndex::kSamplerDescriptorTable || in setGraphicsRootDescriptorTable()
569 (unsigned int)GrD3DRootSignature::ParamIndex::kShaderViewDescriptorTable); in setGraphicsRootDescriptorTable()
579 (unsigned int)GrD3DRootSignature::ParamIndex::kSamplerDescriptorTable || in setComputeRootDescriptorTable()
581 (unsigned int)GrD3DRootSignature::ParamIndex::kShaderViewDescriptorTable); in setComputeRootDescriptorTable()
DGrD3DGpu.cpp951 static_cast<unsigned int>(GrD3DRootSignature::ParamIndex::kSamplerDescriptorTable), in onRegenerateMipMapLevels()
988 (unsigned int)GrD3DRootSignature::ParamIndex::kConstantBufferView, in onRegenerateMipMapLevels()
1007 (unsigned int)GrD3DRootSignature::ParamIndex::kShaderViewDescriptorTable, in onRegenerateMipMapLevels()
/external/llvm-project/clang/include/clang/AST/
DComment.h714 unsigned ParamIndex;
728 ParamIndex(InvalidParamIndex) { in ParamCommandComment()
773 return ParamIndex != InvalidParamIndex; in isParamIndexValid()
777 return ParamIndex == VarArgParamIndex; in isVarArgParam()
781 ParamIndex = VarArgParamIndex; in setIsVarArgParam()
788 return ParamIndex; in getParamIndex()
792 ParamIndex = Index; in setParamIndex()
/external/clang/include/clang/AST/
DComment.h720 unsigned ParamIndex;
734 ParamIndex(InvalidParamIndex) { in ParamCommandComment()
779 return ParamIndex != InvalidParamIndex; in isParamIndexValid()
783 return ParamIndex == VarArgParamIndex; in isVarArgParam()
787 ParamIndex = VarArgParamIndex; in setIsVarArgParam()
794 return ParamIndex; in getParamIndex()
798 ParamIndex = Index; in setParamIndex()
/external/swiftshader/src/OpenGL/compiler/
DValidateLimitations.cpp417 typedef std::vector<int> ParamIndex; in validateFunctionCall() typedef
418 ParamIndex pIndex; in validateFunctionCall()
435 for (ParamIndex::const_iterator i = pIndex.begin(); in validateFunctionCall()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h4443 int ParamIndex = 0; in AST_POLYMORPHIC_MATCHER_P2() local
4451 hasParameter(ParamIndex, ParamMatcher)))), in AST_POLYMORPHIC_MATCHER_P2()
4453 hasParameter(ParamIndex, ParamMatcher)))))) in AST_POLYMORPHIC_MATCHER_P2()
4459 ++ParamIndex; in AST_POLYMORPHIC_MATCHER_P2()
4528 int ParamIndex = 0; in AST_POLYMORPHIC_MATCHER_P2() local
4531 for (; ArgIndex < Node.getNumArgs(); ++ArgIndex, ++ParamIndex) { in AST_POLYMORPHIC_MATCHER_P2()
4540 QualType ParamType = FProto->getParamType(ParamIndex); in AST_POLYMORPHIC_MATCHER_P2()
4548 hasParameter(ParamIndex, hasType(ParamMatcher))))), in AST_POLYMORPHIC_MATCHER_P2()
4550 hasParameter(ParamIndex, hasType(ParamMatcher))))))) in AST_POLYMORPHIC_MATCHER_P2()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h3213 int ParamIndex = 0; in AST_POLYMORPHIC_MATCHER_P2() local
3221 hasParameter(ParamIndex, ParamMatcher)))), in AST_POLYMORPHIC_MATCHER_P2()
3223 hasParameter(ParamIndex, ParamMatcher)))))) in AST_POLYMORPHIC_MATCHER_P2()
3229 ++ParamIndex; in AST_POLYMORPHIC_MATCHER_P2()
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroSplit.cpp708 unsigned ParamIndex, in addFramePointerAttrs() argument
715 Attrs = Attrs.addParamAttributes(Context, ParamIndex, ParamAttrs); in addFramePointerAttrs()
/external/clang/lib/Sema/
DSemaChecking.cpp2028 unsigned ParamIndex = 0; in CheckNonNullArguments() local
2030 I != E; ++I, ++ParamIndex) { in CheckNonNullArguments()
2037 NonNullArgs.set(ParamIndex); in CheckNonNullArguments()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp4394 unsigned ParamIndex = 0; in CheckNonNullArguments() local
4396 I != E; ++I, ++ParamIndex) { in CheckNonNullArguments()
4403 NonNullArgs.set(ParamIndex); in CheckNonNullArguments()
/external/llvm-project/clang/include/clang/Basic/
DAttr.td1844 let Args = [ParamIdxArgument<"ParamIndex">];