Home
last modified time | relevance | path

Searched refs:htole16 (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/test/
Dtest-utf8.c172 …onst char16_t utf16[] = { htole16('a'), htole16(0xd800), htole16('b'), htole16(0xdc00), htole16('c… in TEST()
/systemd-251/src/basic/
Dutf8.c450 out[0] = htole16(c); in utf16_encode_unichar()
455 out[0] = htole16((c >> 10) + 0xd800U); in utf16_encode_unichar()
456 out[1] = htole16((c & 0x3ffU) + 0xdc00U); in utf16_encode_unichar()
496 *(p++) = htole16(s[i++]); in utf8_to_utf16()
Dsparse-endian.h45 #undef htole16
73 static inline le16_t htole16(uint16_t value) { return (le16_t __sd_force) bswap_16_on_be(value); } in htole16() function
/systemd-251/src/libsystemd/sd-bus/
Dbus-gvariant.c290 x.u16 = htole16((uint16_t) value); in bus_gvariant_write_word_le()
/systemd-251/src/shared/
Dcreds-util.c688 t->pcr_bank = htole16(tpm2_pcr_bank); in encrypt_credential_and_warn()
689 t->primary_alg = htole16(tpm2_primary_alg); in encrypt_credential_and_warn()
Dhwdb-util.c346 .file_priority = htole16(node->values[i].file_priority), in trie_store_nodes()
/systemd-251/src/journal/
Djournalctl.c1944 .fsprg_secpar = htole16(FSPRG_RECOMMENDED_SECPAR), in setup_keys()