/third_party/json/tests/thirdparty/Fuzzer/ |
H A D | FuzzerTraceState.cpp | 46 void TraceMemcmpCallback(size_t CmpSize, const uint8_t *Data1, 49 void TraceSwitchCallback(uintptr_t PC, size_t ValSizeInBits, uint64_t Val, 50 size_t NumCases, uint64_t *Cases); 52 size_t DataSize); 54 const uint8_t *DesiredData, size_t DataSize); 70 for (size_t i = 0; i < NumMutations; i++) { in StopTraceRecording() 76 typedef std::pair<size_t, Word> CU; in StopTraceRecording() 108 void AddInterestingWord(const uint8_t *Data, size_t Size) { in AddInterestingWord() 128 const size_t FirstN = 64; in WantToHandleOneMoreMutation() 131 size_t Dif in WantToHandleOneMoreMutation() [all...] |
/third_party/node/deps/v8/include/ |
H A D | v8-platform.h | 264 virtual size_t GetMaxConcurrency(size_t worker_count) const = 0; 370 virtual size_t AllocatePageSize() = 0; 376 virtual size_t CommitPageSize() = 0; 412 virtual void* AllocatePages(void* address, size_t length, size_t alignment, 418 virtual bool FreePages(void* address, size_t length) = 0; 423 virtual bool ReleasePages(void* address, size_t length, 424 size_t new_length) = 0; 429 virtual bool SetPermissions(void* address, size_t lengt [all...] |
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform.h | 215 size_t size); 244 virtual size_t size() const = 0; 248 static MemoryMappedFile* create(const char* name, size_t size, 259 static void StrNCpy(char* dest, int length, const char* src, size_t n); 312 Address boundary_start, Address boundary_end, size_t minimum_size, 313 size_t alignment); 335 V8_WARN_UNUSED_RESULT static bool RemapPages(const void* address, size_t size, 349 static size_t AllocatePageSize(); 351 static size_t CommitPageSize(); 357 V8_WARN_UNUSED_RESULT static void* Allocate(void* address, size_t siz [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | new-spaces.h | 57 void SetUp(size_t initial_capacity, size_t maximum_capacity); 66 bool GrowTo(size_t new_capacity); 71 void ShrinkTo(size_t new_capacity); 116 size_t current_capacity() const { return current_capacity_; } in current_capacity() 119 size_t target_capacity() const { return target_capacity_; } in target_capacity() 122 size_t maximum_capacity() const { return maximum_capacity_; } in maximum_capacity() 125 size_t minimum_capacity() const { return minimum_capacity_; } in minimum_capacity() 130 size_t CommittedPhysicalMemory() const override; 135 size_t Siz [all...] |
H A D | paged-spaces.h | 86 static const size_t kCompactionMemoryWanted = 500 * KB; 108 size_t Capacity() const { return accounting_stats_.Capacity(); } in Capacity() 111 size_t CommittedPhysicalMemory() const override; 117 void IncrementCommittedPhysicalMemory(size_t increment_value); 118 void DecrementCommittedPhysicalMemory(size_t decrement_value); 134 size_t Available() const override; 140 size_t Size() const override { return accounting_stats_.Size(); } 144 virtual size_t Waste() const { return free_list_->wasted_bytes(); } in Waste() 148 V8_WARN_UNUSED_RESULT base::Optional<std::pair<Address, size_t>> 149 RawRefillLabBackground(LocalHeap* local_heap, size_t min_size_in_byte [all...] |
H A D | allocation-stats.h | 52 size_t Capacity() const { return capacity_; } in Capacity() 53 size_t MaxCapacity() const { return max_capacity_; } in MaxCapacity() 54 size_t Size() const { return size_; } in Size() 56 size_t AllocatedOnPage(const BasicMemoryChunk* page) const { in AllocatedOnPage() 61 void IncreaseAllocatedBytes(size_t bytes, const BasicMemoryChunk* page) { in IncreaseAllocatedBytes() 63 size_t size = size_; in IncreaseAllocatedBytes() 72 void DecreaseAllocatedBytes(size_t bytes, const BasicMemoryChunk* page) { in DecreaseAllocatedBytes() 81 void DecreaseCapacity(size_t bytes) { in DecreaseCapacity() 87 void IncreaseCapacity(size_t bytes) { in IncreaseCapacity() 100 std::atomic<size_t> capacity [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | FixedVector.h | 21 template <class T, size_t N, class Storage = std::array<T, N>> 95 template <class T, size_t N, class Storage> 101 template <class T, size_t N, class Storage> 107 template <class T, size_t N, class Storage> 110 template <class T, size_t N, class Storage> 117 template <class T, size_t N, class Storage> 123 template <class T, size_t N, class Storage> 126 template <class T, size_t N, class Storage> 129 template <class T, size_t N, class Storage> 136 template <class T, size_t [all...] |
/third_party/skia/src/gpu/ |
H A D | GrBufferAllocPool.cpp | 35 sk_sp<GrCpuBuffer> GrBufferAllocPool::CpuBufferCache::makeBuffer(size_t size, in makeBuffer() 131 size_t flushSize = block.fBuffer->size() - block.fBytesFree; in unmap() 153 size_t bytesInUse = 0; in validate() 163 size_t bytes = fBlocks[i].fBuffer->size() - fBlocks[i].fBytesFree; in validate() 181 static inline size_t align_up_pad(size_t x, size_t alignment) { in align_up_pad() 185 static inline size_t align_down(size_t x, uint32_t alignment) { in align_down() 189 void* GrBufferAllocPool::makeSpace(size_t siz [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/ |
H A D | test_cast_main.cpp | 97 void testValue(FromType Val, size_t &TotalTests, size_t &Passes, in testValue() 98 size_t &Failures, const char *FromTypeString) { in testValue() 124 void testVector(size_t &TotalTests, size_t &Passes, size_t &Failures, in testVector() 126 const static size_t NumElementsInType = Vectors<FromType>::NumElements; in testVector() 133 static const size_t NumValues = sizeof(Values) / sizeof(*Values); in testVector() 134 const size_t MaxTestsPerFunc = 20000; in testVector() 135 for (size_t in testVector() [all...] |
/kernel/linux/linux-5.10/include/media/ |
H A D | dvb_ringbuffer.h | 62 size_t len); 151 u8 __user *buf, size_t len); 165 u8 *buf, size_t len); 193 size_t len); 208 const u8 __user *buf, size_t len); 220 size_t len); 240 size_t idx, 242 size_t len); 257 extern ssize_t dvb_ringbuffer_pkt_read(struct dvb_ringbuffer *rbuf, size_t idx, 258 int offset, u8 *buf, size_t le [all...] |
/kernel/linux/linux-6.6/include/media/ |
H A D | dvb_ringbuffer.h | 62 size_t len); 151 u8 __user *buf, size_t len); 165 u8 *buf, size_t len); 193 size_t len); 208 const u8 __user *buf, size_t len); 220 size_t len); 240 size_t idx, 242 size_t len); 257 extern ssize_t dvb_ringbuffer_pkt_read(struct dvb_ringbuffer *rbuf, size_t idx, 258 int offset, u8 *buf, size_t le [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | string_64.h | 18 extern void *memcpy(void *to, const void *from, size_t len); 19 extern void *__memcpy(void *to, const void *from, size_t len); 22 void *memset(void *s, int c, size_t n); 23 void *__memset(void *s, int c, size_t n); 31 static inline void *memset16(uint16_t *s, uint16_t v, size_t n) in memset16() 43 static inline void *memset32(uint32_t *s, uint32_t v, size_t n) in memset32() 55 static inline void *memset64(uint64_t *s, uint64_t v, size_t n) in memset64() 68 void *memmove(void *dest, const void *src, size_t count); 69 void *__memmove(void *dest, const void *src, size_t count); 71 int memcmp(const void *cs, const void *ct, size_t coun [all...] |
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-lwsac.h | 104 lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size); 126 lwsac_use_backfill(struct lwsac **head, size_t ensure, size_t chunk_size); 144 lwsac_use_zero(struct lwsac **head, size_t ensure, size_t chunk_size); 232 lwsac_extend(struct lwsac *head, size_t amount); 247 size_t *len); 252 LWS_VISIBLE LWS_EXTERN size_t 255 LWS_VISIBLE LWS_EXTERN size_t [all...] |
/third_party/mesa3d/src/imagination/rogue/ |
H A D | rogue_encoders.c | 42 bool rogue_encoder_pass(uint64_t *value, size_t inputs, ...) in rogue_encoder_pass() 65 bool rogue_encoder_drc(uint64_t *value, size_t inputs, ...) 78 bool rogue_encoder_imm(uint64_t *value, size_t inputs, ...) 92 bool rogue_encoder_ls_1_16(uint64_t *value, size_t inputs, ...) in rogue_encoder_ls_1_16() 126 size_t bank_bits, in rogue_encoder_reg() 127 size_t bank, in rogue_encoder_reg() 128 size_t num_bits, in rogue_encoder_reg() 129 size_t num) in rogue_encoder_reg() 146 size_t inputs, \ 150 size_t ban [all...] |
/third_party/nghttp2/src/ |
H A D | buffer.h | 36 template <size_t N> struct Buffer { 39 size_t rleft() const { return last - pos; } in rleft() 41 size_t wleft() const { return std::end(buf) - last; } in wleft() 44 size_t write(const void *src, size_t count) { in write() 50 size_t write(size_t count) { in write() 56 size_t drain(size_t count) { in drain() 61 size_t drain_rese in drain() [all...] |
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_mem.h | 39 void *nghttp3_mem_malloc(const nghttp3_mem *mem, size_t size); 41 void *nghttp3_mem_calloc(const nghttp3_mem *mem, size_t nmemb, size_t size); 42 void *nghttp3_mem_realloc(const nghttp3_mem *mem, void *ptr, size_t size); 44 void *nghttp3_mem_malloc_debug(const nghttp3_mem *mem, size_t size, 45 const char *func, const char *file, size_t line); 51 const char *file, size_t line); 57 const char *func, const char *file, size_t line); 63 void *nghttp3_mem_calloc_debug(const nghttp3_mem *mem, size_t nmemb, 64 size_t siz [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | internal-index.h | 22 explicit constexpr InternalIndex(size_t raw) : entry_(raw) {} in InternalIndex() 25 V8_WARN_UNUSED_RESULT InternalIndex adjust_down(size_t subtract) const { in adjust_down() 29 V8_WARN_UNUSED_RESULT InternalIndex adjust_up(size_t add) const { in adjust_up() 30 DCHECK_LT(entry_, std::numeric_limits<size_t>::max() - add); in adjust_up() 37 size_t raw_value() const { return entry_; } in raw_value() 67 explicit Range(size_t max) : min_(0), max_(max) {} in Range() 68 Range(size_t min, size_t max) : min_(min), max_(max) {} in Range() 74 size_t min_; 75 size_t max [all...] |
/third_party/skia/tests/ |
H A D | FakeStreams.h | 27 size_t peek(void* buf, size_t bytes) const override { 30 size_t read(void* buf, size_t bytes) override { 48 HaltingStream(sk_sp<SkData> data, size_t initialLimit) in HaltingStream() 54 void addNewData(size_t extra) { in addNewData() 58 size_t read(void* buffer, size_t size) override { 71 size_t getLength() const override { return fLimit; } 74 size_t getPositio [all...] |
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | HashUtils.h | 28 size_t Hash(const T& value) { in Hash() 34 size_t Hash(const TypedInteger<Tag, T>& value) { in Hash() 43 // size_t hash = Hash(mask): 47 void HashCombine(size_t* hash, const T& value) { in HashCombine() 49 const size_t offset = 0x9e3779b97f4a7c16; in HashCombine() 51 const size_t offset = 0x9e3779b9; in HashCombine() 59 void HashCombine(size_t* hash, const T& value, const Args&... args) { in HashCombine() 76 template <size_t N> 77 size_t Hash(const std::bitset<N>& value) { in Hash() 78 constexpr size_t kWindowSiz in Hash() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | resize_uninitialized_test.cc | 26 size_t size() const { return 0; } in size() 27 size_t capacity() const { return 0; } in capacity() 28 char& operator[](size_t) { in operator []() 32 void resize(size_t) { resize_call_count += 1; } in resize() 33 void reserve(size_t) {} in reserve() 41 size_t size() const { return 0; } in size() 42 size_t capacity() const { return 0; } in capacity() 43 char& operator[](size_t) { in operator []() 47 void resize(size_t) { resize_call_count += 1; } in resize() 48 void __resize_default_init(size_t) { resize_default_init_call_coun in resize() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_internal-rsa.c | 22 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) in crypto_public_key_import() 30 crypto_public_key_import_parts(const u8 *n, size_t n_len, in crypto_public_key_import_parts() 31 const u8 *e, size_t e_len) in crypto_public_key_import_parts() 39 size_t len, in crypto_private_key_import() 65 size_t len) in crypto_public_key_from_cert() 73 const u8 *in, size_t inlen, in crypto_public_key_encrypt_pkcs1_v15() 74 u8 *out, size_t *outlen) in crypto_public_key_encrypt_pkcs1_v15() 82 const u8 *in, size_t inlen, in crypto_private_key_decrypt_pkcs1_v15() 83 u8 *out, size_t *outlen) in crypto_private_key_decrypt_pkcs1_v15() 91 const u8 *in, size_t inle in crypto_private_key_sign_pkcs1() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | tlsv1_client_i.h | 24 size_t session_id_len; 47 size_t num_cipher_suites; 52 size_t client_hello_ext_len; 56 size_t dh_p_len; 59 size_t dh_g_len; 62 size_t dh_ys_len; 83 const u8 *pre_master_secret, size_t pre_master_secret_len); 84 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len); 86 u8 description, size_t *out_len); 87 u8 * tlsv1_client_handshake_write(struct tlsv1_client *conn, size_t *out_le [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | crypto_internal-rsa.c | 22 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) in crypto_public_key_import() 30 crypto_public_key_import_parts(const u8 *n, size_t n_len, in crypto_public_key_import_parts() 31 const u8 *e, size_t e_len) in crypto_public_key_import_parts() 39 size_t len, in crypto_private_key_import() 65 size_t len) in crypto_public_key_from_cert() 73 const u8 *in, size_t inlen, in crypto_public_key_encrypt_pkcs1_v15() 74 u8 *out, size_t *outlen) in crypto_public_key_encrypt_pkcs1_v15() 82 const u8 *in, size_t inlen, in crypto_private_key_decrypt_pkcs1_v15() 83 u8 *out, size_t *outlen) in crypto_private_key_decrypt_pkcs1_v15() 91 const u8 *in, size_t inle in crypto_private_key_sign_pkcs1() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | tlsv1_client_i.h | 24 size_t session_id_len; 47 size_t num_cipher_suites; 52 size_t client_hello_ext_len; 56 size_t dh_p_len; 59 size_t dh_g_len; 62 size_t dh_ys_len; 85 const u8 *pre_master_secret, size_t pre_master_secret_len); 86 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len); 88 u8 description, size_t *out_len); 89 u8 * tlsv1_client_handshake_write(struct tlsv1_client *conn, size_t *out_le [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | iov_iter.c | 19 size_t left; \ 20 size_t wanted = n; \ 47 size_t wanted = n; \ 83 size_t skip = i->iov_offset; \ 105 size_t skip = i->iov_offset; \ 142 static int copyout(void __user *to, const void *from, size_t n) in copyout() 153 static int copyin(void *to, const void __user *from, size_t n) in copyin() 164 static size_t copy_page_to_iter_iovec(struct page *page, size_t offset, size_t byte [all...] |