Home
last modified time | relevance | path

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

12

/third_party/node/lib/internal/modules/cjs/
Dloader.js306 function tryPackage(requestPath, exts, isMain, originalPath) { argument
310 return tryExtensions(path.resolve(requestPath, 'index'), exts, isMain);
314 let actual = tryFile(filename, isMain) ||
315 tryExtensions(filename, exts, isMain) ||
316 tryExtensions(path.resolve(filename, 'index'), exts, isMain);
318 actual = tryExtensions(path.resolve(requestPath, 'index'), exts, isMain);
352 function tryFile(requestPath, isMain) { argument
355 if (preserveSymlinks && !isMain) {
368 function tryExtensions(p, exts, isMain) { argument
370 const filename = tryFile(p + exts[i], isMain);
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DRewritePipelines.cpp393 const bool isMain = func.isMain(); in getUpdatedFunction() local
395 if (isMain && mPipeline.isPipelineOut()) in getUpdatedFunction()
401 else if (isMain && (mPipeline.type == Pipeline::Type::InvocationVertexGlobals || in getUpdatedFunction()
412 else if (isMain && mPipeline.type == Pipeline::Type::Texture) in getUpdatedFunction()
435 else if (isMain && mPipeline.type == Pipeline::Type::InstanceId) in getUpdatedFunction()
443 else if (isMain && mPipeline.alwaysRequiresLocalVariableDeclarationInMain()) in getUpdatedFunction()
453 if (isMain && !mPipelineMainLocalVar.isUniform()) in getUpdatedFunction()
497 if (isMain) in getUpdatedFunction()
606 if (pipelineFunc.isMain() && (mPipeline.alwaysRequiresLocalVariableDeclarationInMain() || in getInternalPipelineVariable()
621 ASSERT(mainFunc.isMain()); in getExternalPipelineVariable()
[all …]
DWrapMain.cpp40 if (func.isMain()) in visitBlock()
55 ASSERT(func.isMain()); in visitMain()
DEmitMetal.cpp1716 const bool isMain = func.isMain(); in emitFunctionSignature() local
1722 if (isMain) in emitFunctionSignature()
1752 const bool isMain = func.isMain(); in emitFunctionReturn() local
1755 if (isMain) in emitFunctionReturn()
1780 const bool isMain = func.isMain(); in emitFunctionParameter() local
1787 evdConfig.isMainParameter = isMain; in emitFunctionParameter()
1788 evdConfig.emitPostQualifier = isMain; in emitFunctionParameter()
1794 if (isMain) in emitFunctionParameter()
1856 if (func.isMain()) in visitFunctionDefinition()
DIntroduceVertexIndexID.cpp40 if (node.getFunction()->isMain()) in visitFunctionDefinitionPre()
/third_party/node/lib/internal/modules/esm/
Dmodule_job.js55 constructor(loader, url, moduleProvider, isMain, inspectBrk) { argument
57 this.isMain = isMain;
63 this.modulePromise = ReflectApply(moduleProvider, loader, [url, isMain]);
Dloader.js85 const isMain = parentURL === undefined;
86 if (!isMain && typeof parentURL !== 'string' && !isURLInstance(parentURL))
Dtranslators.js178 translators.set('commonjs', async function commonjsStrategy(url, isMain) { argument
199 exports = CJSModule._load(filename, undefined, isMain);
Dresolve.js870 const isMain = parentURL === undefined;
871 if (isMain) {
911 if (isMain ? !preserveSymlinksMain : !preserveSymlinks) {
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DFindMain.cpp24 if (nodeFunction != nullptr && nodeFunction->getFunction()->isMain()) in FindMainIndex()
37 if (nodeFunction != nullptr && nodeFunction->getFunction()->isMain()) in FindMain()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DFindMain.cpp24 if (nodeFunction != nullptr && nodeFunction->getFunction()->isMain()) in FindMainIndex()
37 if (nodeFunction != nullptr && nodeFunction->getFunction()->isMain()) in FindMain()
/third_party/skia/src/sksl/ir/
DSkSLFunctionDeclaration.cpp71 bool isMain) { in check_parameters() argument
105 if (isMain) { in check_parameters()
330 bool isMain = (name == "main"); in Convert() local
335 !check_parameters(context, parameters, isMain) || in Convert()
336 (isMain && !check_main_signature(context, line, *returnType, parameters)) || in Convert()
355 if ((this->isBuiltin() && !this->definition()) || this->isMain()) { in mangledName()
DSkSLFunctionDefinition.cpp167 if (fContext.fConfig->fKind == ProgramKind::kVertex && fFunction.isMain()) { in Convert()
256 if (function.isMain() && context.fConfig->fKind == ProgramKind::kVertex) { in Convert()
DSkSLFunctionDeclaration.h80 bool isMain() const { in isMain() function
/third_party/skia/src/sksl/codegen/
DSkSLPipelineStageCodeGenerator.h26 virtual void defineFunction(const char* declaration, const char* body, bool isMain) = 0;
DSkSLPipelineStageCodeGenerator.cpp307 if (decl.isMain()) { in functionName()
330 if (decl.isMain()) { in writeFunction()
339 if (decl.isMain()) { in writeFunction()
345 decl.isMain()); in writeFunction()
369 if (!decl.isMain()) { in writeFunctionDeclaration()
/third_party/skia/src/sksl/transform/
DSkSLEliminateDeadFunctions.cpp27 if (fn.declaration().isMain() || usage->get(fn.declaration()) > 0) { in EliminateDeadFunctions()
DSkSLBuiltinVariableScanner.cpp46 if (funcDef.declaration().isMain() && in FindAndDeclareBuiltinVariables()
/third_party/skia/third_party/externals/angle2/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;
/third_party/skia/src/sksl/analysis/
DSkSLCheckProgramUnrolledSize.cpp200 element->as<FunctionDefinition>().declaration().isMain()) { in CheckProgramUnrolledSize()
/third_party/skia/src/gpu/effects/
DGrSkSLFP.cpp103 void defineFunction(const char* decl, const char* body, bool isMain) override { in emitCode() argument
104 if (isMain) { in emitCode()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DSymbol.h234 bool isMain() const;
DSymbol.cpp209 bool TFunction::isMain() const in isMain() function in sh::TFunction

12