/development/ndk/platforms/android-3/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; })
|
/development/ndk/platforms/android-3/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; })
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
Util.java | 16 // 32 bytes from sha-256 -> 64 hex chars. 18 // 20 bytes from sha-1 -> 40 chars. 28 public static String sha256BytesToHex(byte[] bytes) { 29 return bytesToHex(bytes, SHA_256_CHARS); 35 public static String sha1BytesToHex(byte[] bytes) { 36 return bytesToHex(bytes, SHA_1_CHARS); 41 private static String bytesToHex(byte[] bytes, char[] hexChars) { 43 for (int j = 0; j < bytes.length; j++) { 44 v = bytes[j] & 0xFF; 65 * Returns the in memory size of the given {@link Bitmap} in bytes [all...] |
/external/iptables/include/linux/netfilter/ |
xt_sctp.h | 38 #define bytes(type) (sizeof(type) * 8) macro 42 (chunkmap)[type / bytes(__u32)] |= \ 43 1 << (type % bytes(__u32)); \ 48 (chunkmap)[type / bytes(__u32)] &= \ 49 ~(1 << (type % bytes(__u32))); \ 54 ((chunkmap)[type / bytes (__u32)] & \ 55 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_sctp.h | 38 #define bytes(type) (sizeof(type) * 8) macro 42 (chunkmap)[type / bytes(__u32)] |= \ 43 1 << (type % bytes(__u32)); \ 48 (chunkmap)[type / bytes(__u32)] &= \ 49 ~(1 << (type % bytes(__u32))); \ 54 ((chunkmap)[type / bytes (__u32)] & \ 55 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/frameworks/base/core/java/android/util/ |
Base64InputStream.java | 103 long bytes = Math.min(n, outputEnd-outputStart); local 104 outputStart += bytes; 105 return bytes; 126 int bytes = Math.min(len, outputEnd-outputStart); local 127 System.arraycopy(coder.output, outputStart, b, off, bytes); 128 outputStart += bytes; 129 return bytes;
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
Util.java | 47 static <T> T fromBytes(byte[] bytes) { 48 if (bytes == null) return null; 51 new ObjectInputStream(new ByteArrayInputStream(bytes)); 59 static String toMd5(byte[] bytes) { 63 algorithm.update(bytes); 72 private static String toHexString(byte[] bytes, String separator) { 74 for (byte b : bytes) {
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/netfilter/ |
xt_sctp.h | 38 #define bytes(type) (sizeof(type) * 8) macro 42 (chunkmap)[type / bytes(__u32)] |= \ 43 1 << (type % bytes(__u32)); \ 48 (chunkmap)[type / bytes(__u32)] &= \ 49 ~(1 << (type % bytes(__u32))); \ 54 ((chunkmap)[type / bytes (__u32)] & \ 55 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/ |
xt_sctp.h | 38 #define bytes(type) (sizeof(type) * 8) macro 42 (chunkmap)[type / bytes(__u32)] |= \ 43 1 << (type % bytes(__u32)); \ 48 (chunkmap)[type / bytes(__u32)] &= \ 49 ~(1 << (type % bytes(__u32))); \ 54 ((chunkmap)[type / bytes (__u32)] & \ 55 (1 << (type % bytes (__u32)))) ? 1: 0; \
|
/prebuilts/ndk/current/platforms/android-12/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/current/platforms/android-12/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/current/platforms/android-12/arch-mips/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/current/platforms/android-12/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/current/platforms/android-12/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/current/platforms/android-12/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/current/platforms/android-13/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/current/platforms/android-13/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/current/platforms/android-13/arch-mips/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/current/platforms/android-13/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/current/platforms/android-13/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/current/platforms/android-13/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/current/platforms/android-14/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/current/platforms/android-14/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/current/platforms/android-14/arch-mips/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/current/platforms/android-14/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; })
|