/prebuilts/ndk/9/platforms/android-9/arch-mips/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/9/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/9/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/core/include/utils/ |
String8.h | 69 inline size_t bytes() const; 281 inline size_t String8::bytes() const function in class:android::String8
|
/system/core/libutils/ |
BasicHashtable.cpp | 246 size_t bytes = count * mBucketSize; local 247 SharedBuffer* sb = SharedBuffer::alloc(bytes); 248 LOG_ALWAYS_FATAL_IF(!sb, "Could not allocate %u bytes for hashtable with %u buckets.", 249 uint32_t(bytes), uint32_t(count));
|
/system/extras/memtrack/ |
memtrack.cpp | 70 ssize_t bytes; local 73 bytes = read(fd_, data_ + len_, max_ - len_); 74 if (bytes == 0 || bytes == -1) { 78 len_ += bytes; 137 ssize_t bytes = read(fd, cmd_name_, sizeof(cmd_name_)); local 139 if (bytes == -1 || bytes == 0) {
|
/system/extras/verity/ |
verify_boot_signature.c | 87 * @param offset Receives the offset in bytes 225 ssize_t bytes = 0; local 251 bytes = BUFFER_SIZE; 254 bytes = length - total; 257 if ((bytes = read(fd, buffer, bytes)) == -1) { 262 EVP_DigestUpdate(ctx, buffer, bytes); 263 total += bytes; 266 if ((bytes = i2d_AuthAttrs((AuthAttrs *) aa, NULL)) < 0) { 271 if ((attrs = OPENSSL_malloc(bytes)) == NULL) [all...] |
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
DocumentsClientTest.java | 319 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 323 bytes.write(buffer, 0, count); 325 return bytes.toByteArray();
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
MyDocumentsProvider.java | 274 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 278 bytes.write(buffer, 0, count); 280 return bytes.toByteArray();
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
IconCache.java | 479 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 482 bytes.write(buffer, 0, bytesRead); 485 if (DEBUG) Log.d(TAG, "read " + bytes.size()); 486 icon = BitmapFactory.decodeByteArray(bytes.toByteArray(), 0, bytes.size());
|
/art/compiler/utils/ |
arena_allocator.h | 74 void RecordAlloc(size_t bytes, ArenaAllocKind kind) { UNUSED(bytes); UNUSED(kind); } 90 void RecordAlloc(size_t bytes, ArenaAllocKind kind); 98 size_t alloc_stats_[kNumArenaAllocKinds]; // Bytes used by various allocation kinds. 168 void* Alloc(size_t bytes, ArenaAllocKind kind) ALWAYS_INLINE { 170 return AllocValgrind(bytes, kind); 172 bytes = RoundUp(bytes, 8); 173 if (UNLIKELY(ptr_ + bytes > end_)) { 175 ObtainNewArenaForAllocation(bytes); variable [all...] |
/art/runtime/gc/collector/ |
garbage_collector.h | 38 : objects(num_objects), bytes(num_bytes) {} 41 bytes += other.bytes; 45 // Freed bytes are signed since the GC can free negative bytes if it promotes objects to a space 47 int64_t bytes; member in struct:art::gc::collector::ObjectBytePair 67 return freed_.bytes; 70 return freed_los_.bytes; 161 // Returns the estimated throughput in bytes / second.
|
/bionic/libc/bionic/ |
malloc_debug_leak.cpp | 217 extern "C" void* fill_malloc(size_t bytes) { 218 void* buffer = g_malloc_dispatch->malloc(bytes); 220 memset(buffer, CHK_SENTINEL_VALUE, bytes); 226 size_t bytes = g_malloc_dispatch->malloc_usable_size(mem); local 227 memset(mem, CHK_FILL_FREE, bytes); 231 extern "C" void* fill_realloc(void* mem, size_t bytes) { 233 void* newMem = g_malloc_dispatch->realloc(mem, bytes); 244 extern "C" void* fill_memalign(size_t alignment, size_t bytes) { 245 void* buffer = g_malloc_dispatch->memalign(alignment, bytes); 247 memset(buffer, CHK_SENTINEL_VALUE, bytes); [all...] |
/bionic/libc/kernel/uapi/drm/ |
omap_drm.h | 42 uint32_t bytes; member in union:omap_gem_size
|
/bionic/libc/kernel/uapi/mtd/ |
ubi-user.h | 70 __s64 bytes; member in struct:ubi_mkvol_req 80 __s64 bytes; member in struct:ubi_rsvol_req 99 __s32 bytes; member in struct:ubi_leb_change_req
|
/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 | 56 /** {@code non-null;} the bytes of the constant pool */ 57 private final ByteArray bytes; field in class:ConstantPoolParser 78 * @param bytes {@code non-null;} the bytes of the file 80 public ConstantPoolParser(ByteArray bytes) { 81 int size = bytes.getUnsignedShort(8); // constant_pool_count 83 this.bytes = bytes; 135 observer.parsed(bytes, 8, 2, 137 observer.parsed(bytes, 10, 0, "\nconstant_pool:") [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
AnnotationParser.java | 57 /** {@code non-null;} bytes of the attribute data */ 58 private final ByteArray bytes; field in class:AnnotationParser 77 * @param length {@code >= 0;} number of bytes left in the attribute data 89 this.bytes = cf.getBytes().slice(offset, offset + length); 90 this.input = bytes.makeDataInputStream(); 437 * Helper which will throw an exception if the given number of bytes 440 * @param requiredLength the number of required bytes 449 * Helper which indicates that some bytes were just parsed. This should 453 * @param length {@code >= 0;} number of bytes parsed 457 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 | 36 private final byte[] bytes; field in class:BaseDumper 38 /** whether or not to include the raw bytes (in a column on the left) */ 56 /** number of bytes per line in hex dumps */ 74 * @param bytes {@code non-null;} bytes of the (alleged) class file 80 public BaseDumper(byte[] bytes, PrintStream out, 82 this.bytes = bytes; 124 public void parsed(ByteArray bytes, int offset, int len, String human) { 125 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/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_org/ash/host/ |
ash_window_tree_host_x11.cc | 268 unsigned long old_nvalues, bytes; local 280 &bytes,
|