Home
last modified time | relevance | path

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

12345678910>>...322

/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 …]
Dtest_module.py12 foo = ModuleType.__new__(ModuleType)
13 self.assertTrue(foo.__dict__ is None)
14 self.assertRaises(SystemError, dir, foo)
16 s = foo.__name__
20 self.assertEqual(foo.__doc__, ModuleType.__doc__)
24 foo = ModuleType("foo")
25 self.assertEqual(foo.__name__, "foo")
26 self.assertEqual(foo.__doc__, None)
27 self.assertEqual(foo.__dict__, {"__name__": "foo", "__doc__": None})
31 foo = ModuleType("foo", "foodoc")
[all …]
Dtest_copy.py27 def __init__(self, foo): argument
28 self.foo = foo
30 return C(self.foo)
34 self.assertEqual(y.foo, x.foo)
38 def __new__(cls, foo): argument
40 obj.foo = foo
43 return (C, (obj.foo,))
111 x = {"foo": 1, "bar": 2}
148 def __init__(self, foo): argument
149 self.foo = foo
[all …]
/external/python/cpython3/Lib/test/
Dtest_shlex.py11 foo bar|foo|bar|
12 foo bar|foo|bar|
13 foo bar |foo|bar|
14 foo bar bla fasel|foo|bar|bla|fasel|
19 foo \x bar|foo|\|x|bar|
20 foo \ x bar|foo|\|x|bar|
21 foo \ bar|foo|\|bar|
22 foo "bar" bla|foo|"bar"|bla|
23 "foo" "bar" "bla"|"foo"|"bar"|"bla"|
24 "foo" bar "bla"|"foo"|bar|"bla"|
[all …]
Dtest_copy.py32 def __init__(self, foo): argument
33 self.foo = foo
35 return C(self.foo)
39 self.assertEqual(y.foo, x.foo)
43 def __new__(cls, foo): argument
45 obj.foo = foo
48 return (C, (obj.foo,))
125 x = {"foo": 1, "bar": 2}
162 def __init__(self, foo): argument
163 self.foo = foo
[all …]
Dtest_module.py23 foo = ModuleType.__new__(ModuleType)
24 self.assertTrue(foo.__dict__ is None)
25 self.assertRaises(SystemError, dir, foo)
27 s = foo.__name__
31 self.assertEqual(foo.__doc__, ModuleType.__doc__)
36 foo = ModuleType.__new__(ModuleType)
39 getattr, foo, "not_here")
44 foo = ModuleType("foo")
46 AttributeError, "module 'foo' has no attribute 'not_here'",
47 getattr, foo, "not_here")
[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::__anonf64f5bc30111::Foo
37 explicit Foo(int value) : value_(value) {} in Foo() function in grpc_core::testing::__anonf64f5bc30111::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/swiftshader/third_party/llvm-7.0/llvm/test/MC/AVR/
Drelocations.s12 ; CHECK-NEXT: R_AVR_6_ADIW FOO
13 adiw r24, FOO
18 ; CHECK-NEXT: R_AVR_PORT5 foo
19 sbic foo, 1
24 ; CHECK-NEXT: R_AVR_CALL foo+3
25 call foo+3
27 ; CHECK-NEXT: R_AVR_13_PCREL foo-10
28 rjmp foo-10
30 ; CHECK-NEXT: R_AVR_7_PCREL foo+2
31 brcs foo+2
[all …]
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestpatch.py45 class Foo(object): class
52 foo = 'bar' variable in Foo
58 foo_name = '%s.Foo' % __name__
61 def function(a, b=Foo):
414 class Foo(object): class
419 @patch.object(Foo, 'woot', staticmethod(lambda: sentinel.Patched))
421 self.assertEqual(Foo.woot(), sentinel.Patched)
424 self.assertEqual(Foo.woot(), sentinel.Static)
428 foo = sentinel.Foo
429 @patch.object(sentinel, 'Foo', 'Foo')
[all …]
/external/python/mock/mock/tests/
Dtestpatch.py49 class Foo(object): class
56 foo = 'bar' variable in Foo
62 foo_name = '%s.Foo' % __name__
65 def function(a, b=Foo):
418 class Foo(object): class
423 @patch.object(Foo, 'woot', staticmethod(lambda: sentinel.Patched))
425 self.assertEqual(Foo.woot(), sentinel.Patched)
428 self.assertEqual(Foo.woot(), sentinel.Static)
432 foo = sentinel.Foo
433 @patch.object(sentinel, 'Foo', 'Foo')
[all …]
/external/swiftshader/third_party/LLVM/unittests/Support/
DCasting.cpp24 struct foo *baz();
25 struct foo *caz();
26 struct foo *daz();
27 struct foo *naz();
31 struct foo { struct
39 template <> struct isa_impl<foo, bar> {
46 foo *bar::baz() { in baz()
47 return cast<foo>(this); in baz()
50 foo *bar::caz() { in caz()
51 return cast_or_null<foo>(this); in caz()
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dtest_namespace_pkgs.py76 import foo.one
77 self.assertEqual(foo.one.attr, 'portion1 foo one')
81 import foo.two
84 import foo.one
85 self.assertEqual(repr(foo), "<module 'foo' (namespace)>")
92 # Make sure only 'foo.one' can be imported
93 import foo.one
94 self.assertEqual(foo.one.attr, 'portion1 foo one')
97 import foo.two
102 # And make sure foo.two is now importable
[all …]
/external/swiftshader/third_party/llvm-7.0/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/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/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/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/
Dmacro-bcc-imm.s5 foo: label
6 beql $a2, 0x1ffff, foo # ALL: lui $1, 1
8 # ALL: beql $6, $1, foo
9 # ALL: # fixup A - offset: 0, value: foo-4, kind: fixup_Mips_PC16
11 beql $a2, -4096, foo # ALL: addiu $1, $zero, -4096
12 # ALL: beql $6, $1, foo
13 # ALL: # fixup A - offset: 0, value: foo-4, kind: fixup_Mips_PC16
14 beql $a2, -0x10000, foo # ALL: lui $1, 65535
15 # ALL: beql $6, $1, foo
16 # ALL: # fixup A - offset: 0, value: foo-4, kind: fixup_Mips_PC16
[all …]
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/swiftshader/third_party/llvm-7.0/llvm/test/MC/RISCV/
Drelocations.s11 .long foo
12 # RELOC: R_RISCV_32 foo
14 .quad foo
15 # RELOC: R_RISCV_64 foo
17 lui t1, %hi(foo)
18 # RELOC: R_RISCV_HI20 foo 0x0
19 # INSTR: lui t1, %hi(foo)
20 # FIXUP: fixup A - offset: 0, value: %hi(foo), kind: fixup_riscv_hi20
22 lui t1, %hi(foo+4)
23 # RELOC: R_RISCV_HI20 foo 0x4
[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/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/guice/core/test/com/google/inject/
DNullableInjectionPointTest.java55 " but " + FooField.class.getName() + ".foo", in testInjectNullIntoNotNullableField()
62 assertNull(createInjector().getInstance(Foo.class)); in testGetInstanceOfNull()
67 assertNull(nfc.foo); in testInjectNullIntoNullableConstructor()
72 assertNull(nfm.foo); in testInjectNullIntoNullableMethod()
77 assertNull(nff.foo); in testInjectNullIntoNullableField()
83 assertNull(nfc.foo); in testInjectNullIntoCustomNullableConstructor()
88 assertNull(nfm.foo); in testInjectNullIntoCustomNullableMethod()
93 assertNull(nff.foo); in testInjectNullIntoCustomNullableField()
101 bind(Foo.class).toProvider(Providers.<Foo>of(null)); in createInjector()
113 bind(Foo.class).toInstance(null);
[all …]
/external/syzkaller/pkg/compiler/testdata/
Derrors.txt4 foo$0(x fileoff, y int8, z buffer[in])
5 foo$1(x "bar") ### unexpected string "bar", expect type
6 foo$2(x 123, y "bar") ### unexpected int 123, expect type ### unexpected string "bar", expect type
7 foo$3(x string) ### string can't be syscall argument
10 resource r1[string["foo"]] ### string can't be resource base (int types can)
50 foo$4(a int8, a int16) ### duplicate argument a in syscall foo$4
51 foo$4() ### syscall foo$4 redeclared, previously declared at LOCATION
52 foo()
53 foo() ### syscall foo redeclared, previously declared at LOCATION
54 foo$5(a0 int8, a1 int8, a2 int8, a3 int8, a4 int8, a5 int8, a6 int8, a7 int8, a8 int8, a9 int8) ###…
[all …]
/external/swiftshader/third_party/LLVM/test/MC/ELF/
Drelax-arith.s10 imul $foo, %bx, %bx
11 imul $foo, bar, %bx
12 imul $foo, %ebx, %ebx
13 imul $foo, bar, %ebx
14 imul $foo, %rbx, %rbx
15 imul $foo, bar, %rbx
20 and $foo, %bx
21 andw $foo, bar
22 and $foo, %ebx
23 andl $foo, bar
[all …]

12345678910>>...322