Home
last modified time | relevance | path

Searched refs:htobe64 (Results 1 – 15 of 15) sorted by relevance

/aosp12/system/extras/ioshark/
H A Dcompile_ioshark_subr.c220 header->version = htobe64(header->version); in ioshark_write_header()
221 header->num_files = htobe64(header->num_files); in ioshark_write_header()
229 state->fileno = htobe64(state->fileno); in ioshark_write_file_state()
230 state->size = htobe64(state->size); in ioshark_write_file_state()
240 file_op->delta_us = htobe64(file_op->delta_us); in ioshark_write_file_op()
242 file_op->fileno = htobe64(file_op->fileno); in ioshark_write_file_op()
251 file_op->prw_offset = htobe64(file_op->prw_offset); in ioshark_write_file_op()
252 file_op->prw_len = htobe64(file_op->prw_len); in ioshark_write_file_op()
256 file_op->rw_len = htobe64(file_op->rw_len); in ioshark_write_file_op()
260 file_op->mmap_offset = htobe64(file_op->mmap_offset); in ioshark_write_file_op()
[all …]
H A Dconvert_format.c143 new_header.version = htobe64(new_header.version); in main()
146 htobe64(new_header.num_io_operations); in main()
169 new_file_state.size = htobe64(new_file_state.size); in main()
172 htobe64(new_file_state.global_filename_ix); in main()
202 htobe64(new_disk_file_op.delta_us); in main()
216 htobe64(new_disk_file_op.lseek_offset); in main()
227 htobe64(new_disk_file_op.prw_offset); in main()
229 htobe64(new_disk_file_op.prw_len); in main()
236 htobe64(new_disk_file_op.rw_len); in main()
247 htobe64(new_disk_file_op.mmap_offset); in main()
[all …]
/aosp12/system/libbase/include/android-base/
H A Dendian.h37 #define htonq(x) htobe64(x)
76 #define htobe64(x) __builtin_bswap64(x) macro
/aosp12/bionic/libc/include/sys/
H A Dendian.h80 #define htobe64(x) __swap64(x) macro
100 #define be64toh(x) htobe64(x)
/aosp12/art/libartbase/base/
H A Dendian_utils.h46 AppendBytes<uint64_t>(bytes, htobe64(value)); in Append8BE()
83 SetBytes<uint64_t>(buf, htobe64(val)); in Set8BE()
/aosp12/system/update_engine/payload_consumer/
H A Ddelta_performer_unittest.cc340 uint64_t version = htobe64(kBrilloMajorPayloadVersion); in DoMetadataSizeTest()
347 uint64_t size_in_manifest = htobe64(actual_metadata_size - 24); in DoMetadataSizeTest()
349 auto signature_size = htobe64(10); in DoMetadataSizeTest()
834 uint64_t major_version = htobe64(kBrilloMajorPayloadVersion); in TEST_F()
848 uint64_t manifest_size_be = htobe64(manifest_size); in TEST_F()
869 uint64_t major_version = htobe64(kBrilloMajorPayloadVersion); in TEST_F()
884 uint64_t manifest_size_be = htobe64(manifest_size); in TEST_F()
902 uint64_t major_version = htobe64(kBrilloMajorPayloadVersion); in TEST_F()
914 uint64_t manifest_size_be = htobe64(manifest_size); in TEST_F()
/aosp12/frameworks/av/media/img_utils/include/img_utils/
H A DEndianUtils.h198 return htobe64(in); in convertToBigEndian()
203 return htobe64(in); in convertToBigEndian()
/aosp12/frameworks/av/drm/libmediadrm/interface/mediadrm/
H A DDrmUtils.h98 LogToBuffer(level, uuidFmt.c_str(), htobe64(uuid2[0]), htobe64(uuid2[1]), args...); in LogToBuffer()
/aosp12/system/libbase/
H A Dendian_test.cpp48 ASSERT_EQ(be64, htobe64(le64)); in TEST()
/aosp12/bionic/tests/
H A Dendian_test.cpp66 ASSERT_EQ(be64, htobe64(le64)); in TEST()
/aosp12/system/gatekeeper/
H A Dgatekeeper.cpp252 token.timestamp = htobe64(timestamp); in MintAuthToken()
/aosp12/system/update_engine/payload_generator/
H A Dpayload_file.cc57 uint64_t value_be = htobe64(value); in WriteUint64AsBigEndian()
H A Dpayload_signer.cc157 uint64_t size_be = htobe64(serialized_manifest.size()); in AddSignatureBlobToPayload()
/aosp12/packages/modules/adb/client/
H A Dincremental_server.cpp98 return htobe64(static_cast<unsigned_type>(t)); in toBigEndian()
/aosp12/system/core/trusty/keymaster/4.0/
H A DTrustyKeymaster4Device.cpp116 auth_token->timestamp = htobe64(authToken.timestamp); in injectAuthToken()