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

<<11121314151617181920>>

  /external/srec/shared/include/
CircularBuffer.h 75 * @param capacity the capacity in number of bytes of the data buffer.
87 * Returns the current size (number of bytes) in the buffer.
114 * Reads requested number of bytes from the circular buffer.
117 * @param data Pointer to where to store read bytes.
118 * @param bufSize The number of bytes to read from the circular buffer.
120 * @return the number of bytes that were read. A negative value indicates an
127 * Skips requested number of bytes from the circular buffer.
130 * @param bufSize The number of bytes to skip from the circular buffer.
132 * @return the number of bytes that were skipped. A negative value indicates an
139 * Writes requested number of bytes from the circular buffer
    [all...]
  /libcore/luni/src/main/java/java/io/
FilterInputStream.java 69 * indicates how many bytes can be read before the mark is invalidated.
76 * the number of bytes that can be read from this stream before
118 * Reads at most {@code count} bytes from this stream and stores them in the
120 * of bytes actually read or -1 if no bytes have been read and the end of
121 * this stream has been reached. This implementation reads bytes from the
125 * the byte array in which to store the bytes read.
127 * the initial position in {@code buffer} to store the bytes
130 * the maximum number of bytes to store in {@code buffer}.
131 * @return the number of bytes actually read or -1 if the end of th
    [all...]
  /external/webkit/Source/WebKit/mac/Misc/
WebNSDataExtras.m 115 const UInt8 *bytes = [self bytes];
119 const char *p = (const char *)bytes;
175 const char *bytes = [self bytes];
177 const char *p = bytes;
201 p = bytes;
231 if ((length >= VCARD_HEADER_LENGTH) && strncmp(bytes, "BEGIN:VCARD", VCARD_HEADER_LENGTH) == 0) {
234 if ((length >= VCAL_HEADER_LENGTH) && strncmp(bytes, "BEGIN:VCALENDAR", VCAL_HEADER_LENGTH) == 0) {
241 char c = bytes[i]
    [all...]
  /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...]
TeeInputStream.java 24 * InputStream proxy that transparently writes a copy of all bytes read
27 * bytes from the input stream being skipped or duplicated in the output
40 * The output stream that will receive a copy of all bytes read from the
53 * and copies all read bytes to the given {@link OutputStream}. The given
57 * @param branch output stream that will receive a copy of all bytes read
65 * and copies all read bytes to the given {@link OutputStream}. The given
70 * @param branch output stream that will receive a copy of all bytes read
114 * Reads bytes from the proxied input stream and writes the read bytes
119 * @param end maximum number of bytes to read
    [all...]
  /bootable/recovery/minzip/
Bits.h 4 * Some handy functions for manipulating bits and bytes.
23 * Get 2 big-endian bytes.
36 * Get 4 big-endian bytes.
51 * Get 8 big-endian bytes.
70 * Get 2 little-endian bytes.
83 * Get 4 little-endian bytes.
98 * Get 8 little-endian bytes.
125 * Grab 2 big-endian bytes and advance the data pointer.
138 * Grab 4 big-endian bytes and advance the data pointer.
153 * Get 8 big-endian bytes
    [all...]
  /cts/tools/cfassembler/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/vm/
Bits.h 17 * Some handy functions for manipulating bits and bytes.
39 * Get 2 big-endian bytes.
47 * Get 4 big-endian bytes.
55 * Get 8 big-endian bytes.
74 * Get 2 little-endian bytes.
82 * Get 4 little-endian bytes.
97 * Get 8 little-endian bytes.
123 * Grab 2 big-endian bytes and advance the data pointer.
134 * Grab 4 big-endian bytes and advance the data pointer.
151 * Get 8 big-endian bytes and advance the data pointer
    [all...]
  /external/chromium/net/tools/flip_server/
balsa_visitor_interface.h 32 // input - contains the bytes available for read.
33 // size - contains the number of bytes it is safe to read from input.
38 // the body which would be stored by a program such as wget, i.e. the bytes
43 // input - contains the bytes available for read.
44 // size - contains the number of bytes it is safe to read from input.
51 // input - contains the bytes available for read.
52 // size - contains the number of bytes it is safe to read from input.
61 // input - contains the bytes available for read.
62 // size - contains the number of bytes it is safe to read from input.
81 // bytes it is safe to read from line_ptr
    [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...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
CollationKeyTest.java 94 byte[] bytes = key1.toByteArray();
95 assertTrue("Not enough bytes", bytes.length >= 3);
103 bytes = collator.getCollationKey("1234567").toByteArray();
109 * System.out.println(Integer.toHexString(order)); } for (int i=0; i<bytes.length;
110 * i+=2) { System.out.print(Integer.toHexString(bytes[i]) +
111 * Integer.toHexString(bytes[i+1]) + " "); } System.out.println();
115 assertTrue("Wrong bytes", Arrays.equals(bytes, result));
  /external/openssl/crypto/rand/
rand_egd.c 66 * RAND_query_egd_bytes(path, buf, bytes)
67 * will actually query "bytes" bytes of entropy form the egd-socket located
70 * The number of bytes is not limited by the maximum chunk size of EGD,
71 * which is 255 bytes. If more than 255 bytes are wanted, several chunks
72 * of entropy bytes are requested. The connection is left open until the
76 * num the number of bytes read from the EGD socket. This number is either
77 * the number of bytes requested or smaller, if the EGD pool is
82 * RAND_egd_bytes(path, bytes) will query "bytes" bytes and have the
    [all...]
  /external/qemu/audio/
noaudio.c 47 int64_t bytes; local
51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
52 bytes = audio_MIN (bytes, INT_MAX);
53 samples = bytes >> hw->info.shift;
107 int64_t bytes = local
111 bytes = audio_MIN (bytes, INT_MAX);
112 samples = bytes >> hw->info.shift;
  /frameworks/av/media/libstagefright/codecs/avc/enc/src/
sad_inline.h 50 x7 = x7 ^ src1; /* only odd bytes need to add carry */
114 x5 = x5 + x10; /* accumulate low bytes */
116 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */
117 x5 = x5 + x11; /* accumulate low bytes */
119 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */
133 x5 = x5 + x10; /* accumulate low bytes */
135 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */
136 x5 = x5 + x11; /* accumulate low bytes */
138 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */
141 x10 = x5 - (x4 << 8); /* extract low bytes */
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
sad_inline.h 55 x7 = x7 ^ src1; /* only odd bytes need to add carry */
119 x5 = x5 + x10; /* accumulate low bytes */
121 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */
122 x5 = x5 + x11; /* accumulate low bytes */
124 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */
138 x5 = x5 + x10; /* accumulate low bytes */
140 x4 = x4 + ((uint32)x10 >> 8); /* accumulate high bytes */
141 x5 = x5 + x11; /* accumulate low bytes */
143 x4 = x4 + ((uint32)x11 >> 8); /* accumulate high bytes */
146 x10 = x5 - (x4 << 8); /* extract low bytes */
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/
GatheringByteChannel.java 30 * Writes bytes from all the given buffers to a channel.
35 * the buffers containing bytes to be written.
36 * @return the number of bytes actually written.
59 * Attempts to write all <code>remaining()</code> bytes from {@code length}
61 * of bytes actually written is returned.
67 * the array of byte buffers that is the source for bytes written
70 * the index of the first buffer in {@code buffers }to get bytes
73 * the number of buffers to get bytes from.
74 * @return the number of bytes actually written.
ScatteringByteChannel.java 30 * Reads bytes from this channel into the specified array of buffers.
35 * the array of byte buffers to store the bytes being read.
36 * @return the number of bytes actually read.
55 * Attempts to read all {@code remaining()} bytes from {@code length} byte
57 * bytes actually read is returned.
63 * the array of byte buffers into which the bytes will be copied.
65 * the index of the first buffer to store bytes in.
67 * the maximum number of buffers to store bytes in.
68 * @return the number of bytes actually read.
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
Input.java 35 * bytes read from this instance.
118 * @param bytes non-null; the buffer to read the data into
119 * @param offset &gt;= 0; offset into <code>bytes</code> for the first
121 * @param length &gt;= 0; number of bytes to read
123 public void read(byte[] bytes, int offset, int length);
127 * a convenient shorthand for <code>read(bytes, 0, bytes.length)</code>.
129 * @param bytes non-null; the buffer to read the data into
131 public void read(byte[] bytes);
137 * @param length &gt;= 0; number of bytes to rea
    [all...]
  /external/webkit/Source/WebKit2/Shared/mac/
WebMemorySampler.mac.mm 145 webKitMemoryStats.keys.append(String("Total Bytes of Memory In Use"));
147 webKitMemoryStats.keys.append(String("Fast Malloc Zone Bytes"));
149 webKitMemoryStats.keys.append(String("Default Malloc Zone Bytes"));
151 webKitMemoryStats.keys.append(String("Dispatch Continuation Malloc Zone Bytes"));
153 webKitMemoryStats.keys.append(String("Purgeable Malloc Zone Bytes"));
155 webKitMemoryStats.keys.append(String("JavaScript Heap Bytes"));
157 webKitMemoryStats.keys.append(String("Total Bytes of Committed Memory"));
159 webKitMemoryStats.keys.append(String("Fast Malloc Zone Bytes"));
161 webKitMemoryStats.keys.append(String("Default Malloc Zone Bytes"));
163 webKitMemoryStats.keys.append(String("Dispatch Continuation Malloc Zone Bytes"));
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Fingerprint.java 47 // 16 bytes for 128-bit fingerprint
65 // md5 digest bytes.
71 public Fingerprint(byte[] bytes) {
72 if ((bytes == null) || (bytes.length != FINGERPRINT_BYTE_LENGTH)) {
75 mMd5Digest = bytes;
91 byte[] bytes = new byte[8192];
94 int n = in.read(bytes);
115 // decode the hex bytes of the fingerprint portion
116 byte[] bytes = new byte[FINGERPRINT_BYTE_LENGTH]
    [all...]
  /external/webkit/Source/WebCore/platform/text/wince/
TextCodecWinCE.cpp 190 static inline const char* findFirstNonAsciiCharacter(const char* bytes, size_t length)
192 for (const char* bytesEnd = bytes + length; bytes < bytesEnd; ++bytes) {
193 if (*bytes & 0x80)
196 return bytes;
199 static void decodeInternal(Vector<UChar, 8192>& result, UINT codePage, const char* bytes, size_t length, size_t* left)
202 if (!bytes || !length)
210 int resultLength = MultiByteToWideChar(codePage, flags, bytes, testLength, 0, 0);
216 MultiByteToWideChar(codePage, flags, bytes, testLength, result.data() + oldSize, resultLength)
    [all...]
  /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...]
  /dalvik/dx/src/com/android/dx/cf/direct/
DirectClassFile.java 82 /** {@code non-null;} the bytes of the file */
83 private final ByteArray bytes; field in class:DirectClassFile
168 * @param bytes {@code non-null;} the bytes of the file
176 public DirectClassFile(ByteArray bytes, String filePath,
178 if (bytes == null) {
179 throw new NullPointerException("bytes == null");
187 this.bytes = bytes;
195 * @param bytes {@code non-null;} the bytes of the fil
564 private final ByteArray bytes; field in class:DirectClassFile.DcfTypeList
    [all...]
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/
BinaryExporter.java 49 * denotes a series of bytes that follows sequentially one after the next.)
51 * 1. "number of classes" - four bytes - int value representing the number of
59 * 2. "class alias" - 1...X bytes, where X = ((int) FastMath.log(aliasCount,
64 * 3. "full class name size" - four bytes - int value representing number of
65 * bytes to read in for next field.
68 * 4. "full class name" - 1...X bytes representing a String value, where X = the
73 * 5. "number of fields" - four bytes - int value representing number of blocks
88 * 8. "field name size" - 4 bytes - int value representing the size of the next
92 * 9. "field name" - 1...X bytes representing a String value, where X = the
97 * 10. "number of unique objects" - four bytes - int value representing th
    [all...]
  /external/chromium/net/socket/
socket.h 20 // Reads data, up to buf_len bytes, from the socket. The number of bytes read
34 // Writes data, up to buf_len bytes, to the socket. Note: only part of the
35 // data may be written! The number of bytes written is returned, or an error
49 // Set the receive buffer size (in bytes) for the socket.
54 // Set the send buffer size (in bytes) for the socket.

Completed in 6452 milliseconds

<<11121314151617181920>>