Searched refs:get (Results 76 - 100 of 385) sorted by relevance

1234567891011>>

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
H A Dfix_apply.py36 kwds = results.get("kwds")
H A Dfix_set_literal.py28 single = results.get("single")
H A Dfix_throw.py35 val = results.get(u"val")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
H A Dliterals.py22 esc = simple_escapes.get(tail)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dmapping_tests.py87 #get
90 self.assertEqual(d.get(key, knownvalue), value)
91 self.assertEqual(d.get(knownkey, knownvalue), knownvalue)
276 self.assertTrue(d.get(self.other.keys()[0]) is None)
277 self.assertEqual(d.get(self.other.keys()[0], 3), 3)
279 self.assertTrue(d.get(self.other.keys()[0]) is None)
280 self.assertEqual(d.get(self.other.keys()[0], 3), 3)
281 self.assertEqual(d.get(self.inmapping.keys()[0]), self.inmapping.values()[0])
282 self.assertEqual(d.get(self.inmapping.keys()[0], 3), self.inmapping.values()[0])
283 self.assertRaises(TypeError, d.get)
[all...]
H A Dtest_multiprocessing.py199 self.assertEqual(q.get(), args[1:])
200 self.assertEqual(q.get(), kwargs)
201 self.assertEqual(q.get(), p.name)
203 self.assertEqual(q.get(), current.authkey)
204 self.assertEqual(q.get(), p.pid)
239 # XXX sometimes get p.exitcode == 0 on Windows ...
356 queue.get()
448 #self.assertEqual(queue.get(), 1)
449 self.assertEqual(queue.get(True, None), 2)
450 self.assertEqual(queue.get(Tru
[all...]
H A Dtest_urllib2.py22 # XXX Name hacking to get this to work on Windows.
25 # And more hacking to get it to work on MacOS. This assumes
483 # non-None. Handlers without .http_open() never get any methods called
558 # *_request / *_response methods get called appropriately
657 self.assertEqual(headers.get("Content-type"), mimetype)
771 hdrs.get; hdrs.has_key # r.info() gives dict from .getreply()
1258 self.get = urllib2.Request("http://www.python.org/~jeremy/")
1265 self.assertEqual("GET", self.get.get_method())
1268 self.assertTrue(not self.get.has_data())
1269 self.assertEqual("GET", self.get
[all...]
H A Dtest_threading.py26 def get(self): member in class:Counter
47 print self.nrunning.get(), 'tasks are running'
48 self.testcase.assertTrue(self.nrunning.get() <= 3)
56 self.testcase.assertTrue(self.nrunning.get() >= 0)
59 self.name, self.nrunning.get())
103 self.assertEqual(numrunning.get(), 0)
149 # thread to get made in the threading._active map.
163 # exposed at the Python level. This test relies on ctypes to get at it.
197 # The exception was raised too quickly for us to get the result.
234 print " waiting for worker thread to get starte
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/
H A Ddomreg.py54 mod = well_known_implementations.get(name)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
H A Dredemo.py97 flags = flags | var.get()
103 self.compiled = re.compile(self.regexdisplay.get(),
128 text = self.stringdisplay.get("1.0", END)
152 if self.showvar.get() == "first":
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
H A DUiSection.py60 OutputFile = os.path.join(OutputPath, ModuleName + 'SEC' + SecNum + Ffs.SectionSuffix.get('UI'))
H A DVerSection.py62 ModuleName + 'SEC' + SecNum + Ffs.SectionSuffix.get('VERSION'))
/device/asus/fugu/libaudio/
H A DAudioHardwareOutput.cpp370 if (param.get(kHDMIAllowedParamKey, tmp) == NO_ERROR)
373 if (param.get(kHDMIDelayCompParamKey, tmp) == NO_ERROR)
377 if (param.get(kFixedHDMIOutputParamKey, tmp) == NO_ERROR)
380 if (param.get(kFixedHDMIOutputLevelParamKey, tmp) == NO_ERROR)
386 if (param.get(kVideoDelayCompParamKey, tmp) == NO_ERROR)
481 if (releaseMe.get() == (*I).get()) {
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
H A Dpybench.py137 ' Platform ID: %s' % d.get('platform', 'n/a'),
138 ' Processor: %s' % d.get('processor', 'n/a'),
141 ' Implementation: %s' % d.get('implementation', 'n/a'),
142 ' Executable: %s' % d.get('executable', 'n/a'),
143 ' Version: %s' % d.get('python', 'n/a'),
144 ' Compiler: %s' % d.get('compiler', 'n/a'),
145 ' Bits: %s' % d.get('bits', 'n/a'),
146 ' Build: %s (#%s)' % (d.get('builddate', 'n/a'),
147 d.get('buildno', 'n/a')),
148 ' Unicode: %s' % d.get('unicod
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
H A Dfancy_getopt.py190 alias_to = self.negative_alias.get(long)
206 alias_to = self.alias.get(long)
268 alias = self.alias.get(opt)
274 alias = self.negative_alias.get(opt)
284 if val and self.repeat.get(attr) is not None:
H A Ddist.py226 # '.get()' rather than a straight lookup.
238 options = attrs.get('options')
295 dict = self.command_options.get(command)
316 opt_dict = self.command_options.get(cmd_name)
397 val = parser.get(section,opt)
410 alias = self.negative_opt.get(opt)
683 if val and is_display_option.get(opt):
704 klass = self.cmdclass.get(cmd)
730 if not is_std.get(cmd):
765 if not is_std.get(cm
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
H A Dmessage.py106 you must use the explicit API to set or get all the headers. Not all of
199 cte = self.get('content-transfer-encoding', '').lower()
293 occurrence gets returned is undefined. Use get_all() to get all
296 return self.get(name)
324 return self.get(name, missing) is not missing
356 def get(self, name, failobj=None):
448 value = self.get('content-type', missing)
498 value = self.get(header, missing)
597 ctype = self.get(header)
617 if ctype != self.get(heade
354 def get(self, name, failobj=None): member in class:Message
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dimputil.py116 if not top_module.__dict__.get('__ispkg__'):
133 importer = top_module.__dict__.get('__importer__')
146 # no knowledge of how to get sub-modules out of the thing.
158 if not globals or not globals.get('__importer__'):
205 importer = module.__dict__.get('__importer__')
340 list(package.__dict__.get('__all__', []))
619 print name, module.__dict__.get('__importer__', '-- no importer')
721 # there is actually not so much policy but a *necessity* to get things
H A Dlocale.py301 #First, get rid of the grouping
366 code = locale_alias.get(lookup_name, None)
372 code = locale_alias.get(langname, None)
384 norm_encoding = encodings.aliases.aliases.get(norm_encoding,
387 encoding = locale_encoding_alias.get(norm_encoding,
480 code = windows_locale.get(int(code, 0))
487 lookup = os.environ.get
H A Durllib2.py19 get a file-like object back. One difference is that you can also pass
292 return self.headers.get(
294 self.unredirected_hdrs.get(header_name, default))
335 lookup = self.handle_error.get(protocol, {})
368 handlers = chain.get(kind, ())
390 for processor in self.process_request.get(protocol, []):
398 for processor in self.process_response.get(protocol, []):
606 if (visited.get(newurl, 0) >= self.max_repeats or
612 visited[newurl] = visited.get(newurl, 0) + 1
760 domains = self.passwd.get(real
[all...]
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/Arm/
H A DRTSMHelper.asm43 // Read Configuration Base Address Register. ArmCBar cannot be called to get
81 ldr r0, [r0, #A9_SCU_CONFIG_OFFSET] ; Read SCU Config reg to get CPU count
85 mrc p15, 1, r0, c9, c0, 2 ; Read C9 register of CP15 to get CPU count
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
H A DBuildReport.py265 GuidString = self._GuidDb.get(GuidValue, GuidValue)
367 ModuleType = gComponentType2ModuleType.get(M.ComponentType, "")
380 self.Depex = M.DepexExpressionList.get(M.ModuleType, "")
485 self.BuildFlags[Tool + "_FLAGS"] = M.BuildOption.get(Tool, {}).get("FLAGS", "")
534 ModuleType = gComponentType2ModuleType.get(M.ComponentType, "")
539 PiSpec = M.Module.Specification.get("PI_SPECIFICATION_VERSION", "0x00010000")
542 self.DriverType = gDriverTypeMap.get(ModuleType, "0x2 (FREE_FORM)")
543 self.UefiSpecVersion = M.Module.Specification.get("UEFI_SPECIFICATION_VERSION", "")
544 self.PiSpecVersion = M.Module.Specification.get("PI_SPECIFICATION_VERSIO
[all...]
/device/google/contexthub/contexthubhal/
H A Dnanohubhal.h62 memcpy(data_.get(), data, len);
63 message = data_.get();
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A Dlocale.py307 #First, get rid of the grouping
355 norm_encoding = encodings.aliases.aliases.get(norm_encoding,
358 encoding = locale_encoding_alias.get(norm_encoding,
405 code = locale_alias.get(lookup_name, None)
412 code = locale_alias.get(lang_enc, None)
426 code = locale_alias.get(lookup_name, None)
436 code = locale_alias.get(langname, None)
527 code = windows_locale.get(int(code, 0))
534 lookup = os.environ.get
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/newmetaclasses/
H A DEiffel.py29 pre = dict.get("%s_pre" % m)
30 post = dict.get("%s_post" % m)

Completed in 532 milliseconds

1234567891011>>