| /third_party/typescript/tests/baselines/reference/ |
| 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 | 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.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 | 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.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 | 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 | 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 | 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 | globalThisDeclarationEmit3.types | 2 import { variable } from "./variable"; 3 >variable : typeof variable 5 export { variable as globalThis }; 6 >variable : typeof variable 7 >globalThis : typeof variable 9 === tests/cases/compiler/variable.ts === 14 export { mod as variable }; 16 >variable : typeof mod
|
| 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 | 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/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 | 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() 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 …]
|
| /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 …]
|
| D | linkage_shader_storage_block.test | 110 mediump vec2 variable; 116 vtx_val = variable.y; 126 mediump float variable; 132 ${FRAG_COLOR} = vec4(vtx_val + variable); 186 mediump float variable[]; 192 vtx_val = variable[0]; 202 mediump float variable[1]; 208 ${FRAG_COLOR} = vec4(vtx_val + variable[0]); 224 mediump float variable[1]; 230 vtx_val = variable[0]; [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 …]
|
| D | linkage_shader_storage_block.test | 110 mediump vec2 variable; 116 vtx_val = variable.y; 126 mediump float variable; 132 ${FRAG_COLOR} = vec4(vtx_val + variable); 186 mediump float variable[]; 192 vtx_val = variable[0]; 202 mediump float variable[1]; 208 ${FRAG_COLOR} = vec4(vtx_val + variable[0]); 224 mediump float variable[1]; 230 vtx_val = variable[0]; [all …]
|
| /third_party/curl/docs/cmdline-opts/ |
| D | variable.d | 3 Long: variable 5 Help: Set variable 7 Example: --variable name=smith $URL 12 Set a variable with "name=content" or "name@file" (where "file" can be stdin 17 Setting the same variable name again overwrites the old contents with the new. 19 The contents of a variable can be referenced in a later command line option 23 --variable can import environment variables into the name space. Opt to either 24 require the environment variable to be set or provide a default value for the 25 variable in case it is not already set. 27 --variable %name imports the variable called 'name' but exits with an error if [all …]
|
| /third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
| D | PartitionInfo.java | 65 private boolean isKnownVariableOrWildcard(String variable) { in isKnownVariableOrWildcard() argument 66 return variables.contains(variable) || variable.equals("*"); in isKnownVariableOrWildcard() 80 public void addVariableExpression(String variable, String expr) { in addVariableExpression() argument 81 checkState(variable.startsWith("$") && !variable.startsWith("$!"), in addVariableExpression() 82 "invalid variable: %s", variable); in addVariableExpression() 83 checkState(!isKnownVariableOrWildcard(variable), in addVariableExpression() 84 "duplicate variable: %s", variable); in addVariableExpression() 104 addVariable(variable, regions); in addVariableExpression() 106 "$!" + variable.substring(1), in addVariableExpression() 110 private void addVariable(String variable, Iterable<String> regions) { in addVariable() argument [all …]
|