/external/skia/src/gpu/ |
SkGrFontScaler.cpp | 161 uint8_t* bytes = reinterpret_cast<uint8_t*>(dst); local 162 expand_bits(bytes, bits, width, height, dstRB, srcRB);
|
/external/skia/src/pdf/ |
SkTSet.h | 155 /** Return the number of bytes in the set: count * sizeof(T). 157 size_t bytes() const { function in class:SkTSet 159 return fOrderedArray->bytes(); 292 SkAutoMalloc sortedArray(fOrderedArray->bytes());
|
/frameworks/base/core/java/android/util/ |
Log.java | 291 int bytes = println_native(logId, ASSERT, tag, msg + '\n' local 294 return bytes; 345 * @return The number of bytes written.
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_gl_frame.cpp | 119 jbyte* bytes = env->GetByteArrayElements(data, NULL); local 120 if (bytes) { 121 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), length); 122 env->ReleaseByteArrayElements(data, bytes, JNI_ABORT);
|
jni_native_frame.cpp | 60 jbyte* bytes = env->GetByteArrayElements(data, NULL); local 61 if (bytes) { 62 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), 65 env->ReleaseByteArrayElements(data, bytes, JNI_ABORT); 207 ALOGE("Unsupported bytes-per-pixel %d in setBitmap!", bytes_per_sample); 259 ALOGE("Unsupported bytes-per-pixel %d in getBitmap!", bytes_per_sample);
|
/libcore/luni/src/main/java/java/security/ |
SecureRandom.java | 51 * A seed is an array of bytes used to bootstrap random number generation. 262 * Generates and stores random bytes in the given {@code byte[]} for each 265 * @param bytes 266 * the {@code byte[]} to be filled with random bytes. 269 public synchronized void nextBytes(byte[] bytes) { 270 secureRandomSpi.engineNextBytes(bytes); 291 int bytes = (numBits+7)/8; local 292 byte[] next = new byte[bytes]; 296 for (int i = 0; i < bytes; i++) { 299 ret = ret >>> (bytes*8 - numBits) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
AttributeValue.java | 48 public byte[] bytes; //FIXME remove??? bytes to be encoded field in class:AttributeValue
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldAttributedCharacterIteratorAttributeTest.java | 160 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); local 161 out = new ObjectOutputStream(bytes); 169 in = new ObjectInputStream(new ByteArrayInputStream(bytes
|
/libcore/luni/src/test/java/libcore/java/util/ |
BitSetTest.java | 80 private static void assertBitSet(BitSet bs, byte[] bytes, String s) { 81 for (int i = 0; i < 8 * bytes.length; ++i) { 82 assertEquals(bs.toString(), ((bytes[i / 8] & (1L << (i % 8))) != 0), bs.get(i)); 85 for (int i = 0; i < bytes.length; ++i) { 86 cardinality += Integer.bitCount(((int) bytes[i]) & 0xff); 94 assertEquals(roundUp(8 * bytes.length, 64), bs.size()); 102 private static void assertBitSet(byte[] bytes, String s) { 104 assertBitSet(BitSet.valueOf(bytes), bytes, s); local 106 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(bytes)), bytes, s) local 111 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(paddedBytes, 1, bytes.length)), bytes, s); local [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter/ |
xt_sctp.h | 36 #define bytes(type) (sizeof(type) * 8) macro 40 chunkmap[type / bytes(u_int32_t)] |= \ 41 1 << (type % bytes(u_int32_t)); \ 46 chunkmap[type / bytes(u_int32_t)] &= \ 47 ~(1 << (type % bytes(u_int32_t))); \ 52 (chunkmap[type / bytes (u_int32_t)] & \ 53 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter_ipv4/ |
ipt_sctp.h | 37 #define bytes(type) (sizeof(type) * 8) macro 41 chunkmap[type / bytes(u_int32_t)] |= \ 42 1 << (type % bytes(u_int32_t)); \ 47 chunkmap[type / bytes(u_int32_t)] &= \ 48 ~(1 << (type % bytes(u_int32_t))); \ 53 (chunkmap[type / bytes (u_int32_t)] & \ 54 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter/ |
xt_sctp.h | 36 #define bytes(type) (sizeof(type) * 8) macro 40 chunkmap[type / bytes(u_int32_t)] |= \ 41 1 << (type % bytes(u_int32_t)); \ 46 chunkmap[type / bytes(u_int32_t)] &= \ 47 ~(1 << (type % bytes(u_int32_t))); \ 52 (chunkmap[type / bytes (u_int32_t)] & \ 53 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter_ipv4/ |
ipt_sctp.h | 37 #define bytes(type) (sizeof(type) * 8) macro 41 chunkmap[type / bytes(u_int32_t)] |= \ 42 1 << (type % bytes(u_int32_t)); \ 47 chunkmap[type / bytes(u_int32_t)] &= \ 48 ~(1 << (type % bytes(u_int32_t))); \ 53 (chunkmap[type / bytes (u_int32_t)] & \ 54 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
memalloc.h | 61 size_t bytes; /* buffer size in bytes */ member in struct:snd_dma_buffer
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter/ |
xt_sctp.h | 36 #define bytes(type) (sizeof(type) * 8) macro 40 chunkmap[type / bytes(u_int32_t)] |= \ 41 1 << (type % bytes(u_int32_t)); \ 46 chunkmap[type / bytes(u_int32_t)] &= \ 47 ~(1 << (type % bytes(u_int32_t))); \ 52 (chunkmap[type / bytes (u_int32_t)] & \ 53 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter_ipv4/ |
ipt_sctp.h | 37 #define bytes(type) (sizeof(type) * 8) macro 41 chunkmap[type / bytes(u_int32_t)] |= \ 42 1 << (type % bytes(u_int32_t)); \ 47 chunkmap[type / bytes(u_int32_t)] &= \ 48 ~(1 << (type % bytes(u_int32_t))); \ 53 (chunkmap[type / bytes (u_int32_t)] & \ 54 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
memalloc.h | 61 size_t bytes; /* buffer size in bytes */ member in struct:snd_dma_buffer
|
/prebuilts/ndk/4/platforms/android-3/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/4/platforms/android-3/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/4/platforms/android-4/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/4/platforms/android-4/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/4/platforms/android-5/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/4/platforms/android-5/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/4/platforms/android-5/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/4/platforms/android-5/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; })
|