Searched refs:bytes (Results 151 - 175 of 2342) sorted by relevance

1234567891011>>

/external/elfutils/0.153/libdw/
H A Ddwarf_nextcu.c95 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
[all...]
/external/emma/core/java12/com/vladium/jcd/cls/attribute/
H A DAttribute_info.java41 * 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);
105 new_Attribute_info(final IConstantCollection constants, final UDataInputStream bytes) argument
[all...]
H A DException_info.java114 Exception_info (final UDataInputStream bytes) throws IOException argument
116 m_start_pc = bytes.readU2 ();
117 m_end_pc = bytes.readU2 ();
118 m_handler_pc = bytes.readU2 ();
119 m_catch_type = bytes.readU2 ();
H A DInnerClass_info.java79 InnerClass_info (final UDataInputStream bytes) throws IOException argument
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/coremedia/iso/
H A DIsoTypeReader.java110 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[
[all...]
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DPipeline.java35 * 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) { argument
96 this.bytes = bytes;
100 int retval = bytes[ptr++] & 0xFF;
131 public void write(byte[] bytes, int start, int length) throws IOException { argument
134 Buffer buff = new Buffer(bytes, length);
142 public void write(byte[] bytes) throws IOException { argument
145 Buffer buff = new Buffer(bytes, byte
[all...]
/external/apache-http/src/org/apache/commons/codec/net/
H A DQuotedPrintableCodec.java128 * 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) { argument
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
178 decodeQuotedPrintable(byte[] bytes) argument
215 encode(byte[] bytes) argument
234 decode(byte[] bytes) argument
[all...]
H A DURLCodec.java109 * 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) argument
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 arra
159 decodeUrl(byte[] bytes) argument
196 encode(byte[] bytes) argument
210 decode(byte[] bytes) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DTextCodecUTF16.cpp70 String TextCodecUTF16::decode(const char* bytes, size_t length, FlushBehavior flush, bool, bool& sawError) argument
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/guava/guava-tests/test/com/google/common/hash/
H A DHashCodesTest.java27 (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
113 final byte[] bytes; field in class:HashCodesTest.ExpectedHashCode
117 ExpectedHashCode(byte[] bytes, int asInt, Long asLong, String toString) argument
[all...]
/external/lldb/include/lldb/Core/
H A DValue.h60 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) argument
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;
219 SetVectorBytes(uint8_t *bytes, size_t length, lldb::ByteOrder byte_order) argument
[all...]
/external/iptables/include/linux/netfilter/
H A Dxt_sctp.h38 #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/
H A Dxt_sctp.h38 #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/chromium_org/build/mac/
H A Dchange_mach_o_flags.py114 """Reads |count| bytes from the file-like |file| object, raising a
115 MachOError if any other number of bytes is read."""
117 bytes = file.read(count)
118 if len(bytes) != count:
120 'read: expected length %d, observed %d' % (count, len(bytes))
122 return bytes
131 bytes = CheckedRead(file, 4)
133 (uint32,) = struct.unpack(endian + 'I', bytes)
144 bytes = CheckedRead(file, 28)
147 struct.unpack(endian + '7I', bytes)
[all...]
/external/bison/lib/
H A Dmbuiter.h73 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
[all...]
/external/openssl/crypto/rand/
H A Drand_egd.c66 * 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) wil
99 RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) argument
108 RAND_egd_bytes(const char *path,int bytes) argument
136 RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) argument
284 RAND_egd_bytes(const char *path, int bytes) argument
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DSecureClassLoader2Test.java47 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/
H A DBcDigestCalculatorProvider.java55 public void write(byte[] bytes, int off, int len) argument
58 dig.update(bytes, off, len);
61 public void write(byte[] bytes) argument
64 dig.update(bytes, 0, bytes.length);
/external/chromium_org/base/memory/
H A Ddiscardable_memory_emulated.cc33 DiscardableMemoryEmulated::DiscardableMemoryEmulated(size_t bytes) argument
34 : bytes_(bytes),
36 g_shared_state.Pointer()->manager.Register(this, bytes);
52 size_t bytes) {
53 g_shared_state.Pointer()->manager.ReduceMemoryUsageUntilWithinLimit(bytes);
51 ReduceMemoryUsageUntilWithinLimit( size_t bytes) argument
/external/chromium_org/gpu/command_buffer/service/
H A Dmemory_tracking.h60 void TrackMemAlloc(size_t bytes) { argument
61 mem_represented_ += bytes;
65 void TrackMemFree(size_t bytes) { argument
66 DCHECK(bytes <= mem_represented_);
67 mem_represented_ -= bytes;
/external/chromium_org/third_party/skia/src/pipe/utils/
H A DSamplePipeControllers.h22 virtual void notifyWritten(size_t bytes) SK_OVERRIDE;
40 virtual void notifyWritten(size_t bytes) SK_OVERRIDE;
61 virtual void notifyWritten(size_t bytes) SK_OVERRIDE;
75 PipeBlock(void* block, size_t bytes) { fBlock = block, fBytes = bytes; } argument
79 // Number of bytes that were written to fBlock.
/external/chromium_org/ui/base/text/
H A Dbytes_formatting_unittest.cc13 int64 bytes; member in struct:ui::__anon16669
29 EXPECT_EQ(cases[i].expected, GetByteDisplayUnits(cases[i].bytes));
34 int64 bytes; member in struct:ui::__anon16670
41 // sense (zero or bytes).
43 // the display of file sizes or bytes consistently around three
73 FormatBytesWithUnits(cases[i].bytes, cases[i].units, false));
75 FormatBytesWithUnits(cases[i].bytes, cases[i].units, true));
/external/fio/os/
H A Dos-hpux.h50 static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes) argument
58 *bytes = lba * dext.lgblksz;
62 *bytes = 0;
66 static inline int chardev_size(struct fio_file *f, unsigned long long *bytes) argument
68 return blockdev_size(f, bytes);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
H A DExtensionDescriptor.java36 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/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DSignatureTest.java22 byte[] bytes = { (byte) 0xAC, (byte) 0xDE };
23 Signature signature = new Signature(bytes);
25 assertArrayEquals(bytes, signature.toByteArray());
30 byte[] bytes = { (byte) 0xAC, (byte) 0xDE };
31 Signature expected = new Signature(bytes);

Completed in 1037 milliseconds

1234567891011>>