/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | CollectVariables.cpp | 73 void MarkActive(ShaderVariable *variable) in MarkActive() argument 75 if (!variable->active) in MarkActive() 77 if (variable->isStruct()) in MarkActive() 80 for (auto &field : variable->fields) in MarkActive() 85 ASSERT(variable->staticUse); in MarkActive() 86 variable->active = true; in MarkActive() 138 const TVariable &variable, 141 Attribute recordAttribute(const TIntermSymbol &variable) const; 142 OutputVariable recordOutputVariable(const TIntermSymbol &variable) const; 143 Varying recordVarying(const TIntermSymbol &variable) const; [all …]
|
D | VariablePacker.cpp | 24 void ExpandVariable(const ShaderVariable &variable, 28 void ExpandStructVariable(const ShaderVariable &variable, in ExpandStructVariable() argument 32 ASSERT(variable.isStruct()); in ExpandStructVariable() 34 const std::vector<ShaderVariable> &fields = variable.fields; in ExpandStructVariable() 43 void ExpandStructArrayVariable(const ShaderVariable &variable, in ExpandStructArrayVariable() argument 50 const unsigned int currentArraySize = variable.getNestedArraySize(arrayNestingIndex); in ExpandStructArrayVariable() 54 if (arrayNestingIndex + 1u < variable.arraySizes.size()) in ExpandStructArrayVariable() 56 ExpandStructArrayVariable(variable, arrayNestingIndex + 1u, elementName, expanded); in ExpandStructArrayVariable() 60 ExpandStructVariable(variable, elementName, expanded); in ExpandStructArrayVariable() 65 void ExpandVariable(const ShaderVariable &variable, in ExpandVariable() argument [all …]
|
D | blocklayout.cpp | 30 void encodeVariable(const ShaderVariable &variable, in encodeVariable() argument 35 ASSERT(!gl::IsSamplerType(variable.type)); in encodeVariable() 36 if (!gl::IsOpaqueType(variable.type)) in encodeVariable() 57 void TraverseStructVariable(const ShaderVariable &variable, in TraverseStructVariable() argument 61 const std::vector<ShaderVariable> &fields = variable.fields; in TraverseStructVariable() 63 visitor->enterStructAccess(variable, isRowMajorLayout); in TraverseStructVariable() 65 visitor->exitStructAccess(variable, isRowMajorLayout); in TraverseStructVariable() 68 void TraverseStructArrayVariable(const ShaderVariable &variable, in TraverseStructArrayVariable() argument 72 visitor->enterArray(variable); in TraverseStructArrayVariable() 76 const unsigned int currentArraySize = variable.getNestedArraySize(0); in TraverseStructArrayVariable() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | CollectVariables.cpp | 68 void MarkActive(ShaderVariable *variable) in MarkActive() argument 70 if (!variable->active) in MarkActive() 72 if (variable->isStruct()) in MarkActive() 75 for (auto &field : variable->fields) in MarkActive() 80 variable->staticUse = true; in MarkActive() 81 variable->active = true; in MarkActive() 152 const TVariable &variable, 155 ShaderVariable recordAttribute(const TIntermSymbol &variable) const; 156 ShaderVariable recordOutputVariable(const TIntermSymbol &variable) const; 157 ShaderVariable recordVarying(const TIntermSymbol &variable) const; [all …]
|
D | blocklayout.cpp | 30 void encodeVariable(const ShaderVariable &variable, in encodeVariable() argument 35 ASSERT(!gl::IsSamplerType(variable.type)); in encodeVariable() 36 if (!gl::IsOpaqueType(variable.type)) in encodeVariable() 65 void TraverseStructVariable(const ShaderVariable &variable, in TraverseStructVariable() argument 69 const std::vector<ShaderVariable> &fields = variable.fields; in TraverseStructVariable() 71 visitor->enterStructAccess(variable, isRowMajorLayout); in TraverseStructVariable() 73 visitor->exitStructAccess(variable, isRowMajorLayout); in TraverseStructVariable() 76 void TraverseStructArrayVariable(const ShaderVariable &variable, in TraverseStructArrayVariable() argument 80 visitor->enterArray(variable); in TraverseStructArrayVariable() 84 const unsigned int currentArraySize = variable.getNestedArraySize(0); in TraverseStructArrayVariable() [all …]
|
D | VariablePacker.cpp | 24 void ExpandVariable(const ShaderVariable &variable, 28 void ExpandStructVariable(const ShaderVariable &variable, in ExpandStructVariable() argument 32 ASSERT(variable.isStruct()); in ExpandStructVariable() 34 const std::vector<ShaderVariable> &fields = variable.fields; in ExpandStructVariable() 43 void ExpandStructArrayVariable(const ShaderVariable &variable, in ExpandStructArrayVariable() argument 50 const unsigned int currentArraySize = variable.getNestedArraySize(arrayNestingIndex); in ExpandStructArrayVariable() 54 if (arrayNestingIndex + 1u < variable.arraySizes.size()) in ExpandStructArrayVariable() 56 ExpandStructArrayVariable(variable, arrayNestingIndex + 1u, elementName, expanded); in ExpandStructArrayVariable() 60 ExpandStructVariable(variable, elementName, expanded); in ExpandStructArrayVariable() 65 void ExpandVariable(const ShaderVariable &variable, in ExpandVariable() argument [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | letDeclarations-scopes-duplicates.errors.txt | 1 …eclarations-scopes-duplicates.ts(2,5): error TS2451: Cannot redeclare block-scoped variable 'var1'. 2 …eclarations-scopes-duplicates.ts(3,5): error TS2451: Cannot redeclare block-scoped variable 'var1'. 3 …eclarations-scopes-duplicates.ts(5,5): error TS2451: Cannot redeclare block-scoped variable 'var2'. 4 …eclarations-scopes-duplicates.ts(6,7): error TS2451: Cannot redeclare block-scoped variable 'var2'. 5 …eclarations-scopes-duplicates.ts(8,7): error TS2451: Cannot redeclare block-scoped variable 'var3'. 6 …eclarations-scopes-duplicates.ts(9,5): error TS2451: Cannot redeclare block-scoped variable 'var3'. 7 …clarations-scopes-duplicates.ts(11,7): error TS2451: Cannot redeclare block-scoped variable 'var4'. 8 …clarations-scopes-duplicates.ts(12,7): error TS2451: Cannot redeclare block-scoped variable 'var4'. 11 …clarations-scopes-duplicates.ts(17,5): error TS2451: Cannot redeclare block-scoped variable 'var6'. 12 …clarations-scopes-duplicates.ts(18,5): error TS2451: Cannot redeclare block-scoped variable 'var6'. [all …]
|
D | differentTypesWithSameName.types | 5 export class variable{ 6 >variable : variable 11 export function doSomething(v: m.variable) { 12 >doSomething : (v: m.variable) => void 13 >v : variable 19 class variable { 20 >variable : variable 27 var v: variable = new variable(); 28 >v : variable 29 >new variable() : variable [all …]
|
D | destructuringSameNames.errors.txt | 1 …uring/destructuringSameNames.ts(21,7): error TS2451: Cannot redeclare block-scoped variable 'foo1'. 2 …ring/destructuringSameNames.ts(21,13): error TS2451: Cannot redeclare block-scoped variable 'foo1'. 3 …uring/destructuringSameNames.ts(22,7): error TS2451: Cannot redeclare block-scoped variable 'foo2'. 4 …ring/destructuringSameNames.ts(22,19): error TS2451: Cannot redeclare block-scoped variable 'foo2'. 5 …ring/destructuringSameNames.ts(23,13): error TS2451: Cannot redeclare block-scoped variable 'foo3'. 6 …ring/destructuringSameNames.ts(23,19): error TS2451: Cannot redeclare block-scoped variable 'foo3'. 7 …uring/destructuringSameNames.ts(24,9): error TS2451: Cannot redeclare block-scoped variable 'foo4'. 8 …ring/destructuringSameNames.ts(24,15): error TS2451: Cannot redeclare block-scoped variable 'foo4'. 9 …uring/destructuringSameNames.ts(25,9): error TS2451: Cannot redeclare block-scoped variable 'foo5'. 10 …ring/destructuringSameNames.ts(25,21): error TS2451: Cannot redeclare block-scoped variable 'foo5'. [all …]
|
D | differentTypesWithSameName.js | 3 export class variable{ 6 export function doSomething(v: m.variable) { argument 11 class variable { 16 var v: variable = new variable(); 22 var variable = /** @class */ (function () { function 23 function variable() { function 25 return variable; 27 m.variable = variable; 32 var variable = /** @class */ (function () { function 33 function variable() { function [all …]
|
D | differentTypesWithSameName.symbols | 5 export class variable{ 6 >variable : Symbol(variable, Decl(differentTypesWithSameName.ts, 0, 10)) 9 >s : Symbol(variable.s, Decl(differentTypesWithSameName.ts, 1, 24)) 11 export function doSomething(v: m.variable) { 15 >variable : Symbol(variable, Decl(differentTypesWithSameName.ts, 0, 10)) 20 class variable { 21 >variable : Symbol(variable, Decl(differentTypesWithSameName.ts, 7, 1)) 24 >t : Symbol(variable.t, Decl(differentTypesWithSameName.ts, 9, 16)) 28 var v: variable = new variable(); 30 >variable : Symbol(variable, Decl(differentTypesWithSameName.ts, 7, 1)) [all …]
|
D | globalThisDeclarationEmit3.symbols | 2 import { variable } from "./variable"; 3 >variable : Symbol(variable, Decl(index.ts, 0, 8)) 5 export { variable as globalThis }; 6 >variable : Symbol(variable, Decl(index.ts, 0, 8)) 9 === tests/cases/compiler/variable.ts === 11 >mod : Symbol(mod, Decl(variable.ts, 0, 0)) 14 export { mod as variable }; 15 >mod : Symbol(mod, Decl(variable.ts, 0, 0)) 16 >variable : Symbol(variable, Decl(variable.ts, 1, 8))
|
D | arithAssignTyping.errors.txt | 1 …ompiler/arithAssignTyping.ts(3,1): error TS2539: Cannot assign to 'f' because it is not a variable. 2 …ompiler/arithAssignTyping.ts(4,1): error TS2539: Cannot assign to 'f' because it is not a variable. 3 …ompiler/arithAssignTyping.ts(5,1): error TS2539: Cannot assign to 'f' because it is not a variable. 4 …ompiler/arithAssignTyping.ts(6,1): error TS2539: Cannot assign to 'f' because it is not a variable. 5 …ompiler/arithAssignTyping.ts(7,1): error TS2539: Cannot assign to 'f' because it is not a variable. 6 …ompiler/arithAssignTyping.ts(8,1): error TS2539: Cannot assign to 'f' because it is not a variable. 7 …ompiler/arithAssignTyping.ts(9,1): error TS2539: Cannot assign to 'f' because it is not a variable. 8 …mpiler/arithAssignTyping.ts(10,1): error TS2539: Cannot assign to 'f' because it is not a variable. 9 …mpiler/arithAssignTyping.ts(11,1): error TS2539: Cannot assign to 'f' because it is not a variable. 10 …mpiler/arithAssignTyping.ts(12,1): error TS2539: Cannot assign to 'f' because it is not a variable. [all …]
|
D | assignmentLHSIsValue.errors.txt | 1 … error TS2364: The left-hand side of an assignment expression must be a variable or a property acc… 2 … error TS2364: The left-hand side of an assignment expression must be a variable or a property acc… 3 … error TS2364: The left-hand side of an assignment expression must be a variable or a property acc… 4 … error TS2364: The left-hand side of an assignment expression must be a variable or a property acc… 5 … error TS2364: The left-hand side of an assignment expression must be a variable or a property acc… 6 …tor/assignmentLHSIsValue.ts(17,1): error TS2539: Cannot assign to 'M' because it is not a variable. 7 …tor/assignmentLHSIsValue.ts(19,1): error TS2539: Cannot assign to 'C' because it is not a variable. 8 …tor/assignmentLHSIsValue.ts(22,1): error TS2539: Cannot assign to 'E' because it is not a variable. 9 …r/assignmentLHSIsValue.ts(24,1): error TS2539: Cannot assign to 'foo' because it is not a variable. 10 … error TS2364: The left-hand side of an assignment expression must be a variable or a property acc… [all …]
|
D | globalThisDeclarationEmit2.symbols | 2 import { variable } from "./variable"; 3 >variable : Symbol(variable, Decl(index.ts, 0, 8)) 5 export { variable as globalThis }; 6 >variable : Symbol(variable, Decl(index.ts, 0, 8)) 9 === tests/cases/compiler/variable.ts === 10 export const variable = globalThis; 11 >variable : Symbol(variable, Decl(variable.ts, 0, 12))
|
D | globalThisDeclarationEmit.symbols | 2 import { variable } from "./variable"; 3 >variable : Symbol(variable, Decl(index.ts, 0, 8)) 5 export const globalThis = variable; 7 >variable : Symbol(variable, Decl(index.ts, 0, 8)) 9 === tests/cases/compiler/variable.ts === 10 export const variable = globalThis; 11 >variable : Symbol(variable, Decl(variable.ts, 0, 12))
|
D | letAndVarRedeclaration.errors.txt | 7 …compiler/letAndVarRedeclaration.ts(12,9): error TS2451: Cannot redeclare block-scoped variable 'x'. 8 …ompiler/letAndVarRedeclaration.ts(14,13): error TS2451: Cannot redeclare block-scoped variable 'x'. 9 …ompiler/letAndVarRedeclaration.ts(17,18): error TS2451: Cannot redeclare block-scoped variable 'x'. 13 …ompiler/letAndVarRedeclaration.ts(28,9): error TS2451: Cannot redeclare block-scoped variable 'x2'. 14 …mpiler/letAndVarRedeclaration.ts(30,13): error TS2451: Cannot redeclare block-scoped variable 'x2'. 15 …mpiler/letAndVarRedeclaration.ts(33,18): error TS2451: Cannot redeclare block-scoped variable 'x2'. 16 …mpiler/letAndVarRedeclaration.ts(37,5): error TS2451: Cannot redeclare block-scoped variable 'x11'. 17 …piler/letAndVarRedeclaration.ts(38,10): error TS2451: Cannot redeclare block-scoped variable 'x11'. 18 …mpiler/letAndVarRedeclaration.ts(42,9): error TS2451: Cannot redeclare block-scoped variable 'x11'. 19 …piler/letAndVarRedeclaration.ts(43,14): error TS2451: Cannot redeclare block-scoped variable 'x11'. [all …]
|
D | differentTypesWithSameName.errors.txt | 1 …me.ts(16,15): error TS2345: Argument of type 'variable' is not assignable to parameter of type 'm.… 2 Property 's' is missing in type 'variable' but required in type 'm.variable'. 7 export class variable{ 10 export function doSomething(v: m.variable) { 15 class variable { 20 var v: variable = new variable(); 23 !!! error TS2345: Argument of type 'variable' is not assignable to parameter of type 'm.variable'. 24 !!! error TS2345: Property 's' is missing in type 'variable' but required in type 'm.variable'.
|
D | decrementAndIncrementOperators.errors.txt | 1 …ror TS2357: The operand of an increment or decrement operator must be a variable or a property acc… 2 …ror TS2357: The operand of an increment or decrement operator must be a variable or a property acc… 3 …ror TS2357: The operand of an increment or decrement operator must be a variable or a property acc… 4 …ror TS2357: The operand of an increment or decrement operator must be a variable or a property acc… 5 …ror TS2357: The operand of an increment or decrement operator must be a variable or a property acc… 6 …ror TS2357: The operand of an increment or decrement operator must be a variable or a property acc… 7 …ror TS2357: The operand of an increment or decrement operator must be a variable or a property acc… 8 …ror TS2357: The operand of an increment or decrement operator must be a variable or a property acc… 9 …ror TS2357: The operand of an increment or decrement operator must be a variable or a property acc… 10 …ror TS2357: The operand of an increment or decrement operator must be a variable or a property acc… [all …]
|
/third_party/vk-gl-cts/framework/randomshaders/ |
D | rsgVariableManager.cpp | 95 ValueEntry::ValueEntry (const Variable* variable) in ValueEntry() argument 96 : m_variable (variable) in ValueEntry() 97 , m_valueRange (variable->getType()) in ValueEntry() 116 Variable* variable = new Variable(type, storage, name); in allocate() local 119 m_liveVariables.push_back(variable); in allocate() 120 return variable; in allocate() 124 delete variable; in allocate() 129 void VariableScope::declare (Variable* variable) in declare() argument 131 m_declaredVariables.push_back(variable); in declare() 132 removeLive(variable); in declare() [all …]
|
/third_party/vk-gl-cts/data/gles31/shaders/es31/ |
D | linkage_io_block.test | 84 mediump vec2 variable; 89 variable.x = float(gl_VertexID); 90 variable.y = float(gl_InstanceID); 100 mediump float variable; 105 ${FRAG_COLOR} = vec4(variable); 155 mediump float variable[1]; 160 variable[0] = float(gl_VertexID); 170 mediump float variable[2]; 175 ${FRAG_COLOR} = vec4(variable[0] + variable[1]); 194 mediump float variable; [all …]
|
D | linkage_shader_storage_block.test | 92 mediump vec2 variable; 98 vtx_val = variable.y; 108 mediump float variable; 114 ${FRAG_COLOR} = vec4(vtx_val + variable); 168 mediump float variable[]; 174 vtx_val = variable[0]; 184 mediump float variable[1]; 190 ${FRAG_COLOR} = vec4(vtx_val + variable[0]); 206 mediump float variable[1]; 212 vtx_val = variable[0]; [all …]
|
/third_party/skia/resources/sksl/errors/ |
D | CanExitWithoutReturningValue.sksl | 3 int variable = 0; 6 int if_only() { if (variable == 1) return 0; } 7 int return_on_if_but_not_else() { if (variable == 1) return 0; else variable *= 2; } 8 int return_on_else_but_not_if() { if (variable == 1) variable *= 2; else return 1; } 10 int for_with_conditional_return() { for (;;) { if (variable == 1) return 0; } } 11 int for_with_conditional_break() { for (;;) { if (variable == 1) break; return 0; } } 12 int for_with_conditional_continue() { for (;;) { if (variable == 1) continue; return 0; } } 26 variable *= 2; // doesn't return 33 switch (variable) {} 37 switch (variable) { [all …]
|
/third_party/vk-gl-cts/data/gles31/shaders/gl45/ |
D | linkage_io_block.test | 100 mediump vec2 variable; 105 variable.x = float(gl_VertexID); 106 variable.y = float(gl_InstanceID); 116 mediump float variable; 121 ${FRAG_COLOR} = vec4(variable); 169 mediump float variable[1]; 174 variable[0] = float(gl_VertexID); 184 mediump float variable[2]; 189 ${FRAG_COLOR} = vec4(variable[0] + variable[1]); 207 mediump float variable; [all …]
|
/third_party/vk-gl-cts/data/gles31/shaders/es32/ |
D | linkage_io_block.test | 100 mediump vec2 variable; 105 variable.x = float(gl_VertexID); 106 variable.y = float(gl_InstanceID); 116 mediump float variable; 121 ${FRAG_COLOR} = vec4(variable); 169 mediump float variable[1]; 174 variable[0] = float(gl_VertexID); 184 mediump float variable[2]; 189 ${FRAG_COLOR} = vec4(variable[0] + variable[1]); 207 mediump float variable; [all …]
|