Searched defs:bytes (Results 201 - 225 of 1496) sorted by relevance

1234567891011>>

/external/emma/core/java12/com/vladium/jcd/cls/constant/
H A DCONSTANT_info.java60 public static CONSTANT_info new_CONSTANT_info (final UDataInputStream bytes) argument
63 byte tag = bytes.readByte ();
68 return new CONSTANT_Utf8_info (bytes);
71 return new CONSTANT_Integer_info (bytes);
74 return new CONSTANT_Float_info (bytes);
77 return new CONSTANT_Long_info (bytes);
80 return new CONSTANT_Double_info (bytes);
84 return new CONSTANT_Class_info (bytes);
87 return new CONSTANT_String_info (bytes);
91 return new CONSTANT_Fieldref_info (bytes);
[all...]
/external/flac/libFLAC/
H A Dmemory.c45 void *FLAC__memory_alloc_aligned(size_t bytes, void **aligned_address) argument
53 x = safe_malloc_add_2op_(bytes, /*+*/31L);
56 x = safe_malloc_(bytes);
H A Dogg_helper.c45 static FLAC__bool full_read_(FLAC__StreamEncoder *encoder, FLAC__byte *buffer, size_t bytes, FLAC__StreamEncoderReadCallback read_callback, void *client_data) argument
47 while(bytes > 0) {
48 size_t bytes_read = bytes;
51 bytes -= bytes_read;
59 bytes -= bytes_read;
/external/google-breakpad/src/processor/
H A Dmicrodump_processor_unittest.cc66 std::vector<char> bytes; local
69 bytes.resize(file_stream.tellg());
72 file_stream.read(&bytes[0], bytes.size());
74 *file_contents = string(&bytes[0], bytes.size());
/external/guava/guava/src/com/google/common/hash/
H A DChecksumHashFunction.java75 protected void update(byte[] bytes, int off, int len) { argument
76 checksum.update(bytes, off, len);
H A DHashingInputStream.java60 * Reads the specified bytes of data from the underlying input stream and updates the hasher with
61 * the bytes read.
64 public int read(byte[] bytes, int off, int len) throws IOException { argument
65 int numOfBytesRead = in.read(bytes, off, len);
67 hasher.putBytes(bytes, off, numOfBytesRead);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DTrie2_16.java49 * The serialized Trie2 in the bytes may be in either little or big endian byte order.
53 * @param bytes a byte buffer to the serialized form of a UTrie2.
57 * @throws ClassCastException if the bytes contain a serialized Trie2_32
59 public static Trie2_16 createFromSerialized(ByteBuffer bytes) throws IOException { argument
60 return (Trie2_16) Trie2.createFromSerialized(bytes);
152 * @return the number of bytes written.
168 * @return the number of bytes of the serialized trie
H A DTrie2_32.java48 * The serialized Trie2 in the bytes may be in either little or big endian byte order.
52 * @param bytes a byte buffer to the serialized form of a UTrie2.
56 * @throws ClassCastException if the bytes contains a serialized Trie2_16
58 public static Trie2_32 createFromSerialized(ByteBuffer bytes) throws IOException { argument
59 return (Trie2_32) Trie2.createFromSerialized(bytes);
149 * @return the number of bytes written.
165 * @return the number of bytes of the serialized trie
/external/icu/icu4c/source/common/
H A Dbytestream.cpp44 void CheckedArrayByteSink::Append(const char* bytes, int32_t n) { argument
60 if (n > 0 && bytes != (outbuf_ + size_)) {
61 uprv_memcpy(outbuf_ + size_, bytes, n);
H A Ducnv_cnv.cpp56 const char *bytes, int32_t length,
64 /* write bytes */
67 *t++=*bytes++;
73 *t++=*bytes++;
87 *t++=(uint8_t)*bytes++;
55 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DStringPrepDataReader.java32 * @param bytes ICU StringPrep data file buffer
35 public StringPrepDataReader(ByteBuffer bytes) argument
37 if(debug) System.out.println("Bytes in buffer " + bytes.remaining());
39 byteBuffer = bytes;
H A DTrie2_16.java47 * The serialized Trie2 in the bytes may be in either little or big endian byte order.
51 * @param bytes a byte buffer to the serialized form of a UTrie2.
55 * @throws ClassCastException if the bytes contain a serialized Trie2_32
57 public static Trie2_16 createFromSerialized(ByteBuffer bytes) throws IOException { argument
58 return (Trie2_16) Trie2.createFromSerialized(bytes);
150 * @return the number of bytes written.
166 * @return the number of bytes of the serialized trie
H A DTrie2_32.java46 * The serialized Trie2 in the bytes may be in either little or big endian byte order.
50 * @param bytes a byte buffer to the serialized form of a UTrie2.
54 * @throws ClassCastException if the bytes contains a serialized Trie2_16
56 public static Trie2_32 createFromSerialized(ByteBuffer bytes) throws IOException { argument
57 return (Trie2_32) Trie2.createFromSerialized(bytes);
147 * @return the number of bytes written.
163 * @return the number of bytes of the serialized trie
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
H A DSignatureRemoverTest.java119 private static Manifest createManifest(final byte[] bytes) argument
122 new ByteArrayInputStream(bytes));
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/
H A DTargetLoader.java32 public Class<?> add(final String name, final byte[] bytes) { argument
33 this.classes.put(name, bytes);
37 public Class<?> add(final Class<?> name, final byte[] bytes) { argument
38 return add(name.getName(), bytes);
82 final byte[] bytes = classes.get(name);
83 if (bytes != null) {
84 Class<?> c = defineClass(name, bytes, 0, bytes.length);
/external/jline/src/src/test/java/jline/
H A DConsoleReaderTest.java147 private ConsoleReader createConsole(byte[] bytes) throws Exception { argument
148 InputStream in = new ByteArrayInputStream(bytes);
/external/kmod/shared/
H A Dstrbuf.c44 tmp = realloc(buf->bytes, sz);
47 buf->bytes = tmp;
54 buf->bytes = NULL;
61 free(buf->bytes);
66 char *bytes; local
68 bytes = realloc(buf->bytes, buf->used + 1);
69 if (!bytes) {
70 free(buf->bytes);
73 bytes[bu
[all...]
/external/libavc/test/encoder/
H A Drecon.c55 WORD32 bytes; local
73 bytes = fwrite(pu1_buf, sizeof(UWORD8), wd, fp);
74 if(bytes != wd)
/external/libchrome/base/metrics/
H A Dpersistent_sample_map_unittest.cc18 size_t bytes) {
20 MakeUnique<LocalPersistentMemoryAllocator>(bytes, 0, ""));
17 CreateHistogramAllocator( size_t bytes) argument
/external/libcups/cups/
H A Dsnprintf.c28 int /* O - Number of bytes formatted */
47 int bytes; /* Total number of bytes needed */ local
56 bytes = 0;
68 bytes ++;
182 bytes += (int)templen;
213 bytes += (int)templen;
237 bytes += (int)templen;
255 bytes += width;
280 bytes
343 int bytes; /* Number of bytes formatted */ local
[all...]
/external/llvm/lib/MC/
H A DMCInstPrinter.cpp19 void llvm::dumpBytes(ArrayRef<uint8_t> bytes, raw_ostream &OS) { argument
21 for (char i: bytes) {
/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/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;

Completed in 651 milliseconds

1234567891011>>