Searched defs:bytes (Results 576 - 600 of 1230) sorted by relevance

<<21222324252627282930>>

/external/clang/include/clang/AST/
H A DAttr.h57 void* operator new(size_t bytes) throw() { argument
/external/deqp/executor/
H A DxeTestLogWriter.cpp229 inline Base64Formatter toBase64 (const deUint8* bytes, int numBytes) { return Base64Formatter(bytes, numBytes); } argument
/external/deqp/framework/common/
H A DtcuRGBA.hpp87 static RGBA fromBytes (const deUint8* bytes) { return RGBA(bytes[0], bytes[1], bytes[2], bytes[3]); } argument
88 void toBytes (deUint8* bytes) const { bytes[0] = getRed(); bytes[1] = getGreen(); bytes[2] = getBlue(); bytes[
[all...]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DDexFile.java623 * @param bytes {@code non-null;} the bytes of the file
625 private static void calcSignature(byte[] bytes) { argument
634 md.update(bytes, 32, bytes.length - 32);
637 int amt = md.digest(bytes, 12, 20);
640 " bytes");
651 * @param bytes {@code non-null;} the bytes of the file
653 private static void calcChecksum(byte[] bytes) { argument
[all...]
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DByteArray.java31 private final byte[] bytes; field in class:ByteArray
36 /** {@code >= 0, <= bytes.length}; size computed as
43 * @param bytes {@code non-null;} the underlying array
45 * @param end {@code >= start, <= bytes.length;} end index of
48 public ByteArray(byte[] bytes, int start, int end) { argument
49 if (bytes == null) {
50 throw new NullPointerException("bytes == null");
61 if (end > bytes.length) {
62 throw new IllegalArgumentException("end > bytes.length");
65 this.bytes
75 ByteArray(byte[] bytes) argument
111 underlyingOffset(int offset, byte[] bytes) argument
[all...]
H A DByteArrayAnnotatedOutput.java60 * {@code >= 8 (if used);} the number of bytes of hex output to use
118 * may be larger than the number of bytes written
131 * bytes at the end).
256 public void write(ByteArray bytes) { argument
257 int blen = bytes.size();
268 bytes.getBytes(data, writeAt);
273 public void write(byte[] bytes, int offset, int length) { argument
279 if (((offset | length | end) < 0) || (bytesEnd > bytes.length)) {
280 throw new IndexOutOfBoundsException("bytes.length " +
281 bytes
297 write(byte[] bytes) argument
[all...]
/external/dhcpcd/
H A Dcommon.c88 ssize_t bytes; local
98 bytes = getline(&lbuf, &lbuf_len, fp);
99 if (bytes == -1)
104 if (lbuf[--bytes] == '\n')
105 lbuf[bytes] = '\0';
261 syslog(LOG_ERR, "memory exhausted (xalloc %zu bytes)", s);
282 syslog(LOG_ERR, "memory exhausted (xrealloc %zu bytes)", s);
H A Dif-bsd.c316 ssize_t bytes; local
339 bytes = read(fd, link_buf, link_buflen);
340 if (bytes == -1) {
347 e = link_buf + bytes;
H A Dshowlease.c130 ssize_t bytes; local
137 bytes = read(fd, dhcp, sizeof(*dhcp));
139 if (bytes < 0) {
/external/e2fsprogs/debugfs/
H A Ddump.c218 unsigned bytes = inode->i_size; local
227 retval = ext2fs_file_read(e2_file, p, bytes, &got);
232 bytes -= got;
234 if (got == 0 || bytes == 0)
/external/e2fsprogs/e2fsck/
H A Dea_refcount.c52 size_t bytes; local
62 bytes = (size_t) (size * sizeof(struct ea_refcount_el));
64 printf("Refcount allocated %d entries, %d bytes.\n",
65 refcount->size, bytes);
67 retval = ext2fs_get_mem(bytes, &refcount->list);
70 memset(refcount->list, 0, bytes);
/external/elfutils/0.153/lib/
H A Dmd5.c41 /* This array contains the bytes used to pad the buffer to the next
61 /* Put result from CTX in first 16 bytes following RESBUF. The result
89 /* Process the remaining bytes in the internal buffer and the usual
99 /* Take yet unprocessed bytes into account. */
100 md5_uint32 bytes = ctx->buflen; local
103 /* Now count remaining bytes. */
104 ctx->total[0] += bytes;
105 if (ctx->total[0] < bytes)
108 pad = bytes >= 56 ? 64 + 56 - bytes
[all...]
/external/emma/core/java12/com/vladium/emma/rt/
H A DInstrClassLoader.java184 byte [] bytes;
192 // used cached class def bytes, no need to repeat disk I/O:
213 bytes = entry.m_bytes;
214 length = bytes.length;
216 if ((m_hook != null) && m_hook.processClassDef (name, bytes, length, baos)) // note: this can overwrite 'bytes'
219 bytes = baos.getByteArray ();
222 if (trace1) m_log.trace1 ("findClass", "defining [cached] instrumented [" + name + "] {" + length + " bytes }");
226 if (trace1) m_log.trace1 ("findClass", "defining [cached] [" + name + "] {" + length + " bytes }");
229 return defineClass (name, bytes, lengt
342 defineClass(final String className, final byte [] bytes, final int length, final URL srcURL) argument
[all...]
/external/fio/
H A Dblktrace.c37 dprint(FD_BLKTRACE, "refill: filled %d bytes\n", ret);
42 * Retrieve 'len' bytes from the fifo, refilling if necessary.
234 unsigned int bytes, int rw, unsigned long long ttime,
245 ipo->len = bytes;
288 td->o.size += t->bytes;
297 ipo->len = t->bytes;
319 if (t->bytes > bs[rw])
320 bs[rw] = t->bytes;
323 td->o.size += t->bytes;
324 store_ipo(td, t->sector, t->bytes, r
233 store_ipo(struct thread_data *td, unsigned long long offset, unsigned int bytes, int rw, unsigned long long ttime, int fileno) argument
[all...]
/external/fio/engines/
H A Dsync.c228 * Check that we transferred all bytes, or saw an error, etc
230 static int fio_vsyncio_end(struct thread_data *td, ssize_t bytes) argument
240 if (bytes == sd->queued_bytes)
247 if (bytes == -1) {
252 this_io = bytes;
258 bytes -= this_io;
262 if (bytes == -1) {
H A Dwindowsaio.c371 DWORD bytes; local
377 if (!GetQueuedCompletionStatus(ctx->iocp, &bytes, &ulKey, &ovl, 250) && ovl == NULL)
/external/fio/os/
H A Dos-mac.h117 static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes) argument
127 *bytes = block_size;
128 *bytes *= block_count;
132 static inline int chardev_size(struct fio_file *f, unsigned long long *bytes) argument
138 if (!blockdev_size(f, bytes))
141 *bytes = -1ULL;
H A Dos-solaris.h49 static inline int chardev_size(struct fio_file *f, unsigned long long *bytes) argument
53 *bytes = 0;
58 *bytes = info.dki_lbsize * info.dki_capacity;
/external/freetype/src/pshinter/
H A Dpshrec.h102 FT_Byte* bytes; member in struct:PS_MaskRec_
/external/glide/library/src/main/java/com/bumptech/glide/volley/
H A DVolleyDiskCacheWrapper.java313 private static byte[] streamToBytes(InputStream in, int length, byte[] bytes) throws IOException { argument
316 while (pos < length && ((count = in.read(bytes, pos, length - pos)) != -1)) {
320 throw new IOException("Expected " + length + " bytes, read " + pos + " bytes");
322 return bytes;
327 byte[] bytes = byteArrayPool.getBuf(DEFAULT_BYTE_ARRAY_SIZE);
329 while ((in.read(bytes, pos, bytes.length - pos)) != -1) {
330 outputStream.write(bytes);
332 byteArrayPool.returnBuf(bytes);
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DAbstractStreamingHashFunction.java73 /** Number of bytes to be filled before process() invocation(s). */
76 /** Number of bytes processed per process() invocation. */
83 * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
95 * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
112 * Processes the available bytes of the buffer (at most {@code chunk} bytes).
117 * This is invoked for the last bytes of the input, which are not enough to
136 public final Hasher putBytes(byte[] bytes) { argument
137 return putBytes(bytes, 0, bytes
141 putBytes(byte[] bytes, int off, int len) argument
[all...]
/external/guava/guava/src/com/google/common/net/
H A DInetAddresses.java52 * are 4 and 16 bytes in length, respectively, and represent the address
133 * @param bytes byte array representing an IPv4 address (should be
140 private static Inet4Address getInet4Address(byte[] bytes) { argument
141 Preconditions.checkArgument(bytes.length == 4,
143 bytes.length);
146 InetAddress ipv4 = InetAddress.getByAddress(bytes);
168 Arrays.toString(bytes)),
265 byte[] bytes = new byte[IPV4_PART_COUNT];
267 for (int i = 0; i < bytes.length; i++) {
268 bytes[
[all...]
/external/guava/guava/src/com/google/common/primitives/
H A DChars.java51 * The number of bytes required to represent a primitive {@code char}
289 * stored in the first 2 bytes of {@code bytes}; equivalent to {@code
290 * ByteBuffer.wrap(bytes).getChar()}. For example, the input byte array
296 * @throws IllegalArgumentException if {@code bytes} has fewer than 2
300 public static char fromByteArray(byte[] bytes) { argument
301 checkArgument(bytes.length >= BYTES,
302 "array too small: %s < %s", bytes.length, BYTES);
303 return fromBytes(bytes[0], bytes[
[all...]
H A DShorts.java48 * The number of bytes required to represent a primitive {@code short}
295 * stored in the first 2 bytes of {@code bytes}; equivalent to {@code
296 * ByteBuffer.wrap(bytes).getShort()}. For example, the input byte array
302 * @throws IllegalArgumentException if {@code bytes} has fewer than 2
306 public static short fromByteArray(byte[] bytes) { argument
307 checkArgument(bytes.length >= BYTES,
308 "array too small: %s < %s", bytes.length, BYTES);
309 return fromBytes(bytes[0], bytes[
[all...]
/external/harfbuzz_ng/test/api/
H A Dtest-buffer.c374 unsigned int bytes, chars, i, j, len; local
388 bytes = strlen (test->utf8);
393 hb_buffer_add_utf8 (b, test->utf8, bytes, 1, bytes - 2);
466 /* continuation bytes */
604 /* missing continuation bytes */
615 /* impossible bytes */

Completed in 428 milliseconds

<<21222324252627282930>>