/tools/security/gdb/gdb_json_printer/test_examples/ |
D | objects.cpp | 34 Foo *foo = new Foo(); in main() local 36 foo->bar = bar; in main() 37 delete foo; in main() 41 std::unique_ptr<Foo> foo = std::make_unique<Foo>(); in main() local 43 foo->bar = bar.get(); in main() 44 foo->bar->b++; in main() 47 std::shared_ptr<Foo> foo = std::make_shared<Foo>(); in main() local 49 foo->bar = bar.get(); in main() 50 foo->bar->b++; in main()
|
D | objects1.cpp | 26 Foo *foo = nullptr; member in Bar 37 Foo *foo = new Foo(); in main() local 39 foo->bar = bar; in main() 40 bar->foo = foo; in main() 41 delete foo; in main()
|
D | array.cpp | 35 Foo foo[3]; in main() local 37 foo[0].bar = &bar[0]; in main() 38 foo[1].bar = &bar[1]; in main() 39 foo[2].bar = &bar[2]; in main() 40 Foo& foo1 = foo[0]; in main()
|
D | reference.cpp | 33 Foo foo; in main() local 35 foo.bar = &bar; in main() 36 Foo &foo_ref = foo; in main() 38 Foo *foo_ptr = &foo; in main()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | SignatureInputOutputTest.kt | 87 val foo = codebase.assertClass("test.pkg.Foo") in <lambda>() constant 88 assertThat(foo.constructors()).hasSize(1) in <lambda>() 89 val ctor = foo.constructors().single() in <lambda>() 106 val foo = codebase.assertClass("test.pkg.Foo") in <lambda>() constant 107 assertThat(foo.properties()).hasSize(1) in <lambda>() 109 val prop = foo.properties().single() in <lambda>() 128 val foo = codebase.assertClass("test.pkg.Foo") in <lambda>() constant 129 assertThat(foo.fields()).hasSize(1) in <lambda>() 131 val field = foo.fields().single() in <lambda>() 151 val foo = codebase.assertClass("test.pkg.Foo") in <lambda>() constant [all …]
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ExtraFieldTest.java | 98 StoredEntry foo = zf.get("foo"); in readEntryWithNoExtraField() local 99 assertNotNull(foo); in readEntryWithNoExtraField() 100 assertEquals(3, foo.getCentralDirectoryHeader().getUncompressedSize()); in readEntryWithNoExtraField() 101 assertEquals(0, mExtraFieldGetter.apply(foo).size()); in readEntryWithNoExtraField() 126 StoredEntry foo = zf.get("foo"); in readSingleExtraField() local 127 assertNotNull(foo); in readSingleExtraField() 128 assertEquals(3, foo.getCentralDirectoryHeader().getUncompressedSize()); in readSingleExtraField() 129 assertEquals(8, mExtraFieldGetter.apply(foo).size()); in readSingleExtraField() 130 ImmutableList<ExtraField.Segment> segments = mExtraFieldGetter.apply(foo).getSegments(); in readSingleExtraField() 173 StoredEntry foo = zf.get("foo"); in readMultipleExtraFields() local [all …]
|
D | ZipMergeTest.java | 94 File foo = mTemporaryFolder.newFile("foo"); in mergeZipWithDeferredCrc() local 98 try (ZipOutputStream fooOut = new ZipOutputStream(new FileOutputStream(foo))) { in mergeZipWithDeferredCrc() 104 ZFile fooZf = closer.register(new ZFile(foo)); in mergeZipWithDeferredCrc() 125 File foo = mTemporaryFolder.newFile("foo"); in mergeZipKeepsDeflatedAndStored() local 130 try (ZipOutputStream fooOut = new ZipOutputStream(new FileOutputStream(foo))) { in mergeZipKeepsDeflatedAndStored() 142 ZFile fooZf = closer.register(new ZFile(foo)); in mergeZipKeepsDeflatedAndStored() 173 File foo = mTemporaryFolder.newFile("foo"); in mergeZipWithSorting() local 178 try (ZipOutputStream fooOut = new ZipOutputStream(new FileOutputStream(foo))) { in mergeZipWithSorting() 190 ZFile fooZf = new ZFile(foo); in mergeZipWithSorting()
|
D | ZFileNotificationTest.java | 129 StoredEntry foo = zf.get("foo"); in notifyAddFile() local 130 assertNotNull(foo); in notifyAddFile() 132 assertSame(foo, addedSe); in notifyAddFile() 148 StoredEntry foo = zf.get("foo"); in notifyRemoveFile() local 149 assertNotNull(foo); in notifyRemoveFile() 151 foo.delete(); in notifyRemoveFile() 153 assertSame(foo, kl.removed.get(0)); in notifyRemoveFile()
|
/tools/dexter/testdata/expected/ |
D | mi.sign_exit_hook | 12 method Base.foo(int, java.lang.String):int 43 method Target.foo(int, java.lang.String):int 51 2| invoke-virtual {v0,v3,v4}, Base.foo(int, java.lang.String):int 60 method Target.foo(int, java.lang.String[][]):java.lang.Integer 68 2| const-string v1, "foo" 69 4| invoke-virtual {v0,v3,v1}, Base.foo(int, java.lang.String):int 77 18| const-string v0, "Target->foo(I[[Ljava/lang/String;)Ljava/lang/Integer;"
|
D | mi.rewrite | 12 method Base.foo(int, java.lang.String):int 43 method Target.foo(int, java.lang.String):int 51 2| invoke-virtual {v0,v3,v4}, Base.foo(int, java.lang.String):int 60 method Target.foo(int, java.lang.String[][]):java.lang.Integer 68 2| const-string v1, "foo" 69 4| invoke-virtual {v0,v3,v1}, Base.foo(int, java.lang.String):int
|
D | mi.object_exit_hook | 12 method Base.foo(int, java.lang.String):int 43 method Target.foo(int, java.lang.String):int 51 2| invoke-virtual {v0,v3,v4}, Base.foo(int, java.lang.String):int 60 method Target.foo(int, java.lang.String[][]):java.lang.Integer 68 2| const-string v1, "foo" 69 4| invoke-virtual {v0,v3,v1}, Base.foo(int, java.lang.String):int
|
D | mi.compact_cfg | 14 method Base.foo(int, java.lang.String):int 49 method Target.foo(int, java.lang.String):int 58 2| invoke-virtual {v0,v3,v4}, Base.foo(int, java.lang.String):int 68 method Target.foo(int, java.lang.String[][]):java.lang.Integer 77 2| const-string v1, "foo" 78 4| invoke-virtual {v0,v3,v1}, Base.foo(int, java.lang.String):int
|
D | mi.asm | 12 method Base.foo(int, java.lang.String):int 43 method Target.foo(int, java.lang.String):int 51 2| invoke-virtual {v0,v3,v4}, Base.foo(int, java.lang.String):int 60 method Target.foo(int, java.lang.String[][]):java.lang.Integer 69 4| invoke-virtual {v0,v3,v1}, Base.foo(int, java.lang.String):int
|
D | mi.array_entry_hook | 12 method Base.foo(int, java.lang.String):int 43 method Target.foo(int, java.lang.String):int 52 5| const-string v2, "Target->foo(ILjava/lang/String;)I" 71 54| invoke-virtual {v0,v3,v4}, Base.foo(int, java.lang.String):int 80 method Target.foo(int, java.lang.String[][]):java.lang.Integer 89 5| const-string v2, "Target->foo(I[[Ljava/lang/String;)Ljava/lang/Integer;" 108 54| const-string v1, "foo" 109 56| invoke-virtual {v0,v3,v1}, Base.foo(int, java.lang.String):int
|
D | mi.verbose_cfg | 16 method Base.foo(int, java.lang.String):int 57 method Target.foo(int, java.lang.String):int 68 2| invoke-virtual {v0,v3,v4}, Base.foo(int, java.lang.String):int 84 method Target.foo(int, java.lang.String[][]):java.lang.Integer 95 2| const-string v1, "foo" 98 4| invoke-virtual {v0,v3,v1}, Base.foo(int, java.lang.String):int
|
D | mi.scratch_regs | 15 method Base.foo(int, java.lang.String):int 64 method Target.foo(int, java.lang.String):int 81 29| invoke-virtual {v9,v12,v13}, Base.foo(int, java.lang.String):int 90 method Target.foo(int, java.lang.String[][]):java.lang.Integer 107 29| const-string v10, "foo" 108 31| invoke-virtual {v9,v12,v10}, Base.foo(int, java.lang.String):int
|
D | mi.code_coverage | 35 method Base.foo(int, java.lang.String):int 76 method Target.foo(int, java.lang.String):int 88 14| invoke-virtual {v1,v4,v5}, Base.foo(int, java.lang.String):int 103 method Target.foo(int, java.lang.String[][]):java.lang.Integer 115 14| const-string v2, "foo" 118 22| invoke-virtual {v1,v4,v2}, Base.foo(int, java.lang.String):int
|
D | mi.mi | 12 method Base.foo(int, java.lang.String):int 43 method Target.foo(int, java.lang.String):int 64 method Target.foo(int, java.lang.String[][]):java.lang.Integer 74 8| const-string v1, "foo"
|
D | entry_hooks.asm | 15 method Base.foo(int, java.lang.String):int 68 method Derived.foo(int, java.lang.String):int 184 24| invoke-virtual {v1,v2,v3}, Target.foo(int, java.lang.String):int 191 method Target.foo(int):int 208 method Target.foo(int, int):int 227 method Target.foo(int, java.lang.String):int 257 17| invoke-virtual {v6,v7,v8}, Base.foo(int, java.lang.String):int 272 method Target.foo(int, java.lang.String, java.lang.String):int 293 method Target.foo(int, java.lang.String[]):int 312 method Target.foo(int, java.lang.String[][]):java.lang.Integer [all …]
|
D | entry_hooks.rewrite | 15 method Base.foo(int, java.lang.String):int 29 5| const-string v4, "Base.foo(%d, '%s')\n" 68 method Derived.foo(int, java.lang.String):int 82 5| const-string v4, "Derived.foo(%d, '%s')\n" 184 24| invoke-virtual {v1,v2,v3}, Target.foo(int, java.lang.String):int 191 method Target.foo(int):int 208 method Target.foo(int, int):int 227 method Target.foo(int, java.lang.String):int 257 17| invoke-virtual {v6,v7,v8}, Base.foo(int, java.lang.String):int 272 method Target.foo(int, java.lang.String, java.lang.String):int [all …]
|
D | entry_hooks.entry_hook | 16 method Base.foo(int, java.lang.String):int 31 8| const-string v4, "Base.foo(%d, '%s')\n" 71 method Derived.foo(int, java.lang.String):int 86 8| const-string v4, "Derived.foo(%d, '%s')\n" 191 27| invoke-virtual {v1,v2,v3}, Target.foo(int, java.lang.String):int 198 method Target.foo(int):int 216 method Target.foo(int, int):int 236 method Target.foo(int, java.lang.String):int 267 20| invoke-virtual {v6,v7,v8}, Base.foo(int, java.lang.String):int 282 method Target.foo(int, java.lang.String, java.lang.String):int [all …]
|
D | entry_hooks.compact_cfg | 17 method Base.foo(int, java.lang.String):int 32 5| const-string v4, "Base.foo(%d, '%s')\n" 74 method Derived.foo(int, java.lang.String):int 89 5| const-string v4, "Derived.foo(%d, '%s')\n" 197 24| invoke-virtual {v1,v2,v3}, Target.foo(int, java.lang.String):int 205 method Target.foo(int):int 224 method Target.foo(int, int):int 245 method Target.foo(int, java.lang.String):int 280 17| invoke-virtual {v6,v7,v8}, Base.foo(int, java.lang.String):int 298 method Target.foo(int, java.lang.String, java.lang.String):int [all …]
|
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/ |
D | TextTypeParserCacheTest.kt | 165 val foo = codebase.assertClass("test.pkg.Foo") in <lambda>() constant 166 assertThat(foo.methods()).hasSize(4) in <lambda>() 168 val bar1Param = foo.methods()[0].parameters()[0].type() in <lambda>() 169 val bar2Param = foo.methods()[1].parameters()[0].type() in <lambda>() 174 val bar3Param = foo.methods()[2].parameters()[0].type() in <lambda>() 175 val bar4Param = foo.methods()[3].parameters()[0].type() in <lambda>() 198 val foo = codebase.assertClass("test.pkg.Foo") in <lambda>() constant 201 val (bar1Param, bar2Param, bar3Param) = foo.methods().map { it.parameters()[0].type() } in <lambda>() 229 val foo = codebase.assertClass("test.pkg.Foo") in <lambda>() constant 232 val (bar1Param, bar2Param, bar3Param) = foo.methods().map { it.parameters()[0].type() } in <lambda>()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/ |
D | CommonTypeItemTest.kt | 521 val foo = codebase.assertClass("test.pkg.Foo") in Test method return type variable types() constant 522 val fooTypeParam = foo.typeParameterList.single() in Test method return type variable types() 524 val bar1 = foo.methods().single { it.name() == "bar1" } in Test method return type variable types() 528 val bar2 = foo.methods().single { it.name() == "bar2" } in Test method return type variable types() 533 val bar3 = foo.methods().single { it.name() == "bar3" } in Test method return type variable types() 537 val bar4 = foo.methods().single { it.name() == "bar4" } in Test method return type variable types() 584 val foo = codebase.assertClass("test.pkg.Foo") in Test method parameter type variable types() constant 585 val fooParam = foo.typeParameterList.single() in Test method parameter type variable types() 587 val bar1 = foo.methods().single { it.name() == "bar1" } in Test method parameter type variable types() 591 val bar2 = foo.methods().single { it.name() == "bar2" } in Test method parameter type variable types() [all …]
|
/tools/asuite/atest/bazel/runner/src/main/protobuf/ |
D | invocation_policy.proto | 89 // So "--test_tag_filters=foo,bar" results in ["foo", "bar"], however 90 // "--test_tag_filters=foo --test_tag_filters=bar" results in just ["bar"] 93 // Similarly, "--test_tag_filters=foo,bar --test_tag_filters=baz,qux" results 95 // "foo,bar" instead of separately specifying "foo" and "bar" so that the 99 // true: for a flag that specifies allowMultiple=true, "--flag=foo,bar" 153 // "--foo=a,b --foo=c,d" results in foo=[["a","b"], ["c", "d"]]. In this case,
|