/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_mutexset.cpp | 26 for (uptr i = 0; i < size_; i++) { in AddAddr() 34 if (size_ == kMaxSize) { in AddAddr() 36 for (uptr i = 0; i < size_; i++) { in AddAddr() 41 CHECK_EQ(size_, kMaxSize - 1); in AddAddr() 44 descs_[size_].addr = addr; in AddAddr() 45 descs_[size_].stack_id = stack_id; 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() [all …]
|
H A D | tsan_ignoreset.cpp | 19 : 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 D | tsan_ilist.h | 66 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 D | tsan_ignoreset.h | 24 void Reset() { size_ = 0; } in Reset() 25 uptr Size() const { return size_; } in Size() 30 uptr size_; variable
|
H A D | tsan_mutexset.h | 50 uptr size_ = 0; variable
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_list.h | 33 size_ = 0; in clear() 36 bool empty() const { return size_ == 0; } in empty() 37 uptr size() const { return size_; } in size() 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() [all …]
|
H A D | sanitizer_common.h | 190 uptr size() const { return size_; } in size() 194 uptr size_; variable 518 size_ = 0; in Initialize() 524 CHECK_LT(i, size_); 528 CHECK_LT(i, size_); 532 if (UNLIKELY(size_ >= capacity())) { in push_back() 533 CHECK_EQ(size_, capacity()); in push_back() 534 uptr new_capacity = RoundUpToPowerOfTwo(size_ + 1); in push_back() 537 internal_memcpy(&data_[size_++], &element, sizeof(T)); in push_back() 540 CHECK_GT(size_, 0); in back() [all …]
|
H A D | sanitizer_quarantine.h | 203 : 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 D | sanitizer_posix_libcdep.cpp | 361 size_ = size; in Init() 380 CHECK_LE(size, size_); in Unmap() 383 base_ = (size == size_) ? nullptr : reinterpret_cast<void*>(addr + size); in Unmap() 385 CHECK_EQ(addr + size, reinterpret_cast<uptr>(base_) + size_); in Unmap() 386 size_ -= size; in Unmap()
|
H A D | sanitizer_fuchsia.cpp | 243 size_ = init_size; in Init() 262 DCHECK_GE(base + size_, map_size + offset); in DoMmapFixedOrDie() 312 CHECK_LE(size, size_); in Unmap() 315 if (size == size_) { in Unmap() 324 CHECK_EQ(addr + size, reinterpret_cast<uptr>(base_) + size_); in Unmap()
|
H A D | sanitizer_syscalls_netbsd.inc | 530 (void *samples_, long long size_, long long offset_, long long scale_) { 532 PRE_WRITE(samples_, size_); 536 (long long res, void *samples_, long long size_, long long offset_, 540 POST_WRITE(samples_, size_); 749 (long long op_, void *where_, void *size_, long long arg_) { 753 (long long res, long long op_, void *where_, void *size_, long long arg_) { 1757 PRE_SYSCALL(shmget)(long long key_, long long size_, long long shmflg_) { 1761 (long long res, long long key_, long long size_, long long shmflg_) { 2440 (long long pid_, long long lid_, long long size_, void *cpuset_) { 2442 PRE_READ(cpuset_, size_); [all …]
|
H A D | sanitizer_win.cpp | 299 CHECK((addr == reinterpret_cast<uptr>(base_)) && (size == size_)); in Unmap() 302 size_ = 0; in Unmap() 325 size_ = size; in Init()
|
/freebsd/contrib/googletest/googletest/samples/ |
H A D | sample3-inl.h | 75 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/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_errors.h | 159 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()
|
/freebsd/contrib/kyua/utils/sqlite/ |
H A D | statement.hpp | 69 blob(const void* memory_, const int size_) : in blob() argument 70 memory(memory_), size(size_) in blob()
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-printers-test.cc | 1981 string_ptr(const char* data, size_t size) : data_(data), size_(size) {} in string_ptr() 1984 data_ += size_; in operator ++() 1992 size_t size_; member in testing::gtest_printers_test::TEST::__anon43be3eea0811::string_ptr 2000 string_ref(const char* data, size_t size) : data_(data), size_(size) {} in string_ref() 2002 string_ptr operator&() const noexcept { return {data_, size_}; } // NOLINT in operator &() 2005 if (size_ > 0 && data_[size_ - 1] != 0) { in operator ==() 2006 return std::string(data_, size_) == std::string(s); in operator ==() 2014 size_t size_; member in testing::gtest_printers_test::TEST::__anon43be3eea0811::string_ref 2017 string_ref string_ptr::operator*() const noexcept { return {data_, size_}; } in operator *()
|
/freebsd/contrib/googletest/googletest/include/gtest/internal/ |
H A D | gtest-internal.h | 1099 (this->*rhs.clone_)(rhs.array_, rhs.size_); 1107 size_t size() const { return size_; } 1109 const_iterator end() const { return array_ + size_; } 1124 size_ = a_size; 1131 size_ = a_size; 1136 size_t size_;
|
/freebsd/crypto/openssl/crypto/bio/ |
H A D | bss_bio.c | 109 static int bio_read(BIO *bio, char *buf, int size_) in bio_read() argument 111 size_t size = size_; in bio_read()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 2070 .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/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_custom.cpp | 2168 Formatter(char *str_, const char *fmt_, size_t size_) in Formatter() 2171 size(size_), in Formatter() 2435 Scanner(char *str_, const char *fmt_, size_t size_) in Scanner() 2438 size(size_), in Scanner()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | arm_mve_defs.td | 255 class PrimitiveType<string kind_, int size_>: Type { 257 int size = size_;
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | span | 123 size_type size_; // exposition only
|
H A D | string_view | 179 size_type size_; // exposition only
|