Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
Dfix_map.py65 new = node.clone()
66 new.prefix = u""
67 new = Call(Name(u"list"), [new])
69 new = ListComp(results["xp"].clone(),
74 new = results["arg"].clone()
87 new = node.clone()
88 new.prefix = u""
89 new = Call(Name(u"list"), [new])
90 new.prefix = node.prefix
91 return new
Dfix_filter.py58 new = ListComp(results.get("fp").clone(),
64 new = ListComp(Name(u"_f"),
72 new = node.clone()
73 new.prefix = u""
74 new = Call(Name(u"list"), [new])
75 new.prefix = node.prefix
76 return new
Dfix_unicode.py18 new = node.clone()
19 new.value = _mapping[node.value]
20 return new
23 new = node.clone()
24 new.value = new.value[1:]
25 return new
Dfix_zip.py31 new = node.clone()
32 new.prefix = u""
33 new = Call(Name(u"list"), [new])
34 new.prefix = node.prefix
35 return new
Dfix_has_key.py100 new = pytree.Node(syms.comparison, (arg, n_op, before))
102 new = parenthesize(new)
103 new = pytree.Node(syms.power, (new,) + tuple(after))
108 new = parenthesize(new)
109 new.prefix = prefix
110 return new
Dfix_dict.py74 new = pytree.Node(syms.power, args)
76 new.prefix = u""
77 new = Call(Name(u"iter" if isiter else u"list"), [new])
79 new = pytree.Node(syms.power, [new] + tail)
80 new.prefix = node.prefix
81 return new
Dfix_raise.py62 new = pytree.Node(syms.raise_stmt, [Name(u"raise"), exc])
63 new.prefix = node.prefix
64 return new
84 new = pytree.Node(syms.simple_stmt, [Name(u"raise")] + with_tb)
85 new.prefix = node.prefix
86 return new
Dfix_future.py20 new = BlankLine()
21 new.prefix = node.prefix
22 return new
Dfix_input.py24 new = node.clone()
25 new.prefix = u""
26 return Call(Name(u"eval"), [new], prefix=node.prefix)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_marshal.py51 new = marshal.loads(marshal.dumps(b))
52 self.assertEqual(b, new)
53 self.assertEqual(type(b), type(new))
55 new = marshal.load(file(test_support.TESTFN, "rb"))
56 self.assertEqual(b, new)
57 self.assertEqual(type(b), type(new))
110 new = marshal.loads(marshal.dumps(s))
111 self.assertEqual(s, new)
112 self.assertEqual(type(s), type(new))
114 new = marshal.load(file(test_support.TESTFN, "rb"))
[all …]
Dtest_new.py4 new = test_support.import_module('new', deprecated=True) variable
12 m = new.module('Spam')
21 C = new.classobj('Spam', (Spam.Eggs,), {'get_more_yolks': get_more_yolks})
24 c = new.instance(C, {'yolks': 3})
26 o = new.instance(C)
29 o = new.instance(C, None)
37 im = new.instancemethod(break_yolks, c, C)
50 im = new.instancemethod(break_yolks, c)
55 self.assertRaises(TypeError, new.instancemethod, break_yolks, None)
58 self.assertRaises(TypeError, new.instancemethod, break_yolks, c, kw=1)
[all …]
Dtest_pep247.py26 obj1 = module.new(key)
27 obj2 = module.new(key, 'string')
29 h1 = module.new(key, 'string').digest()
30 obj3 = module.new(key)
34 obj1 = module.new()
35 obj2 = module.new('string')
37 h1 = module.new('string').digest()
38 obj3 = module.new()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
DPBlackBox.h64 in = new DLGFileInput(f); in ParserBlackBox()
65 scan = new Lexer(in); in ParserBlackBox()
66 pipe = new ANTLRTokenBuffer(scan); in ParserBlackBox()
67 tok = new Token; in ParserBlackBox()
69 _parser = new Parser(pipe); in ParserBlackBox()
82 in = new DLGFileInput(f); in ParserBlackBox()
83 scan = new Lexer(in); in ParserBlackBox()
84 pipe = new ANTLRTokenBuffer(scan); in ParserBlackBox()
85 tok = new Token; in ParserBlackBox()
87 _parser = new Parser(pipe); in ParserBlackBox()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
DPBlackBox.h86 in = new DLGFileInput(f); in ParserBlackBox()
87 scan = new Lexer(in); in ParserBlackBox()
88 pipe = new ANTLRTokenBuffer(scan); in ParserBlackBox()
89 tok = new Token; in ParserBlackBox()
91 _parser = new Parser(pipe); in ParserBlackBox()
112 in = new DLGFileInput(f); in ParserBlackBox()
113 scan = new Lexer(in); in ParserBlackBox()
114 pipe = new ANTLRTokenBuffer(scan); in ParserBlackBox()
115 tok = new Token; in ParserBlackBox()
117 _parser = new Parser(pipe); in ParserBlackBox()
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
Dacpi_func.h78 uint32_t new, old; in acpi_acquire_global_lock() local
82 new = ((old & ~GL_BIT_MASK) | GL_BIT_OWNED) | in acpi_acquire_global_lock()
84 } while (atomic_cmpset_acq_int(lock, old, new) == 0); in acpi_acquire_global_lock()
86 return ((new < GL_BIT_MASK) ? GL_ACQUIRED : GL_BUSY); in acpi_acquire_global_lock()
97 uint32_t new, old; in acpi_release_global_lock() local
101 new = old & ~GL_BIT_MASK; in acpi_release_global_lock()
102 } while (atomic_cmpset_rel_int(lock, old, new) == 0); in acpi_release_global_lock()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dquopri.py127 new = ''
142 new = new + ' '; i = i+1
144 new = new + c; i = i+1
148 new = new + ESCAPE; i = i+2
150 new = new + chr(unhex(line[i+1:i+3])); i = i+3
152 new = new + c; i = i+1
154 output.write(new + '\n')
155 new = ''
156 if new:
157 output.write(new)
Dhashlib.py70 return _sha.new
73 return _md5.new
118 return _hashlib.new(name, string)
129 new = __hash_new variable
132 new = __py_new variable
Dwebbrowser.py58 def open(url, new=0, autoraise=True): argument
61 if browser.open(url, new, autoraise):
147 def open(self, url, new=0, autoraise=True): argument
171 def open(self, url, new=0, autoraise=True): argument
188 def open(self, url, new=0, autoraise=True): argument
259 def open(self, url, new=0, autoraise=True): argument
260 if new == 0:
262 elif new == 1:
264 elif new == 2:
271 "expected 0, 1, or 2, got %s" % new)
[all …]
Dweakref.py83 new = WeakValueDictionary()
87 new[key] = o
88 return new
94 new = self.__class__()
98 new[deepcopy(key, memo)] = o
99 return new
265 new = WeakKeyDictionary()
269 new[o] = value
270 return new
276 new = self.__class__()
[all …]
/device/google/contexthub/firmware/os/cpu/x86/
DatomicBitset.c49 uint32_t old, new; in atomicBitsetClearBit() local
57 new = old &~ mask; in atomicBitsetClearBit()
58 } while (!atomicCmpXchg32bits(wordPtr, old, new)); in atomicBitsetClearBit()
67 uint32_t old, new; in atomicBitsetFindClearAndSet() local
75 new = old | (1 << pos); in atomicBitsetFindClearAndSet()
77 if (atomicCmpXchg32bits(wordPtr, old, new)) in atomicBitsetFindClearAndSet()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
Dgrammar.py104 new = self.__class__()
107 setattr(new, dict_attr, getattr(self, dict_attr).copy())
108 new.labels = self.labels[:]
109 new.states = self.states[:]
110 new.start = self.start
111 return new
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dhashlib.py76 return _sha.new
79 return _md5.new
124 return _hashlib.new(name, string)
135 new = __hash_new variable
140 new = __py_new variable
179 inner = new(hash_name)
180 outer = new(hash_name)
183 password = new(hash_name, password).digest()
204 hex_format_string = "%%0%ix" % (new(hash_name).digest_size * 2)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
Drrcs.py51 new = not x.isvalid(fn)
52 if not new and same(x, copts, fn, data):
56 message = asklogmessage(new)
118 lsum = md5.new(data).digest()
122 def asklogmessage(new): argument
123 if new:
128 if new:
/device/generic/goldfish-opengl/android-emu/android/base/
DOptional.h194 new (&get()) T(other.get()); in Optional()
199 new (&get()) T(std::move(other.get())); in Optional()
209 new (&get()) T(other.get()); in Optional()
219 new (&get()) T(std::move(other.get())); in Optional()
224 Optional(const T& value) : base_flag(true) { new (&get()) T(value); } in Optional()
226 Optional(T&& value) : base_flag(true) { new (&get()) T(std::move(value)); } in Optional()
231 new (&get()) T(std::forward<Args>(args)...); in Optional()
239 new (&get()) T(il); in Optional()
257 new (&get()) T(other.get());
277 new (&get()) T(std::move(other.get()));
[all …]
/device/google/cuttlefish/shared/sepolicy/
Dgenfs_contexts2 genfscon sysfs /devices/pci0000:00/0000:00:07.0/virtio5/net u:object_r:sysfs_net:s0 # (new) qemu bu…
3 genfscon sysfs /devices/pci0000:00/0000:00:08.0/virtio6/net u:object_r:sysfs_net:s0 # (new) qemu rm…
4 genfscon sysfs /devices/pci0000:00/0000:00:09.0/virtio8/net u:object_r:sysfs_net:s0 # (new) crosvm …
5 genfscon sysfs /devices/pci0000:00/0000:00:0a.0/virtio9/net u:object_r:sysfs_net:s0 # (new) crosvm …

12345678910>>...15