/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
DeflaterOutputStreamTest.java | 73 byte byteArray[] = { 1, 3, 4, 7, 8 }; 76 deflate.setInput(byteArray); 92 byte byteArray[] = { 1, 3, 4, 7, 8 }; 110 dos.write(byteArray); 142 byte byteArray[] = { 1, 3, 4, 7, 8, 3, 6 }; 175 dos.write(byteArray); 203 byte byteArray[] = { 1, 3, 4, 6 }; 204 dos.write(byteArray); 256 byte byteArray[] = { 1, 3, 4, 6 }; 257 dos.write(byteArray); [all...] |
CRC32Test.java | 124 byte byteArray[] = { 1, 2 }; 126 crc.update(byteArray); 148 byte[] byteArray = { 1, 2, 3 }; 150 int off = 2;// accessing the 2nd element of byteArray 154 crc.update(byteArray, off, len); 162 crc.update(byteArray, off, lenError); 170 crc.update(byteArray, offError, len);
|
/external/pdfium/xfa/fxbarcode/common/ |
BC_CommonByteArray.h | 18 CBC_CommonByteArray(uint8_t* byteArray, int32_t size);
|
/external/sfntly/cpp/src/sfntly/data/ |
memory_byte_array.cc | 24 : ByteArray(0, length), b_(NULL), allocated_(true) { 28 : ByteArray(filled_length, filled_length), b_(b), allocated_(false) {
|
/art/test/011-array-copy/src/ |
Main.java | 83 byte[] byteArray = new byte[ARRAY_SIZE]; 89 initByteArray(byteArray); 95 System.arraycopy(byteArray, srcPos, byteArray, dstPos, length); 102 if (intArray[i] != byteArray[i]) { 104 Arrays.toString(byteArray));
|
/dalvik/dx/src/com/android/dx/command/dump/ |
DotDumper.java | 34 import com.android.dx.util.ByteArray; 66 ByteArray ba = new ByteArray(bytes); 96 public void parsed(ByteArray bytes, int offset, int len, String human) { 101 public void startParsingMember(ByteArray bytes, int offset, String name, 106 public void endParsingMember(ByteArray bytes, int offset, String name,
|
BlockDumper.java | 42 import com.android.dx.util.ByteArray; 108 ByteArray ba = new ByteArray(bytes); 136 public void parsed(ByteArray bytes, int offset, int len, String human) { 152 public void startParsingMember(ByteArray bytes, int offset, String name, 180 public void endParsingMember(ByteArray bytes, int offset, String name, 212 ByteArray bytes = code.getBytes(); 288 ByteArray bytes = code.getBytes();
|
/external/javassist/src/main/javassist/bytecode/ |
ExceptionsAttribute.java | 90 int index = ByteArray.readU16bit(src, i); 91 ByteArray.write16bit(srcCp.copy(index, destCp, classnames), 140 ByteArray.write16bit(n, blist, 0); 142 ByteArray.write16bit(elist[i], blist, i * 2 + 2); 153 ByteArray.write16bit(n, blist, 0); 155 ByteArray.write16bit(constPool.addClassInfo(elist[i]),
|
LineNumberAttribute.java | 46 return ByteArray.readU16bit(info, 0); 57 return ByteArray.readU16bit(info, i * 4 + 2); 68 return ByteArray.readU16bit(info, i * 4 + 4); 176 int pc = ByteArray.readU16bit(info, pos); 178 ByteArray.write16bit(pc + gapLength, info, pos);
|
/cts/tools/cfassembler/src/dxconvext/ |
ClassFileParser.java | 24 import com.android.dx.util.ByteArray; 132 public void startParsingMember(ByteArray bytes, int offset, 134 // ByteArray ba = bytes.slice(offset, bytes.size()); 152 public void endParsingMember(ByteArray bytes, int offset, 154 ByteArray ba = bytes.slice(offset, bytes.size()); 170 public void parsed(ByteArray bytes, int offset, int len, 176 ByteArray ba = bytes.slice(offset, offset + len); 188 private void check(ByteArray ba) { 203 private String dumpBytes(ByteArray ba) { 216 private String dumpReadableString(ByteArray ba) [all...] |
/external/mdnsresponder/mDNSWindows/DLLX/ |
DNSSDService.cpp | 750 std::vector< BYTE > byteArray; 782 ok = VariantToByteArray( &rdata, byteArray ); 812 err = DNSServiceRegisterRecord( m_primary, &rref, flags, ifIndex, fullNameUTF8.c_str(), rrtype, rrclass, ( uint16_t ) byteArray.size(), byteArray.size() > 0 ? &byteArray[ 0 ] : NULL, ttl, &RegisterRecordReply, object ); 860 std::vector< BYTE > byteArray; 884 ok = VariantToByteArray( &rdata, byteArray ); 914 err = DNSServiceAddRecord( m_primary, &rref, flags, rrtype, ( uint16_t ) byteArray.size(), byteArray.size() > 0 ? &byteArray[ 0 ] : NULL, ttl ) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldDataInputStreamTest.java | 212 byte[] byteArray = new byte[testLength]; 215 is.readFully(byteArray, 0, -1); 222 is.readFully(byteArray, 0, byteArray.length + 1); 229 is.readFully(byteArray, 1, byteArray.length); 236 is.readFully(byteArray, -1, byteArray.length); 252 is.readFully(byteArray, 0, 1);
|
/external/v8/src/ |
source-position-table.cc | 79 T DecodeInt(ByteArray* bytes, int* index) { 97 void DecodeEntry(ByteArray* bytes, int* index, PositionTableEntry* entry) { 140 Handle<ByteArray> SourcePositionTableBuilder::ToSourcePositionTable( 145 Handle<ByteArray> table = isolate->factory()->NewByteArray( 170 SourcePositionTableIterator::SourcePositionTableIterator(ByteArray* byte_array)
|
/frameworks/ex/framesequence/jni/ |
FrameSequenceJNI.cpp | 49 jbyteArray byteArray, jint offset, jint length) { 50 jbyte* bytes = reinterpret_cast<jbyte*>(env->GetPrimitiveArrayCritical(byteArray, NULL)); 58 env->ReleasePrimitiveArrayCritical(byteArray, bytes, 0); 78 jobject istream, jbyteArray byteArray) { 79 JavaInputStream stream(env, istream, byteArray);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
RandomAccessFileTest.java | 539 byte[] byteArray = new byte[10]; 577 raf.write(byteArray, -1, -1); 584 raf.write(byteArray, -1, 0); 591 raf.write(byteArray, -1, 1); 598 raf.write(byteArray, 0, -1); 604 raf.write(byteArray, 0, 0); 605 raf.write(byteArray, 0, byteArray.length); 606 raf.write(byteArray, 1, 0); 607 raf.write(byteArray, byteArray.length, 0) [all...] |
/art/runtime/mirror/ |
emulated_stack_frame.h | 83 mirror::ByteArray* GetStackFrame() REQUIRES_SHARED(Locks::mutator_lock_) { 84 return GetFieldObject<mirror::ByteArray>( 106 HeapReference<mirror::ByteArray> stack_frame_;
|
/external/autotest/client/site_tests/login_MultiUserPolicy/ |
login_MultiUserPolicy.py | 65 dbus.ByteArray(policy_response)) 74 dbus.ByteArray(policy_response)) 91 dbus.ByteArray(policy_response))
|
/external/autotest/client/site_tests/platform_DebugDaemonCupsAddPrinters/ |
platform_DebugDaemonCupsAddPrinters.py | 32 Returns the contents of a file as a dbus.ByteArray. 39 content = dbus.ByteArray(f.read()) 69 ppd_contents = dbus.ByteArray('This is not a valid ppd')
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
Relay.java | 57 private byte[] byteArray; 108 byteArray = byteBuffer.array(); 124 bytesRead = transport.read(byteArray, offset, bytesToRead);
|
/external/avb/test/ |
image_handler_unittest.py | 123 self.assertEqual(ih.read(14), bytearray('Barfoo43Barfoo')) 125 self.assertEqual(ih.read(2), bytearray('43')) 130 self.assertEqual(ih.read(4), bytearray('\x02\x03\x04\x01')) 134 self.assertEqual(ih.read(12), bytearray('43Barfoo43\x00\x00')) 136 self.assertEqual(ih.read(5), bytearray('\x02\x03\x04Fo')) 140 self.assertEqual(ih.read(16), bytearray('\x00\x00'))
|
/external/javassist/src/main/javassist/bytecode/stackmap/ |
Tracer.java | 18 import javassist.bytecode.ByteArray; 195 doLDC(ByteArray.readU16bit(code, pos + 1)); 551 visitBranch(pos, code, ByteArray.readS16bit(code, pos + 1)); 562 visitBranch(pos, code, ByteArray.readS16bit(code, pos + 1)); 565 visitGoto(pos, code, ByteArray.readS16bit(code, pos + 1)); 576 int low = ByteArray.read32bit(code, pos2); 577 int high = ByteArray.read32bit(code, pos2 + 4); 579 visitTableSwitch(pos, code, n, pos2 + 8, ByteArray.read32bit(code, pos2 - 4)); 584 int n = ByteArray.read32bit(code, pos2); 585 visitLookupSwitch(pos, code, n, pos2 + 4, ByteArray.read32bit(code, pos2 - 4)) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
StringDataItem.java | 21 import com.android.dexgen.util.ByteArray; 72 ByteArray bytes = value.getBytes();
|
/dalvik/dx/src/com/android/dx/dex/file/ |
StringDataItem.java | 22 import com.android.dx.util.ByteArray; 72 ByteArray bytes = value.getBytes();
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/ |
ArrayReferenceDebuggee.java | 50 static byte[] byteArray = new byte[10]; 55 byteArray[i] = (byte)i;
|
/external/flatbuffers/docs/source/ |
PythonUsage.md | 49 file into a `bytearray`, which you pass to the `GetRootAsMonster` function: 56 buf = bytearray(buf)
|