/external/emma/core/java12/com/vladium/jcd/cls/constant/ |
CONSTANT_Methodref_info.java | 63 protected CONSTANT_Methodref_info (final UDataInputStream bytes) throws IOException 65 super (bytes);
|
/external/llvm/lib/Target/MSP430/ |
MSP430MachineFunctionInfo.h | 27 /// stack frame in bytes. 43 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
memory_pool.c | 71 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes) 73 if (bytes < POOL_LARGE_ALLOC) { 76 if (pool->head + bytes > pool->end) 79 assert(pool->head + bytes <= pool->end); 83 pool->head += bytes; 88 struct memory_block * block = (struct memory_block*)malloc(bytes + sizeof(struct memory_block));
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
memory_pool.c | 71 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes) 73 if (bytes < POOL_LARGE_ALLOC) { 76 if (pool->head + bytes > pool->end) 79 assert(pool->head + bytes <= pool->end); 83 pool->head += bytes; 88 struct memory_block * block = (struct memory_block*)malloc(bytes + sizeof(struct memory_block));
|
/art/runtime/native/ |
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 103 * (1b) bytes per entry 124 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context); local 125 JDWP::Append4BE(bytes, t->GetThreadId()); 126 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState())); 127 JDWP::Append4BE(bytes, t->GetTid()); 128 JDWP::Append4BE(bytes, utime); 129 JDWP::Append4BE(bytes, stime); 130 JDWP::Append1BE(bytes, t->IsDaemon()); 134 std::vector<uint8_t> bytes; local 143 JDWP::Append1BE(bytes, kThstHeaderLen) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERBitString.java | 69 * return the correct number of bytes for a bit string defined in 74 int bytes = 4; local 81 bytes--; 84 byte[] result = new byte[bytes]; 85 for (int i = 0; i < bytes; i++) 216 byte[] bytes = new byte[getBytes().length + 1]; 218 bytes[0] = (byte)getPadBits(); 219 System.arraycopy(getBytes(), 0, bytes, 1, bytes.length - 1); local 221 out.writeEncoded(BERTags.BIT_STRING, bytes); [all...] |
ASN1OutputStream.java | 52 void write(byte[] bytes) 55 os.write(bytes); 58 void write(byte[] bytes, int off, int len) 61 os.write(bytes, off, len); 66 byte[] bytes) 70 writeLength(bytes.length); 71 write(bytes); 107 void writeEncoded(int flags, int tagNo, byte[] bytes) 111 writeLength(bytes.length); 112 write(bytes); [all...] |
/external/flac/libFLAC/ |
ogg_decoder_aspect.c | 105 FLAC__OggDecoderAspectReadStatus FLAC__ogg_decoder_aspect_read_callback_wrapper(FLAC__OggDecoderAspect *aspect, FLAC__byte buffer[], size_t *bytes, FLAC__OggDecoderAspectReadCallbackProxy read_callback, const FLAC__StreamDecoder *decoder, void *client_data) 108 const size_t bytes_requested = *bytes; 121 * the same number of bytes from Ogg, then pass what's decoded down to 133 * to read in enough pages to return the full number of bytes 136 *bytes = 0; 137 while (*bytes < bytes_requested && !aspect->end_of_stream) { 140 size_t n = bytes_requested - *bytes; 141 if ((size_t)aspect->working_packet.bytes <= n) { 143 n = aspect->working_packet.bytes; 145 *bytes += n [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
Main.java | 48 } else if (arg.equals("--bytes")) { 87 byte[] bytes = FileUtils.readFile(name); 91 src = new String(bytes, "utf-8"); 95 bytes = HexParser.parse(src); 97 processOne(name, bytes); 113 * @param bytes {@code non-null;} contents of the file 115 private static void processOne(String name, byte[] bytes) { 117 DotDumper.dump(bytes, name, parsedArgs); 119 BlockDumper.dump(bytes, System.out, name, false, parsedArgs); 121 BlockDumper.dump(bytes, System.out, name, true, parsedArgs) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
TextCodecUserDefined.cpp | 52 String TextCodecUserDefined::decode(const char* bytes, size_t length, FlushBehavior, bool, bool&) 58 signed char c = bytes[i]; 69 char* bytes = result.data(); local 77 bytes[resultLength++] = signedByte; 83 bytes = result.data(); 84 memcpy(bytes + resultLength, replacement, replacementLength); 89 return CString(bytes, resultLength); 95 char* bytes; local 96 CString result = CString::newUninitialized(length, bytes); 102 bytes[i] = c [all...] |
TextCodecUTF16.cpp | 70 String TextCodecUTF16::decode(const char* bytes, size_t length, FlushBehavior flush, bool, bool& sawError) 84 const unsigned char* p = reinterpret_cast<const unsigned char*>(bytes); 139 // character buffer, each character is two bytes, and we know 145 char* bytes; local 146 CString result = CString::newUninitialized(length * 2, bytes); 153 bytes[i * 2] = c; 154 bytes[i * 2 + 1] = c >> 8; 159 bytes[i * 2] = c >> 8; 160 bytes[i * 2 + 1] = c; 172 char* bytes; local [all...] |
/external/elfutils/0.153/libdw/ |
dwarf_nextcu.c | 95 const unsigned char *bytes = data + off; local 118 4. A 1-byte unsigned integer representing the size in bytes of 122 uint64_t length = read_4ubyte_unaligned_inc (dwarf, bytes); 147 length = read_8ubyte_unaligned_inc (dwarf, bytes); 150 uint_fast16_t version = read_2ubyte_unaligned_inc (dwarf, bytes); 155 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size, 160 uint8_t address_size = *bytes++; 164 uint64_t type_sig8 = read_8ubyte_unaligned_inc (dwarf, bytes); 167 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size, 172 if (unlikely (type_offset < (size_t) (bytes - (data + off))) [all...] |
/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...] |
/bionic/libc/arch-x86/silvermont/string/ |
sse4-memcmp-slm.S | 177 jz L(0bytes) 184 jz L(0bytes) 191 jz L(0bytes) 198 jz L(0bytes) 205 jz L(0bytes) 209 je L(0bytes) 222 L(0bytes): 324 L(16bytes): 329 L(12bytes): 334 L(8bytes) [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 | 128 * Encodes an array of bytes into an array of quoted-printable 7-bit characters. Unsafe characters are escaped. 137 * @param bytes 138 * array of bytes to be encoded 139 * @return array of bytes containing quoted-printable data 141 public static final byte[] encodeQuotedPrintable(BitSet printable, byte[] bytes) { 142 if (bytes == null) { 149 for (int i = 0; i < bytes.length; i++) { 150 int b = bytes[i]; 164 * Decodes an array quoted-printable characters into an array of original bytes. Escaped characters are converted 172 * @param bytes [all...] |
URLCodec.java | 109 * Encodes an array of bytes into an array of URL safe 7-bit 113 * @param bytes array of bytes to convert to URL safe characters 114 * @return array of bytes containing URL safe characters 116 public static final byte[] encodeUrl(BitSet urlsafe, byte[] bytes) 118 if (bytes == null) { 126 for (int i = 0; i < bytes.length; i++) { 127 int b = bytes[i]; 152 * original bytes. Escaped characters are converted back to their 155 * @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...] |
/external/lldb/include/lldb/Core/ |
Value.h | 60 uint8_t bytes[kMaxByteSize]; member in struct:lldb_private::Value::Vector 76 SetBytes(vector.bytes, vector.length, vector.byte_order); 87 SetBytes(const void *bytes, size_t length, lldb::ByteOrder byte_order) 92 ::memcpy(this->bytes, bytes, length < kMaxByteSize ? length : kMaxByteSize); 110 if (length == 1) scalar = *(const uint8_t *)bytes; 111 else if (length == 2) scalar = *(const uint16_t *)bytes; 112 else if (length == 4) scalar = *(const uint32_t *)bytes; 113 else if (length == 8) scalar = *(const uint64_t *)bytes; 115 else if (length >= 16) scalar = *(const __uint128_t *)bytes; [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...] |
/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; \
|