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

/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/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/libvpx/libvpx/third_party/googletest/src/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/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/ceres-solver/internal/ceres/
H A Dgmock_gtest_all.cc646 // but inconsistent (e.g., shard_index >= total_shards), prints
662 // method. Assumes that 0 <= shard_index < total_shards.
664 int total_shards, int shard_index, int test_id);
5603 // but inconsistent (i.e., shard_index >= total_shards), prints
5614 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); local
5617 if (total_shards == -1 && shard_index == -1) {
5619 } else if (total_shards == -1 && shard_index != -1) {
5627 } else if (total_shards != -1 && shard_index == -1) {
5630 << kTestTotalShards << " = " << total_shards
5635 } else if (shard_index < 0 || shard_index >= total_shards) {
5670 ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) argument
5682 const Int32 total_shards = shard_tests == HONOR_SHARDING_PROTOCOL ? local
[all...]

Completed in 246 milliseconds