Home
last modified time | relevance | path

Searched refs:size_to_fill (Results 1 – 2 of 2) sorted by relevance

/external/pigweed/pw_kvs/
Dkey_value_store_initialized_test.cc92 void FillKvs(const char* key, size_t size_to_fill) { in FillKvs() argument
98 ASSERT_GE(size_to_fill, kvs_attr.MinPutSize() + kvs_attr.EraseSize()); in FillKvs()
101 size_to_fill -= kvs_attr.EraseSize(); in FillKvs()
105 std::max(kvs_attr.MinPutSize(), size_to_fill % buffer.size()); in FillKvs()
107 while (size_to_fill > 0) { in FillKvs()
115 size_to_fill -= chunk_len; in FillKvs()
116 chunk_len = std::min(size_to_fill, kMaxPutSize); in FillKvs()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.cpp647 uptr size_to_fill = m->UsedSize() - kChunkHeader2Size; in QuarantineChunk() local
648 size_to_fill = Min(size_to_fill, (uptr)fl.max_free_fill_size); in QuarantineChunk()
649 REAL(memset)((void *)scribble_start, fl.free_fill_byte, size_to_fill); in QuarantineChunk()