HomeSort by relevance Sort by last modified time
    Searched refs:Foo (Results 251 - 275 of 895) sorted by null

<<11121314151617181920>>

  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/nodes/
TagsTest.java 39 Foo foo = new Foo(); local
40 String output = yaml.dump(foo);
42 Foo foo2 = (Foo) yaml.load(output);
46 public static class Foo {
  /libcore/benchmarks/src/benchmarks/
ArrayIterationBenchmark.java 23 Foo[] mArray = new Foo[27];
25 for (int i = 0; i < mArray.length; ++i) mArray[i] = new Foo();
38 Foo[] localArray = mArray;
49 for (Foo a: mArray) {
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/
ShadowWranglerTest.java 37 Foo foo = new Foo(name); local
38 assertEquals(ShadowFoo_WithDefaultConstructorAndNoConstructorDelegate.class, Robolectric.shadowOf_(foo).getClass());
45 Foo foo = new Foo(name); local
46 assertSame(name, shadowOf(foo).name);
47 assertSame(foo, shadowOf(foo).realFooCtor)
54 Foo foo = new Foo(name); local
66 Foo foo = new Foo(name); local
83 Foo foo = new Foo(name); local
91 Foo foo = new Foo(name); local
126 Foo foo = new Foo(null); local
157 Foo foo = new Foo(null); local
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue17645.go 9 type Foo struct {
15 var _ string = append(s, Foo{""}) // ERROR "cannot use .. \(type string\) as type int in field value" "cannot use Foo literal \(type Foo\) as type int in append" "cannot use append\(s\, Foo literal\) \(type \[\]int\) as type string in assignment"
  /prebuilts/go/linux-x86/test/fixedbugs/
issue17645.go 9 type Foo struct {
15 var _ string = append(s, Foo{""}) // ERROR "cannot use .. \(type string\) as type int in field value" "cannot use Foo literal \(type Foo\) as type int in append" "cannot use append\(s\, Foo literal\) \(type \[\]int\) as type string in assignment"
  /external/libchrome/base/
task_runner_util_unittest.cc 33 struct Foo {
34 ~Foo() {
39 std::unique_ptr<Foo> CreateFoo() {
40 return std::unique_ptr<Foo>(new Foo);
43 void ExpectFoo(std::unique_ptr<Foo> foo) {
44 EXPECT_TRUE(foo.get());
45 std::unique_ptr<Foo> local_foo(std::move(foo));
    [all...]
  /external/guice/core/test/com/google/inject/
DuplicateBindingsTest.java 46 private FooImpl foo = new FooImpl(); field in class:DuplicateBindingsTest
47 private Provider<Foo> pFoo = Providers.<Foo>of(new FooImpl());
48 private Class<? extends Provider<? extends Foo>> pclFoo = FooProvider.class;
49 private Class<? extends Foo> clFoo = FooImpl.class;
54 new SimpleModule(foo, pFoo, pclFoo, clFoo, cFoo),
55 new SimpleModule(foo, pFoo, pclFoo, clFoo, cFoo)
61 assertTrue(bindings.remove(Key.get(Foo.class, named("instance"))));
62 assertTrue(bindings.remove(Key.get(Foo.class, named("pInstance"))));
63 assertTrue(bindings.remove(Key.get(Foo.class, named("pKey"))))
345 protected final FooImpl foo; field in class:DuplicateBindingsTest.FooModule
384 @Provides Foo foo() { method in class:DuplicateBindingsTest.FailedModule
392 @Provides Foo foo() { method in class:DuplicateBindingsTest.FailingProviderModule
400 @Provides @Named("providerMethod") Foo foo() { method in class:DuplicateBindingsTest.SimpleProviderModule
    [all...]
NullableInjectionPointTest.java 51 " but " + FooField.class.getName() + ".foo is not @Nullable");
60 assertNull(createInjector().getInstance(Foo.class));
66 assertNull(nfc.foo);
72 assertNull(nfm.foo);
78 assertNull(nff.foo);
84 assertNull(nfc.foo);
90 assertNull(nfm.foo);
96 assertNull(nff.foo);
103 bind(Foo.class).toProvider(new Provider<Foo>() {
    [all...]
  /external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
make_shared.pass.cpp 42 struct Foo
44 Foo() = default;
45 virtual ~Foo() = default;
63 std::shared_ptr<Foo> p1 = std::make_shared<Foo>();
65 std::shared_ptr<const Foo> p2 = std::make_shared<const Foo>();
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
ContentHandlerTest.java 35 Class[] classes = { Foo.class, String.class, };
37 ((ContentHandlerImpl) handler).setContent(new Foo());
39 assertEquals("Foo", ((Foo) content).getFoo());
43 assertEquals("FooSub", ((Foo) content).getFoo());
46 ((ContentHandlerImpl) handler).setContent(new Foo());
66 class Foo {
68 return "Foo";
72 class FooSub extends Foo {
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
make_shared.pass.cpp 41 struct Foo
43 Foo() = default;
44 virtual ~Foo() = default;
62 std::shared_ptr<Foo> p1 = std::make_shared<Foo>();
64 std::shared_ptr<const Foo> p2 = std::make_shared<const Foo>();
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/
LongTest.java 30 Foo foo = new Foo(); local
31 String output = yaml.dump(foo);
40 public static class Foo {
59 Foo foo = new Foo(); local
60 String output = yaml.dump(foo);
62 Foo foo2 = (Foo) yaml.load(output)
    [all...]
  /external/clang/test/CodeGenCXX/
array-value-initialize.cpp 11 struct Foo {
12 Foo(void) : bar_(), dbar_(), sbar_() {
26 Foo a;
debug-info-decl-nested.cpp 13 class Foo;
23 OuterClass(const Foo *); // line 10
30 OuterClass::OuterClass(const Foo *meta) { } // line 13
debug-info-explicit-cast.cpp 4 struct Foo {
6 Foo() : A(1){};
37 return reinterpret_cast<Foo *>(PB)->A + reinterpret_cast<Quux *>(0)->E;
40 // CHECK-DAG: !DICompositeType(tag: DW_TAG_structure_type, name: "Foo",
member-expressions.cpp 24 enum E { Foo };
30 A::E e1 = a->Foo;
33 A::E e2 = g()->Foo;
36 A::E e3 = A().Foo;
41 static int foo();
44 return A().foo();
54 void foo();
68 c_ptr->B::foo();
pr24097.cpp 4 virtual void Foo();
  /external/clang/test/SemaCXX/
i-c-e-cxx.cpp 27 class Foo {
32 const int Foo::kBar = 20;
35 char str[Foo::kBar];
54 int foo() { return A::B; } function in namespace:rdar9204520
  /external/clang/test/SemaTemplate/
instantiate-deeply.cpp 26 class Foo {
28 Foo() {}
37 template class Foo<int>;
  /external/compiler-rt/test/asan/TestCases/Linux/
init-order-dlopen.cc 26 struct Foo {
27 Foo() : val(42) { printf("Foo::Foo()\n"); }
31 Foo global_foo;
  /external/mockito/src/test/java/org/mockitousage/bugs/varargs/
VarargsErrorWhenCallingRealMethodTest.java 16 class Foo {
24 Foo foo = mock(Foo.class); local
26 when(foo.blah(anyString(), anyString())).thenCallRealMethod();
28 assertEquals(1, foo.blah("foo", "bar"));
  /external/protobuf/gtest/test/
gtest_list_tests_unittest_.cc 46 TEST(Foo, Bar1) {
49 TEST(Foo, Bar2) {
52 TEST(Foo, DISABLED_Bar3) {
  /external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
ManyConstructorsTest.java 40 Foo noIndex = factory.create("no index");
43 Foo index = factory.create("index", 1);
56 Foo noIndex = factory.create("no index");
59 Foo index = factory.create(1, "index");
62 Foo index2 = factory.create("index", 2);
72 .implement(Bar.class, Foo.class)
93 Foo noIndex = factory.create("no index");
104 Foo index = factory2.create("index", 1);
115 .implement(Foo.class, TooManyMatches.class)
137 Asserts.assertContains(expected.getMessage(), "1) " + Foo.class.getName(
    [all...]
  /external/clang/include/clang/Sema/
SemaFixItUtils.h 62 ConversionFixItGenerator(TypeComparisonFuncTy Foo): NumConversionsFixed(0),
64 CompareTypes(Foo) {}
71 void setConversionChecker(TypeComparisonFuncTy Foo) {
72 CompareTypes = Foo;
  /external/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/
p3.cpp 33 void Foo(R (*fp)());
36 Foo(Func<int>);
49 int Foo(Bar *b, void (*Baz)(const T &t), T * = 0) {
56 return Foo<T>(b, quuz);

Completed in 822 milliseconds

<<11121314151617181920>>