Home
last modified time | relevance | path

Searched refs:kDefaultAlignment (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/lib/core/
Darena.h58 static const int kDefaultAlignment = 4; variable
60 static constexpr int kDefaultAlignment = 8; variable
Darena.cc51 assert(block_size > kDefaultAlignment); in Arena()
98 CHECK(SatisfyAlignment(kDefaultAlignment)); in Reset()
158 (alignment > 1 ? LeastCommonMultiple(alignment, kDefaultAlignment) : 1); in AllocNewBlock()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mman.h20 const uptr kDefaultAlignment = 16; variable
31 uptr align = kDefaultAlignment, bool signal = true);
Dtsan_fd.cc51 FdSync *s = (FdSync*)user_alloc(thr, pc, sizeof(FdSync), kDefaultAlignment, in allocsync()
82 void *p = user_alloc(thr, pc, size, kDefaultAlignment, false); in fddesc()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_mman.h19 const uptr kDefaultAlignment = 16; variable
30 uptr align = kDefaultAlignment, bool signal = true);
Dtsan_fd.cpp51 kDefaultAlignment, false); in allocsync()
81 void *p = user_alloc_internal(thr, pc, size, kDefaultAlignment, false); in fddesc()
Dtsan_mman.cpp197 return SetErrnoOnNull(user_alloc_internal(thr, pc, sz, kDefaultAlignment)); in user_alloc()
/external/libtextclassifier/native/utils/base/
Darena.cc110 const int BaseArena::kDefaultAlignment; member in libtextclassifier3::BaseArena
129 TC3_CHECK_GT(block_size_, kDefaultAlignment) in BaseArena()
223 TC3_CHECK(SatisfyAlignment(kDefaultAlignment)); in Reset()
298 : (alignment > 1 ? LeastCommonMultiple(alignment, kDefaultAlignment) : 1); in AllocNewBlock()
Darena_test.cc211 ::testing::Values(BaseArena::kDefaultAlignment + 1, 10,
225 char* buffer = new char[blksize + BaseArena::kDefaultAlignment]; in TEST_P()
Darena.h108 static constexpr int kDefaultAlignment = 8; variable
/external/angle/src/common/
DPoolAlloc.h126 static const int kDefaultAlignment = 16;
131 PoolAllocator(int growthIncrement = 8 * 1024, int allocationAlignment = kDefaultAlignment);
/external/llvm-project/compiler-rt/lib/asan/
Dasan_errors.cpp85 static const char *kDefaultAlignment = "default-aligned"; in Print() local
89 user_alignment > 0 ? user_alignment_str : kDefaultAlignment, in Print()
90 delete_alignment > 0 ? delete_alignment_str : kDefaultAlignment); in Print()