/third_party/typescript/tests/cases/fourslash/ |
D | formattingOptionsChange.ts | 22 runTest("insertSpaceAfterCommaDelimiter", "[1, 2, 3];[72,];", "[1,2,3];[72,];"); 23 runTest("insertSpaceAfterSemicolonInForStatements", "for (i = 0; i; i++);", "for (i = 0;i;i++);"); 24 runTest("insertSpaceBeforeAndAfterBinaryOperators", "1 + 2 - 3", "1+2-3"); 25 runTest("insertSpaceAfterKeywordsInControlFlowStatements", "if (true) { }", "if(true) { }"); 26 runTest("insertSpaceAfterFunctionKeywordForAnonymousFunctions", "(function () { })", "(function() {… 27 runTest("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis", " ( 1 )", " (1)"); 28 runTest("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets", "[ 1 ];[];[];[ , ];", "[1];[];[]… 29 runTest("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces", "`${ 1 }`; `${ 1 }`", "`${1}… 30 runTest("insertSpaceAfterTypeAssertion", "const bar = <Bar> Thing.getFoo();", "const bar = <Bar>Thi… 31 runTest("insertSpaceBeforeTypeAnnotation", "const bar : number = 1;", "const bar: number = 1;"); [all …]
|
D | formattingOptionsChangeJsx.ts | 10 runTest("1", "<Madoka homu={ true } saya={ (true) } />;", "<Madoka homu={true} saya={(true)} />;"); 11 runTest("2", " { ...this._getButtonProps() }", " {...this._getButtonProps()}"); 14 function runTest(markerName: string, expectedStringWhenTrue: string, expectedStringWhenFalse: strin… function
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | IndexedPointsTest.cpp | 111 void runTest(GLuint firstIndex, bool useVertexBufferWithColor = false) in runTest() function in IndexedPointsTest 195 runTest(0); in TEST_P() 200 runTest(1); in TEST_P() 205 runTest(2); in TEST_P() 210 runTest(3); in TEST_P() 218 runTest(0, true); in TEST_P() 226 runTest(1, true); in TEST_P() 234 runTest(2, true); in TEST_P() 242 runTest(3, true); in TEST_P() 249 runTest(0); in TEST_P() [all …]
|
D | D3DImageFormatConversionTest.cpp | 62 void runTest(GLenum tex2DFormat, GLenum tex2DType) in runTest() function in __anon711538ff0111::D3DImageFormatConversionTest 129 runTest<R4G4B4A4>(GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P() 135 runTest<R5G5B5A1>(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P() 141 runTest<R5G6B5>(GL_RGB, GL_UNSIGNED_SHORT_5_6_5); in TEST_P() 147 runTest<R8G8B8A8>(GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P() 154 runTest<R8G8B8>(GL_RGB, GL_UNSIGNED_BYTE); in TEST_P()
|
D | LineLoopTest.cpp | 46 void runTest(GLenum indexType, GLuint indexBuffer, const void *indexPtr) in runTest() function in LineLoopTest 102 runTest(GL_UNSIGNED_BYTE, 0, indices + 1); in TEST_P() 111 runTest(GL_UNSIGNED_SHORT, 0, indices + 1); in TEST_P() 125 runTest(GL_UNSIGNED_INT, 0, indices + 1); in TEST_P() 140 runTest(GL_UNSIGNED_BYTE, buf, reinterpret_cast<const void *>(sizeof(GLubyte))); in TEST_P() 157 runTest(GL_UNSIGNED_SHORT, buf, reinterpret_cast<const void *>(sizeof(GLushort))); in TEST_P() 179 runTest(GL_UNSIGNED_INT, buf, reinterpret_cast<const void *>(sizeof(GLuint))); in TEST_P()
|
D | BuiltinVariableTest.cpp | 80 void runTest(GLuint drawMode, const std::vector<GLint> &indices, int count) in runTest() function in BuiltinVariableVertexIdTest 147 runTest(GL_POINTS, makeRange(4), 4); in TEST_P() 153 runTest(GL_LINE_STRIP, makeRange(4), 4); in TEST_P() 159 runTest(GL_LINE_LOOP, makeRange(4), 4); in TEST_P() 165 runTest(GL_LINES, makeRange(4), 4); in TEST_P() 171 runTest(GL_TRIANGLE_STRIP, makeRange(4), 4); in TEST_P() 182 runTest(GL_TRIANGLE_FAN, indices, 4); in TEST_P() 195 runTest(GL_TRIANGLES, indices, 6); in TEST_P()
|
D | DXTSRGBCompressedTextureTest.cpp | 87 void runTest(GLenum format) in runTest() function in DXTSRGBCompressedTextureTest 127 runTest(GL_COMPRESSED_SRGB_S3TC_DXT1_EXT); in TEST_P() 133 runTest(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT); in TEST_P() 139 runTest(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT); in TEST_P() 145 runTest(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | IndexedPointsTest.cpp | 111 void runTest(GLuint firstIndex, bool useVertexBufferWithColor = false) in runTest() function in IndexedPointsTest 197 runTest(0); in TEST_P() 204 runTest(1); in TEST_P() 211 runTest(2); in TEST_P() 218 runTest(3); in TEST_P() 226 runTest(0, true); in TEST_P() 234 runTest(1, true); in TEST_P() 242 runTest(2, true); in TEST_P() 250 runTest(3, true); in TEST_P() 259 runTest(0); in TEST_P() [all …]
|
D | BlendIntegerTest.cpp | 44 void runTest() in runTest() function in BlendIntegerTest 206 runTest<GL_R8I, 1, true>(); in TEST_P() 211 runTest<GL_R16I, 1, true>(); in TEST_P() 216 runTest<GL_R32I, 1, true>(); in TEST_P() 221 runTest<GL_RG8I, 2, true>(); in TEST_P() 226 runTest<GL_RG16I, 2, true>(); in TEST_P() 231 runTest<GL_RG32I, 2, true>(); in TEST_P() 236 runTest<GL_RGBA8I, 4, true>(); in TEST_P() 241 runTest<GL_RGBA16I, 4, true>(); in TEST_P() 246 runTest<GL_RGBA32I, 4, true>(); in TEST_P() [all …]
|
D | IndexBufferOffsetTest.cpp | 117 void runTest(GLenum type, in runTest() function in IndexBufferOffsetTest 238 runTest(GL_UNSIGNED_BYTE, 1, indexData, UpdateType::FullUpdate, false); in TEST_P() 245 runTest(GL_UNSIGNED_SHORT, 2, indexData, UpdateType::FullUpdate, false); in TEST_P() 255 runTest(GL_UNSIGNED_INT, 4, indexData, UpdateType::FullUpdate, false); in TEST_P() 262 runTest(GL_UNSIGNED_BYTE, 1, indexData, UpdateType::SmallUpdate, false); in TEST_P() 269 runTest(GL_UNSIGNED_SHORT, 2, indexData, UpdateType::SmallUpdate, false); in TEST_P() 279 runTest(GL_UNSIGNED_INT, 4, indexData, UpdateType::SmallUpdate, false); in TEST_P() 292 runTest(GL_UNSIGNED_BYTE, 1, indexData, UpdateType::FullUpdate, true); in TEST_P() 302 runTest(GL_UNSIGNED_SHORT, 2, indexData, UpdateType::FullUpdate, true); in TEST_P() 315 runTest(GL_UNSIGNED_INT, 4, indexData, UpdateType::FullUpdate, true); in TEST_P() [all …]
|
D | BlendPackedTest.cpp | 26 void runTest() in runTest() function in BlendPackedTest 74 runTest<GL_RGB565, 3>(); in TEST_P() 79 runTest<GL_RGBA4, 4>(); in TEST_P() 86 runTest<GL_RGB5_A1, 4>(); in TEST_P() 92 runTest<GL_RGB10_A2, 4>(); in TEST_P()
|
D | D3DImageFormatConversionTest.cpp | 62 void runTest(GLenum tex2DFormat, GLenum tex2DType) in runTest() function in __anon93abe84a0111::D3DImageFormatConversionTest 129 runTest<R4G4B4A4>(GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P() 135 runTest<R5G5B5A1>(GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P() 141 runTest<R5G6B5>(GL_RGB, GL_UNSIGNED_SHORT_5_6_5); in TEST_P() 147 runTest<R8G8B8A8>(GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P() 154 runTest<R8G8B8>(GL_RGB, GL_UNSIGNED_BYTE); in TEST_P()
|
D | LineLoopTest.cpp | 107 void runTest(GLenum indexType, GLuint indexBuffer, const void *indexPtr) in runTest() function in LineLoopTest 149 runTest(GL_UNSIGNED_BYTE, 0, indices + 1); in TEST_P() 158 runTest(GL_UNSIGNED_SHORT, 0, indices + 1); in TEST_P() 172 runTest(GL_UNSIGNED_INT, 0, indices + 1); in TEST_P() 186 runTest(GL_UNSIGNED_BYTE, buf, reinterpret_cast<const void *>(sizeof(GLubyte))); in TEST_P() 200 runTest(GL_UNSIGNED_SHORT, buf, reinterpret_cast<const void *>(sizeof(GLushort))); in TEST_P() 219 runTest(GL_UNSIGNED_INT, buf, reinterpret_cast<const void *>(sizeof(GLuint))); in TEST_P() 243 runTest(GL_UNSIGNED_BYTE, buf, reinterpret_cast<const void *>(sizeof(GLubyte))); in TEST_P() 270 runTest(GL_UNSIGNED_SHORT, buf, reinterpret_cast<const void *>(sizeof(GLushort))); in TEST_P() 302 runTest(GL_UNSIGNED_INT, buf, reinterpret_cast<const void *>(sizeof(GLuint))); in TEST_P() [all …]
|
D | BuiltinVariableTest.cpp | 80 void runTest(GLuint drawMode, const std::vector<GLint> &indices, int count) in runTest() function in BuiltinVariableVertexIdTest 147 runTest(GL_POINTS, makeRange(4), 4); in TEST_P() 153 runTest(GL_LINE_STRIP, makeRange(4), 4); in TEST_P() 159 runTest(GL_LINE_LOOP, makeRange(4), 4); in TEST_P() 165 runTest(GL_LINES, makeRange(4), 4); in TEST_P() 171 runTest(GL_TRIANGLE_STRIP, makeRange(4), 4); in TEST_P() 182 runTest(GL_TRIANGLE_FAN, indices, 4); in TEST_P() 195 runTest(GL_TRIANGLES, indices, 6); in TEST_P()
|
D | DXTSRGBCompressedTextureTest.cpp | 87 void runTest(GLenum format) in runTest() function in DXTSRGBCompressedTextureTest 127 runTest(GL_COMPRESSED_SRGB_S3TC_DXT1_EXT); in TEST_P() 133 runTest(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT); in TEST_P() 139 runTest(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT); in TEST_P() 145 runTest(GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT); in TEST_P()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/ |
D | IceParseInstsTest.cpp | 54 EXPECT_FALSE(DumpMunger.runTest()); in TEST() 62 EXPECT_FALSE(Munger.runTest(ParseError)); in TEST() 68 EXPECT_DEATH(Munger.runTest(ParseError), ".*ERROR: Unable to continue.*"); in TEST() 142 EXPECT_TRUE(DumpMunger.runTest()); in TEST() 149 EXPECT_TRUE(Munger.runTest()); in TEST() 161 EXPECT_TRUE(Munger.runTest(ARRAY(Align0))); in TEST() 176 EXPECT_FALSE(Munger.runTest(ARRAY(Align30), ParseError)); in TEST() 197 EXPECT_TRUE(Munger.runTest(ARRAY(Align29))); in TEST() 269 EXPECT_TRUE(DumpMunger.runTest()); in TEST() 274 EXPECT_TRUE(Munger.runTest()); in TEST() [all …]
|
D | BitcodeMunge.h | 43 bool runTest(const uint64_t Munges[], size_t MungeSize, 47 bool runTest(bool DisableTranslation = false) { 49 return runTest(NoMunges, 0, DisableTranslation);
|
/third_party/typescript/src/testRunner/unittests/ |
D | convertToBase64.ts | 3 function runTest(input: string): void { function 11 …runTest(" !\"#$ %&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstu… 15 runTest("\t\n\r\\\"\'\u0062"); 19 runTest("ΠΣ ٵپ औठ ⺐⺠"); 23 runTest(`/// <reference path="file.ts" /> 29 runTest(`var Π = 3.1415; console.log(Π);`);
|
/third_party/node/test/parallel/ |
D | test-module-loading-globalpaths.js | 35 const runTest = (expectedString, env) => { function 62 runTest('$HOME/.node_modules', env); 67 runTest('$HOME/.node_libraries', env); 72 runTest('$HOME/.node_modules', env); 85 runTest(expectedString, env); 89 runTest('$HOME/.node_modules', env); 94 runTest('$NODE_PATH', env);
|
D | test-stream2-readable-wrap.js | 29 function runTest(highWaterMark, objectMode, produce) { function 86 runTest(100, false, function() { return Buffer.allocUnsafe(100); }); 87 runTest(10, false, function() { return Buffer.from('xxxxxxxxxx'); }); 88 runTest(1, true, function() { return { foo: 'bar' }; }); 91 runTest(1, true, function() { return objectChunks.shift(); });
|
D | test-dummy-stdio.js | 9 function runTest(fd, streamName, testOutputStream, expectedName) { function 27 runTest(0, 'stdin', 'stdout', 'Readable'); 28 runTest(1, 'stdout', 'stderr', 'Writable'); 29 runTest(2, 'stderr', 'stdout', 'Writable');
|
D | test-fs-readSync-optional-params.js | 12 function runTest(defaultBuffer, options) { function 19 runTest(Buffer.allocUnsafe(expected.length), { position: 0 }); 22 runTest(Buffer.allocUnsafe(expected.length)); 25 runTest(Buffer.allocUnsafe(expected.length), { offset: 0,
|
D | test-tls-alpn-server-client.js | 22 function runTest(clientsOptions, serverOptions, cb) { function 74 runTest(clientsOptions, serverOptions, function(results) { 100 runTest(clientsOptions, serverOptions, function(results) { 130 runTest(clientsOptions, serverOptions, function(results) { 152 runTest(clientsOptions, serverOptions, function(results) {
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | string_utils_unittest.cpp | 236 void runTest() in runTest() function in __anon18b9f6050111::BeginsWithTest 256 runTest(); in TEST_F() 263 runTest(); in TEST_F() 270 runTest(); in TEST_F() 300 void runTest() in runTest() function in __anon18b9f6050111::EndsWithTest 320 runTest(); in TEST_F() 327 runTest(); in TEST_F() 334 runTest(); in TEST_F()
|
/third_party/node/deps/npm/node_modules/isexe/test/ |
D | basic.js | 78 runTest(t) 87 runTest(t) 94 runTest(t, { pathExt: '.EXE;.CAT;.CMD;.COM' }) 98 runTest(t) 103 runTest(t, { pathExt: '', skipFail: true }) 108 runTest(t, { pathExt: ';' + pathExt, skipFail: true }) 118 function runTest (t, options) { function
|