Home
last modified time | relevance | path

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

12

/external/dbus/dbus/
Ddbus-marshal-basic.c49 int byte_order, in pack_2_octets() argument
54 if ((byte_order) == DBUS_LITTLE_ENDIAN) in pack_2_octets()
62 int byte_order, in pack_4_octets() argument
67 if ((byte_order) == DBUS_LITTLE_ENDIAN) in pack_4_octets()
75 int byte_order, in pack_8_octets() argument
81 if ((byte_order) == DBUS_LITTLE_ENDIAN) in pack_8_octets()
87 swap_8_octets ((DBusBasicValue*)data, byte_order); in pack_8_octets()
100 int byte_order, in _dbus_pack_uint32() argument
103 pack_4_octets (value, byte_order, data); in _dbus_pack_uint32()
129 int byte_order) in swap_8_octets() argument
[all …]
Ddbus-marshal-basic.h184 #define _dbus_unpack_uint16(byte_order, data) \ argument
185 (((byte_order) == DBUS_LITTLE_ENDIAN) ? \
189 #define _dbus_unpack_uint32(byte_order, data) \ argument
190 (((byte_order) == DBUS_LITTLE_ENDIAN) ? \
196 dbus_uint16_t _dbus_unpack_uint16 (int byte_order,
201 int byte_order,
204 dbus_uint32_t _dbus_unpack_uint32 (int byte_order,
212 int byte_order,
219 int byte_order,
226 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-header.c187 header->byte_order, in _dbus_header_cache_revalidate()
401 header->byte_order); in _dbus_header_set_serial()
415 header->byte_order, in _dbus_header_get_serial()
429 int byte_order) in _dbus_header_reinit() argument
433 header->byte_order = byte_order; in _dbus_header_reinit()
449 int byte_order) in _dbus_header_init() argument
454 _dbus_header_reinit (header, byte_order); in _dbus_header_init()
537 _dbus_type_writer_init_values_only (&writer, header->byte_order, in _dbus_header_create()
542 v_BYTE = header->byte_order; in _dbus_header_create()
660 int *byte_order, in _dbus_header_have_message_untrusted() argument
[all …]
Ddbus-marshal-header.h59 dbus_uint32_t byte_order : 8; /**< byte order of header */ member
63 int byte_order);
66 int byte_order);
106 int *byte_order,
116 int byte_order,
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,
142 int byte_order,
148 int byte_order,
156 int byte_order,
Ddbus-marshal-recursive.c92 reader->byte_order, NULL)); in apply_and_free_fixups()
98 reader->byte_order); in apply_and_free_fixups()
134 int byte_order, in reader_init() argument
140 reader->byte_order = byte_order; in reader_init()
154 parent->byte_order, in base_reader_recurse()
213 array_len = _dbus_unpack_uint32 (reader->byte_order, in array_reader_get_array_len()
471 reader->byte_order, in base_reader_next()
481 current_type, reader->byte_order, in base_reader_next()
591 reader->byte_order, in array_reader_next()
599 current_type, reader->byte_order, in array_reader_next()
[all …]
Ddbus-message-factory.c187 message->byte_order, in generate_many_bodies_inner()
204 message->byte_order); in generate_many_bodies_inner()
585 message->byte_order); in generate_special()
588 message->byte_order); in generate_special()
863 int byte_order; in generate_wrong_length() local
867 byte_order = _dbus_string_get_byte (data, BYTE_ORDER_OFFSET); in generate_wrong_length()
870 byte_order, in generate_wrong_length()
886 byte_order); in generate_wrong_length()
1107 int byte_order; in generate_uint32_changed() local
1170 byte_order = _dbus_string_get_byte (data, BYTE_ORDER_OFFSET); in generate_uint32_changed()
[all …]
Ddbus-marshal-validate.c299 int byte_order, in validate_body_helper() argument
361 dbus_uint32_t v = _dbus_unpack_uint32 (byte_order, in validate_body_helper()
386 claimed_len = _dbus_unpack_uint32 (byte_order, p); in validate_body_helper()
475 v = _dbus_unpack_uint32 (byte_order, p); in validate_body_helper()
494 validity = validate_body_helper (&sub, byte_order, FALSE, in validate_body_helper()
613 validity = validate_body_helper (&sub, byte_order, FALSE, in validate_body_helper()
644 validity = validate_body_helper (&sub, byte_order, TRUE, in validate_body_helper()
705 int byte_order, in _dbus_validate_body_with_reason() argument
731 validity = validate_body_helper (&reader, byte_order, TRUE, 0, p, end, &p); in _dbus_validate_body_with_reason()
Ddbus-message.c119 if (message->byte_order == DBUS_COMPILER_BYTE_ORDER) in _dbus_message_byteswap()
127 message->byte_order, in _dbus_message_byteswap()
131 message->byte_order = DBUS_COMPILER_BYTE_ORDER; in _dbus_message_byteswap()
143 if (message->byte_order != DBUS_COMPILER_BYTE_ORDER) \
672 if (iter->u.reader.byte_order != iter->message->byte_order) in _dbus_message_iter_check()
678 _dbus_assert (iter->u.reader.byte_order == DBUS_COMPILER_BYTE_ORDER); in _dbus_message_iter_check()
682 if (iter->u.writer.byte_order != iter->message->byte_order) in _dbus_message_iter_check()
688 _dbus_assert (iter->u.writer.byte_order == DBUS_COMPILER_BYTE_ORDER); in _dbus_message_iter_check()
1093 message->byte_order = DBUS_COMPILER_BYTE_ORDER; in dbus_message_new_empty_header()
1113 _dbus_header_reinit (&message->header, message->byte_order); in dbus_message_new_empty_header()
[all …]
Ddbus-marshal-recursive-util.c150 int byte_order; member
168 int byte_order, in data_block_init() argument
192 block->byte_order = byte_order; in data_block_init()
287 block->byte_order, in data_block_init_reader_writer()
295 block->byte_order, in data_block_init_reader_writer()
1099 if (!data_block_init (&dest, src->byte_order, src->initial_offset)) in run_test_copy()
1165 nid->block->byte_order, in run_test_values_only_write()
1170 nid->block->byte_order, in run_test_values_only_write()
1465 int byte_order, in run_test_nodes_in_one_configuration() argument
1471 if (!data_block_init (&block, byte_order, initial_offset)) in run_test_nodes_in_one_configuration()
[all …]
Ddbus-message-private.h105 char byte_order; /**< Message byte order. */ member
Ddbus-test.h78 int byte_order,
/external/bluetooth/glib/gio/
Dgdataoutputstream.c45 GDataStreamByteOrder byte_order; member
132 g_value_set_enum (value, priv->byte_order); in g_data_output_stream_get_property()
148 stream->priv->byte_order = G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN; in g_data_output_stream_init()
187 if (priv->byte_order != order) in g_data_output_stream_set_byte_order()
189 priv->byte_order = order; in g_data_output_stream_set_byte_order()
207 return stream->priv->byte_order; in g_data_output_stream_get_byte_order()
258 switch (stream->priv->byte_order) in g_data_output_stream_put_int16()
298 switch (stream->priv->byte_order) in g_data_output_stream_put_uint16()
338 switch (stream->priv->byte_order) in g_data_output_stream_put_int32()
378 switch (stream->priv->byte_order) in g_data_output_stream_put_uint32()
[all …]
Dgdatainputstream.c47 GDataStreamByteOrder byte_order; member
158 g_value_set_enum (value, priv->byte_order); in g_data_input_stream_get_property()
178 stream->priv->byte_order = G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN; in g_data_input_stream_init()
223 if (priv->byte_order != order) in g_data_input_stream_set_byte_order()
225 priv->byte_order = order; in g_data_input_stream_set_byte_order()
244 return stream->priv->byte_order; in g_data_input_stream_get_byte_order()
379 switch (stream->priv->byte_order) in g_data_input_stream_read_int16()
423 switch (stream->priv->byte_order) in g_data_input_stream_read_uint16()
471 switch (stream->priv->byte_order) in g_data_input_stream_read_int32()
519 switch (stream->priv->byte_order) in g_data_input_stream_read_uint32()
[all …]
/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()
/external/srtp/crypto/test/
Ddatatypes_driver.c52 byte_order(void);
84 byte_order(); in main()
149 byte_order(void) { in byte_order() function
/external/bluetooth/glib/gio/tests/
Ddata-output-stream.c135 enum TestDataType data_type, GDataStreamByteOrder byte_order) in test_data_array() argument
153 g_data_output_stream_set_byte_order (G_DATA_OUTPUT_STREAM (stream), byte_order); in test_data_array()
178 swap = (byte_order != G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN) && (byte_order != native); in test_data_array()
Ddata-input-stream.c189 enum TestDataType data_type, GDataStreamByteOrder byte_order) in test_data_array() argument
223 swap = (byte_order != G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN) && (byte_order != native); in test_data_array()
/external/qemu/distrib/sdl-1.2.12/src/audio/baudio/
DSDL_beaudio.cc161 format.byte_order = B_MEDIA_LITTLE_ENDIAN; in BE_OpenAudio()
182 format.byte_order = B_MEDIA_BIG_ENDIAN; in BE_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11mouse.c102 data_image->byte_order = MSBFirst; in X11_CreateWMCursor()
110 mask_image->byte_order = MSBFirst; in X11_CreateWMCursor()
/external/chromium/chrome/browser/importer/
Dmork_reader.cc566 std::string byte_order = meta_row[data.byte_order_column]; in ImportHistoryFromFirefox2() local
567 if (!byte_order.empty()) { in ImportHistoryFromFirefox2()
573 std::string byte_order_value(byte_order); in ImportHistoryFromFirefox2()
/external/qemu/distrib/sdl-1.2.12/src/audio/ums/
DSDL_umsaudio.c58 static UMSAudioDevice_ReturnCode UADSetByteOrder(_THIS, string byte_order);
375 static UMSAudioDevice_ReturnCode UADSetByteOrder(_THIS, string byte_order) in UADSetByteOrder() argument
379 byte_order ); in UADSetByteOrder()
/external/llvm/bindings/ocaml/target/
Dllvm_target.ml26 external byte_order : TargetData.t -> Endian.t = "llvm_byte_order"
/external/llvm/test/Bindings/Ocaml/
Dtarget.ml40 ignore (byte_order td);

12