/external/llvm/bindings/python/llvm/ |
disassembler.py | 87 The input source should be a str or bytearray or something that
|
/external/protobuf/csharp/src/Google.Protobuf/ |
CodedOutputStream.cs | 184 ByteArray.Reverse(rawBytes);
602 ByteArray.Copy(value, offset, buffer, position, length);
611 ByteArray.Copy(value, offset, buffer, position, bytesWritten);
623 ByteArray.Copy(value, offset, buffer, 0, length);
|
CodedInputStream.cs | 485 ByteArray.Reverse(rawBytes);
[all...] |
/external/python/cpython2/Misc/Vim/ |
python.vim | 67 syn keyword pythonBuiltin buffer bytearray bytes callable chr classmethod
|
/external/python/cpython3/Lib/ |
_collections_abc.py | 37 bytearray_iterator = type(iter(bytearray())) 930 """This unifies bytes and bytearray. 938 ByteString.register(bytearray) 1007 MutableSequence.register(bytearray) # Multiply inheriting, see ByteString
|
/external/python/cpython3/Lib/asyncio/ |
proactor_events.py | 32 self._buffer = None # None or bytearray. 234 if not isinstance(data, (bytes, bytearray, memoryview)): 252 # 3. BACKED UP: _write_fut set; _buffer a bytearray 261 self._buffer = bytearray(data)
|
/external/python/cpython3/Lib/test/ |
test_imghdr.py | 51 self.assertEqual(imghdr.what(None, bytearray(data)), expected)
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowBundleTest.java | 162 public void byteArray() {
|
/external/sfntly/cpp/src/sfntly/data/ |
writable_font_data.cc | 27 WritableFontData::WritableFontData(ByteArray* ba) : ReadableFontData(ba) {
|
/external/sfntly/cpp/src/sfntly/ |
font_factory.h | 52 // ByteArray font loading
|
/external/skia/tools/debugger/ |
SkJsonWriteBuffer.cpp | 35 this->append("byteArray", jsonArray);
|
/external/skqp/tools/debugger/ |
SkJsonWriteBuffer.cpp | 35 this->append("byteArray", jsonArray);
|
/external/v8/src/extensions/ |
statistics-extension.cc | 151 ByteArray* source_position_table = code->source_position_table();
|
/frameworks/base/tests/UsbTests/src/com/android/server/usb/ |
UsbDescriptorParserTests.java | 62 fail("Failed to convert descriptor strema to bytearray.");
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/resource/ |
XmlResourcesTransformer.kt | 80 fun getCharset(data: ByteArray): Charset {
|
/tools/apksig/src/main/java/com/android/apksig/ |
ApkVerifier.java | 281 ArrayList<ByteArray> v1SignerCerts = new ArrayList<>(); 282 ArrayList<ByteArray> v2SignerCerts = new ArrayList<>(); 285 v1SignerCerts.add(new ByteArray(signer.getCertificate().getEncoded())); 293 v2SignerCerts.add(new ByteArray(signer.getCertificate().getEncoded())); 303 ByteArray v1Cert = v1SignerCerts.get(i); 311 ByteArray v2Cert = v2SignerCerts.get(i); [all...] |
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Tools/ |
PatchFv.py | 34 bytearray = [ord(b) for b in fd.read(len)]
38 value = value << 8 | bytearray[idx]
88 bytearray = []
91 bytearray.append(value & 0xFF)
95 fd.write("".join(chr(b) for b in bytearray))
|
/device/linaro/bootloader/edk2/IntelFspPkg/Tools/ |
PatchFv.py | 34 bytearray = [ord(b) for b in fd.read(len)]
38 value = value << 8 | bytearray[idx]
88 bytearray = []
91 bytearray.append(value & 0xFF)
95 fd.write("".join(chr(b) for b in bytearray))
|
GenCfgOpt.py | 438 bytearray = []
442 bytearray.append("0x%02X" % (value & 0xFF))
444 newvalue = '{' + ','.join(bytearray) + '}'
695 bytearray = []
704 bytearray.append(value)
712 bytearray.append(value & 0xFF)
717 valuelist = [b for b in bytearray[SubItem['offset']:SubItem['offset']+SubItem['length']]]
722 valuestr = ",".join('0x%02X' % b for b in bytearray[SubItem['offset']:SubItem['offset']+SubItem['length']])
[all...] |
/external/python/cpython2/Lib/test/ |
test_sys.py | 541 # bytearray 544 x = bytearray(sample) 547 check(iter(bytearray()), size('PP')) 782 class BA(bytearray): 784 check(BA(), bytearray(), '3P')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_io.py | 264 self.assertEqual(f.write(bytearray(b" world\n\n\n")), 9)
277 data = bytearray(data)
286 self.assertEqual(f.readinto(bytearray(b"x")), 0)
290 self.assertEqual(f.readinto(bytearray()), 0)
757 b = bytearray(2)
834 s = bytes(bytearray(l))
863 c = bytes(bytearray([i]))
[all...] |
/external/python/cpython3/Lib/test/test_asyncio/ |
test_selector_events.py | 39 return bytearray().join(l) 920 data = bytearray(b'data') 926 self.assertEqual(data, bytearray(b'data')) # Hasn't been mutated. [all...] |
/frameworks/base/media/jni/ |
android_media_MediaDrm.cpp | 511 static Vector<uint8_t> JByteArrayToVector(JNIEnv *env, jbyteArray const &byteArray) { 513 size_t length = env->GetArrayLength(byteArray); 515 env->GetByteArrayRegion(byteArray, 0, length, (jbyte *)vector.editArray()); 621 jbyteArray byteArray = VectorToJByteArray(env, *iter); 622 env->CallBooleanMethod(arrayList, gFields.arraylist.add, byteArray); 623 env->DeleteLocalRef(byteArray); [all...] |
/external/v8/src/ |
objects-inl.h | 139 TYPE_CHECKER(ByteArray, BYTE_ARRAY_TYPE) 615 CAST_ACCESSOR(ByteArray) [all...] |
/cts/tests/tests/media/libaudiojni/ |
audio-record-native.cpp | 617 jbyteArray byteArray, jint offsetInSamples, jint sizeInSamples, jint readFlags) 619 return readArray(env, clazz, jrecord, byteArray, offsetInSamples, sizeInSamples, readFlags);
|