HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 201 - 225 of 4116) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/smack/src/org/xbill/DNS/
ARecord.java 37 byte [] bytes = new byte[4];
38 bytes[0] = (byte) ((addr >>> 24) & 0xFF);
39 bytes[1] = (byte) ((addr >>> 16) & 0xFF);
40 bytes[2] = (byte) ((addr >>> 8) & 0xFF);
41 bytes[3] = (byte) (addr & 0xFF);
42 return bytes;
  /frameworks/base/core/tests/coretests/src/com/android/internal/util/
CharSequencesTest.java 29 byte[] bytes = s.getBytes();
31 String copy = toString(forAsciiBytes(bytes));
34 copy = toString(forAsciiBytes(bytes, 0, s.length()));
37 String crazy = toString(forAsciiBytes(bytes, 0, 5));
40 String a = toString(forAsciiBytes(bytes, 0, 3).subSequence(2, 3));
43 String empty = toString(forAsciiBytes(bytes, 0, 3).subSequence(3, 3));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
BitmapUtil.java 35 public static int getSmallerExtentFromBytes(byte[] bytes) {
40 BitmapFactory.decodeByteArray(bytes, 0, bytes.length, options);
76 public static Bitmap decodeBitmapFromBytes(byte[] bytes, int sampleSize) {
84 return BitmapFactory.decodeByteArray(bytes, 0, bytes.length, options);
  /external/valgrind/main/memcheck/tests/
lks.stderr.exp 5 definitely lost: 48 bytes in 3 blocks
6 indirectly lost: 32 bytes in 2 blocks
7 possibly lost: 0 bytes in 0 blocks
8 still reachable: 64 bytes in 4 blocks
9 suppressed: 96 bytes in 6 blocks
12 leaked: 80 bytes in 5 blocks
13 dubious: 0 bytes in 0 blocks
14 reachable: 64 bytes in 4 blocks
15 suppressed: 96 bytes in 6 blocks
18 in use at exit: 240 bytes in 15 block
    [all...]
leak-delta.stderr.exp 1 expecting details 10 bytes reachable
2 10 bytes in 1 blocks are still reachable in loss record ... of ...
8 expecting details +10 bytes lost, +21 bytes reachable
9 10 (+10) bytes in 1 (+1) blocks are definitely lost in loss record ... of ...
14 21 (+21) bytes in 1 (+1) blocks are still reachable in loss record ... of ...
19 expecting details +65 bytes reachable
20 65 (+65) bytes in 2 (+2) blocks are still reachable in loss record ... of ...
26 expecting details +10 bytes reachable
27 10 (+10) bytes in 1 (+1) blocks are still reachable in loss record ... of ..
    [all...]
  /art/runtime/native/
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc 103 * (1b) bytes per entry
124 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context); local
125 JDWP::Append4BE(bytes, t->GetThreadId());
126 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState()));
127 JDWP::Append4BE(bytes, t->GetTid());
128 JDWP::Append4BE(bytes, utime);
129 JDWP::Append4BE(bytes, stime);
130 JDWP::Append1BE(bytes, t->IsDaemon());
134 std::vector<uint8_t> bytes; local
143 JDWP::Append1BE(bytes, kThstHeaderLen)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERBitString.java 69 * return the correct number of bytes for a bit string defined in
74 int bytes = 4; local
81 bytes--;
84 byte[] result = new byte[bytes];
85 for (int i = 0; i < bytes; i++)
216 byte[] bytes = new byte[getBytes().length + 1];
218 bytes[0] = (byte)getPadBits();
219 System.arraycopy(getBytes(), 0, bytes, 1, bytes.length - 1); local
221 out.writeEncoded(BERTags.BIT_STRING, bytes);
    [all...]
ASN1OutputStream.java 52 void write(byte[] bytes)
55 os.write(bytes);
58 void write(byte[] bytes, int off, int len)
61 os.write(bytes, off, len);
66 byte[] bytes)
70 writeLength(bytes.length);
71 write(bytes);
107 void writeEncoded(int flags, int tagNo, byte[] bytes)
111 writeLength(bytes.length);
112 write(bytes);
    [all...]
  /external/flac/libFLAC/
ogg_decoder_aspect.c 105 FLAC__OggDecoderAspectReadStatus FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data)
108 const size_t bytes_requested = *bytes;
121 * the same number of bytes from Ogg, then pass what's decoded down to
133 * to read in enough pages to return the full number of bytes
136 *bytes = 0;
137 while (*bytes < bytes_requested && !aspect->end_of_stream) {
140 size_t n = bytes_requested - *bytes;
141 if ((size_t)aspect->working_packet.bytes <= n) {
143 n = aspect->working_packet.bytes;
145 *bytes += n
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
DataOutputStreamTest.java 26 private ByteArrayOutputStream bytes = new ByteArrayOutputStream(); field in class:DataOutputStreamTest
27 private DataOutputStream os = new DataOutputStream(bytes);
32 assertEquals("[01, 00]", toHexString(bytes.toByteArray()));
42 assertEquals("[ff, 00, 01, 81, 34]", toHexString(bytes.toByteArray()));
48 assertEquals("[30, 34, 31]", toHexString(bytes.toByteArray()));
55 assertEquals("[00, 30, 12, 34]", toHexString(bytes.toByteArray()));
61 assertEquals("[00, 30, 12, 34, 00, 31]", toHexString(bytes.toByteArray()));
66 assertEquals("[01, 23, 45, 67, 89, ab, cd, ef]", toHexString(bytes.toByteArray()));
71 assertEquals("[01, 23, 45, 67]", toHexString(bytes.toByteArray()));
76 assertEquals("[01, 23, 45, 67]", toHexString(bytes.toByteArray()))
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
uuid.py 38 # get the raw 16 bytes of the UUID
39 >>> x.bytes
43 >>> uuid.UUID(bytes=x.bytes)
61 of 16 bytes (with all the integer fields in big-endian order) as an
62 argument named 'bytes', or a string of 16 bytes (with the first three
68 bytes the UUID as a 16-byte string (containing the six
101 def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None,
104 a string of 16 bytes as the 'bytes' argument, a string of 16 byte
208 bytes = property(get_bytes) variable in class:UUID
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
uuid.py 38 # get the raw 16 bytes of the UUID
39 >>> x.bytes
43 >>> uuid.UUID(bytes=x.bytes)
61 of 16 bytes (with all the integer fields in big-endian order) as an
62 argument named 'bytes', or a string of 16 bytes (with the first three
68 bytes the UUID as a 16-byte string (containing the six
101 def __init__(self, hex=None, bytes=None, bytes_le=None, fields=None,
104 a string of 16 bytes as the 'bytes' argument, a string of 16 byte
208 bytes = property(get_bytes) variable in class:UUID
    [all...]
  /packages/apps/Browser/tests/src/com/android/browser/
WebStorageSizeManagerUnitTests.java 77 private long bytes(double megabytes) { method in class:WebStorageSizeManagerUnitTests
88 mDiskInfo.setTotalSizeBytes(bytes(75));
89 mDiskInfo.setFreeSpaceSizeBytes(bytes(24));
97 long origin1EstimatedSize = bytes(3.5);
105 long origin2EstimatedSize = bytes(2.5);
128 long origin3EstimatedSize = bytes(5);
146 manager.onExceededDatabaseQuota("4", "4", 0, bytes(1), totalUsedQuota, mQuotaUpdater);
150 mAppCacheInfo.setAppCacheSizeBytes(bytes(2));
152 manager.onReachedMaxAppCacheSize(bytes(2), totalUsedQuota, mQuotaUpdater);
160 manager.onReachedMaxAppCacheSize(bytes(1.5), totalUsedQuota, mQuotaUpdater)
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
Main.java 48 } else if (arg.equals("--bytes")) {
87 byte[] bytes = FileUtils.readFile(name);
91 src = new String(bytes, "utf-8");
95 bytes = HexParser.parse(src);
97 processOne(name, bytes);
113 * @param bytes {@code non-null;} contents of the file
115 private static void processOne(String name, byte[] bytes) {
117 DotDumper.dump(bytes, name, parsedArgs);
119 BlockDumper.dump(bytes, System.out, name, false, parsedArgs);
121 BlockDumper.dump(bytes, System.out, name, true, parsedArgs)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
TextCodecUserDefined.cpp 52 String TextCodecUserDefined::decode(const char* bytes, size_t length, FlushBehavior, bool, bool&)
58 signed char c = bytes[i];
69 char* bytes = result.data(); local
77 bytes[resultLength++] = signedByte;
83 bytes = result.data();
84 memcpy(bytes + resultLength, replacement, replacementLength);
89 return CString(bytes, resultLength);
95 char* bytes; local
96 CString result = CString::newUninitialized(length, bytes);
102 bytes[i] = c
    [all...]
TextCodecUTF16.cpp 70 String TextCodecUTF16::decode(const char* bytes, size_t length, FlushBehavior flush, bool, bool& sawError)
84 const unsigned char* p = reinterpret_cast<const unsigned char*>(bytes);
139 // character buffer, each character is two bytes, and we know
145 char* bytes; local
146 CString result = CString::newUninitialized(length * 2, bytes);
153 bytes[i * 2] = c;
154 bytes[i * 2 + 1] = c >> 8;
159 bytes[i * 2] = c >> 8;
160 bytes[i * 2 + 1] = c;
172 char* bytes; local
    [all...]
  /external/elfutils/0.153/libdw/
dwarf_nextcu.c 95 const unsigned char *bytes = data + off; local
118 4. A 1-byte unsigned integer representing the size in bytes of
122 uint64_t length = read_4ubyte_unaligned_inc (dwarf, bytes);
147 length = read_8ubyte_unaligned_inc (dwarf, bytes);
150 uint_fast16_t version = read_2ubyte_unaligned_inc (dwarf, bytes);
155 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size,
160 uint8_t address_size = *bytes++;
164 uint64_t type_sig8 = read_8ubyte_unaligned_inc (dwarf, bytes);
167 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size,
172 if (unlikely (type_offset < (size_t) (bytes - (data + off)))
    [all...]
  /external/emma/core/java12/com/vladium/jcd/cls/attribute/
Attribute_info.java 41 * item indicates the length of the subsequent information in bytes. The length
42 * does not include the initial six bytes that contain the attribute_name_index
96 * 'bytes'.
99 * @param bytes input .class data stream [may not be null; not validated]
106 final UDataInputStream bytes)
109 final int attribute_name_index = bytes.readU2 ();
110 final long attribute_length = bytes.readU4 ();
117 return new CodeAttribute_info (constants, attribute_name_index, attribute_length, bytes);
121 return new ConstantValueAttribute_info (attribute_name_index, attribute_length, bytes);
125 return new ExceptionsAttribute_info (attribute_name_index, attribute_length, bytes);
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
IsoTypeReader.java 110 byte[] bytes = new byte[4];
111 bb.get(bytes);
114 result |= ((bytes[0] << 24) & 0xFF000000);
115 result |= ((bytes[1] << 16) & 0xFF0000);
116 result |= ((bytes[2] << 8) & 0xFF00);
117 result |= ((bytes[3]) & 0xFF);
123 byte[] bytes = new byte[2];
124 bb.get(bytes);
126 result |= ((bytes[0] << 8) & 0xFF00);
127 result |= ((bytes[1]) & 0xFF)
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
Pipeline.java 35 * Input class for the pipelined parser. Buffer all bytes read from the socket
87 byte[] bytes; field in class:Pipeline.Buffer
93 public Buffer(byte[] bytes, int length) {
96 this.bytes = bytes;
100 int retval = bytes[ptr++] & 0xFF;
131 public void write(byte[] bytes, int start, int length) throws IOException {
134 Buffer buff = new Buffer(bytes, length);
142 public void write(byte[] bytes) throws IOException {
145 Buffer buff = new Buffer(bytes, bytes.length)
    [all...]
  /bionic/libc/arch-x86/silvermont/string/
sse4-memcmp-slm.S 177 jz L(0bytes)
184 jz L(0bytes)
191 jz L(0bytes)
198 jz L(0bytes)
205 jz L(0bytes)
209 je L(0bytes)
222 L(0bytes):
324 L(16bytes):
329 L(12bytes):
334 L(8bytes)
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
MemberListParser.java 59 * @param offset offset in {@code bytes} to the start of the list
118 ByteArray bytes = cf.getBytes(); local
119 return bytes.getUnsignedShort(offset);
177 ByteArray bytes = cf.getBytes(); local
181 observer.parsed(bytes, offset, 2,
187 int accessFlags = bytes.getUnsignedShort(at);
188 int nameIdx = bytes.getUnsignedShort(at + 2);
189 int descIdx = bytes.getUnsignedShort(at + 4);
194 observer.startParsingMember(bytes, at, name.getString(),
196 observer.parsed(bytes, at, 0, "\n" + humanName()
    [all...]
  /external/apache-http/src/org/apache/commons/codec/net/
QuotedPrintableCodec.java 123 * Encodes an array of bytes into an array of quoted-printable 7-bit characters. Unsafe characters are escaped.
132 * @param bytes
133 * array of bytes to be encoded
134 * @return array of bytes containing quoted-printable data
136 public static final byte[] encodeQuotedPrintable(BitSet printable, byte[] bytes) {
137 if (bytes == null) {
144 for (int i = 0; i < bytes.length; i++) {
145 int b = bytes[i];
159 * Decodes an array quoted-printable characters into an array of original bytes. Escaped characters are converted
167 * @param bytes
    [all...]
URLCodec.java 104 * Encodes an array of bytes into an array of URL safe 7-bit
108 * @param bytes array of bytes to convert to URL safe characters
109 * @return array of bytes containing URL safe characters
111 public static final byte[] encodeUrl(BitSet urlsafe, byte[] bytes)
113 if (bytes == null) {
121 for (int i = 0; i < bytes.length; i++) {
122 int b = bytes[i];
147 * original bytes. Escaped characters are converted back to their
150 * @param bytes array of URL safe character
    [all...]
  /external/guava/guava-tests/test/com/google/common/hash/
HashCodesTest.java 27 (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01, // up to here, same bytes as above
30 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes
46 // expectedHashCodes must contain at least one hash code with 4 bytes
49 if (expected.bytes.length == 4) {
56 // expectedHashCodes must contain at least one hash code with 8 bytes
59 if (expected.bytes.length == 8) {
68 HashCode fromBytes = HashCodes.fromBytes(expected.bytes);
74 assertTrue(Arrays.equals(expected.bytes, hash.asBytes()));
77 assertTrue(Arrays.equals(expected.bytes, bb));
104 for (int bytes = 0; bytes < totalBytes; bytes++)
113 final byte[] bytes; field in class:HashCodesTest.ExpectedHashCode
    [all...]

Completed in 2119 milliseconds

1 2 3 4 5 6 7 891011>>