/prebuilts/ndk/8/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/8/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/8/platforms/android-8/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/8/platforms/android-8/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/8/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/8/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/8/platforms/android-9/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/8/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/8/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/8/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; })
|
/dalvik/dx/src/com/android/dx/command/dump/ |
BlockDumper.java | 75 * @param bytes {@code non-null;} bytes of the (alleged) class file 82 public static void dump(byte[] bytes, PrintStream out, 84 BlockDumper bd = new BlockDumper(bytes, out, filePath, 93 BlockDumper(byte[] bytes, PrintStream out, String filePath, 95 super(bytes, out, filePath, args); 108 byte[] bytes = getBytes(); 109 ByteArray ba = new ByteArray(bytes); 137 public void parsed(ByteArray bytes, int offset, int len, String human) { 139 super.parsed(bytes, offset, len, human) 213 ByteArray bytes = code.getBytes(); local 289 ByteArray bytes = code.getBytes(); local [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
Utf8Utils.java | 42 * @return non-null; the UTF-8 bytes for it 46 byte[] bytes = new byte[len * 3]; // Avoid having to reallocate. 52 bytes[outAt] = (byte) c; 55 bytes[outAt] = (byte) (((c >> 6) & 0x1f) | 0xc0); 56 bytes[outAt + 1] = (byte) ((c & 0x3f) | 0x80); 59 bytes[outAt] = (byte) (((c >> 12) & 0x0f) | 0xe0); 60 bytes[outAt + 1] = (byte) (((c >> 6) & 0x3f) | 0x80); 61 bytes[outAt + 2] = (byte) ((c & 0x3f) | 0x80); 67 System.arraycopy(bytes, 0, result, 0, outAt); 74 * Converts an array of UTF-8 bytes into a string [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
SHA1_MessageDigestTest.java | 153 byte[] bytes = new byte[LENGTH]; 154 for (int i = 0; i < bytes.length; i++ ) { 155 bytes[i] = (byte) i; 158 md.update(bytes, 0, LENGTH); 173 * it checks out that the method always return array of 20 bytes length 177 byte[] bytes = null; 187 bytes = md.digest(); 188 assertEquals("length of digest != DIGESTLENGTH", bytes.length, DIGESTLENGTH); 316 byte[] bytes = null; 322 bytes = new byte[LENGTHS[n]] [all...] |
/external/bison/lib/ |
mbuiter.h | 73 relocates iterator when the string is moved by ptrdiff bytes. 122 size_t cur.bytes number of bytes of current character 141 iter->cur.bytes = 1; 150 iter->cur.bytes = mbrtowc (&iter->cur.wc, iter->cur.ptr, 153 if (iter->cur.bytes == (size_t) -1) 156 iter->cur.bytes = 1; 161 else if (iter->cur.bytes == (size_t) -2) 164 iter->cur.bytes = strlen (iter->cur.ptr); 171 if (iter->cur.bytes == 0 [all...] |
/external/libffi/src/ |
prep_cif.c | 91 unsigned bytes = 0; local 123 bytes = STACK_ARG_SIZE(sizeof(void*)); 143 bytes += sizeof(void*); 148 if (((*ptr)->alignment - 1) & bytes) 149 bytes = ALIGN(bytes, (*ptr)->alignment); 151 bytes += STACK_ARG_SIZE((*ptr)->size); 156 cif->bytes = bytes;
|
/external/openssl/crypto/bn/ |
bn_rand.c | 121 int ret=0,bit,bytes,mask; local 130 bytes=(bits+7)/8; 134 buf=(unsigned char *)OPENSSL_malloc(bytes); 147 if (RAND_pseudo_bytes(buf, bytes) == -1) 152 if (RAND_bytes(buf, bytes) <= 0) 164 for (i = 0; i < bytes; i++) 198 buf[bytes-1]|=1; 199 if (!BN_bin2bn(buf,bytes,rnd)) goto err; 204 OPENSSL_cleanse(buf,bytes);
|
/external/openssl/crypto/rand/ |
rand_egd.c | 66 * RAND_query_egd_bytes(path, buf, bytes) 67 * will actually query "bytes" bytes of entropy form the egd-socket located 70 * The number of bytes is not limited by the maximum chunk size of EGD, 71 * which is 255 bytes. If more than 255 bytes are wanted, several chunks 72 * of entropy bytes are requested. The connection is left open until the 76 * num the number of bytes read from the EGD socket. This number is either 77 * the number of bytes requested or smaller, if the EGD pool is 82 * RAND_egd_bytes(path, bytes) will query "bytes" bytes and have the [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
SecureClassLoader2Test.java | 47 public Class define(String name, byte[] bytes) { 48 return defineClass(name, bytes, 0, bytes.length, 66 byte[] bytes = InputStreamHelper.readFullyAndClose(in); 67 Class c = myloader.define("packA.SecurityTest", bytes);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/ |
BcDigestCalculatorProvider.java | 51 public void write(byte[] bytes, int off, int len) 54 dig.update(bytes, off, len); 57 public void write(byte[] bytes) 60 dig.update(bytes, 0, bytes.length);
|
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
Exception_info.java | 114 Exception_info (final UDataInputStream bytes) throws IOException 116 m_start_pc = bytes.readU2 (); 117 m_end_pc = bytes.readU2 (); 118 m_handler_pc = bytes.readU2 (); 119 m_catch_type = bytes.readU2 ();
|
InnerClass_info.java | 79 InnerClass_info (final UDataInputStream bytes) throws IOException 81 m_inner_class_index = bytes.readU2 (); 82 m_outer_class_index = bytes.readU2 (); 83 m_inner_name_index = bytes.readU2 (); 84 m_inner_access_flags = bytes.readU2 ();
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ExtensionDescriptor.java | 36 byte[] bytes;
field in class:ExtensionDescriptor 60 bytes = new byte[sizeOfInstance];
61 bb.get(bytes);
69 sb.append("{bytes=").append(bytes == null ? "null" : Hex.encodeHex(bytes));
|
/external/skia/src/pipe/utils/ |
SamplePipeControllers.h | 21 virtual void notifyWritten(size_t bytes) SK_OVERRIDE; 38 virtual void notifyWritten(size_t bytes) SK_OVERRIDE; 59 virtual void notifyWritten(size_t bytes) SK_OVERRIDE; 73 PipeBlock(void* block, size_t bytes) { fBlock = block, fBytes = bytes; } 77 // Number of bytes that were written to fBlock.
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/EncodedValue/ |
CharEncodedValue.java | 59 byte[] bytes = EncodedValueUtils.encodeUnsignedIntegralValue(value); 62 out.annotate(1, "value_type=" + ValueType.VALUE_CHAR.name() + ",value_arg=" + (bytes.length - 1)); 65 out.annotate(bytes.length, "value: 0x" + Integer.toHexString(value) + " '" + c[0] + "'"); 68 out.writeByte(ValueType.VALUE_CHAR.value | ((bytes.length - 1) << 5)); 69 out.write(bytes);
|
DoubleEncodedValue.java | 60 byte[] bytes = EncodedValueUtils.encodeRightZeroExtendedValue(Double.doubleToRawLongBits(value)); 63 out.annotate(1, "value_type=" + ValueType.VALUE_DOUBLE.name() + ",value_arg=" + (bytes.length - 1)); 64 out.annotate(bytes.length, "value: " + value); 67 out.writeByte(ValueType.VALUE_DOUBLE.value | ((bytes.length - 1) << 5)); 68 out.write(bytes);
|