Searched refs:get (Results 1 - 25 of 385) sorted by relevance

1234567891011>>

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
H A Ddebug.py7 DEBUG = os.environ.get('DISTUTILS_DEBUG')
H A Dconfig.py66 # let's get the list of servers
67 index_servers = config.get('distutils', 'index-servers')
72 # nothing set, let's try to get the default pypi
81 current['username'] = config.get(server, 'username')
89 current[key] = config.get(server, key)
99 repository = config.get(server, 'repository')
102 return {'username': config.get(server, 'username'),
103 'password': config.get(server, 'password'),
/device/generic/goldfish-opengl/system/surfaceInterface/
H A DsurfaceInterface.cpp11 static SurfaceInterface* get();
24 SurfaceInterface* SurfaceInterface::get() { function in class:SurfaceInterface
31 SurfaceInterface::get();
35 SurfaceInterface::get()->setAsyncMode((ANativeWindow*)window, true);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
H A Dfix_filter.py58 new = ListComp(results.get("fp").clone(),
59 results.get("fp").clone(),
60 results.get("it").clone(),
61 results.get("xp").clone())
H A Dfix_exec.py31 b = results.get("b")
32 c = results.get("c")
H A Dfix_xreadlines.py20 no_call = results.get("no_call")
H A Dfix_urllib.py82 import_mod = results.get("module")
98 mod_member = results.get("mod_member")
100 member = results.get("member")
171 module_dot = results.get("bare_with_attr")
172 member = results.get("member")
187 if results.get("module"):
189 elif results.get("mod_member"):
191 elif results.get("bare_with_attr"):
194 elif results.get("module_star"):
196 elif results.get("module_a
[all...]
H A Dfix_types.py59 new_value = unicode(_TYPE_MAPPING.get(results["name"].value))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dthis.py28 print "".join([d.get(c, c) for c in s])
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/
H A Dutil.py38 if environ.get("HTTPS") in ('yes','on','1'):
48 if environ.get('HTTP_HOST'):
60 url += quote(environ.get('SCRIPT_NAME') or '/')
67 path_info = quote(environ.get('PATH_INFO',''),safe='/;=,')
68 if not environ.get('SCRIPT_NAME'):
72 if include_query and environ.get('QUERY_STRING'):
89 path_info = environ.get('PATH_INFO','')
98 script_name = environ.get('SCRIPT_NAME','')
108 # Special case: '/.' on PATH_INFO doesn't get stripped,
H A Dheaders.py62 occurrance gets returned is undefined. Use getall() to get all
65 return self.get(name)
69 return self.get(name) is not None
86 def get(self,name,default=None): member in class:Headers
138 result = self.get(name)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_queue.py97 actual_order = [q.get(), q.get(), q.get()]
119 self.do_blocking_test(q.put, (full,), q.get, ())
120 self.do_blocking_test(q.put, (full, True, 10), q.get, ())
123 q.get()
126 q.get(block=0)
131 q.get(timeout=0.01)
135 # Test a blocking get
136 self.do_blocking_test(q.get, (),
[all...]
H A Dtest_cfgparser.py96 eq(cf.get('Foo Bar', 'foo'), 'bar')
97 eq(cf.get('Spacey Bar', 'foo'), 'bar')
98 eq(cf.get('Commented Bar', 'foo'), 'bar')
99 eq(cf.get('Spaces', 'key with spaces'), 'value')
100 eq(cf.get('Spaces', 'another with spaces'), 'splat!')
102 eq(cf.get('NoValue', 'option-without-value'), None)
120 eq(cf.get('Long Line', 'foo'),
133 eq(cf.get("a", "b"), "value",
150 eq(cf.get("MySection", "Option"), "first line\nsecond line")
161 cf.get("DEFAUL
[all...]
H A Dtest_descrtut.py25 def get(self, key, *args): member in class:defaultdict
28 return dict.get(self, key, *args)
117 def get(self, key, *args): member in class:defaultdict2
120 return dict.get(self, key, *args)
175 Instead, you can get the same information from the list type:
314 Attributes defined by get/set methods
319 ... def __init__(self, get, set=None):
320 ... self.__get = get
H A Dtest_doctest.py33 >>> # comments get ignored. so are empty PS1 and PS2 prompts:
41 ... print sc.get(),
46 >>> print SampleClass(12).get()
53 >>> print SampleClass(12).double().get()
58 def get(self): member in class:SampleClass
60 >>> print SampleClass(-5).get()
83 a_property = property(get, doc="""
92 >>> print y.get()
97 >>> print SampleClass.NestedClass().get()
103 def get(sel member in class:SampleClass.NestedClass
127 def get(self): member in class:SampleNewStyleClass
[all...]
/device/linaro/hikey/uefi-tools/
H A Dparse-platforms.py16 value = config.get(args.platform, "EXTRA_FILES")
21 value = config.get(args.platform, "BUILD_ATF")
27 value = config.get(args.platform, "UEFI_BIN")
41 value = config.get(args.platform, args.option)
73 "get": get_option}
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/etree/
H A DElementInclude.py107 href = e.get("href")
108 parse = e.get("parse", "xml")
120 text = loader(href, parse, e.get("encoding"))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/
H A DElementInclude.py108 href = e.get("href")
109 parse = e.get("parse", "xml")
121 text = loader(href, parse, e.get("encoding"))
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
H A DOptRomInfStatement.py43 # Parse inf file to get option ROM related parameters
53 self.OverrideAttribs.NeedCompress = self.OptRomDefs.get ('PCI_COMPRESS')
61 self.OverrideAttribs.PciVendorId = self.OptRomDefs.get ('PCI_VENDOR_ID')
64 self.OverrideAttribs.PciClassCode = self.OptRomDefs.get ('PCI_CLASS_CODE')
67 self.OverrideAttribs.PciDeviceId = self.OptRomDefs.get ('PCI_DEVICE_ID')
70 self.OverrideAttribs.PciRevision = self.OptRomDefs.get ('PCI_REVISION')
86 # Parse Inf file get Module related information
H A DFvImageSection.py64 OutputFile = os.path.join(OutputPath, ModuleName + 'SEC' + Num + Ffs.SectionSuffix.get("FV_IMAGE"))
73 Fv = GenFdsGlobalVariable.FdfParser.Profile.FvDict.get(self.FvName)
92 OutputFile = os.path.join(OutputPath, ModuleName + 'SEC' + SecNum + Ffs.SectionSuffix.get("FV_IMAGE"))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
H A Dcleanfuture.py165 get = tokenize.generate_tokens(self.getline).next
166 type, token, (srow, scol), (erow, ecol), line = get()
170 type, token, (srow, scol), (erow, ecol), line = get()
174 type, token, (srow, scol), (erow, ecol), line = get()
180 type, token, (srow, scol), (erow, ecol), line = get()
185 type, token, (srow, scol), (erow, ecol), line = get()
189 type, token, (srow, scol), (erow, ecol), line = get()
193 type, token, (srow, scol), (erow, ecol), line = get()
199 type, token, (srow, scol), (erow, ecol), line = get()
203 type, token, (srow, scol), (erow, ecol), line = get()
[all...]
/device/huawei/angler/
H A Dinit.angler.power.sh14 function get-set-forall() { function
25 get-set-forall /sys/devices/soc.0/qcom,bcl.*/mode disable
26 bcl_hotplug_mask=`get-set-forall /sys/devices/soc.0/qcom,bcl.*/hotplug_mask 0`
27 bcl_hotplug_soc_mask=`get-set-forall /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask 0`
28 get-set-forall /sys/devices/soc.0/qcom,bcl.*/mode enable
104 get-set-forall /sys/class/devfreq/qcom,cpubw*/governor bw_hwmon
111 get-set-forall /sys/devices/soc.0/qcom,bcl.*/mode disable
112 get-set-forall /sys/devices/soc.0/qcom,bcl.*/hotplug_mask $bcl_hotplug_mask
113 get-set-forall /sys/devices/soc.0/qcom,bcl.*/hotplug_soc_mask $bcl_hotplug_soc_mask
114 get
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
H A D__init__.py74 entry = _cache.get(encoding, _unknown)
86 aliased_encoding = _aliases.get(norm_encoding) or \
87 _aliases.get(norm_encoding.replace('.', '_'))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
H A D__init__.py74 entry = _cache.get(encoding, _unknown)
86 aliased_encoding = _aliases.get(norm_encoding) or \
87 _aliases.get(norm_encoding.replace('.', '_'))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/
H A Daudio.py38 return _sndhdr_MIMEmap.get(res[0])

Completed in 304 milliseconds

1234567891011>>