/dalvik/dx/src/com/android/dx/util/ |
Output.java | 29 * bytes written to this instance. 78 * @return {@code 1..5;} the number of bytes actually written 88 * @return {@code 1..5;} the number of bytes actually written 95 * @param bytes {@code non-null;} the array to write 97 public void write(ByteArray bytes); 102 * @param bytes {@code non-null;} the array to write 103 * @param offset {@code >= 0;} offset into {@code bytes} for the first 105 * @param length {@code >= 0;} number of bytes to write 107 public void write(byte[] bytes, int offset, int length); 111 * a convenient shorthand for {@code write(bytes, 0, bytes.length)} [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
Output.java | 27 * bytes written to this instance. 76 * @return {@code 1..5;} the number of bytes actually written 86 * @return {@code 1..5;} the number of bytes actually written 93 * @param bytes {@code non-null;} the array to write 95 public void write(ByteArray bytes); 100 * @param bytes {@code non-null;} the array to write 101 * @param offset {@code >= 0;} offset into {@code bytes} for the first 103 * @param length {@code >= 0;} number of bytes to write 105 public void write(byte[] bytes, int offset, int length); 109 * a convenient shorthand for {@code write(bytes, 0, bytes.length)} [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
EncodedValueUtils.java | 45 // Round up the requiredBits to a number of bytes. 49 public static long decodeSignedIntegralValue(byte[] bytes) { 51 for (int i = 0; i < bytes.length; i++) { 52 value |= (((long)(bytes[i] & 0xFF)) << (i * 8)); 55 int shift = (8 - bytes.length) * 8; 62 byte[] bytes = new byte[requiredBytes]; 65 bytes[i] = (byte) value; 68 return bytes; 82 // Round up the requiredBits to a number of bytes. 86 public static long decodeUnsignedIntegralValue(byte[] bytes) { [all...] |
NumberUtils.java | 79 * Decodes a signed short value from 2 individual bytes 94 * @param bytes the byte array 98 public static short decodeShort(byte[] bytes, int index) { 100 ( (bytes[index++] & 0xFF) | 101 (bytes[index] << 8) 106 * Decodes an unsigned short value from 2 individual bytes 120 * @param bytes the byte array 124 public static int decodeUnsignedShort(byte[] bytes, int index) { 125 return ( (bytes[index++] & 0xFF) | 126 ((bytes[index] & 0xFF) << 8 [all...] |
/external/valgrind/main/memcheck/tests/ |
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...] |
/dalvik/dx/src/com/android/dx/cf/iface/ |
ParseObserver.java | 37 * @param bytes {@code non-null;} the source that is being parsed 38 * @param offset offset into {@code bytes} for the start of the 43 public void startParsingMember(ByteArray bytes, int offset, String name, 49 * @param bytes {@code non-null;} the source that was parsed 50 * @param offset offset into {@code bytes} for the end of the 56 public void endParsingMember(ByteArray bytes, int offset, String name, 62 * @param bytes {@code non-null;} the source that was parsed 63 * @param offset offset into {@code bytes} for what was parsed 64 * @param len number of bytes parsed 67 public void parsed(ByteArray bytes, int offset, int len, String human) [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
ClassDumper.java | 32 * @param bytes {@code non-null;} bytes of the (alleged) class file 39 public static void dump(byte[] bytes, PrintStream out, 42 new ClassDumper(bytes, out, filePath, args); 50 private ClassDumper(byte[] bytes, PrintStream out, 52 super(bytes, out, filePath, args); 59 byte[] bytes = getBytes(); 60 ByteArray ba = new ByteArray(bytes); 69 if (at != bytes.length) { 70 parsed(ba, at, bytes.length - at, "<extra data at end of file>") [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
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/guava/guava/src/com/google/common/hash/ |
Sink.java | 38 * Puts an array of bytes into this sink. 40 * @param bytes a byte array 43 Sink putBytes(byte[] bytes); 46 * Puts a chunk of an array of bytes into this sink. {@code bytes[off]} is the first byte written, 47 * {@code bytes[off + len - 1]} is the last. 49 * @param bytes a byte array 51 * @param len the number of bytes to write 53 * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or 56 Sink putBytes(byte[] bytes, int off, int len) [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
ByteString.java | 42 * Immutable array of bytes. 48 private final byte[] bytes; field in class:ByteString 50 private ByteString(final byte[] bytes) { 51 this.bytes = bytes; 60 return bytes[index]; 64 * Gets the number of bytes. 67 return bytes.length; 74 return bytes.length == 0; 86 * Copies the given bytes into a {@code ByteString} [all...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
ByteStringTest.java | 90 byte[] bytes = getTestBytes(); 91 ByteString substring = ByteString.copyFrom(bytes).substring(500); 93 isArrayRange(substring.toByteArray(), bytes, 500, bytes.length - 500)); 97 byte[] bytes = getTestBytes(); 98 ByteString byteString = ByteString.copyFrom(bytes, 500, 200); 99 assertTrue("copyFrom sub-range must contain the expected bytes", 100 isArrayRange(byteString.toByteArray(), bytes, 500, 200)); 104 byte[] bytes = getTestBytes(); 105 ByteString byteString = ByteString.copyFrom(bytes); [all...] |
/external/chromium_org/base/memory/ |
discardable_memory_provider.cc | 57 void DiscardableMemoryProvider::SetDiscardableMemoryLimit(size_t bytes) { 59 discardable_memory_limit_ = bytes; 64 size_t bytes) { 66 bytes_to_reclaim_under_moderate_pressure_ = bytes; 70 const DiscardableMemory* discardable, size_t bytes) { 73 allocations_.Put(discardable, Allocation(bytes)); 84 size_t bytes = it->second.bytes; local 85 DCHECK_LE(bytes, bytes_allocated_); 86 bytes_allocated_ -= bytes; 108 size_t bytes = it->second.bytes; local 202 size_t bytes = it->second.bytes; local [all...] |
/external/valgrind/main/memcheck/tests/s390x/ |
cu42.c | 10 /* U+0000 to U+d7ff: Result is 2 bytes for each uint32_t 11 U+dc00 to U+ffff: Result is 2 bytes for each uint32_t */ 18 /* U+00010000 to U+0010ffff: Result is 4 bytes for each uint32_t */ 46 /* Write 2 bytes into buffer of length 1 */ 47 do_cu42(malloc(1), 10, pattern2, 4); // complaint (2 bytes) 49 /* Write 2 bytes into buffer of length 2 */ 52 /* Write 4 bytes into buffer of length 1 */ 53 do_cu42(malloc(1), 10, pattern4, 4); // complaint (4 bytes) 55 /* Write 4 bytes into buffer of length 2 */ 56 do_cu42(malloc(2), 10, pattern4, 4); // complaint (4 bytes) [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkPackBits.h | 28 up writing more bytes than it read, so dst[] must be large enough. 33 @return the number of bytes written to dst[] 38 up writing more bytes than it read, so dst[] must be large enough. 43 @return the number of bytes written to dst[] 50 @param srcSize Number of bytes of src to unpack 52 @return the number of dst elements (not bytes) written into dst. 59 @param srcSize Number of bytes of src to unpack 61 @return the number of bytes written into dst. 65 /** Unpack the data from src[], skip the first dstSkip bytes, then write 66 dstWrite bytes into dst[]. The src[] data was written by a previou [all...] |
/external/skia/include/core/ |
SkPackBits.h | 28 up writing more bytes than it read, so dst[] must be large enough. 33 @return the number of bytes written to dst[] 38 up writing more bytes than it read, so dst[] must be large enough. 43 @return the number of bytes written to dst[] 50 @param srcSize Number of bytes of src to unpack 52 @return the number of dst elements (not bytes) written into dst. 59 @param srcSize Number of bytes of src to unpack 61 @return the number of bytes written into dst. 65 /** Unpack the data from src[], skip the first dstSkip bytes, then write 66 dstWrite bytes into dst[]. The src[] data was written by a previou [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OutputStreamWriterTest.java | 66 byte[] bytes = baos.toByteArray(); 67 assertEquals(8196, bytes.length); 70 assertEquals((byte) 0, bytes[i++]); 71 assertEquals((byte) 0, bytes[i++]); 72 assertEquals((byte) 0, bytes[i++]); 73 assertEquals((byte) 'x', bytes[i++]); 77 assertEquals((byte) 0x00, bytes[i++]); 78 assertEquals((byte) 0x02, bytes[i++]); 79 assertEquals((byte) 0x0b, bytes[i++]); 80 assertEquals((byte) 0x9f, bytes[i++]) [all...] |
/development/ndk/platforms/android-3/include/linux/netfilter/ |
xt_sctp.h | 49 #define bytes(type) (sizeof(type) * 8) macro 51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 53 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
|
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/ |
ipt_sctp.h | 47 #define bytes(type) (sizeof(type) * 8) macro 49 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 51 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 53 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
|
/external/chromium_org/tools/memory_watcher/scripts/ |
finditem.pl | 14 my $bytes = 0; 22 if ($line =~ m/([0-9]*) bytes, ([0-9]*) allocs/) { 25 $bytes = $1; 34 print "$bytes bytes ($calls calls)\n"; 36 $sum_bytes += $bytes; 45 print("TOTAL: $sum_bytes bytes ($sum_calls calls)\n");
|
/external/iptables/include/linux/netfilter/ |
xt_sctp.h | 38 #define bytes(type) (sizeof(type) * 8) macro 42 (chunkmap)[type / bytes(__u32)] |= \ 43 1 << (type % bytes(__u32)); \ 48 (chunkmap)[type / bytes(__u32)] &= \ 49 ~(1 << (type % bytes(__u32))); \ 54 ((chunkmap)[type / bytes (__u32)] & \ 55 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/external/kernel-headers/original/linux/netfilter/ |
xt_sctp.h | 39 #define bytes(type) (sizeof(type) * 8) macro 43 chunkmap[type / bytes(u_int32_t)] |= \ 44 1 << (type % bytes(u_int32_t)); \ 49 chunkmap[type / bytes(u_int32_t)] &= \ 50 ~(1 << (type % bytes(u_int32_t))); \ 55 (chunkmap[type / bytes (u_int32_t)] & \ 56 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|
/external/kernel-headers/original/linux/netfilter_ipv4/ |
ipt_sctp.h | 37 #define bytes(type) (sizeof(type) * 8) macro 41 chunkmap[type / bytes(u_int32_t)] |= \ 42 1 << (type % bytes(u_int32_t)); \ 47 chunkmap[type / bytes(u_int32_t)] &= \ 48 ~(1 << (type % bytes(u_int32_t))); \ 53 (chunkmap[type / bytes (u_int32_t)] & \ 54 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|
/libcore/luni/src/main/java/java/security/ |
SecureRandomSpi.java | 43 * Generates and stores random bytes in the given {@code byte[]} for each 46 * @param bytes 47 * the {@code byte[]} to be filled with random bytes. 49 protected abstract void engineNextBytes(byte[] bytes); 52 * Generates and returns the specified number of seed bytes, computed using 56 * the number of seed bytes. 57 * @return the seed bytes
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter/ |
xt_sctp.h | 36 #define bytes(type) (sizeof(type) * 8) macro 40 chunkmap[type / bytes(u_int32_t)] |= \ 41 1 << (type % bytes(u_int32_t)); \ 46 chunkmap[type / bytes(u_int32_t)] &= \ 47 ~(1 << (type % bytes(u_int32_t))); \ 52 (chunkmap[type / bytes (u_int32_t)] & \ 53 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter_ipv4/ |
ipt_sctp.h | 37 #define bytes(type) (sizeof(type) * 8) macro 41 chunkmap[type / bytes(u_int32_t)] |= \ 42 1 << (type % bytes(u_int32_t)); \ 47 chunkmap[type / bytes(u_int32_t)] &= \ 48 ~(1 << (type % bytes(u_int32_t))); \ 53 (chunkmap[type / bytes (u_int32_t)] & \ 54 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|