• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/

Lines Matching refs:byte_order

92                int             byte_order,
97 if ((byte_order) == DBUS_LITTLE_ENDIAN)
105 int byte_order,
110 if ((byte_order) == DBUS_LITTLE_ENDIAN)
118 int byte_order,
124 if ((byte_order) == DBUS_LITTLE_ENDIAN)
130 swap_8_octets ((DBusBasicValue*)data, byte_order);
138 * @param byte_order the byte order to use
143 int byte_order,
146 pack_4_octets (value, byte_order, data);
172 int byte_order)
174 if (byte_order != DBUS_COMPILER_BYTE_ORDER)
186 unpack_8_octets (int byte_order,
195 if (byte_order == DBUS_LITTLE_ENDIAN)
201 swap_8_octets (&r, byte_order);
212 * @param byte_order The byte order to use
217 _dbus_unpack_uint16 (int byte_order,
222 if (byte_order == DBUS_LITTLE_ENDIAN)
233 * @param byte_order The byte order to use
238 _dbus_unpack_uint32 (int byte_order,
243 if (byte_order == DBUS_LITTLE_ENDIAN)
254 int byte_order)
258 _dbus_assert (byte_order == DBUS_LITTLE_ENDIAN ||
259 byte_order == DBUS_BIG_ENDIAN);
263 pack_2_octets (value, byte_order, data);
270 int byte_order)
274 _dbus_assert (byte_order == DBUS_LITTLE_ENDIAN ||
275 byte_order == DBUS_BIG_ENDIAN);
279 pack_4_octets (value, byte_order, data);
286 int byte_order)
290 _dbus_assert (byte_order == DBUS_LITTLE_ENDIAN ||
291 byte_order == DBUS_BIG_ENDIAN);
295 pack_8_octets (value, byte_order, data);
305 * @param byte_order the byte order to use
312 int byte_order)
314 set_4_octets (str, pos, value, byte_order);
330 * @param byte_order the byte order to use
340 int byte_order,
350 old_len = _dbus_unpack_uint32 (byte_order,
359 _dbus_marshal_set_uint32 (str, pos, new_len, byte_order);
376 * @param byte_order the byte order to use
386 int byte_order,
420 * @param byte_order byte order for marshaling
430 int byte_order,
451 set_2_octets (str, pos, vp->u16, byte_order);
463 set_4_octets (str, pos, vp->u32, byte_order);
474 set_8_octets (str, pos, *vp, byte_order);
485 return set_string (str, pos, vp->str, byte_order,
490 return set_signature (str, pos, vp->str, byte_order,
504 * @param byte_order the byte order
512 int byte_order,
522 return _dbus_unpack_uint32 (byte_order,
544 * @param byte_order the byte order
552 int byte_order,
580 if (byte_order != DBUS_COMPILER_BYTE_ORDER)
593 if (byte_order != DBUS_COMPILER_BYTE_ORDER)
605 if (byte_order != DBUS_COMPILER_BYTE_ORDER)
611 swap_8_octets (vp, byte_order);
622 len = _dbus_marshal_read_uint32 (str, pos, byte_order, &pos);
657 int byte_order,
665 if (byte_order != DBUS_COMPILER_BYTE_ORDER)
686 int byte_order,
694 if (byte_order != DBUS_COMPILER_BYTE_ORDER)
715 int byte_order,
723 swap_8_octets (&value, byte_order);
749 int byte_order,
756 _dbus_assert (byte_order == DBUS_LITTLE_ENDIAN || byte_order == DBUS_BIG_ENDIAN);
783 byte_order, &pos))
816 int byte_order,
822 byte_order, pos_after);
850 * @param byte_order byte order
859 int byte_order,
880 byte_order, pos_after);
884 byte_order, pos_after);
890 byte_order, pos_after);
895 return marshal_8_octets (str, insert_at, *vp, byte_order, pos_after);
901 return marshal_string (str, insert_at, vp->str, byte_order, pos_after);
919 int byte_order,
1000 int byte_order,
1005 if (byte_order != DBUS_COMPILER_BYTE_ORDER)
1020 int byte_order,
1053 swap_array (str, array_start, n_elements, byte_order, alignment);
1080 * @param byte_order byte order
1090 int byte_order,
1106 return marshal_1_octets_array (str, insert_at, vp, n_elements, byte_order, pos_after);
1110 return marshal_fixed_multi (str, insert_at, vp, n_elements, byte_order, 2, pos_after);
1115 return marshal_fixed_multi (str, insert_at, vp, n_elements, byte_order, 4, pos_after);
1120 return marshal_fixed_multi (str, insert_at, vp, n_elements, byte_order, 8, pos_after);
1137 * @param byte_order the byte order
1144 int byte_order,
1147 _dbus_assert (byte_order == DBUS_LITTLE_ENDIAN ||
1148 byte_order == DBUS_BIG_ENDIAN);
1178 len = _dbus_marshal_read_uint32 (str, *pos, byte_order, pos);
1205 * @param byte_order the byte order
1212 int byte_order,
1221 array_len = _dbus_marshal_read_uint32 (str, i, byte_order, &i);
1523 * @param byte_order the byte order, used to read the array length
1532 int byte_order,
1560 int byte_order,
1569 swap_array (&t, 0, len_bytes / alignment, byte_order, alignment);
1572 #define MARSHAL_BASIC(typename, byte_order, literal) \
1577 byte_order, NULL)) \
1581 #define DEMARSHAL_BASIC(typename, byte_order) \
1584 byte_order, &pos); \
1587 #define DEMARSHAL_BASIC_AND_CHECK(typename, byte_order, literal) \
1589 DEMARSHAL_BASIC (typename, byte_order); \
1598 #define MARSHAL_TEST(typename, byte_order, literal) \
1600 MARSHAL_BASIC (typename, byte_order, literal); \
1602 DEMARSHAL_BASIC_AND_CHECK (typename, byte_order, literal); \
1605 #define MARSHAL_TEST_STRCMP(typename, byte_order, literal) \
1607 MARSHAL_BASIC (typename, byte_order, literal); \
1609 DEMARSHAL_BASIC (typename, byte_order); \
1619 #define MARSHAL_FIXED_ARRAY(typename, byte_order, literal) \
1624 byte_order, &next)) \
1629 byte_order, NULL)) \
1633 #define DEMARSHAL_FIXED_ARRAY(typename, byte_order) \
1637 v_UINT32 = _dbus_marshal_read_uint32 (&str, dump_pos, byte_order, &next); \
1640 byte_order, NULL); \
1642 byte_order, alignment); \
1645 #define DEMARSHAL_FIXED_ARRAY_AND_CHECK(typename, byte_order, literal) \
1647 DEMARSHAL_FIXED_ARRAY (typename, byte_order); \
1661 #define MARSHAL_TEST_FIXED_ARRAY(typename, byte_order, literal) \
1663 MARSHAL_FIXED_ARRAY (typename, byte_order, literal); \
1665 DEMARSHAL_FIXED_ARRAY_AND_CHECK (typename, byte_order, literal); \
1702 int byte_order;
1948 byte_order = DBUS_LITTLE_ENDIAN;
1957 MARSHAL_TEST_STRCMP (STRING, byte_order, "Hello world");
1964 &v_STRING, byte_order, NULL, NULL);
1967 &v_STRING, byte_order,
1976 &v_STRING, byte_order, NULL, NULL);
1978 &v_STRING, byte_order,
1983 if (byte_order == DBUS_LITTLE_ENDIAN)
1984 byte_order = DBUS_BIG_ENDIAN;