Searched defs:array (Results 1 - 25 of 48) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/
H A Dmsgfmt.py32 import array namespace
95 output += array.array("i", offsets).tostring()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/
H A DPatchPcdValue.py27 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 Dsre_compile.py417 # 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 Dsre_compile.py303 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 Dwave.py238 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 Dtest_binascii.py6 import array namespace
218 return array.array('c', s)
H A Dtest_ioctl.py1 import array namespace
39 buf = array.array('i')
H A Dtest_file.py9 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 Dtest_types.py289 # 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 Dtest_fileio.py9 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 Dtest_hashlib.py9 import array namespace
99 a = array.array("b", range(10))
H A Dtest_httplib.py2 import array namespace
221 conn.send(array.array('c', expected))
H A Dtest_memoryview.py10 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 Dtest_repr.py51 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 Dtest_struct.py2 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 Dtest_file2k.py6 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 Dtest_memoryio.py434 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 DGenVpd.py19 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 DGenPatchPcdTable.py23 import array namespace
116 @param lines line array for map file
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
H A DEot.py28 from array import array namespace
/device/linaro/hikey/installer/hikey/
H A Dhisi-idt.py8 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 Dandroidcontexthub.cpp68 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 DJSONObject.cpp62 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 DGenFdsGlobalVariable.py22 import array namespace
388 SectionData = array.array('B', [0, 0, 0, 0])
/device/linaro/bootloader/edk2/StdLib/Include/sys/
H A Dtypes.h209 unsigned short *array; /* array for GETALL & SETALL */ member in union:__semun

Completed in 883 milliseconds

12