/external/llvm/test/CodeGen/SystemZ/ |
memset-03.ll | 8 ; No bytes, i32 version. 17 ; No bytes, i64 version. 44 ; 2 bytes, i32 version. 53 ; 2 bytes, i64 version. 62 ; 3 bytes, i32 version. 72 ; 3 bytes, i64 version. 82 ; 4 bytes, i32 version. 91 ; 4 bytes, i64 version. 100 ; 5 bytes, i32 version. 110 ; 5 bytes, i64 version [all...] |
memset-04.ll | 8 ; No bytes, i32 version. 17 ; No bytes, i64 version. 44 ; 2 bytes, i32 version. 53 ; 2 bytes, i64 version. 62 ; 3 bytes, i32 version. 72 ; 3 bytes, i64 version. 82 ; 4 bytes, i32 version. 91 ; 4 bytes, i64 version. 100 ; 5 bytes, i32 version. 110 ; 5 bytes, i64 version [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
ByteBufferTest.java | 771 byte bytes[] = new byte[2]; 780 buf.get(bytes); 782 assertEquals(bytes2char(bytes, buf.order()), value); 791 buf.get(bytes); 793 assertEquals(bytes2char(bytes, buf.order()), value); 805 buf.get(bytes); 806 assertTrue(Arrays.equals(bytes, char2bytes(value, buf.order()))); 817 buf.get(bytes); 818 assertTrue(Arrays.equals(bytes, char2bytes(value, buf.order()))); 827 byte bytes[] = new byte[8] 1204 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); local 1240 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); local 1359 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); local 1395 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); local 1502 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); local 1538 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); local 1644 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); local 1680 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); local 1781 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); local 1817 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); local 1918 assertTrue(Arrays.equals(short2bytes(value, buf.order()), bytes)); local 1954 assertTrue(Arrays.equals(short2bytes(value, buf.order()), bytes)); local [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/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 result = 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; 157 char* bytes; local [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
Output.java | 39 * bytes written to this instance. 88 * @return 1..5; the number of bytes actually written 98 * @return 1..5; the number of bytes actually written 105 * @param bytes non-null; the array to write 107 public void write(ByteArray bytes); 112 * @param bytes non-null; the array to write 113 * @param offset >= 0; offset into <code>bytes</code> for the first 115 * @param length >= 0; number of bytes to write 117 public void write(byte[] bytes, int offset, int length); 121 * a convenient shorthand for <code>write(bytes, 0, bytes.length)</code> [all...] |
/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...] |
/external/llvm/include/llvm/Support/ |
StreamableMemoryObject.h | 43 /// getExtent - Returns the size of the region in bytes. (The region is 46 /// May block until all bytes in the stream have been read 52 /// May block until (address - base) bytes have been read 59 /// readBytes - Tries to read a contiguous range of bytes from the 61 /// May block until (address - base + size) bytes have 63 /// not do partial reads - if size bytes cannot be read, 68 /// @param size - The number of bytes to copy. 70 /// and large enough to hold size bytes. 80 /// May block until (address - base + size) bytes have been read 88 /// May block until (address - base) bytes have been rea 155 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local [all...] |
/libcore/luni/src/main/java/java/io/ |
PushbackInputStream.java | 24 * bytes that have been read, so that they can be read again. Parsers may find 25 * this useful. The number of bytes which may be pushed back can be specified 26 * during construction. If the buffer of pushed back bytes is empty, bytes are 31 * The buffer that contains pushed-back bytes. 37 * {@code buf.length} indicates that no bytes are available. A value of 0 125 * available bytes then a byte from the source input stream is returned. 150 * Reads up to {@code byteCount} bytes from this stream and stores them in 151 * the byte array {@code buffer} starting at {@code byteOffset}. Bytes are read 152 * from the pushback buffer first, then from the source stream if more bytes [all...] |
/packages/apps/UnifiedEmail/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...] |
/bionic/libc/arch-arm/cortex-a9/bionic/ |
memcpy_base.S | 42 // Check so divider is at least 16 bytes, needed for alignment code. 55 /* align destination to 16 bytes for the write-buffer */ 60 /* copy up to 15-bytes (count in r3) */ 73 // copies 4 bytes, destination 32-bits aligned 77 // copies 8 bytes, destination 64-bits aligned 85 /* make sure we have at least 64 bytes to copy */ 93 1: /* The main loop copies 64 bytes at a time */ 102 2: /* fix-up the remaining count and make sure we have >= 32 bytes left */ 107 3: /* 32 bytes at a time. These cache lines were already preloaded */ 117 // copies 16 bytes, 128-bits aligne [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/chromium_org/courgette/ |
streams.h | 40 // Initializes the SourceStream to yield the bytes at |pointer|. The caller 49 // Initializes the SourceStream to yield the bytes in |region|. The caller 54 // Initializes the SourceStream to yield the bytes in |string|. The caller 59 // Initializes the SourceStream to yield the bytes written to |sink|. |sink| 64 // Returns number of bytes remaining to be read from stream. 73 // Copies bytes from stream to memory at |destination|. Returns 'false' if 85 // Initializes |substream| to yield |length| bytes from |this| stream, 86 // starting at |offset| bytes from the current position. Returns 'false' if 87 // there are insufficient bytes in |this| stream. 90 // Initializes |substream| to yield |length| bytes from |this| stream [all...] |
/external/chromium_org/net/tools/balsa/ |
balsa_visitor_interface.h | 31 // input - contains the bytes available for read. 32 // size - contains the number of bytes it is safe to read from input. 37 // the body which would be stored by a program such as wget, i.e. the bytes 42 // input - contains the bytes available for read. 43 // size - contains the number of bytes it is safe to read from input. 50 // input - contains the bytes available for read. 51 // size - contains the number of bytes it is safe to read from input. 60 // input - contains the bytes available for read. 61 // size - contains the number of bytes it is safe to read from input. 80 // bytes it is safe to read from line_ptr [all...] |
/external/chromium_org/sandbox/win/src/sidestep/ |
preamble_patcher_with_stub.cpp | 18 // Very basic memcpy. We are copying 4 to 12 bytes most of the time, so there 21 inline void* RawMemcpy(void* destination, const void* source, size_t bytes) { 25 for (size_t i = 0; i < bytes ; i++) 31 // Very basic memset. We are filling 1 to 7 bytes most of the time, so there 34 inline void* RawMemset(void* destination, int value, size_t bytes) { 37 for (size_t i = 0; i < bytes ; i++) 73 // NOTE: Stoyan suggests we can write 8 or even 10 bytes atomically using 78 // to have its eip in the middle of the bytes you change while you change 84 // bytes for our jmp instruction, so let's find the minimum number of 85 // instructions to get 5 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...] |
/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...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
IsValidUtf8TestUtil.java | 72 // Both bytes are one byte characters 183 * Helper to run the loop to test all the permutations for the number of bytes 186 * @param numBytes the number of bytes in the byte array 195 * Helper to run the loop to test all the permutations for the number of bytes 199 * @param numBytes the number of bytes in the byte array 201 * @param start the starting bytes encoded as a long as big-endian 202 * @param lim the limit of bytes to process encoded as a long as big-endian, 208 byte[] bytes = new byte[numBytes]; 218 bytes[bytes.length - i - 1] = (byte) tmpByteChar [all...] |
/art/runtime/ |
monitor_android.cc | 59 // Emit the process name, <= 37 bytes. 68 // Emit the sensitive thread ("main thread") status, 5 bytes. 71 // Emit self thread name string, <= 37 bytes. 76 // Emit the wait time, 5 bytes. 79 // Emit the source code file name, <= 37 bytes. 87 // Emit the source code line number, 5 bytes. 90 // Emit the lock owner source code file name, <= 37 bytes. 99 // Emit the source code line number, 5 bytes. 102 // Emit the sample percentage, 5 bytes.
|
/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/chromium_org/third_party/openssl/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/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
LiteralByteString.java | 45 * single array of bytes, contiguous in memory. It supports substring by 54 protected final byte[] bytes; field in class:LiteralByteString 60 * @param bytes array to wrap 62 LiteralByteString(byte[] bytes) { 63 this.bytes = bytes; 71 return bytes[index]; 76 return bytes.length; 103 result = new BoundedByteString(bytes, getOffsetIntoBytes() + beginIndex, 117 System.arraycopy(bytes, sourceOffset, target, targetOffset, numberToCopy) [all...] |