Home
last modified time | relevance | path

Searched refs:spam (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/external/python/cpython2/Lib/test/
Dtest_property.py25 def spam(self): member in BaseClass
29 @spam.setter
30 def spam(self, value): member in BaseClass
33 @spam.deleter
34 def spam(self): member in BaseClass
39 @BaseClass.spam.getter
40 def spam(self): member in SubClass
44 @spam.setter
45 def spam(self, value): member in SubClass
48 @spam.deleter
[all …]
Dtest_symtable.py52 spam = find_block(top, "spam") variable in SymtableTest
53 internal = find_block(spam, "internal")
60 self.assertEqual(self.spam.get_type(), "function")
68 self.assertTrue(self.spam.is_optimized())
77 self.assertFalse(self.spam.is_nested())
87 self.assertEqual(self.spam.get_lineno(), 11)
90 func = self.spam
98 self.assertTrue(self.spam.lookup("glob").is_global())
99 self.assertFalse(self.spam.lookup("glob").is_declared_global())
100 self.assertTrue(self.spam.lookup("bar").is_global())
[all …]
Dtest_argparse.py1131 ('a', NS(spam='a')),
1132 ('g', NS(spam='g')),
1142 ('4', NS(spam=4)),
1143 ('15', NS(spam=15)),
1156 ('a b c', NS(spam=['a', ['b', 'c']])),
1466 ('foo', NS(x=None, spam=RFile('foo'))),
1467 ('-x foo bar', NS(x=RFile('foo'), spam=RFile('bar'))),
1468 ('bar -x foo', NS(x=RFile('foo'), spam=RFile('bar'))),
1469 ('-x - -', NS(x=sys.stdin, spam=sys.stdin)),
1470 ('readonly', NS(x=None, spam=RFile('readonly'))),
[all …]
Dinspect_fodder.py8 def spam(a, b, c, d=3, (e, (f,))=(4, (5,)), *g, **h): function
43 spam(a, b, c)
/external/python/cpython3/Lib/test/
Dtest_property.py25 def spam(self): member in BaseClass
29 @spam.setter
30 def spam(self, value): member in BaseClass
33 @spam.deleter
34 def spam(self): member in BaseClass
39 @BaseClass.spam.getter
40 def spam(self): member in SubClass
44 @spam.setter
45 def spam(self, value): member in SubClass
48 @spam.deleter
[all …]
Dtest_dynamicclassattribute.py26 def spam(self): member in BaseClass
30 @spam.setter
31 def spam(self, value): member in BaseClass
34 @spam.deleter
35 def spam(self): member in BaseClass
40 spam = BaseClass.__dict__['spam'] variable in SubClass
42 @spam.getter
43 def spam(self): member in SubClass
47 @spam.setter
48 def spam(self, value): member in SubClass
[all …]
Dtest_symtable.py48 spam = find_block(top, "spam") variable in SymtableTest
49 internal = find_block(spam, "internal")
56 self.assertEqual(self.spam.get_type(), "function")
63 self.assertTrue(self.spam.is_optimized())
68 self.assertFalse(self.spam.is_nested())
78 self.assertEqual(self.spam.get_lineno(), 11)
81 func = self.spam
89 self.assertTrue(self.spam.lookup("glob").is_global())
90 self.assertFalse(self.spam.lookup("glob").is_declared_global())
91 self.assertTrue(self.spam.lookup("bar").is_global())
[all …]
Dtest_types.py1213 del ns1.spam
1215 del ns2.spam
1224 ns1.spam = 5
1225 self.assertEqual(vars(ns1), dict(spam=5))
1226 del ns1.spam
1252 ns2.spam = ns1
1254 ns2.spam = ns3
1257 self.assertEqual(vars(ns2), dict(spam=ns3, ham='?'))
1258 self.assertEqual(ns2.spam, ns3)
1266 ns1.spam = ns1
[all …]
Dtest_argparse.py1150 ('a', NS(spam='a')),
1151 ('g', NS(spam='g')),
1161 ('4', NS(spam=4)),
1162 ('15', NS(spam=15)),
1175 ('a b c', NS(spam=['a', ['b', 'c']])),
1507 ('foo', NS(x=None, spam=RFile('foo'))),
1508 ('-x foo bar', NS(x=RFile('foo'), spam=RFile('bar'))),
1509 ('bar -x foo', NS(x=RFile('foo'), spam=RFile('bar'))),
1510 ('-x - -', NS(x=eq_stdin, spam=eq_stdin)),
1511 ('readonly', NS(x=None, spam=RFile('readonly'))),
[all …]
Dinspect_fodder.py8 def spam(a, b, c, d=3, e=4, f=5, *g, **h): function
43 spam(a, b, c)
Dtokenize_tests.txt111 """ + R'''spam
129 """ + bR'''spam
133 """ + Rb'''spam
/external/python/cpython2/Doc/library/
Dpprint.rst58 >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni']
62 [ ['spam', 'eggs', 'lumberjack', 'knights', 'ni'],
63 'spam',
68 >>> tup = ('spam', ('eggs', ('lumberjack', ('knights', ('ni', ('dead',
72 ('spam', ('eggs', ('lumberjack', ('knights', ('ni', ('dead', (...)))))))
95 >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni']
99 'spam',
136 "[<Recursion on list with id=...>, 'spam', 'eggs', 'lumberjack', 'knights', 'ni']"
211 >>> tup = ('spam', ('eggs', ('lumberjack', ('knights', ('ni', ('dead',
216 ('spam',
[all …]
/external/python/cpython2/Doc/extending/
Dwindows.rst94 In Windows, using an import library is sort of like using ``import spam``; it
95 gives you access to spam's names, but does not create a separate copy. On Unix,
96 linking with a library is more like ``from spam import *``; it does create a
113 To build two DLLs, spam and ni (which uses C functions found in spam), you could
116 cl /LD /I/python/include spam.c ../libs/pythonXY.lib
117 cl /LD /I/python/include ni.c spam.lib ../libs/pythonXY.lib
119 The first command created three files: :file:`spam.obj`, :file:`spam.dll` and
120 :file:`spam.lib`. :file:`Spam.dll` does not contain any Python functions (such
125 which knows how to find the necessary functions from spam, and also from the
/external/python/cpython3/Doc/extending/
Dwindows.rst94 In Windows, using an import library is sort of like using ``import spam``; it
95 gives you access to spam's names, but does not create a separate copy. On Unix,
96 linking with a library is more like ``from spam import *``; it does create a
113 To build two DLLs, spam and ni (which uses C functions found in spam), you could
116 cl /LD /I/python/include spam.c ../libs/pythonXY.lib
117 cl /LD /I/python/include ni.c spam.lib ../libs/pythonXY.lib
119 The first command created three files: :file:`spam.obj`, :file:`spam.dll` and
120 :file:`spam.lib`. :file:`Spam.dll` does not contain any Python functions (such
125 which knows how to find the necessary functions from spam, and also from the
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/NewGVN/
Dpr31501.ll24 %struct.widget.6 = type { %struct.spam }
25 %struct.spam = type { %struct.zot.0, %struct.ham.7 }
29 %struct.snork.10 = type <{ %struct.foo.11, %struct.spam.15, [7 x i8] }>
34 %struct.spam.15 = type { i8 }
44 %struct.wobble.23 = type { %struct.spam.24, %struct.barney* }
45 %struct.spam.24 = type { %struct.bar.25, %struct.zot.26* }
56 ; CHECK-NEXT: [[TMP2:%.*]] = bitcast %struct.spam* [[TMP]] to %struct.foo**
86 %tmp2 = bitcast %struct.spam* %tmp to %struct.foo**
/external/autotest/client/site_tests/platform_LogDupSuppression/
Drsyslog.test3 if ($programname == 'spam') then -/var/log/spam.log
/external/python/funcsigs/tests/
Dtest_inspect.py796 self.call(test, 1, spam=10)
798 self.call(test, spam=1)
864 self.assertEqual(self.call(test, foo='bar', spam='ham'),
872 self.assertEqual(self.call(test, 1, 2, foo='bar', spam='ham'),
874 self.assertEqual(self.call(test, b=2, a=1, foo='bar', spam='ham'),
876 self.assertEqual(self.call(test, a=1, b=2, foo='bar', spam='ham'),
878 self.assertEqual(self.call(test, 1, b=2, foo='bar', spam='ham'),
880 self.assertEqual(self.call(test, 1, b=2, c=4, foo='bar', spam='ham'),
/external/llvm/test/CodeGen/NVPTX/
Dbug26185-2.ll12 ; CHECK-LABEL: spam
13 define ptx_kernel void @spam(i8 addrspace(1)* noalias nocapture readonly %arg, i8 addrspace(1)* noa…
34 !0 = !{void (i8 addrspace(1)*, i8 addrspace(1)*, i64, i64)* @spam, !"maxntidx", i64 1, !"maxntidy",…
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/
Dbug26185-2.ll12 ; CHECK-LABEL: spam
13 define ptx_kernel void @spam(i8 addrspace(1)* noalias nocapture readonly %arg, i8 addrspace(1)* noa…
34 !0 = !{void (i8 addrspace(1)*, i8 addrspace(1)*, i64, i64)* @spam, !"maxntidx", i64 1, !"maxntidy",…
/external/compiler-rt/test/asan/TestCases/Windows/
Ddemangled_names.cc16 void spam(char *p) { in spam() function
25 foo::spam(t); in baz()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/ArgumentPromotion/
Dcrash.ll27 %tmp = call fastcc i8* @spam(i1 (i8*)* @eggs)
28 %tmp1 = call fastcc i8* @spam(i1 (i8*)* @barney)
32 define internal fastcc i8* @spam(i1 (i8*)* %arg) {
/external/clang/bindings/python/tests/cindex/
Dtest_cursor.py325 spam, egg, ham = enum_constants
327 assert spam.kind == CursorKind.ENUM_CONSTANT_DECL
328 assert spam.enum_value == 1
344 spam, ham = enum_constants
346 assert spam.kind == CursorKind.ENUM_CONSTANT_DECL
347 assert spam.enum_value == -1
/external/python/cpython3/Doc/library/
Dpprint.rst59 >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni']
63 [ ['spam', 'eggs', 'lumberjack', 'knights', 'ni'],
64 'spam',
71 [['spam', 'eggs', 'lumberjack',
73 'spam', 'eggs', 'lumberjack', 'knights',
75 >>> tup = ('spam', ('eggs', ('lumberjack', ('knights', ('ni', ('dead',
79 ('spam', ('eggs', ('lumberjack', ('knights', ('ni', ('dead', (...)))))))
108 >>> stuff = ['spam', 'eggs', 'lumberjack', 'knights', 'ni']
112 'spam',
146 "[<Recursion on list with id=...>, 'spam', 'eggs', 'lumberjack', 'knights', 'ni']"
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/COFF/
Dtail-call-without-lexical-scopes.ll11 ; 7 void spam(void) {
38 define void @"\01?spam@@YAXXZ"() #0 !dbg !4 {
64 !4 = distinct !DISubprogram(name: "spam", line: 7, isLocal: false, isDefinition: true, virtualIndex…
/external/llvm/test/DebugInfo/COFF/
Dtail-call-without-lexical-scopes.ll11 ; 7 void spam(void) {
38 define void @"\01?spam@@YAXXZ"() #0 !dbg !4 {
64 !4 = distinct !DISubprogram(name: "spam", line: 7, isLocal: false, isDefinition: true, virtualIndex…

12345678910>>...12