Home
last modified time | relevance | path

Searched refs:byte_order (Results 1 – 25 of 81) sorted by relevance

1234

/external/dbus/dbus/
Ddbus-marshal-basic.c92 int byte_order, in pack_2_octets() argument
97 if ((byte_order) == DBUS_LITTLE_ENDIAN) in pack_2_octets()
105 int byte_order, in pack_4_octets() argument
110 if ((byte_order) == DBUS_LITTLE_ENDIAN) in pack_4_octets()
118 int byte_order, in pack_8_octets() argument
124 if ((byte_order) == DBUS_LITTLE_ENDIAN) in pack_8_octets()
130 swap_8_octets ((DBusBasicValue*)data, byte_order); in pack_8_octets()
143 int byte_order, in _dbus_pack_uint32() argument
146 pack_4_octets (value, byte_order, data); in _dbus_pack_uint32()
172 int byte_order) in swap_8_octets() argument
[all …]
Ddbus-marshal-basic.h150 #define _dbus_unpack_uint16(byte_order, data) \ argument
151 (((byte_order) == DBUS_LITTLE_ENDIAN) ? \
155 #define _dbus_unpack_uint32(byte_order, data) \ argument
156 (((byte_order) == DBUS_LITTLE_ENDIAN) ? \
162 dbus_uint16_t _dbus_unpack_uint16 (int byte_order,
167 int byte_order,
170 dbus_uint32_t _dbus_unpack_uint32 (int byte_order,
178 int byte_order,
185 int byte_order,
192 int byte_order,
[all …]
Ddbus-marshal-byteswap-util.c32 do_byteswap_test (int byte_order) in do_byteswap_test() argument
42 opposite_order = byte_order == DBUS_LITTLE_ENDIAN ? DBUS_BIG_ENDIAN : DBUS_LITTLE_ENDIAN; in do_byteswap_test()
46 byte_order, in do_byteswap_test()
60 byte_order, in do_byteswap_test()
64 _dbus_type_reader_init (&body_reader, byte_order, &signature, 0, in do_byteswap_test()
93 sequence, byte_order, opposite_order); in do_byteswap_test()
Ddbus-marshal-recursive.h41 dbus_uint32_t byte_order : 8; /**< byte order of the block */ member
66 dbus_uint32_t byte_order : 8; /**< byte order to write values with */ member
100 int byte_order,
140 int byte_order,
146 int byte_order,
154 int byte_order,
Ddbus-marshal-header.c527 int byte_order, in _dbus_header_create() argument
540 _dbus_assert (byte_order == DBUS_LITTLE_ENDIAN || in _dbus_header_create()
541 byte_order == DBUS_BIG_ENDIAN); in _dbus_header_create()
550 _dbus_type_writer_init_values_only (&writer, byte_order, in _dbus_header_create()
555 v_BYTE = byte_order; in _dbus_header_create()
673 int *byte_order, in _dbus_header_have_message_untrusted() argument
692 *byte_order = _dbus_string_get_byte (str, start + BYTE_ORDER_OFFSET); in _dbus_header_have_message_untrusted()
694 if (*byte_order != DBUS_LITTLE_ENDIAN && *byte_order != DBUS_BIG_ENDIAN) in _dbus_header_have_message_untrusted()
702 *byte_order, NULL); in _dbus_header_have_message_untrusted()
712 *byte_order, NULL); in _dbus_header_have_message_untrusted()
[all …]
Ddbus-marshal-header.h59 dbus_uint32_t byte_order : 8; /**< byte order of header */ member
66 int byte_order,
105 int *byte_order,
115 int byte_order,
Ddbus-marshal-recursive.c104 reader->byte_order, NULL)); in apply_and_free_fixups()
110 reader->byte_order); in apply_and_free_fixups()
146 int byte_order, in reader_init() argument
152 reader->byte_order = byte_order; in reader_init()
166 parent->byte_order, in base_reader_recurse()
225 array_len = _dbus_unpack_uint32 (reader->byte_order, in array_reader_get_array_len()
483 reader->byte_order, in base_reader_next()
493 current_type, reader->byte_order, in base_reader_next()
603 reader->byte_order, in array_reader_next()
611 current_type, reader->byte_order, in array_reader_next()
[all …]
Ddbus-message-factory.c173 char byte_order; in generate_many_bodies_inner() local
183 byte_order = _dbus_header_get_byte_order (&message->header); in generate_many_bodies_inner()
191 byte_order, in generate_many_bodies_inner()
208 byte_order); in generate_many_bodies_inner()
584 char byte_order; in generate_special() local
587 byte_order = _dbus_header_get_byte_order (&message->header); in generate_special()
592 byte_order); in generate_special()
595 byte_order); in generate_special()
870 int byte_order; in generate_wrong_length() local
874 byte_order = _dbus_string_get_byte (data, BYTE_ORDER_OFFSET); in generate_wrong_length()
[all …]
/external/lldb/source/Core/
DStream.cpp22 Stream::Stream (uint32_t flags, uint32_t addr_size, ByteOrder byte_order) : in Stream() argument
25 m_byte_order (byte_order), in Stream()
46 Stream::SetByteOrder (ByteOrder byte_order) in SetByteOrder() argument
49 m_byte_order = byte_order; in SetByteOrder()
552 Stream::PutHex16 (uint16_t uvalue, ByteOrder byte_order) in PutHex16() argument
554 if (byte_order == eByteOrderInvalid) in PutHex16()
555 byte_order = m_byte_order; in PutHex16()
559 if (byte_order == eByteOrderLittle) in PutHex16()
573 Stream::PutHex32(uint32_t uvalue, ByteOrder byte_order) in PutHex32() argument
575 if (byte_order == eByteOrderInvalid) in PutHex32()
[all …]
/external/libunwind/src/arm/
DGcreate_addr_space.c30 unw_create_addr_space (unw_accessors_t *a, int byte_order) in unw_create_addr_space() argument
40 if (byte_order != 0 && byte_order != __LITTLE_ENDIAN in unw_create_addr_space()
41 && byte_order != __BIG_ENDIAN) in unw_create_addr_space()
53 if (byte_order == 0 || byte_order == __LITTLE_ENDIAN) in unw_create_addr_space()
/external/libunwind/src/sh/
DGcreate_addr_space.c31 unw_create_addr_space (unw_accessors_t *a, int byte_order) in unw_create_addr_space() argument
39 if (byte_order != 0 && byte_order != __LITTLE_ENDIAN in unw_create_addr_space()
40 && byte_order != __BIG_ENDIAN) in unw_create_addr_space()
52 if (byte_order == 0 || byte_order == __LITTLE_ENDIAN) in unw_create_addr_space()
/external/libunwind/src/aarch64/
DGcreate_addr_space.c32 unw_create_addr_space (unw_accessors_t *a, int byte_order) in unw_create_addr_space() argument
40 if (byte_order != 0 && byte_order != __LITTLE_ENDIAN in unw_create_addr_space()
41 && byte_order != __BIG_ENDIAN) in unw_create_addr_space()
53 if (byte_order == 0 || byte_order == __LITTLE_ENDIAN) in unw_create_addr_space()
/external/libunwind/src/ia64/
DGcreate_addr_space.c31 unw_create_addr_space (unw_accessors_t *a, int byte_order) in unw_create_addr_space() argument
42 if (byte_order != 0 in unw_create_addr_space()
43 && byte_order != __LITTLE_ENDIAN in unw_create_addr_space()
44 && byte_order != __BIG_ENDIAN) in unw_create_addr_space()
56 if (byte_order == 0) in unw_create_addr_space()
60 as->big_endian = (byte_order == __BIG_ENDIAN); in unw_create_addr_space()
/external/libunwind/src/mips/
DGcreate_addr_space.c30 unw_create_addr_space (unw_accessors_t *a, int byte_order) in unw_create_addr_space() argument
41 if (byte_order != 0 in unw_create_addr_space()
42 && byte_order != __LITTLE_ENDIAN in unw_create_addr_space()
43 && byte_order != __BIG_ENDIAN) in unw_create_addr_space()
54 if (byte_order == 0) in unw_create_addr_space()
58 as->big_endian = (byte_order == __BIG_ENDIAN); in unw_create_addr_space()
/external/lldb/include/lldb/Core/
DStream.h47 lldb::ByteOrder byte_order);
112 SetByteOrder (lldb::ByteOrder byte_order);
153 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid);
157 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid);
161 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid);
166 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid);
169 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid);
173 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid);
177 lldb::ByteOrder byte_order = lldb::eByteOrderInvalid);
DValue.h62 lldb::ByteOrder byte_order; member
66 byte_order(lldb::eByteOrderInvalid) in Vector()
76 SetBytes(vector.bytes, vector.length, vector.byte_order);
87 SetBytes(const void *bytes, size_t length, lldb::ByteOrder byte_order) in SetBytes()
90 this->byte_order = byte_order; in SetBytes()
99 return (length > 0 && length < kMaxByteSize && byte_order != lldb::eByteOrderInvalid); in IsValid()
219 SetVectorBytes(uint8_t *bytes, size_t length, lldb::ByteOrder byte_order) in SetVectorBytes() argument
221 return m_vector.SetBytes(bytes, length, byte_order); in SetVectorBytes()
DDataEncoder.h61 DataEncoder (void* data, uint32_t data_length, lldb::ByteOrder byte_order, uint8_t addr_size);
80 DataEncoder (const lldb::DataBufferSP& data_sp, lldb::ByteOrder byte_order, uint8_t addr_size);
360 SetData (const void *bytes, uint32_t length, lldb::ByteOrder byte_order);
400 SetByteOrder (lldb::ByteOrder byte_order) in SetByteOrder() argument
402 m_byte_order = byte_order; in SetByteOrder()
DValueObjectConstResult.h31 lldb::ByteOrder byte_order,
47 lldb::ByteOrder byte_order,
142 lldb::ByteOrder byte_order,
156 lldb::ByteOrder byte_order,
/external/libunwind/src/hppa/
DGcreate_addr_space.c31 unw_create_addr_space (unw_accessors_t *a, int byte_order) in unw_create_addr_space() argument
41 if (byte_order != 0 && byte_order != __BIG_ENDIAN) in unw_create_addr_space()
/external/libunwind/src/ppc/
DGcreate_addr_space.c33 unw_create_addr_space (unw_accessors_t *a, int byte_order) in unw_create_addr_space() argument
43 if (byte_order != 0 && byte_order != __BIG_ENDIAN) in unw_create_addr_space()
/external/libunwind/src/x86/
DGcreate_addr_space.c35 unw_create_addr_space (unw_accessors_t *a, int byte_order) in unw_create_addr_space() argument
45 if (byte_order != 0 && byte_order != __LITTLE_ENDIAN) in unw_create_addr_space()
/external/libunwind/src/x86_64/
DGcreate_addr_space.c38 unw_create_addr_space (unw_accessors_t *a, int byte_order) in unw_create_addr_space() argument
48 if (byte_order != 0 && byte_order != __LITTLE_ENDIAN) in unw_create_addr_space()
/external/webrtc/webrtc/base/
Dbytebuffer.cc29 ByteBuffer::ByteBuffer(ByteOrder byte_order) { in ByteBuffer() argument
30 Construct(NULL, DEFAULT_SIZE, byte_order); in ByteBuffer()
37 ByteBuffer::ByteBuffer(const char* bytes, size_t len, ByteOrder byte_order) { in ByteBuffer() argument
38 Construct(bytes, len, byte_order); in ByteBuffer()
50 ByteOrder byte_order) { in Construct() argument
54 byte_order_ = byte_order; in Construct()
Dbytebuffer.h32 explicit ByteBuffer(ByteOrder byte_order);
34 ByteBuffer(const char* bytes, size_t len, ByteOrder byte_order);
106 void Construct(const char* bytes, size_t size, ByteOrder byte_order);
/external/dbus/test/
Dbreak-loader.c300 int byte_order; in randomly_modify_length() local
322 byte_order = *d; in randomly_modify_length()
327 orig = _dbus_demarshal_uint32 (mutated, byte_order, i, NULL); in randomly_modify_length()
331 _dbus_marshal_set_uint32 (mutated, byte_order, i, in randomly_modify_length()
340 int byte_order; in randomly_set_extreme_ints() local
380 byte_order = *d; in randomly_set_extreme_ints()
385 orig = _dbus_demarshal_uint32 (mutated, byte_order, i, NULL); in randomly_set_extreme_ints()
392 _dbus_marshal_set_uint32 (mutated, byte_order, i, in randomly_set_extreme_ints()

1234