HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 226 - 250 of 688) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-x86/usr/include/linux/netfilter/
xt_sctp.h 49 #define bytes(type) (sizeof(type) * 8) macro
51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
53 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
  /prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-x86/usr/include/linux/netfilter_ipv4/
ipt_sctp.h 47 #define bytes(type) (sizeof(type) * 8) macro
49 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
51 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
53 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
  /prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-arm/usr/include/linux/netfilter/
xt_sctp.h 49 #define bytes(type) (sizeof(type) * 8) macro
51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
53 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
  /prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-arm/usr/include/linux/netfilter_ipv4/
ipt_sctp.h 47 #define bytes(type) (sizeof(type) * 8) macro
49 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
51 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
53 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
  /prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/linux/netfilter/
xt_sctp.h 49 #define bytes(type) (sizeof(type) * 8) macro
51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
53 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
  /prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/linux/netfilter_ipv4/
ipt_sctp.h 47 #define bytes(type) (sizeof(type) * 8) macro
49 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
51 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
53 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / bytes (u_int32_t)] & (1 << (type % bytes (u_int32_t)))) ? 1: 0; })
  /system/extras/tests/framebuffer/
mdp_test.c 233 int bytes; local
247 bytes = read(file_fd, ptr, file_len);
248 if (bytes < 0) {
252 file_len -= bytes;
253 ptr += bytes;
  /bionic/libc/bionic/
malloc_debug_leak.c 209 void* fill_malloc(size_t bytes)
211 void* buffer = dlmalloc(bytes);
213 memset(buffer, CHK_SENTINEL_VALUE, bytes);
220 size_t bytes = dlmalloc_usable_size(mem); local
221 memset(mem, CHK_FILL_FREE, bytes);
225 void* fill_realloc(void* mem, size_t bytes)
227 void* buffer = fill_malloc(bytes);
233 size_t size = (bytes < old_size)?(bytes):(old_size);
240 void* fill_memalign(size_t alignment, size_t bytes)
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/rop/cst/
CstUtf8.java 35 /** {@code non-null;} the UTF-8 value as bytes */
36 private final ByteArray bytes; field in class:CstUtf8
44 * @return {@code non-null;} the UTF-8 bytes for it
48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate.
54 bytes[outAt] = (byte) c;
57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0);
58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80);
61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0);
62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80);
63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80)
    [all...]
  /dalvik/dx/src/com/android/dx/cf/cst/
ConstantPoolParser.java 53 /** {@code non-null;} the bytes of the constant pool */
54 private final ByteArray bytes; field in class:ConstantPoolParser
75 * @param bytes {@code non-null;} the bytes of the file
77 public ConstantPoolParser(ByteArray bytes) {
78 int size = bytes.getUnsignedShort(8); // constant_pool_count
80 this.bytes = bytes;
132 observer.parsed(bytes, 8, 2,
134 observer.parsed(bytes, 10, 0, "\nconstant_pool:")
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
AnnotationParser.java 58 /** {@code non-null;} bytes of the attribute data */
59 private final ByteArray bytes; field in class:AnnotationParser
78 * @param length {@code >= 0;} number of bytes left in the attribute data
90 this.bytes = cf.getBytes().slice(offset, offset + length);
91 this.input = bytes.makeDataInputStream();
438 * Helper which will throw an exception if the given number of bytes
441 * @param requiredLength the number of required bytes
450 * Helper which indicates that some bytes were just parsed. This should
454 * @param length {@code >= 0;} number of bytes parsed
458 observer.parsed(bytes, parseCursor, length, message)
    [all...]
MemberListParser.java 59 * @param offset offset in {@code bytes} to the start of the list
118 ByteArray bytes = cf.getBytes(); local
119 return bytes.getUnsignedShort(offset);
177 ByteArray bytes = cf.getBytes(); local
181 observer.parsed(bytes, offset, 2,
187 int accessFlags = bytes.getUnsignedShort(at);
188 int nameIdx = bytes.getUnsignedShort(at + 2);
189 int descIdx = bytes.getUnsignedShort(at + 4);
194 observer.startParsingMember(bytes, at, name.getString(),
196 observer.parsed(bytes, at, 0, "\n" + humanName()
    [all...]
  /dalvik/dx/src/com/android/dx/command/dump/
BaseDumper.java 38 private final byte[] bytes; field in class:BaseDumper
40 /** whether or not to include the raw bytes (in a column on the left) */
58 /** number of bytes per line in hex dumps */
76 * @param bytes {@code non-null;} bytes of the (alleged) class file
82 public BaseDumper(byte[] bytes, PrintStream out,
84 this.bytes = bytes;
126 public void parsed(ByteArray bytes, int offset, int len, String human) {
127 offset = bytes.underlyingOffset(offset, getBytes())
    [all...]
  /dalvik/dx/src/com/android/dx/rop/cst/
CstString.java 36 /** {@code non-null;} the UTF-8 value as bytes */
37 private final ByteArray bytes; field in class:CstString
44 * @return {@code non-null;} the UTF-8 bytes for it
48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate.
54 bytes[outAt] = (byte) c;
57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0);
58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80);
61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0);
62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80);
63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
ConsoleTest.java 43 private static final byte[] bytes = "hello world\n".getBytes(); field in class:ConsoleTest
45 private InputStream in = new ByteArrayInputStream(bytes);
  /external/bison/lib/
abitset.c 318 size_t bytes; local
320 bytes = sizeof (bitset_word) * dst->b.csize;
322 memset (dstp, -1, bytes);
331 size_t bytes; local
333 bytes = sizeof (bitset_word) * dst->b.csize;
335 memset (dstp, 0, bytes);
788 size_t bytes; local
794 bytes = header_size + size * sizeof (bitset_word);
800 bytes += bitset_alignment - 1;
801 bytes -= bytes % bitset_alignment
    [all...]
bitset.c 36 /* Return number of bytes required to create a N_BIT bitset
37 of TYPE. The bitset may grow to require more bytes than this. */
41 size_t bytes; local
52 bytes = abitset_bytes (n_bits);
56 bytes = lbitset_bytes (n_bits);
60 bytes = ebitset_bytes (n_bits);
64 bytes = vbitset_bytes (n_bits);
68 return bytes;
136 size_t bytes; local
139 bytes = bitset_bytes (type, n_bits)
156 size_t bytes; local
    [all...]
vbitset.c 345 unsigned int bytes; local
347 bytes = sizeof (bitset_word) * VBITSET_SIZE (dst);
349 memset (dstp, -1, bytes);
358 unsigned int bytes; local
360 bytes = sizeof (bitset_word) * VBITSET_SIZE (dst);
362 memset (dstp, 0, bytes);
  /external/chromium/net/base/
upload_data.h 40 // A block of bytes to be sent in chunked encoding immediately, without
57 const std::vector<char>& bytes() const { return bytes_; } function in class:net::UploadData::Element
67 void SetToBytes(const char* bytes, int bytes_len) {
69 bytes_.assign(bytes, bytes + bytes_len);
96 // Though similar to bytes, a chunk indicates that the element is sent via
99 void SetToChunk(const char* bytes, int bytes_len, bool is_last_chunk);
145 void AppendBytes(const char* bytes, int bytes_len);
155 // Adds the given chunk of bytes to be sent immediately with chunked transfer
157 void AppendChunk(const char* bytes, int bytes_len, bool is_last_chunk)
    [all...]
  /external/chromium/net/tools/flip_server/
sm_connection.cc 190 VLOG(2) << "SSLWrite(" << chunksize << " bytes): " << rv;
406 char* bytes; local
413 read_buffer_.GetWritablePtr(&bytes, &size);
416 bytes_read = SSL_read(ssl_, bytes, size);
434 bytes_read = recv(fd_, bytes, size, MSG_DONTWAIT);
456 << " bytes";
472 << "0 bytes read with recv call.";
489 char* bytes; local
491 read_buffer_.GetReadablePtr(&bytes, &size);
493 size_t bytes_consumed = sm_interface_->ProcessReadInput(bytes, size)
553 const char* bytes = data_frame->data; local
    [all...]
  /external/chromium/third_party/libjingle/source/talk/xmpp/
xmppclient.cc 82 void WriteOutput(const char * bytes, size_t len);
327 char bytes[4096]; local
330 if (!socket_->Read(bytes, sizeof(bytes), &bytes_read)) {
339 client_->SignalLogInput(bytes, bytes_read);
342 engine_->HandleInput(bytes, bytes_read);
364 XmppClient::Private::WriteOutput(const char * bytes, size_t len) {
367 client_->SignalLogOutput(bytes, len);
370 socket_->Write(bytes, len);
  /external/chromium/webkit/glue/
glue_serialize.cc 51 // 3: Version 2 was broken, it stored number of WebUChars, not number of bytes.
146 // Otherwise the length is the number of WebUChars (not bytes) in the WebString.
150 // Version 1 writes <length in bytes><string data>.
167 // Version 3+ writes <length in bytes><string data>.
194 // In version 1 and 3 it is the length in bytes.
195 int bytes = length; local
197 bytes *= sizeof(WebUChar);
200 if (!ReadBytes(obj, &data, bytes))
203 bytes / sizeof(WebUChar));
  /external/dbus/dbus/
dbus-keyring.c 286 DBusString bytes; local
296 if (!_dbus_string_init (&bytes))
309 if (!_dbus_generate_random_bytes (&bytes, 4))
315 s = (const unsigned char*) _dbus_string_get_const_data (&bytes);
324 _dbus_string_set_length (&bytes, 0);
333 _dbus_string_set_length (&bytes, 0);
334 if (!_dbus_generate_random_bytes (&bytes, KEY_LENGTH_BYTES))
362 if (!_dbus_string_move (&bytes, 0,
377 _dbus_string_free (&bytes);
  /external/dbus/test/
break-loader.c 640 DBusString bytes; local
647 if (!_dbus_string_init (&bytes))
654 if (_dbus_read (fd, &bytes, 4) != 4)
659 s = _dbus_string_get_const_data (&bytes);
676 _dbus_string_free (&bytes);
  /external/dexmaker/src/dx/java/com/android/dx/rop/cst/
CstString.java 36 /** {@code non-null;} the UTF-8 value as bytes */
37 private final ByteArray bytes; field in class:CstString
44 * @return {@code non-null;} the UTF-8 bytes for it
48 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate.
54 bytes[outAt] = (byte) c;
57 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0);
58 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80);
61 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0);
62 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80);
63 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80)
    [all...]

Completed in 955 milliseconds

1 2 3 4 5 6 7 8 91011>>