HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 151 - 175 of 1073) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/bison/lib/
bitsetv.c 33 size_t bytes; local
37 /* Determine number of bytes for each set. */
38 bytes = bitset_bytes (type, n_bits);
41 if (BITSET_SIZE_MAX / (sizeof (bitset) + bytes) <= n_vecs)
45 vector_bytes = (n_vecs + 1) * sizeof (bitset) + bytes - 1;
46 vector_bytes -= vector_bytes % bytes;
47 bsetv = xcalloc (1, vector_bytes + bytes * n_vecs);
51 bsetv[i] = (bitset) (void *) ((char *) bsetv + vector_bytes + i * bytes);
  /libcore/luni/src/test/java/libcore/java/util/
SerializableTester.java 75 private Object deserialize(byte[] bytes) throws IOException, ClassNotFoundException {
76 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes));
82 private String hexEncode(byte[] bytes) {
83 StringBuilder result = new StringBuilder(bytes.length * 2);
84 for (byte b : bytes) {
  /dalvik/dx/src/com/android/dx/cf/direct/
StdAttributeFactory.java 218 ByteArray bytes = cf.getBytes(); local
220 int maxStack = bytes.getUnsignedShort(offset); // u2 max_stack
221 int maxLocals = bytes.getUnsignedShort(offset + 2); // u2 max_locals
222 int codeLength = bytes.getInt(offset + 4); // u4 code_length
226 observer.parsed(bytes, offset, 2,
228 observer.parsed(bytes, offset + 2, 2,
230 observer.parsed(bytes, offset + 4, 4,
245 new BytecodeArray(bytes.slice(codeOffset, codeOffset + codeLength),
252 int exceptionTableLength = bytes.getUnsignedShort(offset);
258 observer.parsed(bytes, offset, 2
322 ByteArray bytes = cf.getBytes(); local
356 ByteArray bytes = cf.getBytes(); local
385 ByteArray bytes = cf.getBytes(); local
413 ByteArray bytes = cf.getBytes(); local
470 ByteArray bytes = cf.getBytes(); local
511 ByteArray bytes = cf.getBytes(); local
534 ByteArray bytes = cf.getBytes(); local
683 ByteArray bytes = cf.getBytes(); local
705 ByteArray bytes = cf.getBytes(); local
    [all...]
CodeObserver.java 43 private final ByteArray bytes; field in class:CodeObserver
51 * @param bytes {@code non-null;} actual array of bytecode
54 public CodeObserver(ByteArray bytes, ParseObserver observer) {
55 if (bytes == null) {
56 throw new NullPointerException("bytes == null");
63 this.bytes = bytes;
69 observer.parsed(bytes, offset, length, header(offset));
74 observer.parsed(bytes, offset, length, header(offset));
94 observer.parsed(bytes, offset, length
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/
ByteBufferTest.java 1014 byte bytes[] = new byte[2];
1024 buf.get(bytes);
1026 assertEquals(bytes2char(bytes, buf.order()), value);
1035 buf.get(bytes);
1037 assertEquals(bytes2char(bytes, buf.order()), value);
1049 buf.get(bytes);
1050 assertTrue(Arrays.equals(bytes, char2bytes(value, buf.order())));
    [all...]
  /bionic/libc/netbsd/isc/
ev_streams.c 43 static void consume(evStream *str, size_t bytes);
227 consume(evStream *str, size_t bytes) {
228 while (bytes > 0U) {
229 if (bytes < (size_t)str->iovCur->iov_len) {
230 str->iovCur->iov_len -= bytes;
232 ((u_char *)str->iovCur->iov_base + bytes);
233 str->ioDone += bytes;
234 bytes = 0;
236 bytes -= str->iovCur->iov_len;
262 /* Dribble out some bytes on the stream. (Called by evDispatch().) *
266 int bytes; local
289 int bytes; local
    [all...]
  /external/emma/core/java12/com/vladium/jcd/cls/attribute/
CodeAttribute_info.java 58 * The value of the code_length item gives the number of bytes in the code array for
60 * not be empty.The code array gives the actual bytes of Java Virtual Machine code that
209 final UDataInputStream bytes)
214 m_max_stack = bytes.readU2 ();
215 m_max_locals = bytes.readU2 ();
217 final long code_length = bytes.readU4 ();
220 bytes.readFully (m_code);
224 final int exception_table_length = bytes.readU2 ();
229 Exception_info exception_info = new Exception_info (bytes);
237 final int attributes_count = bytes.readU2 ()
    [all...]
  /external/qemu/audio/
noaudio.c 47 int64_t bytes; local
56 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
57 bytes = audio_MIN (bytes, INT_MAX);
58 samples = bytes >> hw->info.shift;
112 int64_t bytes = local
116 bytes = audio_MIN (bytes, INT_MAX);
117 samples = bytes >> hw->info.shift;
  /external/quake/quake/src/WinQuake/
snd_sun.cpp 183 int bytes, b; local
194 bytes = (paintedtime - wbufp) * bsize;
196 if (!bytes)
199 if (bytes > sizeof(writebuf)) {
200 bytes = sizeof(writebuf);
201 stop = wbufp + bytes/bsize;
207 for (b = bytes; b; b--) {
214 if (write(audio_fd, writebuf, bytes) < bytes)
  /libcore/luni/src/main/java/java/io/
OutputStreamWriter.java 30 * the target input stream is converted into bytes by either a default or a
33 * of bytes to be written to target stream and converts these into characters as
44 private ByteBuffer bytes = ByteBuffer.allocate(8192); field in class:OutputStreamWriter
52 * the non-null target stream to write converted bytes to.
65 * the target stream to write converted bytes to.
95 * the target stream to write converted bytes to.
113 * the target stream to write converted bytes to.
139 encoder.flush(bytes);
144 bytes = null;
150 * Flushes this writer. This implementation ensures that all buffered bytes
    [all...]
  /external/dropbear/
progressmeter.c 63 static int bytes_per_second; /* current speed in bytes per second */
77 format_rate(char *buf, int size, off_t bytes)
81 bytes *= 100;
82 for (i = 0; bytes >= 100*1000 && unit[i] != 'T'; i++)
83 bytes = (bytes + 512) / 1024;
86 bytes = (bytes + 512) / 1024;
89 (long long) (bytes + 5) / 100,
90 (long long) (bytes + 5) / 10 % 10
    [all...]
keyimport.c 226 * bytes used out of the source data.
285 * number of bytes consumed. Assumes dest contains enough space.
303 * Identifier is multiple bytes: the first byte is 11111
304 * plus the flags, and subsequent bytes encode the value of
311 continue; /* count the bytes */
327 * Length is multiple bytes. The first is 0x80 plus the
328 * number of subsequent bytes, and the subsequent bytes
332 continue; /* count the bytes */
346 struct mpint_pos { void *start; int bytes; }; member in struct:mpint_pos
    [all...]
  /external/webkit/WebKit/mac/WebView/
WebPDFDocumentExtras.mm 107 const UInt8* bytes = 0;
115 bytes = CFDataGetBytePtr(data.get());
118 bytes = CGPDFStringGetBytePtr(string);
121 if (!bytes)
124 NSStringEncoding encoding = (length > 1 && bytes[0] == 0xFE && bytes[1] == 0xFF) ? NSUnicodeStringEncoding : NSUTF8StringEncoding;
125 NSString *script = [[NSString alloc] initWithBytes:bytes length:length encoding:encoding];
  /external/openssl/crypto/x509/
x509name.c 175 unsigned char *bytes, int len, int loc, int set)
179 ne = X509_NAME_ENTRY_create_by_OBJ(NULL, obj, type, bytes, len);
187 unsigned char *bytes, int len, int loc, int set)
191 ne = X509_NAME_ENTRY_create_by_NID(NULL, nid, type, bytes, len);
199 const unsigned char *bytes, int len, int loc, int set)
203 ne = X509_NAME_ENTRY_create_by_txt(NULL, field, type, bytes, len);
276 const char *field, int type, const unsigned char *bytes, int len)
289 nentry = X509_NAME_ENTRY_create_by_OBJ(ne,obj,type,bytes,len);
295 int type, unsigned char *bytes, int len)
306 nentry = X509_NAME_ENTRY_create_by_OBJ(ne,obj,type,bytes,len)
    [all...]
  /external/protobuf/java/src/test/java/com/google/protobuf/
CodedOutputStreamTest.java 50 * Helper to construct a byte array from a bunch of bytes. The inputs are
54 private byte[] bytes(int... bytesAsInts) { method in class:CodedOutputStreamTest
55 byte[] bytes = new byte[bytesAsInts.length];
57 bytes[i] = (byte) bytesAsInts[i];
59 return bytes;
63 private List<Byte> toList(byte[] bytes) {
65 for (byte b : bytes) {
77 * checks that the result matches the given bytes.
130 assertWriteVarint(bytes(0x00), 0);
131 assertWriteVarint(bytes(0x01), 1)
    [all...]
  /libcore/luni/src/main/java/java/net/
URLConnection.java 329 * Returns the content length in bytes specified by the response header field
731 // Look ahead up to 64 bytes for the longest encoded header
733 byte[] bytes = new byte[64];
734 int length = is.read(bytes);
746 if ((bytes[0] == (byte) 0xFF) && (bytes[1] == (byte) 0xFE)) {
751 if ((bytes[0] == (byte) 0xFE) && (bytes[1] == (byte) 0xFF)) {
757 if ((bytes[0] == (byte) 0xEF) && (bytes[1] == (byte) 0xBB
    [all...]
  /dalvik/tests/003-omnibus-opcodes/src/
Array.java 12 static void checkBytes(byte[] bytes) {
13 assert(bytes[0] == 0);
14 assert(bytes[1] == -1);
15 assert(bytes[2] == -2);
16 assert(bytes[3] == -3);
17 assert(bytes[4] == -4);
  /development/tools/axl/
chewperf.py 59 bytes = sum(x[1] for x in chewed)
60 print "total time", totalTime, "bytes", bytes, "rate", bytes * 1000 / totalTime
65 bytes = x[1]
67 buckets[bucket] += bytes
69 buckets[bucket] = bytes
  /external/emma/core/java12/com/vladium/jcd/cls/
Method_info.java 76 final UDataInputStream bytes)
79 m_access_flags = bytes.readU2 ();
81 m_name_index = bytes.readU2 ();
82 m_descriptor_index = bytes.readU2 ();
86 final int attributes_count = bytes.readU2 ();
91 final Attribute_info attribute_info = Attribute_info.new_Attribute_info (constants, bytes);
  /external/libvpx/vp8/encoder/
preproc.c 42 void (*temp_filter)(pre_proc_instance *ppi, unsigned char *s, unsigned char *d, int bytes, int strength);
48 int bytes,
56 int bytes,
67 * int bytes : Number of bytes to filter.
84 int bytes,
109 while (byte < bytes);
157 while (byte < bytes);
197 * int frame_size : Number of bytes in one frame.
  /dalvik/dx/src/com/android/dx/cf/code/
BytecodeArray.java 41 /** {@code non-null;} underlying bytes */
42 private final ByteArray bytes; field in class:BytecodeArray
50 * @param bytes {@code non-null;} underlying bytes
54 public BytecodeArray(ByteArray bytes, ConstantPool pool) {
55 if (bytes == null) {
56 throw new NullPointerException("bytes == null");
63 this.bytes = bytes;
73 return bytes;
    [all...]
  /external/blktrace/btt/
trace_queue.c 32 update_q_histo(q_iop->t.bytes);
46 if (q_iop->t.bytes == 0)
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DERConstructedSet.java 75 byte[] bytes = bOut.toByteArray();
77 out.writeEncoded(SET | CONSTRUCTED, bytes);
DERSequence.java 76 byte[] bytes = bOut.toByteArray();
78 out.writeEncoded(SEQUENCE | CONSTRUCTED, bytes);
  /external/chromium/net/tools/flip_server/
ring_buffer.cc 39 // Appends up-to-'size' bytes to the ringbuffer.
40 int RingBuffer::Write(const char* bytes, int size) {
53 memcpy(wptr, bytes + bytes_written, wsize);
61 const char* p = bytes;
68 const char* end = bytes + bytes_to_write;
117 // returns the number of bytes read into
118 int RingBuffer::Read(char* bytes, int size) {
131 memcpy(bytes + bytes_read, rptr, rsize);
139 char* p = bytes;
145 char* end = bytes + bytes_to_read
    [all...]

Completed in 160 milliseconds

1 2 3 4 5 67 8 91011>>