/third_party/skia/src/core/ |
H A D | SkStrokerPriv.cpp | 48 static bool is_clockwise(const SkVector& before, const SkVector& after) { in is_clockwise() argument 49 return before.fX * after.fY > before.fY * after.fX; in is_clockwise() 70 static void HandleInnerJoin(SkPath* inner, const SkPoint& pivot, const SkVector& after) { in HandleInnerJoin() argument 81 inner->lineTo(pivot.fX - after.fX, pivot.fY - after.fY); in HandleInnerJoin() 87 SkVector after; in BluntJoiner() local 88 afterUnitNormal.scale(radius, &after); in BluntJoiner() 93 after.negate(); in BluntJoiner() 96 outer->lineTo(pivot.fX + after in BluntJoiner() 110 SkVector after = afterUnitNormal; RoundJoiner() local 145 SkVector after = afterUnitNormal; MiterJoiner() local [all...] |
/third_party/ltp/testcases/kernel/security/tomoyo/ |
H A D | tomoyo_policy_memory_test.c | 182 unsigned int after; in domain_policy_test() local 208 get_meminfo(&after); in domain_policy_test() 209 if (before == after) in domain_policy_test() 212 if (before != after) { in domain_policy_test() 213 printf("Policy: %d\n", after - before); in domain_policy_test() 229 get_meminfo(&after); in domain_policy_test() 230 if (before == after) in domain_policy_test() 233 if (before != after) { in domain_policy_test() 234 printf("Policy: %d\n", after - before); in domain_policy_test() 292 unsigned int after; in exception_policy_test() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
H A D | test-ot-collect-glyphs.c | 31 hb_ot_layout_lookup_collect_glyphs (face, tag, idx, before, input, after, output) \ 36 hb_set_clear (after); \ 46 hb_set_t *after = hb_set_create(); in test_ot_layout_lookup_collect_glyphs_source_sans() local 57 g_assert_cmpuint (0, ==, hb_set_get_population (after)); in test_ot_layout_lookup_collect_glyphs_source_sans() 73 g_assert_cmpuint (0, ==, hb_set_get_population (after)); in test_ot_layout_lookup_collect_glyphs_source_sans() 90 g_assert_cmpuint (0, ==, hb_set_get_population (after)); in test_ot_layout_lookup_collect_glyphs_source_sans() 107 g_assert_cmpuint (0, ==, hb_set_get_population (after)); in test_ot_layout_lookup_collect_glyphs_source_sans() 124 g_assert_cmpuint (2, ==, hb_set_get_population (after)); in test_ot_layout_lookup_collect_glyphs_source_sans() 126 g_assert (hb_set_next (after, &g)); in test_ot_layout_lookup_collect_glyphs_source_sans() 128 g_assert (hb_set_next (after, in test_ot_layout_lookup_collect_glyphs_source_sans() 226 hb_set_t *after = hb_set_create(); test_ot_layout_lookup_collect_glyphs_noto_nastaliq() local 374 hb_set_t *after = hb_set_create(); test_ot_layout_lookup_collect_glyphs_qahiri() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | local_single_block_elim.cpp | 72 const std::string after = in TEST_F() local 84 predefs_before + before, predefs_before + after, true, true); in TEST_F() 122 const std::string after = in TEST_F() local 134 predefs_before + before, predefs_before + after, true, true); in TEST_F() 211 const std::string after = in TEST_F() local 235 predefs + before, predefs + after, true, true); in TEST_F() 294 const std::string after = in TEST_F() local 307 predefs_before + before, predefs_before + after, true, true); in TEST_F() 391 const std::string after = in TEST_F() local 413 predefs + before, predefs + after, tru in TEST_F() [all...] |
H A D | insert_extract_elim_test.cpp | 92 const std::string after = in TEST_F() local 105 SinglePassRunAndCheck<SimplificationPass>(predefs + before, predefs + after, in TEST_F() 176 const std::string after = in TEST_F() local 190 SinglePassRunAndCheck<SimplificationPass>(predefs + before, predefs + after, in TEST_F() 256 const std::string after = in TEST_F() local 272 SinglePassRunAndCheck<SimplificationPass>(predefs + before, predefs + after, in TEST_F() 381 const std::string after = in TEST_F() local 401 SinglePassRunAndCheck<SimplificationPass>(predefs + before, predefs + after, in TEST_F() 577 const std::string after = in TEST_F() local 593 after_predefs + after, tru in TEST_F() 675 const std::string after = TEST_F() local 766 const std::string after = TEST_F() local 879 const std::string after = TEST_F() local [all...] |
H A D | dead_branch_elim_test.cpp | 89 const std::string after = in TEST_F() local 104 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 170 const std::string after = in TEST_F() local 185 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 245 const std::string after = in TEST_F() local 260 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 323 const std::string after = in TEST_F() local 342 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 405 const std::string after = in TEST_F() local 419 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 480 const std::string after = TEST_F() local 553 const std::string after = TEST_F() local 674 const std::string after = TEST_F() local 752 const std::string after = TEST_F() local [all...] |
H A D | cfg_cleanup_test.cpp | 123 const std::string after = R"(OpCapability Shader in TEST_F() local 149 SinglePassRunAndCheck<CFGCleanupPass>(before, after, true, true); in TEST_F() 196 const std::string after = R"(OpCapability Shader in TEST_F() local 235 SinglePassRunAndCheck<CFGCleanupPass>(before, after, true, true); in TEST_F() 256 const std::string after = R"(OpCapability Shader in TEST_F() local 270 SinglePassRunAndCheck<CFGCleanupPass>(before, after, true, true); in TEST_F() 323 const std::string after = R"(OpCapability Shader in TEST_F() local 370 SinglePassRunAndCheck<CFGCleanupPass>(before, after, true, true); in TEST_F() 416 const std::string after = R"(OpCapability Shader in TEST_F() local 451 SinglePassRunAndCheck<CFGCleanupPass>(before, after, tru in TEST_F() [all...] |
H A D | dead_variable_elim_test.cpp | 49 const std::string after = in TEST_F() local 69 SinglePassRunAndCheck<DeadVariableElimination>(before, after, true, true); in TEST_F() 127 const std::string after = in TEST_F() local 147 SinglePassRunAndCheck<DeadVariableElimination>(before, after, true, true); in TEST_F() 177 const std::string after = in TEST_F() local 200 SinglePassRunAndCheck<DeadVariableElimination>(before, after, true, true); in TEST_F() 266 const std::string after = in TEST_F() local 293 SinglePassRunAndCheck<DeadVariableElimination>(before, after, true, true); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | local_single_block_elim.cpp | 72 const std::string after = in TEST_F() local 84 predefs_before + before, predefs_before + after, true, true); in TEST_F() 122 const std::string after = in TEST_F() local 134 predefs_before + before, predefs_before + after, true, true); in TEST_F() 211 const std::string after = in TEST_F() local 235 predefs + before, predefs + after, true, true); in TEST_F() 294 const std::string after = in TEST_F() local 307 predefs_before + before, predefs_before + after, true, true); in TEST_F() 391 const std::string after = in TEST_F() local 413 predefs + before, predefs + after, tru in TEST_F() [all...] |
H A D | insert_extract_elim_test.cpp | 92 const std::string after = in TEST_F() local 105 SinglePassRunAndCheck<SimplificationPass>(predefs + before, predefs + after, in TEST_F() 176 const std::string after = in TEST_F() local 190 SinglePassRunAndCheck<SimplificationPass>(predefs + before, predefs + after, in TEST_F() 256 const std::string after = in TEST_F() local 272 SinglePassRunAndCheck<SimplificationPass>(predefs + before, predefs + after, in TEST_F() 381 const std::string after = in TEST_F() local 401 SinglePassRunAndCheck<SimplificationPass>(predefs + before, predefs + after, in TEST_F() 577 const std::string after = in TEST_F() local 593 after_predefs + after, tru in TEST_F() 675 const std::string after = TEST_F() local 766 const std::string after = TEST_F() local 879 const std::string after = TEST_F() local [all...] |
H A D | dead_branch_elim_test.cpp | 89 const std::string after = in TEST_F() local 104 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 170 const std::string after = in TEST_F() local 185 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 245 const std::string after = in TEST_F() local 260 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 323 const std::string after = in TEST_F() local 342 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 405 const std::string after = in TEST_F() local 419 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 480 const std::string after = TEST_F() local 553 const std::string after = TEST_F() local 674 const std::string after = TEST_F() local 752 const std::string after = TEST_F() local [all...] |
H A D | cfg_cleanup_test.cpp | 123 const std::string after = R"(OpCapability Shader in TEST_F() local 149 SinglePassRunAndCheck<CFGCleanupPass>(before, after, true, true); in TEST_F() 196 const std::string after = R"(OpCapability Shader in TEST_F() local 235 SinglePassRunAndCheck<CFGCleanupPass>(before, after, true, true); in TEST_F() 256 const std::string after = R"(OpCapability Shader in TEST_F() local 270 SinglePassRunAndCheck<CFGCleanupPass>(before, after, true, true); in TEST_F() 323 const std::string after = R"(OpCapability Shader in TEST_F() local 370 SinglePassRunAndCheck<CFGCleanupPass>(before, after, true, true); in TEST_F() 416 const std::string after = R"(OpCapability Shader in TEST_F() local 451 SinglePassRunAndCheck<CFGCleanupPass>(before, after, tru in TEST_F() [all...] |
H A D | dead_variable_elim_test.cpp | 49 const std::string after = in TEST_F() local 69 SinglePassRunAndCheck<DeadVariableElimination>(before, after, true, true); in TEST_F() 127 const std::string after = in TEST_F() local 147 SinglePassRunAndCheck<DeadVariableElimination>(before, after, true, true); in TEST_F() 177 const std::string after = in TEST_F() local 200 SinglePassRunAndCheck<DeadVariableElimination>(before, after, true, true); in TEST_F() 266 const std::string after = in TEST_F() local 293 SinglePassRunAndCheck<DeadVariableElimination>(before, after, true, true); in TEST_F()
|
/third_party/spirv-tools/test/opt/ |
H A D | local_single_block_elim.cpp | 72 const std::string after = in TEST_F() local 84 predefs_before + before, predefs_before + after, true, true); in TEST_F() 122 const std::string after = in TEST_F() local 134 predefs_before + before, predefs_before + after, true, true); in TEST_F() 211 const std::string after = in TEST_F() local 235 predefs + before, predefs + after, true, true); in TEST_F() 294 const std::string after = in TEST_F() local 307 predefs_before + before, predefs_before + after, true, true); in TEST_F() 391 const std::string after = in TEST_F() local 413 predefs + before, predefs + after, tru in TEST_F() [all...] |
H A D | insert_extract_elim_test.cpp | 92 const std::string after = in TEST_F() local 105 SinglePassRunAndCheck<SimplificationPass>(predefs + before, predefs + after, in TEST_F() 176 const std::string after = in TEST_F() local 190 SinglePassRunAndCheck<SimplificationPass>(predefs + before, predefs + after, in TEST_F() 256 const std::string after = in TEST_F() local 272 SinglePassRunAndCheck<SimplificationPass>(predefs + before, predefs + after, in TEST_F() 381 const std::string after = in TEST_F() local 401 SinglePassRunAndCheck<SimplificationPass>(predefs + before, predefs + after, in TEST_F() 577 const std::string after = in TEST_F() local 593 after_predefs + after, tru in TEST_F() 675 const std::string after = TEST_F() local 766 const std::string after = TEST_F() local 879 const std::string after = TEST_F() local [all...] |
H A D | dead_branch_elim_test.cpp | 89 const std::string after = in TEST_F() local 104 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 170 const std::string after = in TEST_F() local 185 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 245 const std::string after = in TEST_F() local 260 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 323 const std::string after = in TEST_F() local 342 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 405 const std::string after = in TEST_F() local 419 SinglePassRunAndCheck<DeadBranchElimPass>(predefs + before, predefs + after, in TEST_F() 480 const std::string after = TEST_F() local 553 const std::string after = TEST_F() local 674 const std::string after = TEST_F() local 752 const std::string after = TEST_F() local [all...] |
H A D | cfg_cleanup_test.cpp | 123 const std::string after = R"(OpCapability Shader in TEST_F() local 149 SinglePassRunAndCheck<CFGCleanupPass>(before, after, true, true); in TEST_F() 196 const std::string after = R"(OpCapability Shader in TEST_F() local 235 SinglePassRunAndCheck<CFGCleanupPass>(before, after, true, true); in TEST_F() 256 const std::string after = R"(OpCapability Shader in TEST_F() local 270 SinglePassRunAndCheck<CFGCleanupPass>(before, after, true, true); in TEST_F() 323 const std::string after = R"(OpCapability Shader in TEST_F() local 370 SinglePassRunAndCheck<CFGCleanupPass>(before, after, true, true); in TEST_F() 416 const std::string after = R"(OpCapability Shader in TEST_F() local 451 SinglePassRunAndCheck<CFGCleanupPass>(before, after, tru in TEST_F() [all...] |
H A D | dead_variable_elim_test.cpp | 49 const std::string after = in TEST_F() local 69 SinglePassRunAndCheck<DeadVariableElimination>(before, after, true, true); in TEST_F() 127 const std::string after = in TEST_F() local 147 SinglePassRunAndCheck<DeadVariableElimination>(before, after, true, true); in TEST_F() 177 const std::string after = in TEST_F() local 200 SinglePassRunAndCheck<DeadVariableElimination>(before, after, true, true); in TEST_F() 266 const std::string after = in TEST_F() local 293 SinglePassRunAndCheck<DeadVariableElimination>(before, after, true, true); in TEST_F()
|
/third_party/node/test/async-hooks/ |
H A D | test-tlswrap.js | 59 // TODO(@sam-github) This happens after onsecureConnect, with TLS1.3. 67 checkInvocations(svr, { init: 1, before: 1, after: 1 }, 70 checkInvocations(client, { init: 1, before: 2, after: 1 }, 78 checkInvocations(svr, { init: 1, before: 2, after: 1 }, 80 checkInvocations(client, { init: 1, before: 2, after: 2 }, 87 checkInvocations(svr, { init: 1, before: 2, after: 1 }, 89 checkInvocations(client, { init: 1, before: 2, after: 2 }, 94 checkInvocations(svr, { init: 1, before: 2, after: 2 }, 96 // TODO: why is client not destroyed here even after 5 ticks? 103 checkInvocations(client, { init: 1, before: 3, after [all...] |
H A D | test-tcpwrap.js | 72 // second then we see an 'after' here, otherwise not 74 { init: 1, before: 1, after: 1 } : 100 // and 'after' weren't invoked yet. Also @see ontcpConnection. 102 { init: 1, before: 1, after: 1 } : 132 checkInvocations(tcpserver, { init: 1, before: 1, after: 1, destroy: 1 }, 134 checkInvocations(tcp1, { init: 1, before: 2, after: 2, destroy: 1 }, 135 'tcp1 after server is closed'); 137 checkInvocations(tcp2, { init: 1, before: 1, after: 1 }, 141 checkInvocations(tcp2, { init: 1, before: 2, after: 2, destroy: 1 }, 143 checkInvocations(tcpconnect, { init: 1, before: 1, after [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_control_flow.c | 38 * after. 104 * We're trying to link an if to a block after it; this just means linking in link_non_block_to_block() 132 * We're trying to link a block to an if after it; this just means linking in link_block_to_non_block() 182 * some kind of cleanup *must* be performed after this call. 357 * "after" arguments are filled out with the blocks resulting from the split 367 nir_block *before, *after; in split_block_cursor() local 370 after = cursor.block; in split_block_cursor() 376 after = split_block_end(cursor.block); in split_block_cursor() 380 after = cursor.instr->block; in split_block_cursor() 386 * after in split_block_cursor() 412 insert_non_block(nir_block *before, nir_cf_node *node, nir_block *after) insert_non_block() argument 477 nir_cf_node *after = nir_cf_node_next(&loop->cf_node); nir_handle_add_jump() local 556 stitch_blocks(nir_block *before, nir_block *after) stitch_blocks() argument 595 nir_block *before, *after; nir_cf_node_insert() local 801 nir_block *before, *after; nir_cf_reinsert() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
H A D | uniform_real_distribution_test.cc | 135 absl::uniform_real_distribution<TypeParam> after(TypeParam(1.0), in TYPED_TEST() 138 EXPECT_NE(before.a(), after.a()); in TYPED_TEST() 139 EXPECT_NE(before.b(), after.b()); in TYPED_TEST() 140 EXPECT_NE(before.param(), after.param()); in TYPED_TEST() 141 EXPECT_NE(before, after); in TYPED_TEST() 143 ss >> after; in TYPED_TEST() local 145 EXPECT_EQ(before.a(), after.a()); in TYPED_TEST() 146 EXPECT_EQ(before.b(), after.b()); in TYPED_TEST() 147 EXPECT_EQ(before.param(), after.param()); in TYPED_TEST() 148 EXPECT_EQ(before, after); in TYPED_TEST() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | preserve_numeric_ids_test.cpp | 30 const std::string& before, std::string* after, in ToBinaryAndBack() 51 *after = std::string(text->str, text->length); in ToBinaryAndBack() 100 std::string after; in TEST() local 102 ToBinaryAndBack(before, &after, SPV_TEXT_TO_BINARY_OPTION_NONE, in TEST() 105 EXPECT_EQ(expected, after); in TEST() 149 std::string after; in TEST() local 151 ToBinaryAndBack(before, &after, in TEST() 155 EXPECT_EQ(expected, after); in TEST() 29 ToBinaryAndBack( const std::string& before, std::string* after, uint32_t text_to_binary_options = SPV_TEXT_TO_BINARY_OPTION_NONE, uint32_t binary_to_text_options = SPV_BINARY_TO_TEXT_OPTION_NONE, spv_target_env env = SPV_ENV_UNIVERSAL_1_0) ToBinaryAndBack() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | preserve_numeric_ids_test.cpp | 30 const std::string& before, std::string* after, in ToBinaryAndBack() 51 *after = std::string(text->str, text->length); in ToBinaryAndBack() 100 std::string after; in TEST() local 102 ToBinaryAndBack(before, &after, SPV_TEXT_TO_BINARY_OPTION_NONE, in TEST() 105 EXPECT_EQ(expected, after); in TEST() 149 std::string after; in TEST() local 151 ToBinaryAndBack(before, &after, in TEST() 155 EXPECT_EQ(expected, after); in TEST() 29 ToBinaryAndBack( const std::string& before, std::string* after, uint32_t text_to_binary_options = SPV_TEXT_TO_BINARY_OPTION_NONE, uint32_t binary_to_text_options = SPV_BINARY_TO_TEXT_OPTION_NONE, spv_target_env env = SPV_ENV_UNIVERSAL_1_0) ToBinaryAndBack() argument
|
/third_party/spirv-tools/test/ |
H A D | preserve_numeric_ids_test.cpp | 30 const std::string& before, std::string* after, in ToBinaryAndBack() 51 *after = std::string(text->str, text->length); in ToBinaryAndBack() 100 std::string after; in TEST() local 102 ToBinaryAndBack(before, &after, SPV_TEXT_TO_BINARY_OPTION_NONE, in TEST() 105 EXPECT_EQ(expected, after); in TEST() 149 std::string after; in TEST() local 151 ToBinaryAndBack(before, &after, in TEST() 155 EXPECT_EQ(expected, after); in TEST() 29 ToBinaryAndBack( const std::string& before, std::string* after, uint32_t text_to_binary_options = SPV_TEXT_TO_BINARY_OPTION_NONE, uint32_t binary_to_text_options = SPV_BINARY_TO_TEXT_OPTION_NONE, spv_target_env env = SPV_ENV_UNIVERSAL_1_0) ToBinaryAndBack() argument
|