Home
last modified time | relevance | path

Searched refs:size_t (Results 976 - 1000 of 46445) sorted by relevance

1...<<31323334353637383940>>...1858

/foundation/communication/ipc/ipc/native/test/fuzztest/mock/dbinderdatabusinvoker_fuzzer/
H A Ddbinderdatabusinvoker_fuzzer.cpp29 bool AcquireHandleTest(const uint8_t* data, size_t size) in AcquireHandleTest()
44 bool ReleaseHandleTest(const uint8_t* data, size_t size) in ReleaseHandleTest()
59 bool QueryClientSessionObjectTest(const uint8_t* data, size_t size) in QueryClientSessionObjectTest()
75 bool QueryServerSessionObjectTest(const uint8_t* data, size_t size) in QueryServerSessionObjectTest()
91 bool OnMessageAvailableTest(const uint8_t* data, size_t size) in OnMessageAvailableTest()
105 bool JoinThreadTest(const uint8_t* data, size_t size) in JoinThreadTest()
117 bool StopWorkThreadTest(const uint8_t* data, size_t size) in StopWorkThreadTest()
128 bool GetCallerPidTest(const uint8_t* data, size_t size) in GetCallerPidTest()
139 bool GetStatusTest(const uint8_t* data, size_t size) in GetStatusTest()
150 bool GetCallerUidTest(const uint8_t* data, size_t siz
[all...]
/third_party/mesa3d/src/gtest/src/
H A Dgtest-printers.cc64 void PrintByteSegmentInObjectTo(const unsigned char* obj_bytes, size_t start, in PrintByteSegmentInObjectTo()
65 size_t count, ostream* os) { in PrintByteSegmentInObjectTo()
67 for (size_t i = 0; i != count; i++) { in PrintByteSegmentInObjectTo()
68 const size_t j = start + i; in PrintByteSegmentInObjectTo()
83 void PrintBytesInObjectToImpl(const unsigned char* obj_bytes, size_t count, in PrintBytesInObjectToImpl()
88 const size_t kThreshold = 132; in PrintBytesInObjectToImpl()
89 const size_t kChunkSize = 64; in PrintBytesInObjectToImpl()
99 const size_t resume_pos = (count - kChunkSize + 1)/2*2; in PrintBytesInObjectToImpl()
114 void PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count, in PrintBytesInObjectTo()
268 const CharType* begin, size_t le in PrintCharsAsStringTo()
[all...]
/third_party/musl/src/internal/
H A Dstdio_impl.h81 size_t (*read)(FILE *, unsigned char *, size_t);
82 size_t (*readx)(FILE *, unsigned char *, size_t);
83 size_t (*write)(FILE *, const unsigned char *, size_t);
86 size_t buf_size;
123 hidden size_t __stdio_read(FILE *, unsigned char *, size_t);
124 hidden size_t __stdio_read
[all...]
/third_party/musl/porting/linux/user/src/internal/
H A Dstdio_impl.h81 size_t (*read)(FILE *, unsigned char *, size_t);
82 size_t (*readx)(FILE *, unsigned char *, size_t);
83 size_t (*write)(FILE *, const unsigned char *, size_t);
86 size_t buf_size;
119 hidden size_t __stdio_read(FILE *, unsigned char *, size_t);
120 hidden size_t __stdio_read
[all...]
/third_party/node/deps/v8/src/heap/
H A Dincremental-marking.h69 static const size_t kYoungGenerationAllocatedThreshold = 64 * KB;
70 static const size_t kOldGenerationAllocatedThreshold = 256 * KB;
71 static const size_t kMinStepSizeInBytes = 64 * KB;
77 static constexpr size_t kV8ActivationThreshold = 8 * MB;
78 static constexpr size_t kEmbedderActivationThreshold = 8 * MB;
80 static constexpr size_t kV8ActivationThreshold = 0;
81 static constexpr size_t kEmbedderActivationThreshold = 0;
144 void UpdateMarkedBytesAfterScavenge(size_t dead_bytes_in_new_space);
208 void EnsureBlackAllocated(Address allocated, size_t size);
226 void Step(int bytes_allocated, Address, size_t) overrid
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_aes_xts.c54 static int aes_xts_check_keys_differ(const unsigned char *key, size_t bytes, in aes_xts_check_keys_differ()
68 static int aes_xts_init(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_init()
69 const unsigned char *iv, size_t ivlen, in aes_xts_init()
97 static int aes_xts_einit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_einit()
98 const unsigned char *iv, size_t ivlen, in aes_xts_einit()
104 static int aes_xts_dinit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_dinit()
105 const unsigned char *iv, size_t ivlen, in aes_xts_dinit()
112 size_t kbits, size_t blkbits, size_t ivbit in aes_xts_newctx()
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkBinaryRegistry.hpp107 const Element& operator[] (size_t ndx);
108 size_t size (void) const { return m_elements.size(); } in size()
116 inline size_t getPageForElement (size_t elemNdx) const { return elemNdx >> ELEMENTS_PER_PAGE_LOG2; } in getPageForElement()
117 inline bool isPageResident (size_t pageNdx) const { return m_isPageResident[pageNdx]; } in isPageResident()
119 void makePageResident (size_t pageNdx);
131 const size_t resSize = m_resource->getSize(); in LazyResource()
132 const size_t numElements = resSize/sizeof(Element); in LazyResource()
133 const size_t numPages = (numElements >> ELEMENTS_PER_PAGE_LOG2) + ((numElements & ((1u<<ELEMENTS_PER_PAGE_LOG2)-1u)) == 0 ? 0 : 1); in LazyResource()
142 const Element& LazyResource<Element>::operator[] (size_t nd
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DFramebufferAttachmentPerfTest.cpp21 constexpr std::size_t kTextureCount = 4;
22 constexpr std::size_t kFboCount = kTextureCount;
23 constexpr std::size_t kAdditionalFboCount = kFboCount * kFboCount;
83 if (mTextures.size() > static_cast<size_t>(maxAttachmentCount)) in initializeBenchmark()
111 size_t fboCount = mFbo.size(); in drawBenchmark()
112 size_t textureCount = mTextures.size(); in drawBenchmark()
114 for (size_t it = 0; it < params.iterationsPerStep; ++it) in drawBenchmark()
117 for (size_t fboIndex = 0; fboIndex < fboCount; fboIndex++) in drawBenchmark()
120 for (size_t textureIndex = 0; textureIndex < textureCount; textureIndex++) in drawBenchmark()
129 for (size_t fboInde in drawBenchmark()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DPoolAlloc.h53 TAllocation(size_t size, unsigned char* mem, TAllocation* prev = 0) : in TAllocation()
76 inline static size_t allocationSize(size_t size) { in allocationSize()
93 size_t size; // size of the user data area
102 const static size_t guardBlockSize;
104 inline static size_t headerSize() { return sizeof(TAllocation); } in headerSize()
106 inline static size_t headerSize() { return 0; } in headerSize()
154 void* allocate(size_t numBytes);
164 size_t alignment; // all returned allocations will be aligned at
166 size_t alignmentMas
[all...]
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_aes_xts.c54 static int aes_xts_check_keys_differ(const unsigned char *key, size_t bytes, in aes_xts_check_keys_differ()
68 static int aes_xts_init(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_init()
69 const unsigned char *iv, size_t ivlen, in aes_xts_init()
97 static int aes_xts_einit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_einit()
98 const unsigned char *iv, size_t ivlen, in aes_xts_einit()
104 static int aes_xts_dinit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_dinit()
105 const unsigned char *iv, size_t ivlen, in aes_xts_dinit()
112 size_t kbits, size_t blkbits, size_t ivbit in aes_xts_newctx()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dfast_uniform_bits.h58 constexpr size_t NumBits() { in NumBits()
67 constexpr UIntType MaskFromShift(size_t n) { in MaskFromShift()
143 static constexpr size_t kResultBits = in Generate()
145 static constexpr size_t kUrbgBits = NumBits<URBG>(); in Generate()
146 static constexpr size_t kIters = in Generate()
148 static constexpr size_t kShift = (kIters == 1) ? 0 : kUrbgBits; in Generate()
152 for (size_t n = 1; n < kIters; ++n) { in Generate()
184 static constexpr size_t kResultBits = in Generate()
187 static constexpr size_t kUrbgBits = NumBits<URBG>(); // m in Generate()
191 static constexpr size_t k in Generate()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Daes-siv.c54 static void pad_block(u8 *pad, const u8 *addr, size_t len) in pad_block()
64 static int aes_s2v(const u8 *key, size_t key_len, in aes_s2v()
65 size_t num_elem, const u8 *addr[], size_t *len, u8 *mac) in aes_s2v()
70 size_t i; in aes_s2v()
72 size_t data_len[1]; in aes_s2v()
119 int aes_siv_encrypt(const u8 *key, size_t key_len, in aes_siv_encrypt()
120 const u8 *pw, size_t pwlen, in aes_siv_encrypt()
121 size_t num_elem, const u8 *addr[], const size_t *le in aes_siv_encrypt()
[all...]
H A Daes_siv.h12 int aes_siv_encrypt(const u8 *key, size_t key_len,
13 const u8 *pw, size_t pwlen,
14 size_t num_elem, const u8 *addr[], const size_t *len,
16 int aes_siv_decrypt(const u8 *key, size_t key_len,
17 const u8 *iv_crypt, size_t iv_c_len,
18 size_t num_elem, const u8 *addr[], const size_t *len,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Daes-siv.c54 static void pad_block(u8 *pad, const u8 *addr, size_t len) in pad_block()
64 static int aes_s2v(const u8 *key, size_t key_len, in aes_s2v()
65 size_t num_elem, const u8 *addr[], size_t *len, u8 *mac) in aes_s2v()
70 size_t i; in aes_s2v()
72 size_t data_len[1]; in aes_s2v()
119 int aes_siv_encrypt(const u8 *key, size_t key_len, in aes_siv_encrypt()
120 const u8 *pw, size_t pwlen, in aes_siv_encrypt()
121 size_t num_elem, const u8 *addr[], const size_t *le in aes_siv_encrypt()
[all...]
/kernel/linux/linux-5.10/include/linux/sunrpc/
H A Dxdr.h67 xdr_buf_init(struct xdr_buf *buf, void *start, size_t len) in xdr_buf_init()
131 size_t xdr_buf_pagecount(struct xdr_buf *buf);
183 extern void xdr_shift_buf(struct xdr_buf *, size_t);
206 extern void _copy_from_pages(char *p, struct page **pages, size_t pgbase,
207 size_t len);
235 extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes);
237 size_t nbytes);
239 extern void xdr_truncate_encode(struct xdr_stream *xdr, size_t len);
249 extern void xdr_set_scratch_buffer(struct xdr_stream *xdr, void *buf, size_t buflen);
250 extern __be32 *xdr_inline_decode(struct xdr_stream *xdr, size_t nbyte
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/
H A Dsja1105_static_config.h434 size_t (*packing)(void *buf, void *entry_ptr, enum packing_op op);
435 size_t unpacked_entry_size;
436 size_t packed_entry_size;
437 size_t max_entry_count;
442 size_t entry_count;
459 size_t sja1105_table_header_packing(void *buf, void *hdr, enum packing_op op);
462 size_t
493 int sja1105_table_resize(struct sja1105_table *table, size_t new_count);
495 u32 sja1105_crc32(const void *buf, size_t len);
497 void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t le
[all...]
/third_party/lz4/examples/
H A DframeCompress.c32 static void safe_fwrite(void* buf, size_t eltSize, size_t nbElt, FILE* f) in safe_fwrite()
34 size_t const writtenSize = fwrite(buf, eltSize, nbElt, f); in safe_fwrite()
35 size_t const expectedSize = eltSize * nbElt; in safe_fwrite()
60 void* inBuff, size_t inChunkSize, in compress_file_internal()
61 void* outBuff, size_t outCapacity, in compress_file_internal()
73 { size_t const headerSize = LZ4F_compressBegin(ctx, outBuff, outCapacity, &kPrefs); in compress_file_internal()
86 size_t compressedSize; in compress_file_internal()
99 size_t const readSize = fread(inBuff, 1, inSize, f_unc); in compress_file_internal()
110 size_t cons in compress_file_internal()
[all...]
/third_party/pulseaudio/src/modules/bluetooth/
H A Da2dp-codec-aptx-gst.c455 static size_t get_block_size(void *codec_info, size_t link_mtu) { in get_block_size()
457 size_t frame_count = (link_mtu / 4); in get_block_size()
462 static size_t get_encoded_block_size(void *codec_info, size_t input_size) { in get_encoded_block_size()
469 static size_t get_block_size_hd(void *codec_info, size_t link_mtu) { in get_block_size_hd()
471 size_t rtp_size = sizeof(struct rtp_header); in get_block_size_hd()
472 size_t frame_count = (link_mtu - rtp_size) / 6; in get_block_size_hd()
477 static size_t get_encoded_block_size_h
[all...]
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_cross_containers.hpp54 template <typename T, size_t N>
98 T &operator[](size_t i) SPIRV_CROSS_NOEXCEPT
103 const T &operator[](size_t i) const SPIRV_CROSS_NOEXCEPT
113 size_t size() const SPIRV_CROSS_NOEXCEPT
196 size_t buffer_size = 0;
203 template <typename T, size_t N = 8>
215 auto count = size_t(arg_list_end - arg_list_begin); in SmallVector()
217 for (size_t i = 0; i < count; i++, arg_list_begin++) in SmallVector()
250 for (size_t i = 0; i < other.buffer_size; i++)
273 for (size_t
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DStringRef.cpp20 const size_t StringRef::npos;
41 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) { in ascii_strncasecmp()
42 for (size_t I = 0; I < Length; ++I) { in ascii_strncasecmp()
72 size_t StringRef::find_lower(char C, size_t From) const { in find_lower()
79 for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) {
84 size_t J;
147 size_t StringRef::find(StringRef Str, size_t From) const {
152 size_t Siz
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DStringRef.cpp22 const size_t StringRef::npos;
27 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) { in ascii_strncasecmp()
28 for (size_t I = 0; I < Length; ++I) { in ascii_strncasecmp()
58 size_t StringRef::find_lower(char C, size_t From) const { in find_lower()
65 for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) {
70 size_t J;
133 size_t StringRef::find(StringRef Str, size_t From) const {
138 size_t Siz
[all...]
/third_party/opencl-headers/src/
H A Dopencl_wrapper.cpp271 cl_int clGetPlatformInfo(cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, in clGetPlatformInfo()
272 void *param_value, size_t *param_value_size_ret) in clGetPlatformInfo()
291 cl_int clGetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, in clGetDeviceInfo()
292 size_t *param_value_size_ret) in clGetDeviceInfo()
302 void(CL_CALLBACK *pfn_notify)(const char *, const void *, size_t, void *), void *user_data, in clCreateContext()
313 void(CL_CALLBACK *pfn_notify)(const char *, const void *, size_t, void *), in clCreateContextFromType()
341 cl_int clGetContextInfo(cl_context context, cl_context_info param_name, size_t param_value_size, void *param_value, in clGetContextInfo()
342 size_t *param_value_size_ret) in clGetContextInfo()
351 cl_program clCreateProgramWithSource(cl_context context, cl_uint count, const char **strings, const size_t *lengths, in clCreateProgramWithSource()
362 const size_t *length in clCreateProgramWithBinary()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Ddma-mapping.h104 size_t offset, size_t size, enum dma_data_direction dir,
106 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size,
114 size_t size, enum dma_data_direction dir, unsigned long attrs);
115 void dma_unmap_resource(struct device *dev, dma_addr_t addr, size_t size,
117 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, size_t size,
120 size_t size, enum dma_data_direction dir);
125 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle,
127 void dma_free_attrs(struct device *dev, size_t size, void *cpu_addr,
129 void *dmam_alloc_attrs(struct device *dev, size_t siz
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
H A Deap_eke_common.c183 static int eap_eke_prf(u8 prf, const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf()
184 size_t data_len, const u8 *data2, size_t data2_len, in eap_eke_prf()
188 size_t len[2]; in eap_eke_prf()
189 size_t num_elem = 1; in eap_eke_prf()
208 static int eap_eke_prf_hmac_sha1(const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf_hmac_sha1()
209 size_t data_len, u8 *res, size_t len) in eap_eke_prf_hmac_sha1()
214 size_t vlen[3]; in eap_eke_prf_hmac_sha1()
249 static int eap_eke_prf_hmac_sha256(const u8 *key, size_t key_le
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
H A Deap_eke_common.c183 static int eap_eke_prf(u8 prf, const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf()
184 size_t data_len, const u8 *data2, size_t data2_len, in eap_eke_prf()
188 size_t len[2]; in eap_eke_prf()
189 size_t num_elem = 1; in eap_eke_prf()
208 static int eap_eke_prf_hmac_sha1(const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf_hmac_sha1()
209 size_t data_len, u8 *res, size_t len) in eap_eke_prf_hmac_sha1()
214 size_t vlen[3]; in eap_eke_prf_hmac_sha1()
249 static int eap_eke_prf_hmac_sha256(const u8 *key, size_t key_le
[all...]

Completed in 18 milliseconds

1...<<31323334353637383940>>...1858