/external/clang/test/Analysis/ |
padding_message.cpp | 135 virtual void foo() {} function in class:VirtualIntSandwich 173 struct Foo { 174 // expected-warning@+1{{Excessive padding in 'struct Foo<int>::Nested' (6 padding bytes, where 2 is optimal)}} 183 Foo<int>::Nested t1; 184 Foo<char>::Nested t2;
|
/external/clang/test/CodeGenCXX/ |
visibility-inlines-hidden.cpp | 71 inline void foo(); 77 a.foo(); 90 template <class T> inline void foo() {} function in namespace:test2::ns 91 extern template void foo<arg>(); 95 ns::foo<arg>(); 103 class Foo { 105 T foo(T x) { return x; } function in class:PR11642::Foo 107 extern template class Foo<int>; 108 template class Foo<int>; 115 inline void foo(void) function in namespace:test3 132 void foo() {} function in namespace:test4 [all...] |
/external/clang/test/SemaCXX/ |
warn-global-constructors.cpp | 83 struct Foo { 85 Foo(int x1) : x(x1) {} 87 void foo() { function in namespace:pr8095 88 static Foo a(0);
|
warn-unused-result.cpp | 37 int foo() __attribute__((warn_unused_result)); 42 x.foo(); // expected-warning {{ignoring return value}} 43 x2->foo(); // expected-warning {{ignoring return value}} 48 class Foo { 92 Foo f; 104 struct Foo { 111 Foo f; 120 auto foo(T) -> decltype(f(), bool()) { // Should not warn. 125 foo(1);
|
cxx1y-contextual-conversion-tweaks.cpp | 79 void foo(A0 a0, A1 a1, A2 a2, A3 a3, A4 a4, B2 b2) { function in namespace:extended_examples 137 void foo(A1 a1, A2 a2, B1 b1, B2 b2, C c, D d) { function in namespace:extended_examples_cxx1y 161 struct Foo { 167 Foo x; 174 //expected-error@168 {{ambiguous conversion of array size expression of type 'extended_examples_array_bounds::Foo' to an integral or enumeration type}}
|
/external/protobuf/src/google/protobuf/ |
drop_unknown_fields_test.cc | 41 using unittest_drop_unknown_fields::Foo; 52 Foo foo; local 53 ASSERT_TRUE(foo.ParseFromString(foo_with_extra_fields.SerializeAsString())); 54 EXPECT_EQ(1, foo.int32_value()); 56 static_cast<int>(foo.enum_value())); 59 EXPECT_TRUE(foo.GetReflection()->GetUnknownFields(foo).empty()); 61 ASSERT_TRUE(foo_with_extra_fields.ParseFromString(foo.SerializeAsString())); 75 google::protobuf::scoped_ptr<google::protobuf::Message> foo( [all...] |
/external/python/cpython2/Doc/includes/ |
mp_newtype.py | 15 class Foo(object): 17 print 'you called Foo.f()' 19 print 'you called Foo.g()' 21 print 'you called Foo._h()' 47 # register the Foo class; make `f()` and `g()` accessible via proxy 48 MyManager.register('Foo1', Foo) 50 # register the Foo class; make `g()` and `_h()` accessible via proxy 51 MyManager.register('Foo2', Foo, exposed=('g', '_h'))
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
FindMethodBindingObject.java | 38 public static Foo foo = new Foo(); field in class:FindMethodBindingObject 81 public static class Foo {
|
/prebuilts/go/darwin-x86/src/html/template/ |
html_test.go | 56 {"foo&bar", "foo&bar"}, 58 {"Foo <textarea>Bar</textarea> Baz", "Foo Bar Baz"}, 59 {"Foo <!-- Bar --> Baz", "Foo Baz"}, 61 {"foo < bar", "foo < bar"}, 62 {`Foo<script type="text/javascript">alert(1337)</script>Bar`, "FooBar"}, 63 {`Foo<div title="1>2">Bar`, "FooBar"} [all...] |
/prebuilts/go/linux-x86/src/html/template/ |
html_test.go | 56 {"foo&bar", "foo&bar"}, 58 {"Foo <textarea>Bar</textarea> Baz", "Foo Bar Baz"}, 59 {"Foo <!-- Bar --> Baz", "Foo Baz"}, 61 {"foo < bar", "foo < bar"}, 62 {`Foo<script type="text/javascript">alert(1337)</script>Bar`, "FooBar"}, 63 {`Foo<div title="1>2">Bar`, "FooBar"} [all...] |
/dalvik/dx/tests/118-find-usages/ |
Foo.java | 22 public final class Foo {
|
/external/annotation-tools/annotation-file-utilities/tests/system-test/source-plain/ |
AnnotationTest.java | 5 public class AnnotationTest<Foo extends Comparable<Integer>> {
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
fixed-expansion.cpp | 69 template <typename X, typename Y = double> struct Foo {}; 70 template <typename ...Args> tuple<Args...> &foo(Foo<Args...>); 72 void call_foo(Foo<int, float> foo_if, Foo<int> foo_i) { 73 tuple<int, float> &t1 = foo(foo_if); 74 tuple<int, double> &t2 = foo(foo_i); 130 template<typename... Args> struct foo { }; struct in namespace:PR18401 131 template<typename T, typename... Args> using bar = foo<T, Args...>; // expected-note 2{{template parameter is declared here}} expected-note {{'bar' declared here}} 135 void g() { f(foo<int, char, double>()); } // expected-error {{no matching function} [all...] |
/external/clang/test/Parser/ |
recovery.cpp | 34 constexpr int foo(); 124 template<typename T> struct Foo {}; 127 NS::Foo<int> missingSemiBeforeFunctionReturningTemplateId1(); 129 using NS::Foo; 131 Foo<int> missingSemiBeforeFunctionReturningTemplateId2(); 211 struct ::template foo, struct ::template bar; // expected-error 2 {{expected identifier}} expected-error 2 {{declaration of anonymous struct must be a definition}} expected-warning {{declaration does not declare anything}} member in namespace:MissingBrace::S::PR17084::TempID::InvalidEmptyNames 212 struct ::foo struct::; // expected-error {{no struct named 'foo' in the global namespace}} expected-error {{expected identifier}} expected-error {{declaration of anonymous struct must be a definition}}
|
/external/mockito/src/test/java/org/mockito/internal/configuration/plugins/ |
PluginLoaderTest.java | 71 when(initializer.loadImpl(Foo.class)).thenThrow(cause); 74 final Foo plugin = loader.loadPlugin(Foo.class); 83 .hasMessage("Could not initialize plugin: interface org.mockito.internal.configuration.plugins.PluginLoaderTest$Foo (alternate: null)") 89 static interface Foo {}
|
/frameworks/support/navigation/integration-tests/safeargs-testapp/src/testFoo/java/android/arch/navigation/integration/flavor/foo/ |
FlavorDestinationTest.java | 17 package android.arch.navigation.integration.flavor.foo; 23 import android.arch.navigation.safeargs.testapp.foo.MainFragmentDirections; 40 MainFragmentDirections.Foo directions = MainFragmentDirections.foo("foo", "some");
|
/external/guice/core/test/com/google/inject/ |
KeyTest.java | 51 public void foo(List<String> a, List<String> b) {} method in class:KeyTest 53 @Foo String baz; 57 Key<Object> k = Key.get(Object.class, Foo.class); 60 assertEquals(Foo.class, ki.getAnnotationType()); 64 Key<List<String>> a = new Key<List<String>>(Foo.class) {}; 65 Key<List<String>> b = Key.get(new TypeLiteral<List<String>>() {}, Foo.class); 70 Key<?> actual = Key.get(getClass().getMethod("foo", List.class, List.class) 79 Method m = getClass().getMethod("foo", List.class, List.class); 146 Foo instance = getClass().getDeclaredField("baz").getAnnotation(Foo.class) 288 final Object foo = new Object() { local [all...] |
/external/python/cpython3/Lib/test/ |
test_dynamicclassattribute.py | 151 def foo(self): member in class:PropertyTests.test_property___isabstractmethod__descriptor.C 153 foo.__isabstractmethod__ = val 154 foo = DynamicClassAttribute(foo) variable in class:PropertyTests.test_property___isabstractmethod__descriptor.C 155 self.assertIs(C.__dict__['foo'].__isabstractmethod__, bool(val)) 165 def foo(self): member in class:PropertyTests.test_property___isabstractmethod__descriptor.NotBool.C 167 foo.__isabstractmethod__ = NotBool() 168 foo = DynamicClassAttribute(foo) variable in class:PropertyTests.test_property___isabstractmethod__descriptor.NotBool.C 213 class Foo(object) [all...] |
test_property.py | 133 def foo(self): member in class:PropertyTests.test_property___isabstractmethod__descriptor.C 135 foo.__isabstractmethod__ = val 136 foo = property(foo) variable in class:PropertyTests.test_property___isabstractmethod__descriptor.C 137 self.assertIs(C.foo.__isabstractmethod__, bool(val)) 147 def foo(self): member in class:PropertyTests.test_property___isabstractmethod__descriptor.NotBool.C 149 foo.__isabstractmethod__ = NotBool() 150 foo = property(foo) variable in class:PropertyTests.test_property___isabstractmethod__descriptor.NotBool.C 151 C.foo.__isabstractmethod_ [all...] |
/art/test/918-fields/src/art/ |
Test918.java | 30 testField(Foo.class, "this$0"); 65 private class Foo {
|
/external/caliper/examples/src/main/java/examples/ |
DemoBenchmark.java | 33 @Param Foo foo; field in class:DemoBenchmark 38 enum Foo { 39 FOO, BAR, BAZ, QUX;
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
p5.cpp | 4 struct Foo { 8 bool Test(const int& foo); 10 const Foo f = { 0 }; // It compiles without the 'const'. 48 void foo(); 55 unsigned &t3 = (a->foo(), a->bitX); // expected-error {{non-const reference cannot bind to bit-field 'bitX'}}
|
/external/clang/test/CodeGen/ |
2002-07-14-MiscListTests.c | 24 void foo() { function 25 static int Foo = 0; // Test static local variable 26 Foo += 1; // Increment static variable
|
pass-object-size.c | 5 struct Foo { 39 struct Foo t[10]; 61 void test2(struct Foo *t) { 137 struct Foo t[10]; 159 void test4(struct Foo *t) { 180 struct Foo t[10]; 254 struct Foo t[10]; 276 void test8(struct Foo *t) {
|
/external/clang/test/Misc/ |
diagnostic-crash.cpp | 33 void Foo(); 35 void xxxxxxxxxxxxxxxxx::Foo() {
|