Lines Matching defs:result
335 LoadedModule result = DSLParser(this, settings, kind,
349 LoadedModule result = { kind, rehydrator.symbolTable(), rehydrator.elements() };
352 return result;
454 const Symbol* result = (*fSymbolTable)[name];
455 if (!result) {
459 switch (result->kind()) {
462 &result->as<FunctionDeclaration>()
467 const UnresolvedFunction* f = &result->as<UnresolvedFunction>();
471 const Variable* var = &result->as<Variable>();
487 const Field* field = &result->as<Field>();
494 return TypeReference::Convert(*fContext, line, &result->as<Type>());
497 const ExternalFunction* r = &result->as<ExternalFunction>();
501 SK_ABORT("unsupported symbol type %d\n", (int) result->kind());
573 bool result = fInliner.analyze(elements, symbols, usage);
576 return result;
612 bool result = cg.generateCode();
613 if (result && program.fConfig->fSettings.fValidateSPIRV) {
627 result = tools.Validate((const uint32_t*) data.c_str(), data.size() / 4);
629 if (!result) {
646 bool result = cg.generateCode();
649 return result;
654 bool result = this->toSPIRV(program, buffer);
655 if (result) {
658 return result;
665 bool result = cg.generateCode();
666 return result;
671 bool result = this->toGLSL(program, buffer);
672 if (result) {
675 return result;
691 bool result = cg.generateCode();
692 return result;
697 bool result = this->toMetal(program, buffer);
698 if (result) {
701 return result;
714 String result = fErrorText;
716 return result;