Home
last modified time | relevance | path

Searched refs:kFoo (Results 1 – 23 of 23) sorted by relevance

/external/openscreen/util/
Denum_name_table_unittest.cc14 enum class TestEnum { kFoo = -1, kBar, kBaz = 100, kBuzz }; enumerator
17 {"foo", TestEnum::kFoo},
24 {"foo", TestEnum::kFoo},
32 EXPECT_STREQ("foo", GetEnumName(kTestEnumNames, TestEnum::kFoo).value()); in TEST()
51 EXPECT_EQ(TestEnum::kFoo, GetEnum(kTestEnumNames, "foo").value()); in TEST()
/external/cronet/base/containers/
Dcontains_unittest.nc18 // `set.find(kFoo)` is ill-formed, since there is no implimit conversion from
20 // general purpose `base::ranges::find(set, kFoo)` linear search.
27 constexpr StringPiece kFoo = "foo";
29 Contains(set, kFoo);
Dcontains_unittest.cc39 constexpr StringPiece kFoo = "foo"; in TEST() local
43 EXPECT_TRUE(Contains(set, kFoo, identity{})); in TEST()
/external/compiler-rt/test/asan/TestCases/
Dmemcmp_strict_test.cc9 char kFoo[] = "foo"; in main() local
11 int res = memcmp(kFoo, kFubar, strlen(kFubar)); in main()
/external/libtextclassifier/native/utils/base/
Darena_test.cc372 const char kFoo[3] = {'f', 'o', 'o'}; in TestStrndupUnterminated() local
374 memcpy(source, kFoo, sizeof(kFoo)); in TestStrndupUnterminated()
376 char* dup = arena.Strndup(source, sizeof(kFoo)); in TestStrndupUnterminated()
377 TC3_CHECK_EQ(0, memcmp(dup, kFoo, sizeof(kFoo))); in TestStrndupUnterminated()
/external/google-breakpad/src/client/windows/unittests/
Dexception_handler_nesting_test.cc40 const char kFoo[] = "foo"; variable
176 ASSERT_DEATH(DoCrash(kFoo), in TEST()
178 std::string(kFoo) + in TEST()
/external/cronet/base/strings/
Dstring_util_unittest.cc1314 constexpr char kFoo[] = "Foo"; in TEST() local
1315 static_assert(MakeStringPiece(kFoo, kFoo + 3) == kFoo, ""); in TEST()
1316 static_assert(MakeStringPiece(kFoo, kFoo + 3).data() == kFoo, ""); in TEST()
1317 static_assert(MakeStringPiece(kFoo, kFoo + 3).size() == 3, ""); in TEST()
1318 static_assert(MakeStringPiece(kFoo + 3, kFoo + 3).empty(), ""); in TEST()
1319 static_assert(MakeStringPiece(kFoo + 4, kFoo + 4).empty(), ""); in TEST()
1321 std::string foo = kFoo; in TEST()
/external/tensorflow/tensorflow/lite/tools/serialization/
Dwriter_lib_test.cc145 constexpr float kFoo[] = {1, 2, 3}; in TEST_P() local
150 reinterpret_cast<const char*>(kFoo), sizeof(kFoo)); in TEST_P()
192 constexpr float kFoo[] = {1, 2, 3}; in TEST_P() local
197 reinterpret_cast<const char*>(kFoo), sizeof(kFoo)); in TEST_P()
/external/libchrome/mojo/core/
Dembedder_unittest.cc144 const std::string kFoo = "foo"; in TEST_F() local
145 WriteMessage(h0, kFoo); in TEST_F()
155 EXPECT_EQ(kFoo, ReadMessage(h1)); in TEST_F()
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dtest_structs.mojom68 const string kFoo = "foo";
82 string f13 = kFoo;
83 string? f14 = kFoo;
/external/skia/tests/
DFitsInTest.cpp18 kFoo, enumerator
/external/clang/test/CodeGenCXX/
Dreferences.cpp113 void * const & kFoo = foo; variable
/external/perfetto/src/tracing/
Dtraced_value_unittest.cc490 enum OldStyleEnum { kFoo, kBar }; enumerator
514 EXPECT_EQ(TracedValueToString(kFoo), "0"); in TEST()
/external/cronet/net/http/
Dhttp_network_transaction_unittest.cc166 const std::u16string kFoo(u"foo"); variable
1101 EXPECT_THAT(transaction.RestartWithAuth(AuthCredentials(kFoo, kBar), in TEST_F()
3012 rv = trans.RestartWithAuth(AuthCredentials(kFoo, kBar), callback2.callback()); in TEST_F()
3126 AuthCredentials(kFoo, kBar), callback2.callback()))); in TEST_F()
3212 rv = callback.GetResult(trans.RestartWithAuth(AuthCredentials(kFoo, kBar), in TEST_F()
3332 rv = trans.RestartWithAuth(AuthCredentials(kFoo, kBar), in TEST_F()
3421 rv = trans.RestartWithAuth(AuthCredentials(kFoo, kBar), callback2.callback()); in TEST_F()
3502 rv = trans.RestartWithAuth(AuthCredentials(kFoo, kBar), callback2.callback()); in TEST_F()
3588 rv = trans.RestartWithAuth(AuthCredentials(kFoo, kBar), callback2.callback()); in TEST_F()
3711 trans->RestartWithAuth(AuthCredentials(kFoo, kBar), callback2.callback()); in TEST_F()
[all …]
Dhttp_proxy_connect_job_unittest.cc791 const std::u16string kFoo(u"foo"); in TEST_P() local
799 "Basic realm=MyRealm1", AuthCredentials(kFoo, kBar), "/"); in TEST_P()
/external/webrtc/rtc_base/numerics/
Dsafe_minmax_unittest.cc149 enum DefaultE { kFoo = -17 }; enumerator
/external/cronet/net/spdy/
Dspdy_proxy_client_socket_unittest.cc174 const std::u16string kFoo(u"foo"); in AddAuthToCache() local
179 "Basic realm=MyRealm1", AuthCredentials(kFoo, kBar), "/"); in AddAuthToCache()
/external/perfetto/
DCHANGELOG28 metadata itself. For a field 'foo' the variable kFoo previously
30 `static constexpr FieldMetadata_Foo kFoo() = { return {}; };`
32 `static constexpr FieldMetadata_Foo kFoo;`
/external/cronet/net/socket/
Dssl_connect_job_unittest.cc156 const std::u16string kFoo(u"foo"); in AddAuthToCache() local
161 "Basic realm=MyRealm1", AuthCredentials(kFoo, kBar), "/"); in AddAuthToCache()
/external/cronet/net/quic/
Dquic_proxy_client_socket_unittest.cc735 const std::u16string kFoo(u"foo"); in TEST_P() local
740 "Basic realm=MyRealm1", AuthCredentials(kFoo, kBar), "/"); in TEST_P()
Dquic_network_transaction_unittest.cc7142 const std::u16string kFoo(u"foo"); in TEST_P() local
7294 int rv = trans.RestartWithAuth(AuthCredentials(kFoo, kBaz), in TEST_P()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dunittest.inc1116 kFoo = 1,
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.inc1128 kFoo = 1,