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

1 2 3 4 5 6 7 891011>>

  /libcore/luni/src/main/native/
java_util_zip_Adler32.cpp 27 ScopedByteArrayRO bytes(env, byteArray);
28 if (bytes.get() == NULL) {
31 return adler32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len);
java_util_zip_CRC32.cpp 27 ScopedByteArrayRO bytes(env, byteArray);
28 if (bytes.get() == NULL) {
31 jlong result = crc32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len);
  /external/apache-http/src/org/apache/commons/codec/net/
BCodec.java 76 protected byte[] doEncoding(byte[] bytes) throws EncoderException {
77 if (bytes == null) {
80 return Base64.encodeBase64(bytes);
83 protected byte[] doDecoding(byte[] bytes) throws DecoderException {
84 if (bytes == null) {
87 return Base64.decodeBase64(bytes);
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DEROutputStream.java 45 byte[] bytes)
49 writeLength(bytes.length);
50 write(bytes);
86 void writeEncoded(int flags, int tagNo, byte[] bytes)
90 writeLength(bytes.length);
91 write(bytes);
  /external/chromium/net/base/
io_buffer.cc 56 void DrainableIOBuffer::DidConsume(int bytes) {
57 SetOffset(used_ + bytes);
64 // Returns the number of consumed bytes.
69 void DrainableIOBuffer::SetOffset(int bytes) {
70 DCHECK(bytes >= 0 && bytes <= size_);
71 used_ = bytes;
  /external/dbus/dbus/
dbus-memory.c 141 _dbus_verbose ("Will fail mallocs over %ld bytes\n",
348 _dbus_verbose ("Checking %d bytes request from source %s\n",
358 _dbus_warn ("Block of %lu bytes from %s had start guard value 0x%ux at %d expected 0x%x\n",
373 _dbus_warn ("Block of %lu bytes from %s had end guard value 0x%ux at %d expected 0x%x\n",
382 /* set memory to anything but nul bytes */
440 * Allocates the given number of bytes, as with standard
441 * malloc(). Guaranteed to return #NULL if bytes is zero
448 * @param bytes number of bytes to allocate
452 dbus_malloc (size_t bytes)
    [all...]
  /external/emma/core/java12/com/vladium/jcd/cls/
Field_info.java 75 final UDataInputStream bytes)
78 m_access_flags = bytes.readU2 ();
80 m_name_index = bytes.readU2 ();
81 m_descriptor_index = bytes.readU2 ();
84 final int attributes_count = bytes.readU2 ();
89 final Attribute_info attribute_info = Attribute_info.new_Attribute_info (constants, bytes);
  /external/qemu/distrib/sdl-1.2.12/src/video/maccommon/
SDL_macmouse.c 56 int row, bytes; local
72 bytes = (w+7)/8;
75 SDL_memcpy(&cursor->curs.data[row], data, bytes);
76 data += bytes;
79 SDL_memcpy(&cursor->curs.mask[row], mask, bytes);
80 mask += bytes;
  /external/valgrind/main/memcheck/tests/
describe-block.stderr.exp 4 Address 0x........ is 0 bytes inside a magic foople zone of size 4,096 client-defined
9 in use at exit: ... bytes in ... blocks
10 total heap usage: ... allocs, ... frees, ... bytes allocated
pointer-trace.stderr.exp 1 1,000 bytes in 1 blocks are definitely lost in loss record ... of ...
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1StringType.java 67 byte[] bytes = ((String) out.content).getBytes(Charsets.UTF_8);
68 out.content = bytes;
69 out.length = bytes.length;
116 byte[] bytes = ((String) out.content).getBytes(Charsets.UTF_8);
117 out.content = bytes;
118 out.length = bytes.length;
  /packages/apps/Email/emailcommon/src/org/apache/commons/io/input/
NullInputStream.java 34 * large numbers of bytes - significantly speeding up
52 * protected void processBytes(byte[] bytes, int offset, int length) {
54 * bytes[i] = ... // set array value here
119 * Return the number of bytes that can be read.
121 * @return The number of bytes that can be read.
149 * @param readlimit The number of bytes before this marked position
192 * Read some bytes into the specified array.
194 * @param bytes The byte array to read into
195 * @return The number of bytes read or <code>-1</code>
202 public int read(byte[] bytes) throws IOException {
    [all...]
  /external/chromium/base/win/
scoped_bstr.h 48 // Allocates a new BSTR with the specified number of bytes.
50 BSTR AllocateBytes(size_t bytes);
53 // |bytes|. This is useful when the BSTR was preallocated with e.g.
55 // not all the bytes are being used.
61 // NOTE: The actual allocated size of the BSTR MUST be >= bytes. That
63 void SetByteLen(size_t bytes);
77 // Returns the number of bytes allocated for the BSTR.
  /external/emma/core/java12/com/vladium/jcd/cls/constant/
CONSTANT_String_info.java 75 protected CONSTANT_String_info (final UDataInputStream bytes) throws IOException
77 m_string_index = bytes.readU2 ();
  /external/iproute2/include/linux/
gen_stats.h 18 * @bytes: number of seen bytes
22 __u64 bytes; member in struct:gnet_stats_basic
26 __u64 bytes; member in struct:gnet_stats_basic_packed
  /external/skia/gpu/include/
GrAllocPool.h 34 * Returns a block of memory bytes size big. This address must not be
38 void* alloc(size_t bytes);
41 * Releases the most recently allocated bytes back to allocpool.
43 void release(size_t bytes);
  /external/webkit/Source/WebCore/platform/text/
TextCodecUTF16.cpp 69 String TextCodecUTF16::decode(const char* bytes, size_t length, bool, bool, bool&)
76 const unsigned char* p = reinterpret_cast<const unsigned char*>(bytes);
124 // character buffer, each character is two bytes, and we know
130 char* bytes; local
131 CString string = CString::newUninitialized(length * 2, bytes);
138 bytes[i * 2] = c;
139 bytes[i * 2 + 1] = c >> 8;
144 bytes[i * 2] = c >> 8;
145 bytes[i * 2 + 1] = c;
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
Finished.java 36 * @param bytes
38 public Finished(byte[] bytes) {
39 data = bytes;
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
MessageDigest1Test.java 59 final byte[] bytes = { 1, 2, 3, 4, 5 };
60 md.update(bytes, 1, 2);
72 md.update(bytes, 0, bytes.length + 1);
78 md.update(bytes, Integer.MAX_VALUE, 1);
88 assertSame("buf", bytes, arg0);
94 md.update(bytes, offset, len);
153 final byte[] bytes = new byte[] { 2, 4, 1 };
162 md.digest(bytes, 0, bytes.length + 1)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
BitSetTest.java 80 private static void assertBitSet(BitSet bs, byte[] bytes, String s) {
81 for (int i = 0; i < 8 * bytes.length; ++i) {
82 assertEquals(bs.toString(), ((bytes[i / 8] & (1L << (i % 8))) != 0), bs.get(i));
85 for (int i = 0; i < bytes.length; ++i) {
86 cardinality += Integer.bitCount(((int) bytes[i]) & 0xff);
94 assertEquals(roundUp(8 * bytes.length, 64), bs.size());
102 private static void assertBitSet(byte[] bytes, String s) {
104 assertBitSet(BitSet.valueOf(bytes), bytes, s); local
106 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(bytes)), bytes, s) local
111 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(paddedBytes, 1, bytes.length)), bytes, s); local
    [all...]
  /cts/tools/dx-tests/src/dxconvext/
ClassFileAssembler.java 57 // 2. modify some bytes to damage the structure of the .class file in a
60 // Uncomment the original bytes, and write "MOD:" meaning a modified
65 // file, parses them as hex values and writes the bytes to the class file
126 * @param bytes non-null; the bytes of the file
128 private void calcSignature(byte[] bytes) {
137 md.update(bytes, 32, bytes.length - 32);
140 int amt = md.digest(bytes, 12, 20);
143 " bytes");
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
BaseDumper.java 38 private final byte[] bytes; field in class:BaseDumper
40 /** whether or not to include the raw bytes (in a column on the left) */
58 /** number of bytes per line in hex dumps */
76 * @param bytes {@code non-null;} bytes of the (alleged) class file
82 public BaseDumper(byte[] bytes, PrintStream out,
84 this.bytes = bytes;
126 public void parsed(ByteArray bytes, int offset, int len, String human) {
127 offset = bytes.underlyingOffset(offset, getBytes())
    [all...]
  /development/apps/Development/src/com/android/development/
LogViewer.java 99 byte[] bytes = new byte[length];
100 in.readFully(bytes);
102 int tagEnd = next0(bytes, HEADER_SIZE);
103 int fileEnd = next0(bytes, tagEnd + 1);
104 int messageEnd = next0(bytes, fileEnd + 1);
107 = forAsciiBytes(bytes, HEADER_SIZE, tagEnd);
109 = forAsciiBytes(bytes, fileEnd + 1, messageEnd);
131 static int next0(byte[] bytes, int start) {
132 for (int current = start; current < bytes.length; current++) {
133 if (bytes[current] == 0
    [all...]
  /external/openssl/crypto/rand/
randfile.c 106 int RAND_load_file(const char *file, long bytes)
108 /* If bytes >= 0, read up to 'bytes' bytes.
109 * if bytes == -1, read complete file. */
132 if (bytes == 0) return(ret);
143 * of bytes from a random device, nor do we want to use buffered
146 bytes = (bytes == -1) ? 2048 : bytes; /* ok, is 2048 enough? *
    [all...]
  /libcore/luni/src/main/java/java/io/
OutputStreamWriter.java 30 * the target input stream is converted into bytes by either a default or a
33 * of bytes to be written to target stream and converts these into characters as
44 private ByteBuffer bytes = ByteBuffer.allocate(8192); field in class:OutputStreamWriter
52 * the non-null target stream to write converted bytes to.
65 * the target stream to write converted bytes to.
95 * the target stream to write converted bytes to.
113 * the target stream to write converted bytes to.
143 bytes = null;
149 * Flushes this writer. This implementation ensures that all buffered bytes
150 * are written to the target stream. After writing the bytes, the targe
    [all...]

Completed in 884 milliseconds

1 2 3 4 5 6 7 891011>>