Searched defs:bytes (Results 176 - 200 of 1049) sorted by relevance

1234567891011>>

/external/ltrace/sysdeps/linux-gnu/arm/
H A Dbreakpoint.c45 unsigned char *bytes = current.b; local
55 sbp->orig_value[i * sizeof(long) + j] = bytes[j];
57 bytes[j] = break_insn[i * sizeof(long) + j];
60 bytes[j] = thumb_break_insn[i * sizeof(long) + j];
78 unsigned char *bytes = current.b; local
87 bytes[j] = sbp->orig_value[i * sizeof(long) + j];
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_linear.c42 size_t bytes = t->cols * t->block.size; local
51 ptr = (char*)src_ptr + src_stride * t->rows * y + bytes * x;
53 memcpy(dst_ptr2, ptr, bytes);
54 dst_ptr2 += bytes;
66 size_t bytes = t->cols * t->block.size; local
73 ptr = (char*)dst_ptr + dst_stride * t->rows * y + bytes * x;
75 memcpy(ptr, src_ptr2, bytes);
76 src_ptr2 += bytes;
/external/mesa3d/src/gallium/drivers/radeon/
H A Dradeon_llvm_emit.cpp79 * @param bytes This function allocates memory for the byte stream, it is the
83 radeon_llvm_compile(LLVMModuleRef M, unsigned char ** bytes, argument
147 *bytes = (unsigned char*)malloc(data.length() * sizeof(unsigned char));
148 memcpy(*bytes, data.c_str(), data.length() * sizeof(unsigned char));
/external/mesa3d/src/glsl/glcpp/
H A Dglcpp.c50 size_t bytes; local
61 bytes = fread (text + total_read, 1, CHUNK, fp);
62 total_read += bytes;
64 if (bytes < CHUNK) {
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
H A DFileEntry.java34 private byte[] bytes = EMPTY; field in class:FileEntry
75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
130 byte[] initialContents = (append) ? bytes : EMPTY;
164 return (out != null) ? out.toByteArray() : bytes;
173 this.bytes = contents;
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/filesystem/
H A DFileEntry.java34 private byte[] bytes = EMPTY; field in class:FileEntry
75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
126 byte[] initialContents = (append) ? bytes : EMPTY;
160 return (out != null) ? out.toByteArray() : bytes;
169 this.bytes = contents;
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
H A DFileEntry.java34 private byte[] bytes = EMPTY; field in class:FileEntry
75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
126 byte[] initialContents = (append) ? bytes : EMPTY;
148 clone.setContents(bytes);
160 return (out != null) ? out.toByteArray() : bytes;
169 this.bytes = contents;
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/
H A DFileEntry.java34 private byte[] bytes = EMPTY; field in class:FileEntry
35 //private Object bytes = EMPTY;
76 * @return the file size in bytes
85 * @param contents - the String whose bytes are used as the contents
98 // Copy the bytes[] to guard against subsequent modification of the source array
127 byte[] initialContents = (append) ? bytes : EMPTY;
149 clone.setContents(bytes);
161 return (out != null) ? out.toByteArray() : bytes;
170 this.bytes = contents;
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
H A DFileEntry.java34 private byte[] bytes = EMPTY; field in class:FileEntry
75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
126 byte[] initialContents = (append) ? bytes : EMPTY;
148 clone.setContents(bytes);
160 return (out != null) ? out.toByteArray() : bytes;
169 this.bytes = contents;
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/filesystem/
H A DFileEntry.java34 private byte[] bytes = EMPTY; field in class:FileEntry
75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
130 byte[] initialContents = (append) ? bytes : EMPTY;
164 return (out != null) ? out.toByteArray() : bytes;
173 this.bytes = contents;
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/filesystem/
H A DFileEntry.java34 private byte[] bytes = EMPTY; field in class:FileEntry
75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
130 byte[] initialContents = (append) ? bytes : EMPTY;
164 return (out != null) ? out.toByteArray() : bytes;
173 this.bytes = contents;
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/filesystem/
H A DFileEntry.java34 private byte[] bytes = EMPTY; field in class:FileEntry
75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
130 byte[] initialContents = (append) ? bytes : EMPTY;
164 return (out != null) ? out.toByteArray() : bytes;
173 this.bytes = contents;
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/filesystem/
H A DFileEntry.java34 private byte[] bytes = EMPTY; field in class:FileEntry
75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
130 byte[] initialContents = (append) ? bytes : EMPTY;
164 return (out != null) ? out.toByteArray() : bytes;
173 this.bytes = contents;
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/filesystem/
H A DFileEntry.java34 private byte[] bytes = EMPTY; field in class:FileEntry
75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
130 byte[] initialContents = (append) ? bytes : EMPTY;
164 return (out != null) ? out.toByteArray() : bytes;
173 this.bytes = contents;
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/filesystem/
H A DFileEntry.java34 private byte[] bytes = EMPTY; field in class:FileEntry
75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
130 byte[] initialContents = (append) ? bytes : EMPTY;
164 return (out != null) ? out.toByteArray() : bytes;
173 this.bytes = contents;
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/filesystem/
H A DFileEntry.java34 private byte[] bytes = EMPTY; field in class:FileEntry
75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
130 byte[] initialContents = (append) ? bytes : EMPTY;
164 return (out != null) ? out.toByteArray() : bytes;
173 this.bytes = contents;
/external/opencv3/3rdparty/libwebp/webp/
H A Dmux_types.h51 const uint8_t* bytes; member in struct:WebPData
66 free((void*)webp_data->bytes);
76 if (src->bytes != NULL && src->size != 0) {
77 dst->bytes = (uint8_t*)malloc(src->size);
78 if (dst->bytes == NULL) return 0;
79 memcpy((void*)dst->bytes, src->bytes, src->size);
/external/opencv3/modules/videoio/src/cap_winrt/
H A DMFIncludes.hpp91 // Get access to bytes in IBuffer
94 unsigned char* bytes = nullptr; variable
95 CHK(As<WSS::IBufferByteAccess>(buffer)->Buffer(&bytes)); variable
96 return bytes;
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DLazyFieldLite.java47 private ByteString bytes; field in class:LazyFieldLite
53 public LazyFieldLite(ExtensionRegistryLite extensionRegistry, ByteString bytes) { argument
55 this.bytes = bytes;
68 return value == null && bytes == null;
72 bytes = null;
97 bytes = null;
107 if (bytes == null) {
108 this.bytes = value.bytes;
115 setByteString(ByteString bytes, ExtensionRegistryLite extensionRegistry) argument
[all...]
H A DUtf8.java47 * those that can be roundtrip converted to Strings and back to bytes
49 * Arrays.equals(bytes, new String(bytes, "UTF-8").getBytes("UTF-8"))
57 * bytes in a complete UTF-8 byte sequences can be stored in multiple
72 * complete (no further bytes are needed to complete a character).
82 // Other state values include the partial bytes of the incomplete
83 // character to be decoded in the simplest way: we pack the bytes
97 // to, because partial bytes must always be negative. When building
98 // a state, we ensure that byte1 is negative and subsequent bytes
99 // are valid trailing bytes
108 isValidUtf8(byte[] bytes) argument
121 isValidUtf8(byte[] bytes, int index, int limit) argument
143 partialIsValidUtf8( int state, byte[] bytes, int index, int limit) argument
248 partialIsValidUtf8( byte[] bytes, int index, int limit) argument
260 partialIsValidUtf8NonAscii( byte[] bytes, int index, int limit) argument
340 incompleteStateFor(byte[] bytes, int index, int limit) argument
[all...]
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
H A DInternalNano.java69 * To get around this, protoc instead embeds the UTF-8 bytes into the
75 * in each value. This is much less efficient than just embedding the bytes
78 * generates a string literal corresponding to the bytes. The easiest way
83 * So we have a string literal which represents a set of bytes which
88 public static String stringDefaultValue(String bytes) { argument
90 return new String(bytes.getBytes("ISO-8859-1"), "UTF-8");
100 * Helper called by generated code to construct default values for bytes
103 * This is a lot like {@link #stringDefaultValue}, but for bytes fields.
105 * embed raw bytes as a string literal with ISO-8859-1 encoding.
107 public static byte[] bytesDefaultValue(String bytes) { argument
[all...]
H A DMessageNanoPrinter.java126 // bytes is special since it's not repeated, but is represented by an array
242 private static void appendQuotedBytes(byte[] bytes, StringBuffer builder) { argument
243 if (bytes == null) {
249 for (int i = 0; i < bytes.length; ++i) {
250 int ch = bytes[i] & 0xff;
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DIsValidUtf8Test.java46 * bytes and will return false for any sequence that will not round trip.
90 // Bad trailing bytes
127 private byte[] toByteArray(int... bytes) { argument
128 byte[] realBytes = new byte[bytes.length];
129 for (int i = 0; i < bytes.length; i++) {
130 realBytes[i] = (byte) bytes[i];
135 private ByteString toByteString(int... bytes) { argument
136 return ByteString.copyFrom(toByteArray(bytes));
139 private void assertValidUtf8(int[] bytes, boolean not) { argument
140 byte[] realBytes = toByteArray(bytes);
159 assertValidUtf8(int... bytes) argument
163 assertInvalidUtf8(int... bytes) argument
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
H A DMemoryDeferredOutputStream.java48 @Override public void write(byte[] bytes) throws IOException { argument
49 write(bytes, 0, bytes.length);
52 @Override public void write(byte[] bytes, int offset, int length) throws IOException { argument
57 System.arraycopy(bytes, offset + written, currentBuffer, currentPosition, toWrite);
/external/smali/util/src/main/java/org/jf/util/
H A DUtf8Utils.java40 * @return non-null; the UTF-8 bytes for it
44 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate.
50 bytes[outAt] = (byte) c;
53 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0);
54 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80);
57 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0);
58 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80);
59 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80);
65 System.arraycopy(bytes, 0, result, 0, outAt);
78 * Converts an array of UTF-8 bytes int
85 utf8BytesToString(byte[] bytes, int start, int length) argument
178 utf8BytesWithUtf16LengthToString(@onnull byte[] bytes, int start, int utf16Length) argument
191 utf8BytesWithUtf16LengthToString(@onnull byte[] bytes, int start, int utf16Length, @Nullable int[] readLength) argument
[all...]

Completed in 973 milliseconds

1234567891011>>