/fuchsia/zircon/system/ulib/fbl/include/fbl/ |
H A D | array.h | 15 constexpr Array() : ptr_(nullptr), count_(0U) {} 18 Array(T* array, size_t count) : ptr_(array), count_(count) {} 20 Array(Array&& other) : ptr_(nullptr), count_(other.count_) { 25 return count_; 33 auto count = o.count_; 44 count_ = 0; 55 count_ = count; 63 size_t c = count_; 64 count_ [all...] |
H A D | intrusive_hash_table.h | 146 ++count_; 178 ++count_; 209 count_++; 238 --count_; 262 count_ = 0; 277 count_ = 0; 280 size_t size() const { return count_; } 281 bool is_empty() const { return count_ == 0; } 299 --count_; 493 --count_; 533 size_t count_ = 0UL; variable [all...] |
H A D | intrusive_wavl_tree.h | 415 count_ = 0; 429 count_ = 0; 437 pod_swap(count_, other.count_); 445 size_t size() const { return count_; }; 695 ++count_; 770 ++count_; 881 ZX_DEBUG_ASSERT(count_ == 1); 910 --count_; 1775 size_t count_ member in class:fbl::WAVLTree [all...] |
/fuchsia/zircon/kernel/lib/fbl/include/fbl/ |
H A D | inline_array.h | 32 : count_(count), 33 ptr_(!count_ ? nullptr 34 : is_inline() ? reinterpret_cast<T*>(inline_storage_) : new (ac) T[count_]) { 39 for (size_t i = 0; i < count_; i++) 46 for (size_t i = 0; i < count_; i++) 57 return count_; 63 ZX_DEBUG_ASSERT(i < count_); 68 bool is_inline() const { return count_ <= max_inline_count; } 70 const size_t count_;
|
H A D | arena.h | 53 return count_; 127 size_t count_; member in class:fbl::Arena
|
/fuchsia/zircon/kernel/object/ |
H A D | semaphore.cpp | 14 Semaphore::Semaphore(int64_t initial_count) : count_(initial_count) { 24 if (unlikely(++count_ <= 0)) 38 bool block = --count_ < 0; 44 count_++;
|
/fuchsia/zircon/kernel/object/include/object/ |
H A D | semaphore.h | 27 int64_t count_; member in class:Semaphore
|
/fuchsia/zircon/system/dev/tee/optee/ |
H A D | optee-message.h | 104 : params_(nullptr), count_(0U) {} 107 : params_(params), count_(count) {} 109 size_t size() const { return count_; } 113 ZX_DEBUG_ASSERT(i < count_); 121 return ¶ms_[count_]; 126 size_t count_;
|
/fuchsia/zircon/system/host/fidl/compiler/ |
H A D | main.cpp | 148 : count_(count), arguments_(const_cast<const char**>(arguments)) {} 151 if (count_ < 1) { 155 --count_; 160 bool Remaining() const override { return count_ > 0; } 163 if (count_ == 0) { 170 int count_; member in class:__anon556::ArgvArguments
|
/fuchsia/zircon/system/dev/bus/virtio/ |
H A D | console.cpp | 52 count_ = count; 56 TransferDescriptor* descriptor = new TransferDescriptor[count_]; 62 descriptor_.reset(descriptor, count_); 72 for (size_t i = 0; i < count_; ++i) { 86 if (index > count_)
|
H A D | console.h | 38 size_t count_ = 0; member in class:virtio::TransferBuffer
|
/fuchsia/zircon/kernel/vm/ |
H A D | vm_mapping.cpp | 402 if (count_ >= fbl::count_of(phys_) || vaddr != base_ + count_ * PAGE_SIZE) { 409 phys_[count_] = paddr; 410 ++count_; 430 size_t count_; member in class:__anon124::VmMappingCoalescer 435 : mapping_(mapping), base_(base), count_(0), aborted_(false) {} 439 DEBUG_ASSERT(count_ == 0 || aborted_); 443 if (count_ == 0) { 450 zx_status_t ret = mapping_->aspace()->arch_aspace().Map(base_, phys_, count_, flags, 453 TRACEF("error %d mapping %zu pages starting at va %#" PRIxPTR "\n", ret, count_, base [all...] |
/fuchsia/zircon/kernel/lib/fbl/ |
H A D | arena.cpp | 132 count_ = 0u; 252 ++count_; 262 --count_;
|
/fuchsia/zircon/system/dev/nand/nandpart/test/ |
H A D | aml-bad-block-test.cpp | 51 TableNode(NandPage id, bool valid = true, uint16_t generation = count_++) argument 55 uint16_t generation = count_++) 64 static void ResetCount() { count_ = 0; } 67 static uint16_t count_; member in class:nand::__anon446::TableNode 70 uint16_t TableNode::count_ = 0; member in class:nand::__anon446::TableNode 54 TableNode(NandPage id, fbl::Vector<uint32_t> bad_blocks, bool valid = true, uint16_t generation = count_++) argument
|
/fuchsia/zircon/kernel/syscalls/ |
H A D | object.cpp | 50 size_t get_count() const { return count_; } 69 if (count_ < max_) { 71 if (ptr_.copy_array_to_user(&koid, 1, count_) != ZX_OK) { 74 count_++; 83 size_t count_ = 0; member in class:__anon107::final
|
/fuchsia/zircon/system/ulib/minfs/ |
H A D | minfs-private.h | 499 : op_(op), array_(array), count_(count), bnos_(bnos), dirty_(false) {} 516 blk_t GetCount() const { return count_; } 522 const blk_t count_; // number of direct blocks to operate on 543 return (bindex_ + count_ + kMinfsDirectPerIndirect - 1) / kMinfsDirectPerIndirect; 568 return (ibindex_ + count_ + kMinfsDirectPerDindirect - 1) / kMinfsDirectPerDindirect;
|
H A D | vnode.cpp | 2121 fbl::min(count_ - found, kMinfsDirectPerIndirect - direct_start), // count 2142 fbl::min(count_ - found, kMinfsDirectPerDindirect - direct_start), // count
|
/fuchsia/zircon/system/utest/async-loop/ |
H A D | loop_tests.cpp | 887 uint32_t count() const { return fbl::atomic_load(&count_, fbl::memory_order_acquire); } 908 if (1u + fbl::atomic_fetch_add(&count_, 1u, fbl::memory_order_acq_rel) == end_) 914 fbl::atomic_uint32_t count_{};
|