Home
last modified time | relevance | path

Searched refs:isMain (Results 1 – 25 of 43) sorted by relevance

12

/external/angle/src/compiler/translator/msl/
DRewritePipelines.cpp410 const bool isMain = func.isMain(); in getUpdatedFunction() local
411 if (isMain) in getUpdatedFunction()
416 if (isMain && mPipeline.isPipelineOut()) in getUpdatedFunction()
436 else if (isMain && (mPipeline.type == Pipeline::Type::InvocationVertexGlobals || in getUpdatedFunction()
447 else if (isMain && mPipeline.type == Pipeline::Type::Texture) in getUpdatedFunction()
470 else if (isMain && mPipeline.type == Pipeline::Type::InstanceId) in getUpdatedFunction()
486 else if (isMain && mPipeline.alwaysRequiresLocalVariableDeclarationInMain()) in getUpdatedFunction()
496 if (isMain && !mPipelineMainLocalVar.isUniform()) in getUpdatedFunction()
514 if (isMain) in getUpdatedFunction()
629 if (pipelineFunc.isMain() && (mPipeline.alwaysRequiresLocalVariableDeclarationInMain() || in getInternalPipelineVariable()
[all …]
DEmitMetal.cpp1936 const bool isMain = func.isMain(); in emitFunctionSignature() local
1942 if (isMain) in emitFunctionSignature()
1972 const bool isMain = func.isMain(); in emitFunctionReturn() local
1975 if (isMain) in emitFunctionReturn()
2004 const bool isMain = func.isMain(); in emitFunctionParameter() local
2012 evdConfig.isMainParameter = isMain; in emitFunctionParameter()
2013 evdConfig.emitPostQualifier = isMain; in emitFunctionParameter()
2019 if (isMain) in emitFunctionParameter()
2085 if (func.isMain()) in visitFunctionDefinition()
/external/angle/src/compiler/translator/tree_util/
DFindMain.cpp24 if (nodeFunction != nullptr && nodeFunction->getFunction()->isMain()) in FindMainIndex()
37 if (nodeFunction != nullptr && nodeFunction->getFunction()->isMain()) in FindMain()
/external/skia/src/sksl/ir/
DSkSLFunctionDeclaration.cpp74 bool isMain) { in check_parameters() argument
116 if (isMain) { in check_parameters()
436 if (!*outExistingDecl && entry->as<FunctionDeclaration>().isMain()) { in find_existing_declaration()
471 bool isMain = (name == "main"); in Convert() local
476 !check_parameters(context, parameters, isMain) || in Convert()
477 (isMain && !check_main_signature(context, pos, *returnType, parameters)) || in Convert()
500 if ((this->isBuiltin() && !this->definition()) || this->isMain()) { in mangledName()
DSkSLFunctionDefinition.cpp146 if (ProgramConfig::IsVertex(fContext.fConfig->fKind) && fFunction.isMain()) { in Convert()
232 if (function.isMain() && ProgramConfig::IsVertex(context.fConfig->fKind)) { in Convert()
DSkSLFunctionDeclaration.h92 bool isMain() const { in isMain() function
/external/angle/src/compiler/translator/tree_ops/msl/
DWrapMain.cpp40 if (func.isMain()) in visitBlock()
55 ASSERT(func.isMain()); in visitMain()
DIntroduceVertexIndexID.cpp47 if (node.getFunction()->isMain()) in visitFunctionDefinitionPre()
/external/angle/src/compiler/translator/
DValidateBarrierFunctionCall.cpp28 if (!node->getFunction()->isMain()) in visitFunctionDefinition()
DSymbol.cpp238 bool TFunction::isMain() const in isMain() function in sh::TFunction
DSymbol.h330 bool isMain() const;
/external/skia/src/sksl/codegen/
DSkSLPipelineStageCodeGenerator.h29 virtual void defineFunction(const char* declaration, const char* body, bool isMain) = 0;
DSkSLPipelineStageCodeGenerator.cpp343 if (decl.isMain()) { in functionName()
371 if (decl.isMain() && in writeFunction()
382 if (decl.isMain()) { in writeFunction()
388 decl.isMain()); in writeFunction()
411 if (!decl.isMain() && !decl.isBuiltin()) { in writeFunctionDeclaration()
DSkSLWGSLCodeGenerator.cpp411 if (decl.isMain()) { in resolve_program_requirements()
600 if (f.declaration().isMain()) { in writeFunction()
635 SkASSERT(main.declaration().isMain()); in writeEntryPoint()
DSkSLMetalCodeGenerator.cpp2049 if (f.isMain()) { in writeFunctionDeclaration()
2188 if (f.isMain() && param->modifiers().fLayout.fBuiltin != -1) { in writeFunctionDeclaration()
2263 if (f.declaration().isMain()) { in writeFunction()
2288 if (f.declaration().isMain()) { in writeFunction()
2592 if (fCurrentFunction && fCurrentFunction->isMain()) { in writeReturnStatement()
/external/skia/src/sksl/transform/
DSkSLEliminateDeadFunctions.cpp30 if (fn.declaration().isMain() || usage->get(fn.declaration()) > 0) { in dead_function_predicate()
DSkSLFindAndDeclareBuiltinVariables.cpp79 if (funcDef.declaration().isMain()) { in addImplicitFragColorWrite()
DSkSLRenamePrivateSymbols.cpp153 return !funcDecl.isMain(); in RenamePrivateSymbols()
/external/lzma/CPP/7zip/UI/Common/
DOpenArchive.h83 const COpenSpecFlags &GetSpec(bool isForced, bool isMain, bool isUnknown) const in GetSpec()
85 …return isForced ? SpecForcedType : (isMain ? SpecMainType : (isUnknown ? SpecUnknownExt : SpecWron… in GetSpec()
/external/skia/src/sksl/analysis/
DSkSLCheckProgramStructure.cpp214 element->as<FunctionDefinition>().declaration().isMain()) { in CheckProgramStructure()
/external/skia/src/gpu/ganesh/effects/
DGrSkSLFP.cpp105 void defineFunction(const char* decl, const char* body, bool isMain) override { in emitCode() argument
106 if (isMain) { in emitCode()
/external/skia/src/core/
DSkMesh.cpp78 if (decl.isMain()) { in gather_uniforms_and_check_for_main()
125 if (decl.isMain()) { in get_fs_color_type()
262 if (p.is<FunctionDefinition>() && p.as<FunctionDefinition>().declaration().isMain()) { in check_for_passthrough_local_coords_and_dead_varyings()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DShowStarredCoverage.java292 boolean isMain = "main".equals(dir); in doLdml()
298 …file = cldrFactory.make(fileLocale, isMain); // bug, resolving source doesn't work without directo… in doLdml()
/external/skia/src/gpu/graphite/
DShaderCodeDictionary.cpp673 void defineFunction(const char* decl, const char* body, bool isMain) override { in defineFunction() argument
674 if (isMain) { in defineFunction()
/external/skia/src/sksl/
DSkSLAnalysis.cpp136 !p.as<FunctionDefinition>().declaration().isMain() && in visitProgramElement()

12