/prebuilts/go/darwin-x86/src/encoding/binary/ |
example_test.go | 8 "bytes" 15 buf := new(bytes.Buffer) 21 fmt.Printf("% x", buf.Bytes()) 26 buf := new(bytes.Buffer) 38 fmt.Printf("%x", buf.Bytes()) 45 buf := bytes.NewReader(b)
|
/prebuilts/go/linux-x86/src/encoding/binary/ |
example_test.go | 8 "bytes" 15 buf := new(bytes.Buffer) 21 fmt.Printf("% x", buf.Bytes()) 26 buf := new(bytes.Buffer) 38 fmt.Printf("%x", buf.Bytes()) 45 buf := bytes.NewReader(b)
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
bytearrayobject.h | 11 /* Type PyByteArrayObject represents a mutable array of bytes. 13 * the bytes are mapped to ints in [0, 256). 14 * Bytes are not characters; they may be used to encode characters. 15 * The only way to go between bytes and str/unicode is via encoding 17 * For the convenience of C programmers, the bytes type is considered 26 Py_ssize_t ob_alloc; /* How many bytes allocated */
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
bytearrayobject.h | 11 /* Type PyByteArrayObject represents a mutable array of bytes. 13 * the bytes are mapped to ints in [0, 256). 14 * Bytes are not characters; they may be used to encode characters. 15 * The only way to go between bytes and str/unicode is via encoding 17 * For the convenience of C programmers, the bytes type is considered 26 Py_ssize_t ob_alloc; /* How many bytes allocated */
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-mmix/ |
sec-8m.d | 11 # output) had a length not a multiple of four, the last bytes were saved 13 # with a leading multiple-of-four number of zero bytes, those zero bytes 14 # would be omitted, and the "saved" bytes would be concatenated with the 15 # following (not-all-zeros) bytes. Hence a shift of the last bytes of the
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
ByteStringTest.java | 92 byte[] bytes = getTestBytes(); 93 ByteString substring = ByteString.copyFrom(bytes).substring(500); 95 isArrayRange(substring.toByteArray(), bytes, 500, bytes.length - 500)); 99 byte[] bytes = getTestBytes(); 100 ByteString byteString = ByteString.copyFrom(bytes, 500, 200); 101 assertTrue("copyFrom sub-range must contain the expected bytes", 102 isArrayRange(byteString.toByteArray(), bytes, 500, 200)); 106 byte[] bytes = getTestBytes(); 107 ByteString byteString = ByteString.copyFrom(bytes); [all...] |
/dalvik/dexgen/src/com/android/dexgen/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...] |
/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/llvm/include/llvm/Support/ |
StreamingMemoryObject.h | 34 /// Drop s bytes from the front of the stream, pushing the positions of the 35 /// remaining bytes down by s. This is used to skip past the bitcode header, 36 /// since we don't know a priori if it's present, and we can't put bytes 45 /// The number of bytes read at a time from the data streamer. 49 mutable std::vector<unsigned char> Bytes; 51 mutable size_t BytesRead; // Bytes read from stream 52 size_t BytesSkipped;// Bytes skipped at start of stream (e.g. wrapper/header) 56 // Fetch enough bytes such that Pos can be read (i.e. BytesRead > 59 // requests will be small, but we fetch at kChunkSize bytes at a 66 Bytes.resize(BytesRead + BytesSkipped + kChunkSize) 67 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local [all...] |
/external/libavc/common/arm/ |
ih264_padding_neon.s | 94 @ Load 16 bytes 180 vst1.8 {q0}, [r4], r1 @ 16 bytes store 182 vst1.8 {q1}, [r4], r1 @ 16 bytes store 186 vst1.8 {q2}, [r4], r1 @ 16 bytes store 188 vst1.8 {q3}, [r4], r1 @ 16 bytes store 192 vst1.8 {q0}, [r4], r1 @ 16 bytes store 195 vst1.8 {q1}, [r4], r1 @ 16 bytes store 199 vst1.8 {q2}, [r4], r1 @ 16 bytes store 200 vst1.8 {q3}, [r4], r1 @ 16 bytes store 209 vst1.8 {q0}, [r4]! @ 16 bytes stor [all...] |
/external/libavc/common/armv8/ |
ih264_padding_neon_av8.s | 96 // Load 16 bytes 192 st1 {v0.16b}, [x4], x1 // 16 bytes store 194 st1 {v2.16b}, [x4], x1 // 16 bytes store 199 st1 {v4.16b}, [x4], x1 // 16 bytes store 202 st1 {v6.16b}, [x4], x1 // 16 bytes store 208 st1 {v0.16b}, [x4], x1 // 16 bytes store 212 st1 {v2.16b}, [x4], x1 // 16 bytes store 216 st1 {v4.16b}, [x4], x1 // 16 bytes store 217 st1 {v6.16b}, [x4], x1 // 16 bytes store 229 st1 {v0.16b}, [x4], #16 // 16 bytes stor [all...] |
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
msgctl07.c | 53 #define BYTES 100 68 char text[BYTES]; 125 for (i = 0; i < BYTES; i++) 128 if (msgsnd(msqid, &p1_msgp, BYTES, 0) == -1) { 172 for (i = 0; i < BYTES; i++) 175 if (msgsnd(msqid, &p1_msgp, BYTES, 0) == -1) { 181 for (j = 0; j < BYTES; j++) 184 if (msgsnd(msqid, &p2_msgp, BYTES, 0) == -1) { 190 for (k = 0; k < BYTES; k++) 193 if (msgsnd(msqid, &p3_msgp, BYTES, 0) == -1) [all...] |
/external/valgrind/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/ |
PrimitiveSink.java | 38 * Puts an array of bytes into this sink. 40 * @param bytes a byte array 43 PrimitiveSink 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 PrimitiveSink putBytes(byte[] bytes, int off, int len) [all...] |
HashCode.java | 48 * Returns the first four bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to 56 * Returns the first eight bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to 65 * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining 66 * most-significant bytes. 81 * Copies bytes from this hash code into {@code dest}. 85 * @param maxLength the maximum number of bytes to write 86 * @return the number of bytes written to {@code dest} 99 * Returns a mutable view of the underlying bytes for the given {@code HashCode} if it is 258 final byte[] bytes; field in class:HashCode.BytesHashCode [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
format_utils.cpp | 25 // Magic number (4 bytes), version (2 bytes), flags (2 bytes), header size (4 bytes) = 12 49 // If the dictionary is less than 4 bytes, we can't even read the magic number, so we don't 58 // Magic number (4 bytes) 0x9B 0xC1 0x3A 0xFE 59 // Dictionary format version number (2 bytes) 60 // Options (2 bytes) 61 // Header size (4 bytes) : integer, big endian 62 // Conceptually this converts the hardcoded value of the bytes in the file int [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
ManifestDigester.java | 39 /** the raw bytes of the manifest */ 58 * raw bytes of the next section. 62 * @returns false if end of bytes has been reached, otherwise returns 110 public ManifestDigester(byte bytes[]) 112 rawBytes = bytes; 133 if (isNameAttr(bytes, start)) { 138 new String(bytes, start+6, len-6, "UTF8")); 142 if (bytes[i] == '\r') { 150 if (bytes[i++] == ' ') { 154 && (bytes[i++] != '\n')) [all...] |
/libcore/ojluni/src/main/native/ |
Bits.c | 56 #define GETCRITICAL(bytes, env, obj) { \ 57 (bytes) = (*(env))->GetPrimitiveArrayCritical(env, obj, NULL); \ 58 if ((bytes) == NULL) \ 62 #define RELEASECRITICAL(bytes, env, obj, mode) { \ 63 (*(env))->ReleasePrimitiveArrayCritical(env, obj, bytes, mode); \ 79 jbyte *bytes; local 93 GETCRITICAL(bytes, env, src); 95 srcShort = (jshort *)(bytes + srcPos); 102 RELEASECRITICAL(bytes, env, src, JNI_ABORT); 114 jbyte *bytes; local 149 jbyte *bytes; local 184 jbyte *bytes; local 219 jbyte *bytes; local 254 jbyte *bytes; local [all...] |
/prebuilts/misc/common/android-support-test/espresso/ |
espresso-contrib-2.3-beta-2-release.jar | |
/bionic/libc/arch-x86/silvermont/string/ |
sse4-memcmp-slm.S | 177 jz L(0bytes) 184 jz L(0bytes) 191 jz L(0bytes) 198 jz L(0bytes) 205 jz L(0bytes) 209 je L(0bytes) 222 L(0bytes): 324 L(16bytes): 329 L(12bytes): 334 L(8bytes) [all...] |
/external/valgrind/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/skia/src/codec/ |
SkStreamBuffer.h | 22 * Buffers up to 256 * 3 bytes (256 colors, with 3 bytes each) to support GIF. 35 * The number of bytes buffered is the number passed to buffer() 43 * If this call returns true, get() can be used to access |bytes| bytes 45 * position and enable calling getAtPosition() later to retrieve |bytes| 46 * bytes. 48 * @param bytes Total number of bytes desired. 50 * @return Whether all bytes were successfully buffered [all...] |