/third_party/mesa3d/src/gallium/frontends/clover/api/ |
H A D | memory.cpp | 106 cl_mem_flags d_flags, size_t size, in clCreateBufferWithProperties() 132 clCreateBuffer(cl_context d_ctx, cl_mem_flags d_flags, size_t size, in clCreateBuffer() 213 const size_t row_pitch = desc->image_row_pitch ? desc->image_row_pitch : in clCreateImageWithProperties() 222 const size_t max = dev.max_image_size(); in clCreateImageWithProperties() 236 const size_t max = dev.max_image_buffer_size(); in clCreateImageWithProperties() 250 const size_t max = dev.max_image_size(); in clCreateImageWithProperties() 251 const size_t amax = dev.max_image_array_number(); in clCreateImageWithProperties() 257 const size_t slice_pitch = desc->image_slice_pitch ? in clCreateImageWithProperties() 271 const size_t max = dev.max_image_size(); in clCreateImageWithProperties() 286 const size_t ma in clCreateImageWithProperties() [all...] |
/third_party/node/deps/cares/src/tools/ |
H A D | adig.c | 94 static const size_t nconfigflags = sizeof(configflags) / sizeof(*configflags); 96 static int lookup_flag(const nv_t *nv, size_t num_nv, const char *name) in lookup_flag() 98 size_t i; in lookup_flag() 296 size_t i; in print_question() 302 size_t len; in print_question() 324 static void print_opt_none(const unsigned char *val, size_t val_len) in print_opt_none() 332 static void print_opt_addr_list(const unsigned char *val, size_t val_len) in print_opt_addr_list() 334 size_t i; in print_opt_addr_list() 349 static void print_opt_addr6_list(const unsigned char *val, size_t val_len) in print_opt_addr6_list() 351 size_t in print_opt_addr6_list() [all...] |
/third_party/skia/src/core/ |
H A D | SkString.cpp | 22 static const size_t kBufferSize = 1024; 62 size_t strLen = strlen(string); in SkStrEndsWith() 63 size_t suffixLen = strlen(suffixStr); in SkStrEndsWith() 70 size_t strLen = strlen(string); in SkStrEndsWith() 138 size_t cp_len = buffer + sizeof(buffer) - p; in SkStrAppendU64() 188 static uint32_t trim_size_t_to_u32(size_t value) { in trim_size_t_to_u32() 189 if (sizeof(size_t) > sizeof(uint32_t)) { in trim_size_t_to_u32() 197 static size_t check_add32(size_t base, size_t extr [all...] |
H A D | SkReadBuffer.cpp | 39 void SkReadBuffer::setMemory(const void* data, size_t size) { in setMemory() 55 const void* SkReadBuffer::skip(size_t size) { in skip() 56 size_t inc = SkAlign4(size); in skip() 68 const void* SkReadBuffer::skip(size_t count, size_t size) { in skip() 88 const size_t inc = sizeof(int32_t); in readInt() 98 const size_t inc = sizeof(SkScalar); in readScalar() 123 bool SkReadBuffer::readPad32(void* buffer, size_t bytes) { in readPad32() 133 const char* SkReadBuffer::readString(size_t* len) { in readString() 146 size_t le in readString() [all...] |
/third_party/mesa3d/src/virtio/venus-protocol/ |
H A D | vn_protocol_driver_buffer.h | 16 static inline size_t 23 static inline size_t 26 size_t size = 0; in vn_sizeof_VkExternalMemoryBufferCreateInfo_self() 32 static inline size_t 35 size_t size = 0; in vn_sizeof_VkExternalMemoryBufferCreateInfo() 69 static inline size_t 76 static inline size_t 79 size_t size = 0; in vn_sizeof_VkBufferOpaqueCaptureAddressCreateInfo_self() 85 static inline size_t 88 size_t siz in vn_sizeof_VkBufferOpaqueCaptureAddressCreateInfo() [all...] |
H A D | vn_protocol_driver_command_pool.h | 16 static inline size_t 23 static inline size_t 26 size_t size = 0; in vn_sizeof_VkCommandPoolCreateInfo_self() 33 static inline size_t 36 size_t size = 0; in vn_sizeof_VkCommandPoolCreateInfo() 69 static inline size_t vn_sizeof_vkCreateCommandPool(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) in vn_sizeof_vkCreateCommandPool() 73 size_t cmd_size = vn_sizeof_VkCommandTypeEXT(&cmd_type) + vn_sizeof_VkFlags(&cmd_flags); in vn_sizeof_vkCreateCommandPool() 105 static inline size_t vn_sizeof_vkCreateCommandPool_reply(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) in vn_sizeof_vkCreateCommandPool_reply() 108 size_t cmd_size = vn_sizeof_VkCommandTypeEXT(&cmd_type); in vn_sizeof_vkCreateCommandPool_reply() 142 static inline size_t vn_sizeof_vkDestroyCommandPoo [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_openssl.c | 147 static int openssl_digest_vector(const EVP_MD *type, size_t num_elem, in openssl_digest_vector() 148 const u8 *addr[], const size_t *len, u8 *mac) in openssl_digest_vector() 151 size_t i; in openssl_digest_vector() 188 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() 218 int rc4_skip(const u8 *key, size_t keylen, size_t skip, in rc4_skip() 219 u8 *data, size_t data_len) in rc4_skip() 238 size_t len = skip; in rc4_skip() 259 int md5_vector(size_t num_ele [all...] |
H A D | aes-gcm.c | 103 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() 105 size_t m, i; in ghash() 125 size_t last = x + xlen - xpos; in ghash() 143 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() 145 size_t i, n, last; in aes_gctr() 175 static void * aes_gcm_init_hash_subkey(const u8 *key, size_t key_len, u8 *H) in aes_gcm_init_hash_subkey() 192 static void aes_gcm_prepare_j0(const u8 *iv, size_t iv_len, const u8 *H, u8 *J0) in aes_gcm_prepare_j0() 215 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() 229 static void aes_gcm_ghash(const u8 *H, const u8 *aad, size_t aad_len, in aes_gcm_ghash() 230 const u8 *crypt, size_t crypt_le in aes_gcm_ghash() [all...] |
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | evp.h | 126 size_t count)); 146 const void *data, size_t count); 256 size_t inl)); 281 size_t inl); 411 * EVP_CTRL_SBOX_USED takes a 'size_t' and 'char *', pointing at a 415 /* EVP_CTRL_KEY_MESH takes 'size_t' number of bytes to mesh the key after, 453 size_t len; 560 const void *data, size_t count); 564 const void *data, size_t count)); 630 int EVP_CIPHER_CTX_get_updated_iv(EVP_CIPHER_CTX *ctx, void *buf, size_t le [all...] |
/third_party/openssl/include/openssl/ |
H A D | evp.h | 124 size_t count)); 144 const void *data, size_t count); 254 size_t inl)); 279 size_t inl); 409 * EVP_CTRL_SBOX_USED takes a 'size_t' and 'char *', pointing at a 413 /* EVP_CTRL_KEY_MESH takes 'size_t' number of bytes to mesh the key after, 451 size_t len; 558 const void *data, size_t count); 562 const void *data, size_t count)); 628 int EVP_CIPHER_CTX_get_updated_iv(EVP_CIPHER_CTX *ctx, void *buf, size_t le [all...] |
/third_party/mbedtls/library/ |
H A D | psa_crypto_cipher.c | 129 size_t *key_bits, in mbedtls_cipher_values_from_psa() 261 size_t key_bits, in mbedtls_cipher_info_from_psa() 285 const uint8_t *key_buffer, size_t key_buffer_size, in psa_cipher_setup() 290 size_t key_bits; in psa_cipher_setup() 363 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_cipher_encrypt_setup() 374 const uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_cipher_decrypt_setup() 384 const uint8_t *iv, size_t iv_length) in mbedtls_psa_cipher_set_iv() 422 size_t input_length, in psa_cipher_update_ecb() 424 size_t *output_length) in psa_cipher_update_ecb() 427 size_t block_siz in psa_cipher_update_ecb() [all...] |
H A D | psa_crypto_ecp.c | 40 static int check_ecc_parameters(psa_ecc_family_t family, size_t *bits) in check_ecc_parameters() 91 psa_key_type_t type, size_t curve_bits, in mbedtls_psa_ecp_load_representation() 92 const uint8_t *data, size_t data_length, in mbedtls_psa_ecp_load_representation() 98 size_t curve_bytes = data_length; in mbedtls_psa_ecp_load_representation() 211 const uint8_t *data, size_t data_length, in mbedtls_psa_ecp_import_key() 212 uint8_t *key_buffer, size_t key_buffer_size, in mbedtls_psa_ecp_import_key() 213 size_t *key_buffer_length, size_t *bits) in mbedtls_psa_ecp_import_key() 254 size_t data_size, in mbedtls_psa_ecp_export_key() 255 size_t *data_lengt in mbedtls_psa_ecp_export_key() [all...] |
/third_party/libbpf/src/ |
H A D | libbpf_internal.h | 38 size_t d_size; 154 size_t str_len = strlen(str); in str_has_sfx() 155 size_t sfx_len = strlen(sfx); in str_has_sfx() 225 static inline void *libbpf_reallocarray(void *ptr, size_t nmemb, size_t size) in libbpf_reallocarray() 227 size_t total; in libbpf_reallocarray() 246 static inline void libbpf_strlcpy(char *dst, const char *src, size_t sz) in libbpf_strlcpy() 248 size_t i; in libbpf_strlcpy() 312 void *libbpf_add_mem(void **data, size_t *cap_cnt, size_t elem_s [all...] |
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | crypto.h | 146 size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz); 147 size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz); 148 size_t OPENSSL_strnlen(const char *str, size_t maxlen); 257 void *(*m) (size_t, const char *, int), 258 void *(*r) (void *, size_t, const char *, int), 262 void *(**m) (size_t, const char *, int), 263 void *(**r) (void *, size_t, cons [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | ArrayRef.h | 45 using size_type = size_t; 70 /*implicit*/ ArrayRef(const T *data, size_t length) in ArrayRef() 91 template <size_t N> 96 template <size_t N> 158 size_t size() const { return Length; } in size() 188 ArrayRef<T> slice(size_t N, size_t M) const { in slice() 194 ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); } in slice() 197 ArrayRef<T> drop_front(size_t N = 1) const { in drop_front() 203 ArrayRef<T> drop_back(size_t [all...] |
/third_party/backends/backend/genesys/ |
H A D | image.cpp | 35 Image::Image(std::size_t width, std::size_t height, PixelFormat format) : in Image() 44 std::uint8_t* Image::get_row_ptr(std::size_t y) in get_row_ptr() 49 const std::uint8_t* Image::get_row_ptr(std::size_t y) const in get_row_ptr() 54 Pixel Image::get_pixel(std::size_t x, std::size_t y) const in get_pixel() 59 void Image::set_pixel(std::size_t x, std::size_t y, const Pixel& pixel) in set_pixel() 64 RawPixel Image::get_raw_pixel(std::size_t x, std::size_t [all...] |
/third_party/json/tests/thirdparty/Fuzzer/ |
H A D | FuzzerMerge.cpp | 55 size_t NumFiles = 0; in Parse() 68 for (size_t i = 0; i < NumFiles; i++) in Parse() 73 size_t ExpectedStartMarker = 0; in Parse() 74 const size_t kInvalidStartMarker = -1; in Parse() 75 size_t LastSeenStartMarker = kInvalidStartMarker; in Parse() 79 size_t N; in Parse() 92 size_t CurrentFileIdx = N; in Parse() 116 size_t Merger::Merge(std::vector<std::string> *NewFiles) { in Merge() 122 for (size_t i = 0; i < NumFilesInFirstCorpus; i++) { in Merge() 126 size_t InitialNumFeature in Merge() [all...] |
/third_party/lzma/C/ |
H A D | Alloc.c | 83 static void PrintAligned(const char *s, size_t align)
in PrintAligned() 85 size_t len = strlen(s);
in PrintAligned() 101 static void PrintHex(UInt64 v, size_t align)
in PrintHex() 108 static void PrintDec(int v, size_t align)
in PrintDec() 117 PrintHex((UInt64)(size_t)(ptrdiff_t)p, 12);
in PrintAddr() 168 void *MyAlloc(size_t size)
in MyAlloc() 194 void *MyRealloc(void *address, size_t size)
in MyRealloc() 219 void *MidAlloc(size_t size)
in MidAlloc() 278 void *BigAlloc(size_t size)
in BigAlloc() 290 size_t size in BigAlloc() [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | heap-page.h | 49 size_t AllocatedBytesAtLastGC() const; 82 void IncrementDiscardedMemory(size_t value) { in IncrementDiscardedMemory() 87 size_t discarded_memory() const { return discarded_memory_; } in discarded_memory() 97 size_t discarded_memory_ = 0; 105 size_t lab_size = 0) in IteratorImpl() 121 const size_t size = p_->AllocatedSize(); in operator ++() 140 size_t lab_size_; 177 static size_t PayloadSize(); 183 size_t AllocatedBytesAtLastGC() const { return allocated_bytes_at_last_gc_; } in AllocatedBytesAtLastGC() 185 void SetAllocatedBytesAtLastGC(size_t byte [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | utilities.h | 35 size_t VariableComponentSize(GLenum type); 36 size_t VariableInternalSize(GLenum type); 37 size_t VariableExternalSize(GLenum type); 80 size_t count, 127 unsigned int ParseArrayIndex(const std::string &name, size_t *nameLengthWithoutArrayIndexOut); 151 size_t componentSize, 152 size_t internalSize, 153 size_t externalSize, 167 size_t componentSize; 168 size_t internalSiz [all...] |
/third_party/skia/tests/ |
H A D | FrontBufferedStreamTest.cpp | 21 const void* expectations, size_t bytesToRead) { in test_read() 25 const size_t bytesRead = bufferedStream->read(storage.get(), bytesToRead); in test_read() 57 static void test_incremental_buffering(skiatest::Reporter* reporter, size_t bufferSize) { in test_incremental_buffering() 90 static void test_perfectly_sized_buffer(skiatest::Reporter* reporter, size_t bufferSize) { in test_perfectly_sized_buffer() 110 static void test_skipping(skiatest::Reporter* reporter, size_t bufferSize) { in test_skipping() 138 AndroidLikeMemoryStream(void* data, size_t size, bool ownMemory) in AndroidLikeMemoryStream() 142 size_t read(void* dst, size_t requested) override { 143 size_t bytesRead = this->INHERITED::read(dst, requested); 161 static void test_read_beyond_buffer(skiatest::Reporter* reporter, size_t bufferSiz [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/ |
H A D | MicrosoftDemangle.h | 26 constexpr size_t AllocUnit = 4096; 31 size_t Used = 0; 32 size_t Capacity = 0; 36 void addNode(size_t Capacity) { in addNode() 58 char *allocUnalignedBuffer(size_t Size) { in allocUnalignedBuffer() 72 template <typename T, typename... Args> T *allocArray(size_t Count) { in allocArray() 73 size_t Size = Count * sizeof(T); in allocArray() 76 size_t P = (size_t)Head->Buf + Head->Used; in allocArray() 78 (((size_t) in allocArray() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | raw_ostream.h | 109 void SetBufferSize(size_t Size) { in SetBufferSize() 114 size_t GetBufferSize() const { in GetBufferSize() 132 size_t GetNumBytesInBuffer() const { in GetNumBytesInBuffer() 168 size_t Size = Str.size(); in operator <<() 171 if (Size > (size_t)(OutBufEnd - OutBufCur)) in operator <<() 221 raw_ostream &write(const char *Ptr, size_t Size); 290 virtual void write_impl(const char *Ptr, size_t Size) = 0; 303 void SetBuffer(char *BufferStart, size_t Size) { in SetBuffer() 308 virtual size_t preferred_buffer_size() const; 319 void SetBufferAndMode(char *BufferStart, size_t Siz [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | flat_hash_map_test.cc | 74 explicit Int(size_t value) : value(value) {} in TEST() 79 size_t value; in TEST() 84 size_t operator()(const Int& obj) const { return obj.value; } in TEST() 126 explicit LazyInt(size_t value, int* tracker) in LazyInt() 129 explicit operator size_t() const { in operator size_t() 134 size_t value; 141 size_t operator()(size_t obj) const { in operator ()() 145 size_t operator()(const LazyInt& obj) const { in operator ()() 153 bool operator()(size_t lh [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | aes-gcm.c | 103 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() 105 size_t m, i; in ghash() 125 size_t last = x + xlen - xpos; in ghash() 143 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() 145 size_t i, n, last; in aes_gctr() 175 static void * aes_gcm_init_hash_subkey(const u8 *key, size_t key_len, u8 *H) in aes_gcm_init_hash_subkey() 192 static void aes_gcm_prepare_j0(const u8 *iv, size_t iv_len, const u8 *H, u8 *J0) in aes_gcm_prepare_j0() 215 static void aes_gcm_gctr(void *aes, const u8 *J0, const u8 *in, size_t len, in aes_gcm_gctr() 229 static void aes_gcm_ghash(const u8 *H, const u8 *aad, size_t aad_len, in aes_gcm_ghash() 230 const u8 *crypt, size_t crypt_le in aes_gcm_ghash() [all...] |