Home
last modified time | relevance | path

Searched refs:fKind (Results 1 – 25 of 88) sorted by relevance

1234

/external/skia/src/sksl/lex/
DNFAState.h34 : fKind(kind) in NFAState()
38 : fKind(kChar_Kind) in NFAState()
43 : fKind(kRemapped_Kind) in NFAState()
47 : fKind(kTable_Kind) in NFAState()
56 : fKind(kAccept_Kind) { in NFAState()
61 switch (fKind) { in accept()
83 switch (fKind) { in description()
138 Kind fKind; member
DRegexNode.h33 : fKind(kind) {} in RegexNode()
36 : fKind(kind) { in RegexNode()
41 : fKind(kind) { in RegexNode()
50 : fKind(kind) { in RegexNode()
55 : fKind(kind) { in RegexNode()
68 Kind fKind; member
DRegexNode.cpp14 switch (fKind) { in createStates()
21 if (child.fKind == kChar_Kind) { in createStates()
27 SkASSERT(child.fKind == kRange_Kind); in createStates()
86 switch (fKind) { in description()
115 return "<" + std::to_string(fKind) + ">"; in description()
/external/skqp/src/sksl/lex/
DNFAState.h34 : fKind(kind) in NFAState()
38 : fKind(kChar_Kind) in NFAState()
43 : fKind(kRemapped_Kind) in NFAState()
47 : fKind(kTable_Kind) in NFAState()
56 : fKind(kAccept_Kind) { in NFAState()
61 switch (fKind) { in accept()
83 switch (fKind) { in description()
138 Kind fKind; member
DRegexNode.h33 : fKind(kind) {} in RegexNode()
36 : fKind(kind) { in RegexNode()
41 : fKind(kind) { in RegexNode()
50 : fKind(kind) { in RegexNode()
55 : fKind(kind) { in RegexNode()
68 Kind fKind; member
DRegexNode.cpp14 switch (fKind) { in createStates()
21 if (child.fKind == kChar_Kind) { in createStates()
27 SkASSERT(child.fKind == kRange_Kind); in createStates()
86 switch (fKind) { in description()
115 return "<" + std::to_string(fKind) + ">"; in description()
/external/skia/src/sksl/
DSkSLCFGGenerator.h31 : fKind(kind) in Node()
37 SkASSERT(fKind == kExpression_Kind); in expression()
42 SkASSERT(fKind == kExpression_Kind); in setExpression()
47 SkASSERT(fKind == kStatement_Kind); in statement()
52 SkASSERT(fKind == kStatement_Kind); in setStatement()
57 if (fKind == kStatement_Kind) { in description()
60 SkASSERT(fKind == kExpression_Kind); in description()
65 Kind fKind; member
DSkSLParser.cpp146 switch (this->peek().fKind) { in file()
175 if (fPushback.fKind != Token::INVALID) { in nextRawToken()
177 fPushback.fKind = Token::INVALID; in nextRawToken()
186 while (token.fKind == Token::WHITESPACE || token.fKind == Token::LINE_COMMENT || in nextToken()
187 token.fKind == Token::BLOCK_COMMENT) { in nextToken()
194 SkASSERT(fPushback.fKind == Token::INVALID); in pushback()
199 if (fPushback.fKind == Token::INVALID) { in peek()
206 if (fPushback.fKind != Token::INVALID && fPushback.fKind != kind) { in checkNext()
210 if (next.fKind == kind) { in checkNext()
222 if (next.fKind == kind) { in expect()
[all …]
DSkSLCompiler.cpp256 switch (lvalue->fKind) { in addDefinition()
307 switch (node.fKind) { in addDefinitions()
311 switch (expr->fKind) { in addDefinitions()
373 if (stmt->fKind == Statement::kVarDeclaration_Kind) { in addDefinitions()
430 if (node.fKind == BasicBlock::Node::kStatement_Kind) { in compute_start_state()
433 if (s->fKind == Statement::kVarDeclarations_Kind) { in compute_start_state()
436 if (decl->fKind == Statement::kVarDeclaration_Kind) { in compute_start_state()
451 switch (lvalue.fKind) { in is_dead()
518 switch (expr.fKind) { in is_constant()
550 SkASSERT((*target)->fKind == Expression::kBinary_Kind); in delete_left()
[all …]
DSkSLIRGenerator.cpp170 if (e->fKind == ProgramElement::kInterfaceBlock_Kind) { in start()
186 switch (statement.fKind) { in convertStatement()
197 if (fRTAdjust && Program::kGeometry_Kind == fKind) { in convertStatement()
198 SkASSERT(result->fKind == Statement::kExpression_Kind); in convertStatement()
200 if (expr.fKind == Expression::kFunctionCall_Kind) { in convertStatement()
233 ABORT("unsupported statement type: %d\n", statement.fKind); in convertStatement()
266 if (fKind != Program::kFragmentProcessor_Kind && in convertVarDeclarations()
273 (decl.fModifiers.fFlags & Modifiers::kOut_Flag) && fKind == Program::kFragment_Kind && in convertVarDeclarations()
288 if (size->fKind == Expression::kIntLiteral_Kind) { in convertVarDeclarations()
331 (*fSymbolTable)[varDecl.fName]->fKind == Symbol::kVariable_Kind && in convertVarDeclarations()
[all …]
DSkSLMetalCodeGenerator.cpp117 switch (expr.fKind) { in writeExpression()
676 Expression::kVariableReference_Kind == b.fLeft->fKind && in writeBinaryExpression()
689 Expression::kSwizzle_Kind == b.fLeft->fKind && !b.fLeft->hasSideEffects()) { in writeBinaryExpression()
774 switch (fProgram.fKind) { in writeFunction()
798 if (ProgramElement::kVar_Kind == e.fKind) { in writeFunction()
819 } else if (ProgramElement::kInterfaceBlock_Kind == e.fKind) { in writeFunction()
837 if (fProgram.fKind == Program::kFragment_Kind) { in writeFunction()
847 } else if (fProgram.fKind == Program::kVertex_Kind) { in writeFunction()
948 switch (fProgram.fKind) { in writeFunction()
1138 switch (s.fKind) { in writeStatement()
[all …]
/external/skqp/src/sksl/
DSkSLCFGGenerator.h31 : fKind(kind) in Node()
37 SkASSERT(fKind == kExpression_Kind); in expression()
42 SkASSERT(fKind == kExpression_Kind); in setExpression()
47 SkASSERT(fKind == kStatement_Kind); in statement()
52 SkASSERT(fKind == kStatement_Kind); in setStatement()
57 if (fKind == kStatement_Kind) { in description()
60 SkASSERT(fKind == kExpression_Kind); in description()
65 Kind fKind; member
DSkSLParser.cpp145 switch (this->peek().fKind) { in file()
174 if (fPushback.fKind != Token::INVALID) { in nextRawToken()
176 fPushback.fKind = Token::INVALID; in nextRawToken()
185 while (token.fKind == Token::WHITESPACE || token.fKind == Token::LINE_COMMENT || in nextToken()
186 token.fKind == Token::BLOCK_COMMENT) { in nextToken()
193 SkASSERT(fPushback.fKind == Token::INVALID); in pushback()
198 if (fPushback.fKind == Token::INVALID) { in peek()
205 if (fPushback.fKind != Token::INVALID && fPushback.fKind != kind) { in checkNext()
209 if (next.fKind == kind) { in checkNext()
221 if (next.fKind == kind) { in expect()
[all …]
DSkSLCompiler.cpp256 switch (lvalue->fKind) { in addDefinition()
307 switch (node.fKind) { in addDefinitions()
311 switch (expr->fKind) { in addDefinitions()
373 if (stmt->fKind == Statement::kVarDeclaration_Kind) { in addDefinitions()
430 if (node.fKind == BasicBlock::Node::kStatement_Kind) { in compute_start_state()
433 if (s->fKind == Statement::kVarDeclarations_Kind) { in compute_start_state()
436 if (decl->fKind == Statement::kVarDeclaration_Kind) { in compute_start_state()
451 switch (lvalue.fKind) { in is_dead()
518 switch (expr.fKind) { in is_constant()
550 SkASSERT((*target)->fKind == Expression::kBinary_Kind); in delete_left()
[all …]
DSkSLMetalCodeGenerator.cpp115 switch (expr.fKind) { in writeExpression()
534 Expression::kVariableReference_Kind == b.fLeft->fKind && in writeBinaryExpression()
543 Expression::kSwizzle_Kind == b.fLeft->fKind && !b.fLeft->hasSideEffects()) { in writeBinaryExpression()
628 switch (fProgram.fKind) { in writeFunction()
652 if (ProgramElement::kVar_Kind == e.fKind) { in writeFunction()
673 } else if (ProgramElement::kInterfaceBlock_Kind == e.fKind) { in writeFunction()
691 if (fProgram.fKind == Program::kFragment_Kind) { in writeFunction()
703 } else if (fProgram.fKind == Program::kVertex_Kind) { in writeFunction()
804 switch (fProgram.fKind) { in writeFunction()
848 if (fProgram.fKind == Program::kFragment_Kind) { in writeInterfaceBlock()
[all …]
DSkSLIRGenerator.cpp167 if (e->fKind == ProgramElement::kInterfaceBlock_Kind) { in start()
183 switch (statement.fKind) { in convertStatement()
191 if (fRTAdjust && Program::kGeometry_Kind == fKind) { in convertStatement()
192 SkASSERT(result->fKind == Statement::kExpression_Kind); in convertStatement()
194 if (expr.fKind == Expression::kFunctionCall_Kind) { in convertStatement()
227 ABORT("unsupported statement type: %d\n", statement.fKind); in convertStatement()
260 if (fKind != Program::kFragmentProcessor_Kind && in convertVarDeclarations()
267 (decl.fModifiers.fFlags & Modifiers::kOut_Flag) && fKind == Program::kFragment_Kind && in convertVarDeclarations()
282 if (size->fKind == Expression::kIntLiteral_Kind) { in convertVarDeclarations()
325 (*fSymbolTable)[varDecl.fName]->fKind == Symbol::kVariable_Kind && in convertVarDeclarations()
[all …]
DSkSLCFGGenerator.cpp71 printf("Node %d (%p): %s\n", (int) j, &n, n.fKind == BasicBlock::Node::kExpression_Kind in dump()
87 if (e->fKind == Expression::kTernary_Kind) { in tryRemoveExpressionBefore()
91 if ((*iter)->fKind == BasicBlock::Node::kExpression_Kind) { in tryRemoveExpressionBefore()
99 } while ((*iter)->fKind != BasicBlock::Node::kExpression_Kind || in tryRemoveExpressionBefore()
102 while ((*iter)->fKind != BasicBlock::Node::kExpression_Kind || in tryRemoveExpressionBefore()
114 } while ((*iter)->fKind != BasicBlock::Node::kExpression_Kind || in tryRemoveExpressionBefore()
117 while ((*iter)->fKind != BasicBlock::Node::kStatement_Kind || in tryRemoveExpressionBefore()
128 switch (lvalue->fKind) { in tryRemoveLValueBefore()
156 switch (expr->fKind) { in tryRemoveExpression()
254 switch ((*expr)->fKind) { in tryInsertExpression()
[all …]
/external/skqp/bench/
DHardStopGradientBench_SpecialHardStops.cpp41 fKind = kind; in HardStopGradientBench_SpecialHardStops()
43 fName.printf("hardstop_special_%03dx%03d_%s", fW, fH, kindstr(fKind)); in HardStopGradientBench_SpecialHardStops()
86 SkScalar* positions = fKind == Kind::k001 ? pos_001 : in onPreDraw()
87 fKind == Kind::k011 ? pos_011 : in onPreDraw()
90 int count = fKind == Kind::kCentered ? 4 : 3; in onPreDraw()
111 Kind fKind; member in HardStopGradientBench_SpecialHardStops
/external/skia/bench/
DHardStopGradientBench_SpecialHardStops.cpp41 fKind = kind; in HardStopGradientBench_SpecialHardStops()
43 fName.printf("hardstop_special_%03dx%03d_%s", fW, fH, kindstr(fKind)); in HardStopGradientBench_SpecialHardStops()
86 SkScalar* positions = fKind == Kind::k001 ? pos_001 : in onPreDraw()
87 fKind == Kind::k011 ? pos_011 : in onPreDraw()
90 int count = fKind == Kind::kCentered ? 4 : 3; in onPreDraw()
111 Kind fKind; member in HardStopGradientBench_SpecialHardStops
/external/skia/src/sksl/ir/
DSkSLProgram.h39 : fKind(kBool_Kind) in Value()
43 : fKind(kInt_Kind) in Value()
47 : fKind(kInt_Kind) in Value()
51 : fKind(kFloat_Kind) in Value()
55 switch (fKind) { in literal()
78 } fKind; member
227 : fKind(kind) in Program()
268 Kind fKind; member
DSkSLSymbolTable.cpp14 switch (s.fKind) { in GetFunctions()
81 } else if (symbol->fKind == Symbol::kFunctionDeclaration_Kind) { in addWithoutOwnership()
83 if (oldSymbol->fKind == Symbol::kFunctionDeclaration_Kind) { in addWithoutOwnership()
90 } else if (oldSymbol->fKind == Symbol::kUnresolvedFunction_Kind) { in addWithoutOwnership()
108 switch (pair.second->fKind) { in markAllFunctionsBuiltin()
/external/skqp/src/sksl/ir/
DSkSLProgram.h38 : fKind(kBool_Kind) in Value()
42 : fKind(kInt_Kind) in Value()
46 : fKind(kInt_Kind) in Value()
50 switch (fKind) { in literal()
68 } fKind; member
217 : fKind(kind) in Program()
258 Kind fKind; member
DSkSLSymbolTable.cpp14 switch (s.fKind) { in GetFunctions()
81 } else if (symbol->fKind == Symbol::kFunctionDeclaration_Kind) { in addWithoutOwnership()
83 if (oldSymbol->fKind == Symbol::kFunctionDeclaration_Kind) { in addWithoutOwnership()
90 } else if (oldSymbol->fKind == Symbol::kUnresolvedFunction_Kind) { in addWithoutOwnership()
108 switch (pair.second->fKind) { in markAllFunctionsBuiltin()
/external/skia/src/sksl/ast/
DSkSLASTSuffix.h31 , fKind(kind) {} in ASTSuffix()
34 switch (fKind) { in description()
44 Kind fKind; member
/external/skqp/src/sksl/ast/
DSkSLASTSuffix.h31 , fKind(kind) {} in ASTSuffix()
34 switch (fKind) { in description()
44 Kind fKind; member

1234