/external/google-breakpad/src/testing/gtest/test/ |
D | gtest_filter_unittest.py | 215 def RunWithSharding(total_shards, shard_index, command): argument 219 TOTAL_SHARDS_ENV_VAR: str(total_shards)} 287 def RunAndVerifyWithSharding(self, gtest_filter, total_shards, tests_to_run, argument 315 for i in range(0, total_shards): 316 (tests_run, exit_code) = RunWithSharding(total_shards, i, args)
|
/external/protobuf/gtest/test/ |
D | gtest_filter_unittest.py | 215 def RunWithSharding(total_shards, shard_index, command): argument 219 TOTAL_SHARDS_ENV_VAR: str(total_shards)} 287 def RunAndVerifyWithSharding(self, gtest_filter, total_shards, tests_to_run, argument 315 for i in range(0, total_shards): 316 (tests_run, exit_code) = RunWithSharding(total_shards, i, args)
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
D | gtest_filter_unittest.py | 215 def RunWithSharding(total_shards, shard_index, command): argument 219 TOTAL_SHARDS_ENV_VAR: str(total_shards)} 287 def RunAndVerifyWithSharding(self, gtest_filter, total_shards, tests_to_run, argument 315 for i in range(0, total_shards): 316 (tests_run, exit_code) = RunWithSharding(total_shards, i, args)
|
/external/v8/testing/gtest/test/ |
D | gtest_filter_unittest.py | 215 def RunWithSharding(total_shards, shard_index, command): argument 219 TOTAL_SHARDS_ENV_VAR: str(total_shards)} 287 def RunAndVerifyWithSharding(self, gtest_filter, total_shards, tests_to_run, argument 315 for i in range(0, total_shards): 316 (tests_run, exit_code) = RunWithSharding(total_shards, i, args)
|
/external/googletest/googletest/test/ |
D | gtest_filter_unittest.py | 218 def RunWithSharding(total_shards, shard_index, command): argument 222 TOTAL_SHARDS_ENV_VAR: str(total_shards)} 290 def RunAndVerifyWithSharding(self, gtest_filter, total_shards, tests_to_run, argument 318 for i in range(0, total_shards): 319 (tests_run, exit_code) = RunWithSharding(total_shards, i, args)
|
/external/protobuf/gtest/src/ |
D | gtest.cc | 4098 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in UnitTestImpl() local 4101 if (total_shards == -1 && shard_index == -1) { in UnitTestImpl() 4103 } else if (total_shards == -1 && shard_index != -1) { in UnitTestImpl() 4111 } else if (total_shards != -1 && shard_index == -1) { in UnitTestImpl() 4114 << kTestTotalShards << " = " << total_shards in UnitTestImpl() 4119 } else if (shard_index < 0 || shard_index >= total_shards) { in UnitTestImpl() 4124 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in UnitTestImpl() 4130 return total_shards > 1; in UnitTestImpl() 4154 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in UnitTestImpl() argument 4155 return (test_id % total_shards) == shard_index; in UnitTestImpl() [all …]
|
D | gtest-internal-inl.h | 262 int total_shards, int shard_index, int test_id);
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
D | gtest.cc | 4277 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local 4280 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4282 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4290 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4293 << kTestTotalShards << " = " << total_shards in ShouldShard() 4298 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4303 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard() 4309 return total_shards > 1; in ShouldShard() 4333 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument 4334 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard() [all …]
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest.cc | 4280 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local 4283 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4285 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4293 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4296 << kTestTotalShards << " = " << total_shards in ShouldShard() 4301 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4306 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard() 4312 return total_shards > 1; in ShouldShard() 4336 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument 4337 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard() [all …]
|
D | gtest-internal-inl.h | 269 int total_shards, int shard_index, int test_id);
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest.cc | 4342 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local 4345 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4347 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4355 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4358 << kTestTotalShards << " = " << total_shards in ShouldShard() 4363 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4368 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard() 4374 return total_shards > 1; in ShouldShard() 4398 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument 4399 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard() [all …]
|
D | gtest-internal-inl.h | 273 int total_shards, int shard_index, int test_id);
|
/external/mesa3d/src/gtest/src/ |
D | gtest.cc | 4388 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local 4391 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4393 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4401 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4404 << kTestTotalShards << " = " << total_shards in ShouldShard() 4409 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4414 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard() 4420 return total_shards > 1; in ShouldShard() 4444 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument 4445 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard() [all …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
D | gtest.cc | 4384 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local 4387 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4389 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4397 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4400 << kTestTotalShards << " = " << total_shards in ShouldShard() 4405 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4410 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard() 4416 return total_shards > 1; in ShouldShard() 4440 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument 4441 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard() [all …]
|
D | gtest-internal-inl.h | 275 int total_shards, int shard_index, int test_id);
|
/external/v8/testing/gtest/src/ |
D | gtest.cc | 4720 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local 4723 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4725 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4733 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4736 << kTestTotalShards << " = " << total_shards in ShouldShard() 4741 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4746 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard() 4752 return total_shards > 1; in ShouldShard() 4776 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument 4777 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard() [all …]
|
D | gtest-internal-inl.h | 276 int total_shards, int shard_index, int test_id);
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest.cc | 4722 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local 4725 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4727 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4735 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4738 << kTestTotalShards << " = " << total_shards in ShouldShard() 4743 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4748 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard() 4754 return total_shards > 1; in ShouldShard() 4778 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument 4779 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard() [all …]
|
D | gtest-internal-inl.h | 276 int total_shards, int shard_index, int test_id);
|
/external/googletest/googletest/src/ |
D | gtest.cc | 4721 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local 4724 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 4726 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 4734 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 4737 << kTestTotalShards << " = " << total_shards in ShouldShard() 4742 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 4747 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard() 4753 return total_shards > 1; in ShouldShard() 4777 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument 4778 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard() [all …]
|
D | gtest-internal-inl.h | 276 int total_shards, int shard_index, int test_id);
|
/external/protobuf/gtest/fused-src/gtest/ |
D | gtest-all.cc | 656 int total_shards, int shard_index, int test_id); 5438 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in UnitTestImpl() local 5441 if (total_shards == -1 && shard_index == -1) { in UnitTestImpl() 5443 } else if (total_shards == -1 && shard_index != -1) { in UnitTestImpl() 5451 } else if (total_shards != -1 && shard_index == -1) { in UnitTestImpl() 5454 << kTestTotalShards << " = " << total_shards in UnitTestImpl() 5459 } else if (shard_index < 0 || shard_index >= total_shards) { in UnitTestImpl() 5464 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in UnitTestImpl() 5470 return total_shards > 1; in UnitTestImpl() 5494 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in UnitTestImpl() argument [all …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/ |
D | gtest-all.cc | 676 int total_shards, int shard_index, int test_id); 5872 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local 5875 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 5877 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 5885 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 5888 << kTestTotalShards << " = " << total_shards in ShouldShard() 5893 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 5898 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard() 5904 return total_shards > 1; in ShouldShard() 5928 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument [all …]
|
/external/fmtlib/test/ |
D | gmock-gtest-all.cc | 676 int total_shards, int shard_index, int test_id); 5872 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local 5875 if (total_shards == -1 && shard_index == -1) { in ShouldShard() 5877 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard() 5885 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard() 5888 << kTestTotalShards << " = " << total_shards in ShouldShard() 5893 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard() 5898 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard() 5904 return total_shards > 1; in ShouldShard() 5928 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument [all …]
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-internal-inl.h | 266 int total_shards, int shard_index, int test_id);
|