/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/ |
H A D | msgfmt.py | 32 import array
namespace 95 output += array.array("i", offsets).tostring()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/ |
H A D | PatchPcdValue.py | 27 import array
namespace 85 # Read binary file into array
88 ByteArray = array.array('B')
177 return PARAMETER_INVALID, "PCD Value %s is not valid dec or hex string array." % (ValueString)
198 ByteArray = array.array('B')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
H A D | sre_compile.py | 417 # Convert block indices to word array
418 import array
namespace 423 a = array.array(code, bytes(b))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | sre_compile.py | 303 import array
namespace 345 # Convert block indices to byte array of 256 bytes
346 mapping = array.array('b', mapping).tostring()
347 # Convert byte array to word array
348 mapping = array.array(code, mapping)
|
H A D | wave.py | 238 import array
namespace 240 data = array.array(_array_fmts[self._sampwidth])
422 import array
namespace 423 data = array.array(_array_fmts[self._sampwidth], data)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_binascii.py | 6 import array
namespace 218 return array.array('c', s)
|
H A D | test_ioctl.py | 1 import array
namespace 39 buf = array.array('i')
|
H A D | test_file.py | 9 from array import array
namespace 49 a = array('b', b'x'*10)
56 a = array('b', b'x'*10)
247 ("readinto", (array("b", b" "*100),))]
284 buf = array("b", b"\x00" * len(testline))
|
H A D | test_types.py | 289 # array.array() returns an object that does not implement a char buffer,
291 import array
namespace 292 try: int(buffer(array.array('c')))
|
H A D | test_fileio.py | 9 from array import array
namespace 69 a = array(b'b', b'x'*10)
72 self.assertEqual(array(b'b', [1, 2]), a[:n])
231 a = array(b'b', b'x'*10)
|
H A D | test_hashlib.py | 9 import array
namespace 99 a = array.array("b", range(10))
|
H A D | test_httplib.py | 2 import array
namespace 221 conn.send(array.array('c', expected))
|
H A D | test_memoryview.py | 10 import array
namespace 256 # Disabled: array.array() does not support the new buffer API in 2.x
260 #rw_type = lambda self, b: array.array('i', map(ord, b))
261 #getitem_type = lambda self, b: array.array('i', map(ord, b)).tostring()
262 #itemsize = array.array('i').itemsize
333 #a = array [all...] |
H A D | test_repr.py | 51 from array import array
namespace 93 # array.array after 5.
94 eq(r(array('i')), "array('i', [])")
95 eq(r(array('i', [1])), "array('i', [1])")
96 eq(r(array('i', [1, 2])), "array(' [all...] |
H A D | test_struct.py | 2 import array
namespace 437 writable_buf = array.array('c', ' '*100)
452 small_buf = array.array('c', ' '*10)
465 writable_buf = array.array('c', ' '*100)
480 small_buf = array.array('c', ' '*10)
490 data1 = array [all...] |
H A D | test_file2k.py | 6 from array import array
namespace 58 a = array('c', 'x'*10)
320 ("readinto", (array("c", " "*100),))]
363 buf = array("c", "\x00" * len(testline))
558 a = array('c', 'xxxxx')
|
H A D | test_memoryio.py | 434 import array
namespace 435 a = array.array(b'b', b"hello world")
472 import array
namespace 473 a = array.array(b'b', buf)
611 "array.array() does not have the new buffer API"
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/ |
H A D | GenVpd.py | 19 import array
namespace 169 # 3: {bytearray}, only support byte-array.
207 ## Pack a byte-array PCD value.
209 # A byte-array for a PCD should be in format as {0x01, 0x02, ...}.
224 "The byte array %s is too large for size %d(File: %s Line: %s)" % (ValueString, Size, self.FileName, self.Lineno))
226 ReturnArray = array.array('B')
236 "The value item %s in byte array %s is an invalid HEX value.(File: %s Line: %s)" % \
244 "The value item %s in byte array %s is an invalid DECIMAL value.(File: %s Line: %s)" % \
249 "The value item %s in byte array [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenPatchPcdTable/ |
H A D | GenPatchPcdTable.py | 23 import array
namespace 116 @param lines line array for map file
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
H A D | Eot.py | 28 from array import array
namespace
|
/device/linaro/hikey/installer/hikey/ |
H A D | hisi-idt.py | 8 import array namespace 118 data = array.array('B', self.startframe[self.chip]).tostring() 135 data = array.array('B', self.headframe[self.chip]).tostring()
|
/device/google/contexthub/util/nanotool/ |
H A D | androidcontexthub.cpp | 68 sp<JSONArray> array; local 69 if (json->getArray(key, &array)) { 70 for (size_t i = 0; i < array->size(); i++) { 72 array->getInt32(i, &val); 83 sp<JSONArray> array; local 84 if (json->getArray(key, &array)) { 85 for (size_t i = 0; i < array->size(); i++) { 87 array->getFloat(i, &val); 126 // Proximity might be an int32 array with 4 values (CRGB) or a single
|
/device/google/contexthub/util/common/ |
H A D | JSONObject.cpp | 62 sp<JSONArray> array = new JSONArray; local 86 array->addValue(val); 105 out->setArray(array); 495 void JSONValue::setArray(const sp<JSONArray> &array) { argument 498 mValue.mObjectOrArray = array.get(); 639 sp<JSONArray> array; local 640 if (value.getArray(&array)) { 641 return array;
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
H A D | GenFdsGlobalVariable.py | 22 import array
namespace 388 SectionData = array.array('B', [0, 0, 0, 0])
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
H A D | types.h | 209 unsigned short *array; /* array for GETALL & SETALL */
member in union:__semun
|