Home
last modified time | relevance | path

Searched refs:size_ (Results 1 – 24 of 24) sorted by relevance

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutexset.cpp34 if (size_ == kMaxSize) { in AddAddr()
44 descs_[size_].addr = addr; in AddAddr()
46 descs_[size_].write = write; in AddAddr()
47 descs_[size_].seq = seq_++; in AddAddr()
48 descs_[size_].count = 1; in AddAddr()
49 size_++; in AddAddr()
63 CHECK_LT(i, size_); in RemovePos()
64 descs_[i] = descs_[size_ - 1]; in RemovePos()
65 size_--; in RemovePos()
69 return size_; in Size()
[all …]
H A Dtsan_ignoreset.cpp19 : size_() { in IgnoreSet()
23 if (size_ == kMaxSize) in Add()
25 for (uptr i = 0; i < size_; i++) { in Add()
29 stacks_[size_++] = stack_id; in Add()
33 CHECK_LT(i, size_); in At()
34 CHECK_LE(size_, kMaxSize); in At()
H A Dtsan_ilist.h66 uptr size_ = 0; variable
101 size_++; in Push()
111 DCHECK(size_); in Remove()
115 size_--; in Remove()
136 return size_ ? ToElem(node_.next_) : nullptr; in Front()
141 return size_ ? ToElem(node_.prev_) : nullptr; in Back()
160 return size_; in Size()
165 return size_ == 0; in Empty()
H A Dtsan_ignoreset.h24 void Reset() { size_ = 0; } in Reset()
25 uptr Size() const { return size_; } in Size()
30 uptr size_; variable
H A Dtsan_mutexset.h50 uptr size_ = 0; variable
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_list.h33 size_ = 0; in clear()
43 size_ = 1; in push_back()
48 size_++; in push_back()
56 size_ = 1; in push_front()
60 size_++; in push_front()
69 size_--; in pop_front()
80 size_--; in extract()
97 size_ += l->size(); in append_front()
111 size_ += l->size(); in append_back()
117 if (size_ == 0) { in CheckConsistency()
[all …]
H A Dsanitizer_common.h195 uptr size_; variable
519 size_ = 0; in Initialize()
525 CHECK_LT(i, size_);
529 CHECK_LT(i, size_);
541 CHECK_GT(size_, 0); in back()
546 size_--; in pop_back()
549 return size_; in size()
566 internal_memset(&data_[size_], 0, sizeof(T) * (new_size - size_)); in resize()
568 size_ = new_size; in resize()
590 Swap(size_, other.size_); in swap()
[all …]
H A Dsanitizer_quarantine.h203 : size_() { in QuarantineCache()
209 return atomic_load_relaxed(&size_); in Size()
233 atomic_store_relaxed(&from_cache->size_, 0); in Transfer()
301 atomic_uintptr_t size_; variable
304 atomic_store_relaxed(&size_, Size() + add); in SizeAdd()
307 atomic_store_relaxed(&size_, Size() - sub); in SizeSub()
H A Dsanitizer_posix_libcdep.cpp340 size_ = size; in Init()
359 CHECK_LE(size, size_); in Unmap()
362 base_ = (size == size_) ? nullptr : reinterpret_cast<void*>(addr + size); in Unmap()
364 CHECK_EQ(addr + size, reinterpret_cast<uptr>(base_) + size_); in Unmap()
365 size_ -= size; in Unmap()
H A Dsanitizer_fuchsia.cpp243 size_ = init_size; in Init()
262 DCHECK_GE(base + size_, map_size + offset); in DoMmapFixedOrDie()
314 CHECK_LE(size, size_); in Unmap()
317 if (size == size_) { in Unmap()
326 CHECK_EQ(addr + size, reinterpret_cast<uptr>(base_) + size_); in Unmap()
H A Dsanitizer_syscalls_netbsd.inc532 PRE_WRITE(samples_, size_);
540 POST_WRITE(samples_, size_);
749 (long long op_, void *where_, void *size_, long long arg_) {
2442 PRE_READ(cpuset_, size_);
2446 (long long res, long long pid_, long long lid_, long long size_,
2449 PRE_READ(cpuset_, size_);
2762 (void *path_, void *name_, void *value_, long long size_) {
2776 (long long fd_, void *name_, void *value_, long long size_) {
2790 (long long res, void *path_, void *list_, long long size_) {
2803 (long long res, void *path_, void *list_, long long size_) {
[all …]
H A Dsanitizer_win.cpp302 CHECK((addr == reinterpret_cast<uptr>(base_)) && (size == size_)); in Unmap()
305 size_ = 0; in Unmap()
328 size_ = size; in Init()
/freebsd-14.2/contrib/googletest/googletest/samples/
H A Dsample3-inl.h75 Queue() : head_(nullptr), last_(nullptr), size_(0) {} in Queue()
82 if (size_ > 0) { in Clear()
95 size_ = 0; in Clear()
100 size_t Size() const { return size_; } in Size()
117 if (size_ == 0) { in Enqueue()
119 size_ = 1; in Enqueue()
123 size_++; in Enqueue()
130 if (size_ == 0) { in Dequeue()
136 size_--; in Dequeue()
137 if (size_ == 0) { in Dequeue()
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_errors.h159 uptr size_) in ErrorCallocOverflow()
163 size(size_) {} in ErrorCallocOverflow()
174 uptr size_) in ErrorReallocArrayOverflow()
178 size(size_) {} in ErrorReallocArrayOverflow()
187 ErrorPvallocOverflow(u32 tid, BufferedStackTrace *stack_, uptr size_) in ErrorPvallocOverflow()
190 size(size_) {} in ErrorPvallocOverflow()
214 uptr size_, uptr alignment_) in ErrorInvalidAlignedAllocAlignment()
217 size(size_), in ErrorInvalidAlignedAllocAlignment()
307 uptr addr, uptr size_) in ErrorStringFunctionSizeOverflow()
311 size(size_) {} in ErrorStringFunctionSizeOverflow()
H A Dasan_allocator.h106 uptr size() { return size_; } in size()
109 size_ = 0; in clear()
112 uptr size_;
/freebsd-14.2/contrib/kyua/utils/sqlite/
H A Dstatement.hpp69 blob(const void* memory_, const int size_) : in blob() argument
70 memory(memory_), size(size_) in blob()
/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgoogletest-printers-test.cc1965 string_ptr(const char* data, size_t size) : data_(data), size_(size) {} in string_ptr()
1968 data_ += size_; in operator ++()
1976 size_t size_; member in testing::gtest_printers_test::TEST::__anonf7858aa00811::string_ptr
1984 string_ref(const char* data, size_t size) : data_(data), size_(size) {} in string_ref()
1986 string_ptr operator&() const noexcept { return {data_, size_}; } // NOLINT in operator &()
1989 if (size_ > 0 && data_[size_ - 1] != 0) { in operator ==()
1990 return std::string(data_, size_) == std::string(s); in operator ==()
1998 size_t size_; member in testing::gtest_printers_test::TEST::__anonf7858aa00811::string_ref
2001 string_ref string_ptr::operator*() const noexcept { return {data_, size_}; } in operator *()
/freebsd-14.2/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h1105 (this->*rhs.clone_)(rhs.array_, rhs.size_);
1113 size_t size() const { return size_; }
1115 const_iterator end() const { return array_ + size_; }
1130 size_ = a_size;
1137 size_ = a_size;
1142 size_t size_;
/freebsd-14.2/crypto/openssl/crypto/bio/
H A Dbss_bio.c109 static int bio_read(BIO *bio, char *buf, int size_) in bio_read() argument
111 size_t size = size_; in bio_read()
/freebsd-14.2/sys/ofed/include/rdma/
H A Dib_verbs.h2070 .size_##ib_struct = \
2078 ((struct ib_type *)kzalloc(ib_dev->ops.size_##ib_type, gfp))
2083 #define DECLARE_RDMA_OBJ_SIZE(ib_struct) size_t size_##ib_struct
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_mve_defs.td255 class PrimitiveType<string kind_, int size_>: Type {
257 int size = size_;
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dspan109 size_type size_; // exposition only
H A Dstring_view179 size_type size_; // exposition only
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp2158 Formatter(char *str_, const char *fmt_, size_t size_) in Formatter()
2161 size(size_), in Formatter()