/third_party/googletest/googletest/include/gtest/ |
D | gtest-death-test.h | 172 # define ASSERT_EXIT(statement, predicate, matcher) \ argument 173 GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_FATAL_FAILURE_) 177 # define EXPECT_EXIT(statement, predicate, matcher) \ argument 178 GTEST_DEATH_TEST_(statement, predicate, matcher, GTEST_NONFATAL_FAILURE_) 183 # define ASSERT_DEATH(statement, matcher) \ argument 184 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher) 188 # define EXPECT_DEATH(statement, matcher) \ argument 189 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, matcher) 262 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument 263 GTEST_EXECUTE_STATEMENT_(statement, regex) [all …]
|
/third_party/mesa3d/src/gtest/include/gtest/ |
D | gtest-death-test.h | 168 # define ASSERT_EXIT(statement, predicate, regex) \ argument 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 173 # define EXPECT_EXIT(statement, predicate, regex) \ argument 174 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) 179 # define ASSERT_DEATH(statement, regex) \ argument 180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) 184 # define EXPECT_DEATH(statement, regex) \ argument 185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) 259 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument 260 GTEST_EXECUTE_STATEMENT_(statement, regex) [all …]
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_msl.cpp | 1215 statement("constexpr sampler ", in emit_entry_point_declarations() 1219 statement("constexpr sampler ", in emit_entry_point_declarations() 1251 …statement(get_argument_address_space(var), " ", type_to_glsl(type), "* ", to_restrict(var_id), nam… in emit_entry_point_declarations() 1268 statement("(", get_argument_address_space(var), " ", type_to_glsl(type), "* ", in emit_entry_point_declarations() 1286 statement(get_argument_address_space(var), " auto& ", to_restrict(var_id), name, " = *(", in emit_entry_point_declarations() 1300 …statement(get_argument_address_space(var), " ", type_to_glsl(buffer_type), "* ", to_restrict(array… in emit_entry_point_declarations() 1304 statement(name, "_", i, ","); in emit_entry_point_declarations() 1317 statement(variable_decl(var), ";"); in emit_entry_point_declarations() 2064 statement(to_name(var.self), "[", loc_off, "]", " = ", ib_var_ref, in add_component_variable_to_interface_block() 2071 statement(to_name(var.self), " = ", ib_var_ref, ".m_location_", location, in add_component_variable_to_interface_block() [all …]
|
D | spirv_cpp.cpp | 43 …statement("internal::Resource<", buffer_name, type_to_array_glsl(type), "> ", instance_name, "__;"… in emit_buffer_block() 47 statement(""); in emit_buffer_block() 71 …statement("internal::", qual, "<", buffer_name, type_to_array_glsl(type), "> ", instance_name, "__… in emit_interface_block() 74 statement(""); in emit_interface_block() 82 statement(CompilerGLSL::variable_decl(var), ";"); in emit_shared() 103 statement("internal::Resource<", type_name, type_to_array_glsl(type), "> ", instance_name, "__;"); in emit_uniform() 110 …statement("internal::UniformConstant<", type_name, type_to_array_glsl(type), "> ", instance_name, … in emit_uniform() 116 statement(""); in emit_uniform() 133 …statement("internal::PushConstant<", buffer_name, type_to_array_glsl(type), "> ", instance_name, "… in emit_push_constant_block() 136 statement(""); in emit_push_constant_block() [all …]
|
D | spirv_hlsl.cpp | 527 statement(header); in emit_header() 531 statement(""); in emit_header() 544 statement("static ", variable_decl(var), ";"); in emit_interface_block_globally() 612 …statement(types[to_declare - 1], " ", builtin_to_glsl(builtin, StorageClassOutput), semantic_index, in emit_builtin_outputs_in_struct() 628 …statement(types[to_declare - 1], " ", builtin_to_glsl(builtin, StorageClassOutput), semantic_index, in emit_builtin_outputs_in_struct() 647 statement(type, " ", builtin_to_glsl(builtin, StorageClassOutput), " : ", semantic, ";"); in emit_builtin_outputs_in_struct() 742 … statement(types[to_declare - 1], " ", builtin_to_glsl(builtin, StorageClassInput), semantic_index, in emit_builtin_inputs_in_struct() 758 … statement(types[to_declare - 1], " ", builtin_to_glsl(builtin, StorageClassInput), semantic_index, in emit_builtin_inputs_in_struct() 775 statement(type, " ", builtin_to_glsl(builtin, StorageClassInput), " : ", semantic, ";"); in emit_builtin_inputs_in_struct() 865 statement(to_interpolation_qualifiers(get_member_decoration_bitset(type.self, member_index)), in emit_interface_block_member_in_struct() [all …]
|
/third_party/python/Modules/_sqlite/ |
D | cursor.c | 52 Py_CLEAR(self->statement); in pysqlite_cursor_init_impl() 93 Py_VISIT(self->statement); in cursor_traverse() 106 if (self->statement) { in cursor_clear() 108 pysqlite_statement_reset(self->statement); in cursor_clear() 109 Py_CLEAR(self->statement); in cursor_clear() 170 for (i = 0; i < sqlite3_column_count(self->statement->st); i++) { in pysqlite_build_row_cast_map() 174 const char *colname = sqlite3_column_name(self->statement->st, i); in pysqlite_build_row_cast_map() 197 decltype = sqlite3_column_decltype(self->statement->st, i); in pysqlite_build_row_cast_map() 277 numcols = sqlite3_data_count(self->statement->st); in _pysqlite_fetch_one_row() 303 const void *blob = sqlite3_column_blob(self->statement->st, i); in _pysqlite_fetch_one_row() [all …]
|
/third_party/typescript/src/services/codefixes/ |
D | fixUnreachableCode.ts | 17 const statement = findAncestor(token, isStatement)!; constant 18 if (statement.getStart(sourceFile) !== token.getStart(sourceFile)) { 20 statementKind: Debug.formatSyntaxKind(statement.kind), 29 const container = (isBlock(statement.parent) ? statement.parent : statement).parent; 30 if (!isBlock(statement.parent) || statement === first(statement.parent.statements)) { 34 if (isBlock(statement.parent)) { 38 … changes.replaceNode(sourceFile, statement, factory.createBlock(emptyArray)); 50 if (isBlock(statement.parent)) { 52 … lastStatement = Debug.checkDefined(lastWhere(sliceAfter(statement.parent.statements, statement), … 53 changes.deleteNodeRange(sourceFile, statement, lastStatement); [all …]
|
D | returnValueCorrect.ts | 22 statement: Statement; property 30 statement: Statement; property 46 [getActionForfixAddReturnStatement(context, info.expression, info.statement)], 59 addReturnStatement(changes, diag.file, info.expression, info.statement); 91 statement: firstStatement, 95 … else if (isLabeledStatement(firstStatement) && isExpressionStatement(firstStatement.statement)) { 96 …ion([factory.createPropertyAssignment(firstStatement.label, firstStatement.statement.expression)]); 97 …bjectTypeFromLabeledExpression(checker, firstStatement.label, firstStatement.statement.expression); 103 statement: firstStatement, 104 commentSource: firstStatement.statement.expression [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | invalidWhileContinueStatements.errors.txt | 1 …ements.ts(4,1): error TS1104: A 'continue' statement can only be used within an enclosing iteratio… 2 …nts.ts(8,14): error TS1115: A 'continue' statement can only jump to a label of an enclosing iterat… 5 …nts.ts(27,5): error TS1115: A 'continue' statement can only jump to a label of an enclosing iterat… 6 …nts.ts(37,5): error TS1115: A 'continue' statement can only jump to a label of an enclosing iterat… 15 !!! error TS1104: A 'continue' statement can only be used within an enclosing iteration statement. 21 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme… 46 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme… 51 // label on non-loop statement 58 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
|
D | invalidForBreakStatements.errors.txt | 1 …ents.ts(4,1): error TS1105: A 'break' statement can only be used within an enclosing iteration or … 2 …akStatements.ts(8,9): error TS1116: A 'break' statement can only jump to a label of an enclosing s… 5 …kStatements.ts(27,5): error TS1116: A 'break' statement can only jump to a label of an enclosing s… 6 …kStatements.ts(36,5): error TS1116: A 'break' statement can only jump to a label of an enclosing s… 15 !!! error TS1105: A 'break' statement can only be used within an enclosing iteration or switch stat… 21 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement. 46 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement. 50 // label on non-loop statement 57 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
|
D | invalidWhileBreakStatements.errors.txt | 1 …ents.ts(4,1): error TS1105: A 'break' statement can only be used within an enclosing iteration or … 2 …kStatements.ts(8,14): error TS1116: A 'break' statement can only jump to a label of an enclosing s… 5 …kStatements.ts(27,5): error TS1116: A 'break' statement can only jump to a label of an enclosing s… 6 …kStatements.ts(37,5): error TS1116: A 'break' statement can only jump to a label of an enclosing s… 15 !!! error TS1105: A 'break' statement can only be used within an enclosing iteration or switch stat… 21 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement. 46 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement. 51 // label on non-loop statement 58 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
|
D | invalidForContinueStatements.errors.txt | 1 …ements.ts(4,1): error TS1104: A 'continue' statement can only be used within an enclosing iteratio… 2 …ents.ts(8,9): error TS1115: A 'continue' statement can only jump to a label of an enclosing iterat… 5 …nts.ts(27,5): error TS1115: A 'continue' statement can only jump to a label of an enclosing iterat… 6 …nts.ts(36,5): error TS1115: A 'continue' statement can only jump to a label of an enclosing iterat… 15 !!! error TS1104: A 'continue' statement can only be used within an enclosing iteration statement. 21 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme… 46 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme… 50 // label on non-loop statement 57 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
|
D | invalidForInContinueStatements.errors.txt | 1 …ements.ts(4,1): error TS1104: A 'continue' statement can only be used within an enclosing iteratio… 2 …nts.ts(8,19): error TS1115: A 'continue' statement can only jump to a label of an enclosing iterat… 5 …nts.ts(27,5): error TS1115: A 'continue' statement can only jump to a label of an enclosing iterat… 6 …nts.ts(37,5): error TS1115: A 'continue' statement can only jump to a label of an enclosing iterat… 15 !!! error TS1104: A 'continue' statement can only be used within an enclosing iteration statement. 21 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme… 46 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme… 51 // label on non-loop statement 58 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
|
D | invalidDoWhileContinueStatements.errors.txt | 1 …ements.ts(4,1): error TS1104: A 'continue' statement can only be used within an enclosing iteratio… 2 …ents.ts(8,4): error TS1115: A 'continue' statement can only jump to a label of an enclosing iterat… 5 …nts.ts(27,5): error TS1115: A 'continue' statement can only jump to a label of an enclosing iterat… 6 …nts.ts(37,5): error TS1115: A 'continue' statement can only jump to a label of an enclosing iterat… 15 !!! error TS1104: A 'continue' statement can only be used within an enclosing iteration statement. 21 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme… 46 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme… 51 // label on non-loop statement 58 !!! error TS1115: A 'continue' statement can only jump to a label of an enclosing iteration stateme…
|
D | invalidForInBreakStatements.errors.txt | 1 …ents.ts(4,1): error TS1105: A 'break' statement can only be used within an enclosing iteration or … 2 …kStatements.ts(8,19): error TS1116: A 'break' statement can only jump to a label of an enclosing s… 5 …kStatements.ts(27,5): error TS1116: A 'break' statement can only jump to a label of an enclosing s… 6 …kStatements.ts(37,5): error TS1116: A 'break' statement can only jump to a label of an enclosing s… 15 !!! error TS1105: A 'break' statement can only be used within an enclosing iteration or switch stat… 21 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement. 46 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement. 51 // label on non-loop statement 58 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
|
D | invalidDoWhileBreakStatements.errors.txt | 1 …ents.ts(4,1): error TS1105: A 'break' statement can only be used within an enclosing iteration or … 2 …akStatements.ts(8,4): error TS1116: A 'break' statement can only jump to a label of an enclosing s… 5 …kStatements.ts(27,5): error TS1116: A 'break' statement can only jump to a label of an enclosing s… 6 …kStatements.ts(37,5): error TS1116: A 'break' statement can only jump to a label of an enclosing s… 15 !!! error TS1105: A 'break' statement can only be used within an enclosing iteration or switch stat… 21 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement. 46 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement. 51 // label on non-loop statement 58 !!! error TS1116: A 'break' statement can only jump to a label of an enclosing statement.
|
D | emptyThenWarning.errors.txt | 1 …mptyThenWarning.ts(1,6): error TS1313: The body of an 'if' statement cannot be the empty statement. 2 …ptyThenWarning.ts(4,19): error TS1313: The body of an 'if' statement cannot be the empty statement. 8 !!! error TS1313: The body of an 'if' statement cannot be the empty statement. 13 !!! error TS1313: The body of an 'if' statement cannot be the empty statement.
|
D | classUpdateTests.errors.txt | 3 …assUpdateTests.ts(57,2): error TS2376: A 'super' call must be the first statement in the construct… 8 …assUpdateTests.ts(70,2): error TS2376: A 'super' call must be the first statement in the construct… 9 tests/cases/compiler/classUpdateTests.ts(93,3): error TS1128: Declaration or statement expected. 10 tests/cases/compiler/classUpdateTests.ts(95,1): error TS1128: Declaration or statement expected. 11 tests/cases/compiler/classUpdateTests.ts(99,3): error TS1128: Declaration or statement expected. 12 tests/cases/compiler/classUpdateTests.ts(101,1): error TS1128: Declaration or statement expected. 13 tests/cases/compiler/classUpdateTests.ts(105,3): error TS1128: Declaration or statement expected. 15 tests/cases/compiler/classUpdateTests.ts(107,1): error TS1128: Declaration or statement expected. 16 tests/cases/compiler/classUpdateTests.ts(111,3): error TS1128: Declaration or statement expected. 18 tests/cases/compiler/classUpdateTests.ts(113,1): error TS1128: Declaration or statement expected. [all …]
|
D | for-inStatementsInvalid.errors.txt | 1 …ementsInvalid.ts(2,6): error TS2405: The left-hand side of a 'for...in' statement must be of type … 2 …ementsInvalid.ts(5,6): error TS2405: The left-hand side of a 'for...in' statement must be of type … 3 …ementsInvalid.ts(8,6): error TS2405: The left-hand side of a 'for...in' statement must be of type … 4 …entsInvalid.ts(10,10): error TS2404: The left-hand side of a 'for...in' statement cannot use a typ… 5 …ntsInvalid.ts(13,15): error TS2407: The right-hand side of a 'for...in' statement must be of type … 6 …ntsInvalid.ts(17,15): error TS2407: The right-hand side of a 'for...in' statement must be of type … 7 …ntsInvalid.ts(18,15): error TS2407: The right-hand side of a 'for...in' statement must be of type … 8 …ntsInvalid.ts(19,15): error TS2407: The right-hand side of a 'for...in' statement must be of type … 9 …ntsInvalid.ts(20,15): error TS2407: The right-hand side of a 'for...in' statement must be of type … 10 …ntsInvalid.ts(22,15): error TS2407: The right-hand side of a 'for...in' statement must be of type … [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl_statement_test.cc | 27 auto e = p->statement(); in TEST_F() 36 p->statement(); in TEST_F() 42 auto e = p->statement(); in TEST_F() 53 auto e = p->statement(); in TEST_F() 66 auto e = p->statement(); in TEST_F() 76 auto e = p->statement(); in TEST_F() 86 auto e = p->statement(); in TEST_F() 95 auto e = p->statement(); in TEST_F() 105 auto e = p->statement(); in TEST_F() 114 auto e = p->statement(); in TEST_F() [all …]
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | parse.h | 47 struct statement { struct 64 struct statement *if_true; argument 65 struct statement *if_false; 71 struct statement *args; 76 struct statement *label_statement; 81 struct statement *case_statement; 86 struct statement *switch_statement; 93 struct statement *iterator_pre_statement; 96 struct statement *iterator_statement; 98 struct statement *iterator_post_statement; [all …]
|
/third_party/node/tools/doc/ |
D | apilinks.mjs | 70 program.forEach((statement) => { 71 if (statement.type === 'ExpressionStatement') { 72 const expr = statement.expression; 82 `${link}#L${statement.loc.start.line}`; 111 } else if (statement.type === 'VariableDeclaration') { 112 for (const decl of statement.declarations) { 118 `${link}#L${statement.loc.start.line}`; 122 definition[decl.id.name] = `${link}#L${statement.loc.start.line}`; 135 program.forEach((statement) => { 136 if (statement.type === 'ExpressionStatement') { [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | ValidationTest.h | 45 #define ASSERT_DEVICE_ERROR_IMPL_1_(statement) \ argument 47 statement; \ 50 FAIL() << "Expected device error in:\n " << #statement; \ 55 #define ASSERT_DEVICE_ERROR_IMPL_2_(statement, matcher) \ argument 57 statement; \ 60 FAIL() << "Expected device error in:\n " << #statement; \ 75 #define EXPECT_DEPRECATION_WARNINGS(statement, n) \ argument 80 statement; \ 86 #define EXPECT_DEPRECATION_WARNING(statement) EXPECT_DEPRECATION_WARNINGS(statement, 1) argument
|
/third_party/skia/src/sksl/ir/ |
D | SkSLForStatement.cpp | 56 this->statement()->clone(), in clone() 76 result += ") " + this->statement()->description(); in description() 84 std::unique_ptr<Statement> statement, in Convert() argument 112 next.get(), statement.get(), context.fErrors); in Convert() 120 next.get(), statement.get(), /*errors=*/nullptr); in Convert() 123 if (Analysis::DetectVarDeclarationWithoutScope(*statement, context.fErrors)) { in Convert() 137 std::move(test), std::move(next), std::move(statement), in Convert() 143 std::move(next), std::move(statement), std::move(unrollInfo), in Convert() 149 std::unique_ptr<Statement> statement, in ConvertWhile() argument 156 /*next=*/nullptr, std::move(statement), std::move(symbolTable)); in ConvertWhile() [all …]
|
/third_party/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-death-test-internal.h | 83 static bool Create(const char* statement, Matcher<const std::string&> matcher, 149 virtual bool Create(const char* statement, in GTEST_DISABLE_MSC_WARNINGS_POP_() 157 bool Create(const char* statement, Matcher<const std::string&> matcher, 190 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ argument 192 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ 207 # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ argument 208 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) 214 #define GTEST_DEATH_TEST_(statement, predicate, regex_or_matcher, fail) \ argument 219 #statement, \ 235 GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, gtest_dt); \ [all …]
|