Home
last modified time | relevance | path

Searched refs:fromstring (Results 1 – 25 of 37) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_cfgparser.py43 def fromstring(self, string, defaults=None): member in TestCaseBase
76 cf = self.fromstring(config_string)
147 cf = self.fromstring(
153 cf = self.fromstring("[section]\nnekey=nevalue\n",
210 cf = self.fromstring(
255 cf = self.fromstring(config_string)
277 cf = self.fromstring("[sect]\n"
294 cf = self.fromstring("[sect]\n"
322 return self.fromstring(
350 cf = self.fromstring(
[all …]
Daudiotests.py21 a.fromstring(data)
33 a.fromstring(data)
Dtest_array.py258 self.assertRaises(TypeError, b.fromstring)
259 self.assertRaises(TypeError, b.fromstring, 42)
260 self.assertRaises(ValueError, a.fromstring, a)
261 b.fromstring(a.tostring())
264 self.assertRaises(ValueError, b.fromstring, "x")
/external/python/cpython2/Lib/plat-mac/
DPixMapWrapper.py161 def fromstring(self,s,width,height,format=imgformat.macrgb): member in PixMapWrapper
198 self.fromstring(data, im.size[0], im.size[1])
207 return Image.fromstring('RGBA',(bounds[2]-bounds[0],bounds[3]-bounds[1]),data)
/external/fonttools/Lib/fontTools/ttLib/tables/
DG_P_K_G_.py27 GMAPoffsets.fromstring(newData[:endPos])
38 glyphletOffsets.fromstring(newData[pos:endPos])
DT_S_I__5.py15 a.fromstring(data)
D_c_v_t.py12 values.fromstring(data)
DL_T_S_H_.py22 yPels.fromstring(data)
D_l_o_c_a.py19 locations.fromstring(data)
D_p_o_s_t.py86 indices.fromstring(data[:2*numGlyphs])
133 indices.fromstring(data)
D_c_m_a_p.py187 glyphIdArray.fromstring(self.data)
277 allKeys.fromstring(data[:512])
294 giList.fromstring(data[giDataPos:giDataPos + subHeader.entryCount*2])
648 allCodes.fromstring(data)
827 glyphIndexArray.fromstring(data[:2 * int(entryCount)])
/external/clang/utils/
DFindSpecRefs618 spec = SpecIndex.fromstring(section)
679 def fromstring(str): member in SpecIndex
731 self.section = SpecIndex.fromstring(section)
/external/autotest/client/cros/audio/
Daudio_data.py95 np_array = np.fromstring(binary, dtype=np_dtype)
/external/autotest/client/tests/cgroup/
Dcgroup_client.py44 mem.fromstring(buf)
/external/python/cpython2/Doc/library/
Darray.rst71 :meth:`fromlist`, :meth:`fromstring`, or :meth:`fromunicode` method (see below)
161 .. method:: array.fromstring(s)
171 ``array.fromstring(unicodestring.encode(enc))`` to append Unicode data to an
/external/libmojo/third_party/catapult/devil/devil/android/
Dapp_ui.py202 xml_node = element_tree.fromstring(
Dapp_ui_test.py77 self.device, element_tree.fromstring(value), self.app.package)
/external/chromium-trace/catapult/devil/devil/android/
Dapp_ui.py202 xml_node = element_tree.fromstring(
Dapp_ui_test.py77 self.device, element_tree.fromstring(value), self.app.package)
/external/autotest/client/cros/chameleon/
Dchameleon.py637 return Image.fromstring(
731 return Image.fromstring('RGB',
/external/selinux/python/sepolicy/sepolicy/
Dinterface.py148 tree = xml.etree.ElementTree.fromstring(xml_path)
/external/fonttools/Lib/fontTools/misc/
DxmlWriter.py164 a.fromstring(data)
/external/autotest/client/cros/multimedia/
Daudio_facade_native.py50 np_array = np.fromstring(binary, dtype='<i2')
/external/libmojo/third_party/catapult/devil/devil/android/sdk/
Dshared_prefs.py247 self._xml = ElementTree.fromstring(
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs.py251 self._xml = ElementTree.fromstring(

12