Home
last modified time | relevance | path

Searched refs:align_bytes (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/coreboot/util/amdfwtool/
H A Dsigned_psp.c302 ssize_t bytes, align_bytes; in process_signed_psp_firmwares() local
399 align_bytes = 0; in process_signed_psp_firmwares()
401 align_bytes = BLOB_ALIGNMENT - in process_signed_psp_firmwares()
403 bytes = write_from_buf_to_file(signed_rom_fd, align_data, align_bytes); in process_signed_psp_firmwares()
404 if (bytes != align_bytes) { in process_signed_psp_firmwares()
422 signed_start_addr += fd_stat.st_size + align_bytes; in process_signed_psp_firmwares()
/aosp_15_r20/external/pytorch/test/distributed/
H A Dtest_symmetric_memory.py444 self, dtype: torch.dtype, size_bytes: int, align_bytes: int
458 self.assertTrue(align_bytes % t.element_size() == 0)
461 shift = align_bytes // t.element_size()
479 self, dtype: torch.dtype, size_bytes: int, align_bytes: int
493 self.assertTrue(align_bytes % t.element_size() == 0)
496 shift = align_bytes // t.element_size()
/aosp_15_r20/external/mbedtls/library/
H A Dsha3.c213 int align_bytes = 8 - (ctx->index % 8); in mbedtls_sha3_update() local
214 if (align_bytes) { in mbedtls_sha3_update()
215 for (; align_bytes > 0; align_bytes--) { in mbedtls_sha3_update()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dsha3.c308 int align_bytes = 8 - (ctx->index % 8); in mbedtls_sha3_update() local
309 if (align_bytes) { in mbedtls_sha3_update()
310 for (; align_bytes > 0; align_bytes--) { in mbedtls_sha3_update()
/aosp_15_r20/system/unwinding/libunwindstack/
H A DMemory.cpp127 size_t align_bytes = addr & (sizeof(long) - 1); in PtraceRead() local
128 if (align_bytes != 0) { in PtraceRead()
132 size_t copy_bytes = std::min(sizeof(long) - align_bytes, bytes); in PtraceRead()
133 memcpy(dst, reinterpret_cast<uint8_t*>(&data) + align_bytes, copy_bytes); in PtraceRead()
/aosp_15_r20/external/mesa3d/src/intel/compiler/elk/
H A Delk_fs_combine_constants.cpp1083 unsigned bytes, unsigned align_bytes, in allocate_slots() argument
1087 assert(align_bytes == 2 || align_bytes == 4 || align_bytes == 8); in allocate_slots()
1090 const unsigned align_words = align_bytes / 2; in allocate_slots()
/aosp_15_r20/external/mesa3d/src/intel/compiler/
H A Dbrw_fs_combine_constants.cpp1155 unsigned bytes, unsigned align_bytes, in allocate_slots() argument
1159 assert(align_bytes == 2 || align_bytes == 4 || align_bytes == 8); in allocate_slots()
1162 const unsigned align_words = align_bytes / 2; in allocate_slots()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/cuda/
H A DReduce.cuh507 … constexpr int align_bytes = alignof(at::native::memory::aligned_vector<scalar_t, input_vec_size>); in input_vectorized_thread_reduce_impl() local
508 constexpr int align_elements = align_bytes / sizeof(scalar_t); in input_vectorized_thread_reduce_impl()
509 int shift = ((uint64_t)data) % align_bytes / sizeof(scalar_t); in input_vectorized_thread_reduce_impl()