Searched defs:total_shards (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/base/test/
H A Dtest_launcher.cc67 // but inconsistent (i.e., shard_index >= total_shards), prints
69 void InitSharding(int32* total_shards, int32* shard_index) { argument
70 *total_shards = Int32FromEnvOrDie(kTestTotalShards, 1);
73 if (*total_shards == -1 && *shard_index != -1) {
78 } else if (*total_shards != -1 && *shard_index == -1) {
80 << kTestTotalShards << " = " << *total_shards
83 } else if (*shard_index < 0 || *shard_index >= *total_shards) {
87 << ", " << kTestTotalShards << "=" << *total_shards << ".\n"; local
95 // method. Assumes that 0 <= shard_index < total_shards, which is first
97 bool ShouldRunTestOnShard(int total_shards, in argument
258 RunTests(TestLauncherDelegate* launcher_delegate, int total_shards, int shard_index) argument
428 int32 total_shards; local
[all...]
/external/chromium/testing/gtest/src/
H A Dgtest.cc4299 // but inconsistent (i.e., shard_index >= total_shards), prints
4310 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4313 if (total_shards == -1 && shard_index == -1) {
4315 } else if (total_shards == -1 && shard_index != -1) {
4323 } else if (total_shards != -1 && shard_index == -1) {
4326 << kTestTotalShards << " = " << total_shards
4331 } else if (shard_index < 0 || shard_index >= total_shards) {
4336 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4342 return total_shards > 1;
4365 // method. Assumes that 0 <= shard_index < total_shards
4366 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4378 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/chromium_org/testing/gtest/src/
H A Dgtest.cc4239 // but inconsistent (i.e., shard_index >= total_shards), prints
4250 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4253 if (total_shards == -1 && shard_index == -1) {
4255 } else if (total_shards == -1 && shard_index != -1) {
4263 } else if (total_shards != -1 && shard_index == -1) {
4266 << kTestTotalShards << " = " << total_shards
4271 } else if (shard_index < 0 || shard_index >= total_shards) {
4276 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4282 return total_shards > 1;
4305 // method. Assumes that 0 <= shard_index < total_shards
4306 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4318 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/chromium_org/third_party/mesa/src/src/gtest/src/
H A Dgtest.cc4299 // but inconsistent (i.e., shard_index >= total_shards), prints
4310 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4313 if (total_shards == -1 && shard_index == -1) {
4315 } else if (total_shards == -1 && shard_index != -1) {
4323 } else if (total_shards != -1 && shard_index == -1) {
4326 << kTestTotalShards << " = " << total_shards
4331 } else if (shard_index < 0 || shard_index >= total_shards) {
4336 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4342 return total_shards > 1;
4365 // method. Assumes that 0 <= shard_index < total_shards
4366 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4378 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/gtest/src/
H A Dgtest.cc4299 // but inconsistent (i.e., shard_index >= total_shards), prints
4310 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4313 if (total_shards == -1 && shard_index == -1) {
4315 } else if (total_shards == -1 && shard_index != -1) {
4323 } else if (total_shards != -1 && shard_index == -1) {
4326 << kTestTotalShards << " = " << total_shards
4331 } else if (shard_index < 0 || shard_index >= total_shards) {
4336 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4342 return total_shards > 1;
4365 // method. Assumes that 0 <= shard_index < total_shards
4366 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4378 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/llvm/utils/unittest/googletest/
H A Dgtest.cc4267 // but inconsistent (i.e., shard_index >= total_shards), prints
4278 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4281 if (total_shards == -1 && shard_index == -1) {
4283 } else if (total_shards == -1 && shard_index != -1) {
4291 } else if (total_shards != -1 && shard_index == -1) {
4294 << kTestTotalShards << " = " << total_shards
4299 } else if (shard_index < 0 || shard_index >= total_shards) {
4304 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4310 return total_shards > 1;
4333 // method. Assumes that 0 <= shard_index < total_shards
4334 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4346 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/mesa3d/src/gtest/src/
H A Dgtest.cc4299 // but inconsistent (i.e., shard_index >= total_shards), prints
4310 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4313 if (total_shards == -1 && shard_index == -1) {
4315 } else if (total_shards == -1 && shard_index != -1) {
4323 } else if (total_shards != -1 && shard_index == -1) {
4326 << kTestTotalShards << " = " << total_shards
4331 } else if (shard_index < 0 || shard_index >= total_shards) {
4336 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4342 return total_shards > 1;
4365 // method. Assumes that 0 <= shard_index < total_shards
4366 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4378 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/open-vcdiff/gtest/src/
H A Dgtest.cc4088 // but inconsistent (i.e., shard_index >= total_shards), prints
4099 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4102 if (total_shards == -1 && shard_index == -1) {
4104 } else if (total_shards == -1 && shard_index != -1) {
4112 } else if (total_shards != -1 && shard_index == -1) {
4115 << kTestTotalShards << " = " << total_shards
4120 } else if (shard_index < 0 || shard_index >= total_shards) {
4125 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4131 return total_shards > 1;
4154 // method. Assumes that 0 <= shard_index < total_shards
4155 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4167 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/protobuf/gtest/src/
H A Dgtest.cc4057 // but inconsistent (i.e., shard_index >= total_shards), prints
4068 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
4071 if (total_shards == -1 && shard_index == -1) {
4073 } else if (total_shards == -1 && shard_index != -1) {
4081 } else if (total_shards != -1 && shard_index == -1) {
4084 << kTestTotalShards << " = " << total_shards
4089 } else if (shard_index < 0 || shard_index >= total_shards) {
4094 << ", " << kTestTotalShards << "=" << total_shards << ".\n";
4100 return total_shards > 1;
4123 // method. Assumes that 0 <= shard_index < total_shards
4124 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
4136 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]
/external/libvpx/libvpx/third_party/googletest/src/src/
H A Dgtest-all.cc658 // but inconsistent (e.g., shard_index >= total_shards), prints
674 // method. Assumes that 0 <= shard_index < total_shards.
676 int total_shards, int shard_index, int test_id);
5861 // but inconsistent (i.e., shard_index >= total_shards), prints
5872 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
5875 if (total_shards == -1 && shard_index == -1) {
5877 } else if (total_shards == -1 && shard_index != -1) {
5885 } else if (total_shards != -1 && shard_index == -1) {
5888 << kTestTotalShards << " = " << total_shards
5893 } else if (shard_index < 0 || shard_index >= total_shards) {
5928 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
5940 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]

Completed in 1140 milliseconds