HomeSort by relevance Sort by last modified time
    Searched refs:bytes (Results 151 - 175 of 2220) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/emma/core/java12/com/vladium/jcd/cls/attribute/
Attribute_info.java 41 * item indicates the length of the subsequent information in bytes. The length
42 * does not include the initial six bytes that contain the attribute_name_index
96 * 'bytes'.
99 * @param bytes input .class data stream [may not be null; not validated]
106 final UDataInputStream bytes)
109 final int attribute_name_index = bytes.readU2 ();
110 final long attribute_length = bytes.readU4 ();
117 return new CodeAttribute_info (constants, attribute_name_index, attribute_length, bytes);
121 return new ConstantValueAttribute_info (attribute_name_index, attribute_length, bytes);
125 return new ExceptionsAttribute_info (attribute_name_index, attribute_length, bytes);
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
IsoTypeReader.java 110 byte[] bytes = new byte[4];
111 bb.get(bytes);
114 result |= ((bytes[0] << 24) & 0xFF000000);
115 result |= ((bytes[1] << 16) & 0xFF0000);
116 result |= ((bytes[2] << 8) & 0xFF00);
117 result |= ((bytes[3]) & 0xFF);
123 byte[] bytes = new byte[2];
124 bb.get(bytes);
126 result |= ((bytes[0] << 8) & 0xFF00);
127 result |= ((bytes[1]) & 0xFF)
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
Pipeline.java 35 * Input class for the pipelined parser. Buffer all bytes read from the socket
87 byte[] bytes; field in class:Pipeline.Buffer
93 public Buffer(byte[] bytes, int length) {
96 this.bytes = bytes;
100 int retval = bytes[ptr++] & 0xFF;
131 public void write(byte[] bytes, int start, int length) throws IOException {
134 Buffer buff = new Buffer(bytes, length);
142 public void write(byte[] bytes) throws IOException {
145 Buffer buff = new Buffer(bytes, bytes.length)
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
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...]
  /external/apache-http/src/org/apache/commons/codec/net/
QuotedPrintableCodec.java 123 * Encodes an array of bytes into an array of quoted-printable 7-bit characters. Unsafe characters are escaped.
132 * @param bytes
133 * array of bytes to be encoded
134 * @return array of bytes containing quoted-printable data
136 public static final byte[] encodeQuotedPrintable(BitSet printable, byte[] bytes) {
137 if (bytes == null) {
144 for (int i = 0; i < bytes.length; i++) {
145 int b = bytes[i];
159 * Decodes an array quoted-printable characters into an array of original bytes. Escaped characters are converted
167 * @param bytes
    [all...]
URLCodec.java 104 * Encodes an array of bytes into an array of URL safe 7-bit
108 * @param bytes array of bytes to convert to URL safe characters
109 * @return array of bytes containing URL safe characters
111 public static final byte[] encodeUrl(BitSet urlsafe, byte[] bytes)
113 if (bytes == null) {
121 for (int i = 0; i < bytes.length; i++) {
122 int b = bytes[i];
147 * original bytes. Escaped characters are converted back to their
150 * @param bytes array of URL safe character
    [all...]
  /external/guava/guava-tests/test/com/google/common/hash/
HashCodesTest.java 27 (byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01, // up to here, same bytes as above
30 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes
46 // expectedHashCodes must contain at least one hash code with 4 bytes
49 if (expected.bytes.length == 4) {
56 // expectedHashCodes must contain at least one hash code with 8 bytes
59 if (expected.bytes.length == 8) {
68 HashCode fromBytes = HashCodes.fromBytes(expected.bytes);
74 assertTrue(Arrays.equals(expected.bytes, hash.asBytes()));
77 assertTrue(Arrays.equals(expected.bytes, bb));
104 for (int bytes = 0; bytes < totalBytes; bytes++)
113 final byte[] bytes; field in class:HashCodesTest.ExpectedHashCode
    [all...]
  /bionic/libc/kernel/common/linux/netfilter/
xt_sctp.h 51 #define bytes(type) (sizeof(type) * 8) macro
52 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0)
54 #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; })
  /bionic/libc/kernel/common/linux/netfilter_ipv4/
ipt_sctp.h 50 #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)
52 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0)
54 #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/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...]
  /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/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/linux/netfilter/
xt_sctp.h 39 #define bytes(type) (sizeof(type) * 8) macro
43 chunkmap[type / bytes(u_int32_t)] |= \
44 1 << (type % bytes(u_int32_t)); \
49 chunkmap[type / bytes(u_int32_t)] &= \
50 ~(1 << (type % bytes(u_int32_t))); \
55 (chunkmap[type / bytes (u_int32_t)] & \
56 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
  /external/kernel-headers/original/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; \
  /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 45 static <T> T fromBytes(byte[] bytes) {
46 if (bytes == null) return null;
49 new ObjectInputStream(new ByteArrayInputStream(bytes));
57 static String toMd5(byte[] bytes) {
61 algorithm.update(bytes);
70 private static String toHexString(byte[] bytes, String separator) {
72 for (byte b : bytes) {
  /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/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/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; })

Completed in 528 milliseconds

1 2 3 4 5 67 8 91011>>