HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 276 - 300 of 2220) sorted by null

<<11121314151617181920>>

  /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);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
MD5Calculator.java 34 final byte[] bytes = new byte[8192];
36 while ((byteCount = in.read(bytes)) > 0) {
37 digester.update(bytes, 0, byteCount);
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ArrayTest.java 24 private static byte[] bytes; field in class:ArrayTest
35 bytes = new byte[] { (byte) 0xff };
46 try { Array.getBoolean(bytes, 0); fail(); } catch (IllegalArgumentException expected) {}
58 assertEquals(bytes[0], Array.getByte(bytes, 0));
70 try { Array.getChar(bytes, 0); fail(); } catch (IllegalArgumentException expected) {}
82 assertEquals((double) bytes[0], Array.getDouble(bytes, 0));
94 assertEquals((float) bytes[0], Array.getFloat(bytes, 0))
    [all...]
  /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/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/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.15/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
clo_redzone_128.stderr.exp 4 Address 0x........ is 69 bytes after a block of size 128 alloc'd
pointer-trace.stderr.exp 1 1,000 bytes in 1 blocks are definitely lost in loss record ... of ...
static_malloc.stderr.exp 1 10 bytes in 1 blocks are definitely lost in loss record ... of ...
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1StringType.java 47 byte[] bytes = ((String) out.content).getBytes(Charsets.UTF_8);
48 out.content = bytes;
49 out.length = bytes.length;
112 byte[] bytes = ((String) out.content).getBytes(Charsets.UTF_8);
113 out.content = bytes;
114 out.length = bytes.length;
  /packages/apps/Email/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/bison/lib/
calloc.c 56 size_t bytes = n * s; local
57 if (bytes / s != n)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DEROctetString.java 43 byte[] bytes)
46 derOut.writeEncoded(BERTags.OCTET_STRING, bytes);
  /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/elfutils/tests/
run-readelf-test2.sh 32 Hex dump of section [6] '.strtab', 1 bytes at offset 0x290:
  /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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBase64.java 12 public static String encodeToString(byte[] bytes, int flags) {
14 return base64.encodeBase64String(bytes);
  /external/skia/src/gpu/
GrAllocPool.h 27 * Returns a block of memory bytes size big. This address must not be
31 void* alloc(size_t bytes);
34 * Releases the most recently allocated bytes back to allocpool.
36 void release(size_t bytes);
  /external/skia/src/pipe/utils/
SamplePipeControllers.cpp 34 void PipeController::notifyWritten(size_t bytes) {
35 fStatus = fReader.playback(this->getData(), bytes);
37 fBytesWritten += bytes;
73 void TiledPipeController::notifyWritten(size_t bytes) {
75 fReaders[i].playback(this->getData(), bytes);
77 this->INHERITED::notifyWritten(bytes);
102 void ThreadSafePipeController::notifyWritten(size_t bytes) {
103 fBytesWritten += 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;

Completed in 2488 milliseconds

<<11121314151617181920>>