Home
last modified time | relevance | path

Searched full:foo (Results 1 – 25 of 12727) sorted by relevance

12345678910>>...510

/external/one-true-awk/testdir/
Dlilly.out2 ### BEGIN{foo=6;print foo/2}:
5 ### BEGIN{foo=10;foo/=2;print foo}:
9 foo=bar
10 foo==bar
11 foo+=bar
12 foo-=bar
13 foo*=bar
14 foo/=bar
15 foo^=bar
16 foo%=bar
[all …]
/external/apache-velocity-engine/velocity-engine-core/src/test/resources/bc_mode/compare/
Dtest_bc_mode.bc_mode_disabled7 foo=$foo => disp miss [foo=$foo] => foo=$foo
8 foo=$foo => setn miss [foo=$foo] => foo=$foo
9 foo=$foo => setv miss [foo=inn] => foo=inn
11 foo=$foo => disp null [foo=$foo] => foo=$foo
12 foo=$foo => setn null [foo=$foo] => foo=$foo
13 foo=$foo => setv null [foo=inn] => foo=inn
15 foo=$foo => disp ncol [foo=$foo] => foo=$foo
16 foo=$foo => setn ncol [foo=$foo] => foo=$foo
17 foo=$foo => setv ncol [foo=inn] => foo=inn
19 foo=$foo => disp coll [foo=$foo] => foo=$foo
[all …]
Dtest_bc_mode.bc_mode_enabled7 foo=$foo => disp miss [foo=$foo] => foo=$foo
8 foo=$foo => setn miss [foo=$foo] => foo=$foo
9 foo=$foo => setv miss [foo=inn] => foo=inn
11 foo=$foo => disp null [foo=$null] => foo=$foo
12 foo=$foo => setn null [foo=$foo] => foo=$foo
13 foo=$foo => setv null [foo=inn] => foo=inn
15 foo=$foo => disp ncol [foo=$bar] => foo=$foo
16 foo=$foo => setn ncol [foo=$foo] => foo=$foo
17 foo=$foo => setv ncol [foo=inn] => foo=inn
19 foo=$foo => disp coll [foo=$foo] => foo=$foo
[all …]
/external/python/cpython2/Lib/test/
Dtest_shlex.py16 foo bar|foo|bar|
17 foo bar|foo|bar|
18 foo bar |foo|bar|
19 foo bar bla fasel|foo|bar|bla|fasel|
24 foo \x bar|foo|\|x|bar|
25 foo \ x bar|foo|\|x|bar|
26 foo \ bar|foo|\|bar|
27 foo "bar" bla|foo|"bar"|bla|
28 "foo" "bar" "bla"|"foo"|"bar"|"bla"|
29 "foo" bar "bla"|"foo"|bar|"bla"|
[all …]
/external/python/cpython3/Lib/test/
Dtest_shlex.py12 foo bar|foo|bar|
13 foo bar|foo|bar|
14 foo bar |foo|bar|
15 foo bar bla fasel|foo|bar|bla|fasel|
20 foo \x bar|foo|\|x|bar|
21 foo \ x bar|foo|\|x|bar|
22 foo \ bar|foo|\|bar|
23 foo "bar" bla|foo|"bar"|bla|
24 "foo" "bar" "bla"|"foo"|"bar"|"bla"|
25 "foo" bar "bla"|"foo"|bar|"bla"|
[all …]
Dtest_module.py24 foo = ModuleType.__new__(ModuleType)
25 self.assertTrue(foo.__dict__ is None)
26 self.assertRaises(TypeError, dir, foo)
28 s = foo.__name__
32 self.assertEqual(foo.__doc__, ModuleType.__doc__)
37 foo = ModuleType.__new__(ModuleType)
40 getattr, foo, "not_here")
45 foo = ModuleType("foo")
47 AttributeError, "module 'foo' has no attribute 'not_here'",
48 getattr, foo, "not_here")
[all …]
Dtest_copy.py33 def __init__(self, foo): argument
34 self.foo = foo
36 return C(self.foo)
40 self.assertEqual(y.foo, x.foo)
44 def __new__(cls, foo): argument
46 obj.foo = foo
49 return (C, (obj.foo,))
126 x = {"foo": 1, "bar": 2}
163 def __init__(self, foo): argument
164 self.foo = foo
[all …]
/external/cronet/base/android/junit/src/org/chromium/base/
DUnownedUserDataKeyTest.java93 private static class Foo extends TestUnownedUserData { class in UnownedUserDataKeyTest
94 public static final UnownedUserDataKey<Foo> KEY = new UnownedUserDataKey<>(Foo.class);
100 private final Foo mFoo = new Foo();
129 assertEquals(Foo.KEY, Foo.KEY); in testKeyEquality()
130 assertNotEquals(Foo.KEY, new UnownedUserDataKey<>(Foo.class)); in testKeyEquality()
131 assertNotEquals(Foo.KEY, Bar.KEY); in testKeyEquality()
132 assertNotEquals(Foo.KEY, null); in testKeyEquality()
133 assertNotEquals(Foo.KEY, new Object()); in testKeyEquality()
139 assertFalse(Foo.KEY.isAttachedToHost(mHost1)); in testSingleItemSingleHost_retrievalReturnsNullBeforeAttachment()
140 assertFalse(Foo.KEY.isAttachedToAnyHost(mFoo)); in testSingleItemSingleHost_retrievalReturnsNullBeforeAttachment()
[all …]
/external/grpc-grpc/test/core/gprpp/
Dref_counted_ptr_test.cc33 class Foo : public RefCounted<Foo> { class
35 Foo() : value_(0) {} in Foo() function in grpc_core::testing::__anon2b00b9ff0111::Foo
37 explicit Foo(int value) : value_(value) {} in Foo() function in grpc_core::testing::__anon2b00b9ff0111::Foo
45 TEST(RefCountedPtr, DefaultConstructor) { RefCountedPtr<Foo> foo; } in TEST() local
48 RefCountedPtr<Foo> foo(nullptr); in TEST() local
51 TEST(RefCountedPtr, ExplicitConstructor) { RefCountedPtr<Foo> foo(New<Foo>()); } in TEST() local
54 RefCountedPtr<Foo> foo(New<Foo>()); in TEST() local
55 RefCountedPtr<Foo> foo2(std::move(foo)); in TEST()
56 EXPECT_EQ(nullptr, foo.get()); in TEST()
61 RefCountedPtr<Foo> foo(New<Foo>()); in TEST() local
[all …]
/external/rust/crates/tracing/tests/
Dmacros.rs16 span!(target: "foo_events", Level::DEBUG, "foo", bar.baz = ?2, quux = %3, quuux = 4); in span()
17 span!(target: "foo_events", Level::DEBUG, "foo", bar.baz = 2, quux = 3); in span()
18 span!(target: "foo_events", Level::DEBUG, "foo", bar.baz = 2, quux = 4,); in span()
19 span!(target: "foo_events", Level::DEBUG, "foo"); in span()
21 span!(Level::DEBUG, "foo", bar.baz = 2, quux = 3); in span()
22 span!(Level::DEBUG, "foo", bar.baz = 2, quux = 4,); in span()
23 span!(Level::DEBUG, "foo", bar.baz = 2, quux = 3); in span()
24 span!(Level::DEBUG, "foo", bar.baz = 2, quux = 4,); in span()
25 span!(Level::DEBUG, "foo", bar.baz = ?2); in span()
26 span!(Level::DEBUG, "foo", bar.baz = %2); in span()
[all …]
/external/gson/gson/src/test/java/com/google/gson/functional/
DTypeAdapterPrecedenceTest.java37 .registerTypeAdapter(Foo.class, newSerializer("serializer 1")) in testNonstreamingFollowedByNonstreaming()
38 .registerTypeAdapter(Foo.class, newSerializer("serializer 2")) in testNonstreamingFollowedByNonstreaming()
39 .registerTypeAdapter(Foo.class, newDeserializer("deserializer 1")) in testNonstreamingFollowedByNonstreaming()
40 .registerTypeAdapter(Foo.class, newDeserializer("deserializer 2")) in testNonstreamingFollowedByNonstreaming()
42 assertEquals("\"foo via serializer 2\"", gson.toJson(new Foo("foo"))); in testNonstreamingFollowedByNonstreaming()
43 assertEquals("foo via deserializer 2", gson.fromJson("foo", Foo.class).name); in testNonstreamingFollowedByNonstreaming()
48 .registerTypeAdapter(Foo.class, newTypeAdapter("type adapter 1")) in testStreamingFollowedByStreaming()
49 .registerTypeAdapter(Foo.class, newTypeAdapter("type adapter 2")) in testStreamingFollowedByStreaming()
51 assertEquals("\"foo via type adapter 2\"", gson.toJson(new Foo("foo"))); in testStreamingFollowedByStreaming()
52 assertEquals("foo via type adapter 2", gson.fromJson("foo", Foo.class).name); in testStreamingFollowedByStreaming()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/class.path/path.member/path.decompose/
Dpath.decompose.pass.cpp82 , {"foo", {"foo"}, "", "", "", "foo", "", "foo"}
84 , {"/foo", {"/", "foo"}, "/", "", "/", "foo", "/", "foo"}
85 , {"foo/", {"foo", ""}, "", "", "", "foo/", "foo", ""}
86 , {"/foo/", {"/", "foo", ""}, "/", "", "/", "foo/", "/foo", ""}
87 , {"foo/bar", {"foo","bar"}, "", "", "", "foo/bar", "foo", "bar"}
88 , {"/foo//bar", {"/","foo","bar"}, "/", "", "/", "foo/bar", "/foo", "bar"}
92 , {"//net/foo", {"//net", "/", "foo"}, "//net/", "//net", "/", "foo", "//net/", "foo"}
96 , {"//net/foo", {"/", "net", "foo"}, "/", "", "/", "net/foo", "/net", "foo"}
98 , {"///foo///", {"/", "foo", ""}, "/", "", "/", "foo///", "///foo", ""}
99 , {"///foo///bar", {"/", "foo", "bar"}, "/", "", "/", "foo///bar", "///foo", "bar"}
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dtest_namespace_pkgs.py78 import foo.one
79 self.assertEqual(foo.one.attr, 'portion1 foo one')
83 import foo.two
86 import foo.one
89 self.assertEqual(foo.__spec__.loader.module_repr(foo),
90 "<module 'foo' (namespace)>")
97 # Make sure only 'foo.one' can be imported
98 import foo.one
99 self.assertEqual(foo.one.attr, 'portion1 foo one')
102 import foo.two
[all …]
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestpatch.py46 class Foo(object): class
50 foo = 'bar' variable in Foo
61 foo_name = '%s.Foo' % __name__
64 def function(a, b=Foo): pass
408 class Foo(object): class
413 @patch.object(Foo, 'woot', staticmethod(lambda: sentinel.Patched))
415 self.assertEqual(Foo.woot(), sentinel.Patched)
418 self.assertEqual(Foo.woot(), sentinel.Static)
422 foo = sentinel.Foo
423 @patch.object(sentinel, 'Foo', 'Foo')
[all …]
/external/bazel-skylib/tests/
Dpaths_tests.bzl27 asserts.equals(env, "bar", paths.basename("foo///bar"))
30 asserts.equals(env, "foo", paths.basename("foo"))
31 asserts.equals(env, "foo", paths.basename("/foo"))
32 asserts.equals(env, "foo", paths.basename("bar/foo"))
33 asserts.equals(env, "foo", paths.basename("/bar/foo"))
37 asserts.equals(env, "", paths.basename("foo/"))
38 asserts.equals(env, "", paths.basename("/foo/"))
51 asserts.equals(env, "foo", paths.dirname("foo///bar"))
54 asserts.equals(env, "", paths.dirname("foo"))
55 asserts.equals(env, "/", paths.dirname("/foo"))
[all …]
/external/llvm/test/MC/SystemZ/
Dtokens.s5 #CHECK: foo 100, 200
7 #CHECK: foo 100(, 200
9 #CHECK: foo 100(200), 300
11 #CHECK: foo 100(200,), 300
13 #CHECK: foo 100(200,%r0), 300
15 #CHECK: foo 100(200,%r1), 300
17 #CHECK: foo 100(%a0), 200
19 #CHECK: foo 100(%r0), 200
21 #CHECK: foo 100(%v1,%r0), 200
23 #CHECK: foo 100(%v0,%r1), 200
[all …]
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsPathTest.java45 assertPathEquals("/foo", "/foo"); in testPathParsing()
46 assertPathEquals("/foo", "/", "foo"); in testPathParsing()
47 assertPathEquals("/foo/bar", "/foo/bar"); in testPathParsing()
48 assertPathEquals("/foo/bar", "/", "foo", "bar"); in testPathParsing()
49 assertPathEquals("/foo/bar", "/foo", "bar"); in testPathParsing()
50 assertPathEquals("/foo/bar", "/", "foo/bar"); in testPathParsing()
51 assertPathEquals("foo/bar/baz", "foo/bar/baz"); in testPathParsing()
52 assertPathEquals("foo/bar/baz", "foo", "bar", "baz"); in testPathParsing()
53 assertPathEquals("foo/bar/baz", "foo/bar", "baz"); in testPathParsing()
54 assertPathEquals("foo/bar/baz", "foo", "bar/baz"); in testPathParsing()
[all …]
/external/cronet/base/files/
Dfile_path_unittest.cc488 { FPL("//foo/bar/baz/"), FPL("|//|foo|bar|baz")}, in TEST_F()
491 {FPL("///foo//bar/baz"), FPL("|/|foo|bar|baz")}, in TEST_F()
493 { FPL("/foo//bar//baz/"), FPL("|/|foo|bar|baz")}, in TEST_F()
494 { FPL("/foo/bar/baz/"), FPL("|/|foo|bar|baz")}, in TEST_F()
495 { FPL("/foo/bar/baz//"), FPL("|/|foo|bar|baz")}, in TEST_F()
496 { FPL("/foo/bar/baz///"), FPL("|/|foo|bar|baz")}, in TEST_F()
497 { FPL("/foo/bar/baz"), FPL("|/|foo|bar|baz")}, in TEST_F()
498 { FPL("/foo/bar.bot/baz.txt"), FPL("|/|foo|bar.bot|baz.txt")}, in TEST_F()
499 { FPL("//foo//bar/baz"), FPL("|//|foo|bar|baz")}, in TEST_F()
501 { FPL("foo"), FPL("|foo")}, in TEST_F()
[all …]
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/
Dpath.decompose.pass.cpp82 , {"foo", {"foo"}, "", "", "", "foo", "", "foo"}
84 , {"/foo", {"/", "foo"}, "/", "", "/", "foo", "/", "foo"}
85 , {"foo/", {"foo", ""}, "", "", "", "foo/", "foo", ""}
86 , {"/foo/", {"/", "foo", ""}, "/", "", "/", "foo/", "/foo", ""}
87 , {"foo/bar", {"foo","bar"}, "", "", "", "foo/bar", "foo", "bar"}
88 , {"/foo//bar", {"/","foo","bar"}, "/", "", "/", "foo/bar", "/foo", "bar"}
90 , {"//net/foo", {"/", "net", "foo"}, "/", "", "/", "net/foo", "/net", "foo"}
91 , {"///foo///", {"/", "foo", ""}, "/", "", "/", "foo///", "///foo", ""}
92 , {"///foo///bar", {"/", "foo", "bar"}, "/", "", "/", "foo///bar", "///foo", "bar"}
97 , {"foo/.", {"foo", "."}, "", "", "", "foo/.", "foo", "."}
[all …]
/external/libchrome/base/files/
Dfile_path_unittest.cc467 { FPL("//foo/bar/baz/"), FPL("|//|foo|bar|baz")}, in TEST_F()
469 { FPL("/foo//bar//baz/"), FPL("|/|foo|bar|baz")}, in TEST_F()
470 { FPL("/foo/bar/baz/"), FPL("|/|foo|bar|baz")}, in TEST_F()
471 { FPL("/foo/bar/baz//"), FPL("|/|foo|bar|baz")}, in TEST_F()
472 { FPL("/foo/bar/baz///"), FPL("|/|foo|bar|baz")}, in TEST_F()
473 { FPL("/foo/bar/baz"), FPL("|/|foo|bar|baz")}, in TEST_F()
474 { FPL("/foo/bar.bot/baz.txt"), FPL("|/|foo|bar.bot|baz.txt")}, in TEST_F()
475 { FPL("//foo//bar/baz"), FPL("|//|foo|bar|baz")}, in TEST_F()
477 { FPL("foo"), FPL("|foo")}, in TEST_F()
480 { FPL("e:/foo"), FPL("|e:|/|foo")}, in TEST_F()
[all …]
/external/dagger2/javatests/dagger/internal/codegen/validation/
DPackageNameCompressorTest.java32 String input = "Something is wrong with foo.bar.baz.Foo class!"; in testSimple()
33 String expectedOutput = "Something is wrong with Foo class!" in testSimple()
35 + "Foo: foo.bar.baz.Foo\n" in testSimple()
42 String input = "Something is wrong with foo.bar.baz.Foo and foo.bar.qux.Foo class!"; in testSameSimpleNames()
43 String expectedOutput = "Something is wrong with baz.Foo and qux.Foo class!" in testSameSimpleNames()
45 + "baz.Foo: foo.bar.baz.Foo\n" in testSameSimpleNames()
46 + "qux.Foo: foo.bar.qux.Foo\n" in testSameSimpleNames()
53 String input = "Something is wrong with foo.bar.baz.Foo.provideFoo()!"; in testMethodNames()
54 String expectedOutput = "Something is wrong with Foo.provideFoo()!" in testMethodNames()
56 + "Foo: foo.bar.baz.Foo\n" in testMethodNames()
[all …]
/external/llvm/test/MC/Mips/
Drelocation.s28 .short foo // RELOC: R_MIPS_16 foo
32 baz: .long foo // RELOC: R_MIPS_32 foo
36 // ?????: R_MIPS_REL32 foo
38 jal foo // RELOC: R_MIPS_26 foo
39 // ENCBE: jal foo # encoding: [0b000011AA,A,A,A]
40 // ENCLE: jal foo # encoding: [A,A,A,0b000011AA]
41 … // FIXUP: # fixup A - offset: 0, value: foo, kind: fixup_Mips_26
50 addiu $2, $3, %hi(foo) // RELOC: R_MIPS_HI16 foo
51 … // ENCBE: addiu $2, $3, %hi(foo) # encoding: [0x24,0x62,A,A]
52 … // ENCLE: addiu $2, $3, %hi(foo) # encoding: [A,A,0x62,0x24]
[all …]
/external/libxml2/test/relaxng/OASIS/
Dspectest.xml22 <element name="foo">
26 <element name="foo">
36 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
47 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
48 <name>foo</name>
56 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
69 <name>foo</name>
85 <name>foo</name>
98 <element xmlns="http://relaxng.org/ns/structure/1.0" name="foo">
101 <value>foo</value>
[all …]
/external/okhttp/okhttp-tests/src/test/resources/
Dweb-platform-test-urltestdata.txt4 http://example\t.\norg http://example.org/foo/bar s:http h:example.org p:/
5 http://user:pass@foo:21/bar;par?b#c s:http u:user pass:pass h:foo port:21 p:/bar;par q:?b f:#c
6 http:foo.com s:http h:example.org p:/foo/foo.com
7 \t\s\s\s:foo.com\s\s\s\n s:http h:example.org p:/foo/:foo.com
8 \sfoo.com\s\s s:http h:example.org p:/foo/foo.com
21 s:http h:example.org p:/foo/bar
22 \s\s\t s:http h:example.org p:/foo/bar
23 :foo.com/ s:http h:example.org p:/foo/:foo.com/
24 :foo.com\\ s:http h:example.org p:/foo/:foo.com/
25 : s:http h:example.org p:/foo/:
[all …]
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DB20128588.input1 @Foo @Bar @Baz package edu.oswego.cs.dl.util.concurrent;
3 @Foo @Bar @Baz class Test {
5 @Foo @Bar @Baz Object f() {
8 @Foo @Bar @Baz public Object f() {
11 @Foo @Bar @Baz void f() {
14 @Foo @Bar @Baz static Object field;
16 static @Foo @Bar @Baz Object field;
18 @Foo @Bar @Baz Object field;
20 @Foo(xs=42) @Bar @Baz Object field;
23 @Foo @Bar @Baz final Object var;
[all …]

12345678910>>...510