/third_party/skia/src/core/ |
H A D | SkOpts_erms.cpp | 17 static inline void repsto(uint16_t* dst, uint16_t v, size_t n) { in repsto() 21 static inline void repsto(uint32_t* dst, uint32_t v, size_t n) { in repsto() 26 static inline void repsto(uint64_t* dst, uint64_t v, size_t n) { in repsto() 31 static inline void repsto(uint16_t* dst, uint16_t v, size_t n) { in repsto() 35 static inline void repsto(uint32_t* dst, uint32_t v, size_t n) { in repsto() 39 static inline void repsto(uint64_t* dst, uint64_t v, size_t n) { in repsto() 50 static void (*g_rect_memset16_prev)(uint16_t*, uint16_t, int, size_t, int); 51 static void (*g_rect_memset32_prev)(uint32_t*, uint32_t, int, size_t, int); 52 static void (*g_rect_memset64_prev)(uint64_t*, uint64_t, int, size_t, int); 55 static bool small(size_t byte [all...] |
H A D | SkFontStream.cpp | 40 static bool read(SkStream* stream, void* buffer, size_t amount) { in read() 44 static bool skip(SkStream* stream, size_t amount) { in skip() 55 static int count_tables(SkStream* stream, int ttcIndex, size_t* offsetToDir) { in count_tables() 66 size_t offset = 0; in count_tables() 78 size_t amount = sizeof(SkSharedTTHeader) + ttcIndex * sizeof(uint32_t); in count_tables() 117 size_t offsetToDir; in init() 128 size_t size = fCount * sizeof(SkSFNTDirEntry); in init() 171 size_t SkFontStream::GetTableData(SkStream* stream, int ttcIndex, in GetTableData() 173 size_t offset, size_t lengt in GetTableData() [all...] |
/third_party/skia/tests/ |
H A D | DescriptorTest.cpp | 17 static void SetLength(SkDescriptor* desc, size_t length) { desc->fLength = length; } in SetLength() 22 const size_t size = sizeof(SkDescriptor); in DEF_TEST() 30 const size_t size = in DEF_TEST() 44 const size_t extra_space = 100; in DEF_TEST() 45 const size_t size = in DEF_TEST() 59 const size_t effectSize = 16; in DEF_TEST() 60 const size_t testSize = 32; in DEF_TEST() 61 const size_t size = sizeof(SkDescriptor) + 3 * sizeof(SkDescriptor::Entry) + in DEF_TEST() 77 const size_t size = in DEF_TEST() 88 const size_t siz in DEF_TEST() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | FormatAdapters.h | 30 size_t Amount; 34 AlignAdapter(T &&Item, AlignStyle Where, size_t Amount, char Fill) in AlignAdapter() 45 size_t Left; 46 size_t Right; 49 PadAdapter(T &&Item, size_t Left, size_t Right) in PadAdapter() 61 size_t Count; 64 RepeatAdapter(T &&Item, size_t Count) in RepeatAdapter() 69 for (size_t I = 0; I < Count; ++I) { in format() 85 detail::AlignAdapter<T> fmt_align(T &&Item, AlignStyle Where, size_t Amoun [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | wpabuf.h | 21 size_t size; /* total size of the allocated buffer */ 22 size_t used; /* length of data in the buffer */ 29 int wpabuf_resize(struct wpabuf **buf, size_t add_len); 30 struct wpabuf * wpabuf_alloc(size_t len); 31 struct wpabuf * wpabuf_alloc_ext_data(u8 *data, size_t len); 32 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len); 36 void * wpabuf_put(struct wpabuf *buf, size_t len); 38 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len); 48 static inline size_t wpabuf_size(const struct wpabuf *buf) in wpabuf_size() 58 static inline size_t wpabuf_le [all...] |
/third_party/mesa3d/src/virtio/venus-protocol/ |
H A D | vn_protocol_driver_render_pass.h | 16 static inline size_t 19 size_t size = 0; in vn_sizeof_VkAttachmentDescription() 48 static inline size_t 51 size_t size = 0; in vn_sizeof_VkAttachmentReference() 66 static inline size_t 69 size_t size = 0; in vn_sizeof_VkSubpassDescription() 149 static inline size_t 152 size_t size = 0; in vn_sizeof_VkSubpassDependency() 177 static inline size_t 184 static inline size_t [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | crypto_wolfssl.c | 34 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() 37 size_t i; in md4_vector() 53 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() 56 size_t i; in md5_vector() 74 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() 77 size_t i; in sha1_vector() 94 int sha256_vector(size_t num_ele [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/fuzztest/rsrenderserviceconnectionstub_fuzzer/ |
H A D | rsrenderserviceconnectionstub_fuzzer.cpp | 36 constexpr size_t MAX_SIZE = 4; 41 size_t g_size = 0; 42 size_t g_pos; 53 size_t objectSize = sizeof(object); in GetData() 65 bool DoOnRemoteRequest(const uint8_t* data, size_t size) in DoOnRemoteRequest() 93 fdp.ConsumeBytes<uint8_t>(fdp.ConsumeIntegralInRange<size_t>(0, fdp.remaining_bytes())); in DoOnRemoteRequest() 100 bool DoSetScreenGamutMap(const uint8_t* data, size_t size) in DoSetScreenGamutMap() 127 fdp.ConsumeBytes<uint8_t>(fdp.ConsumeIntegralInRange<size_t>(0, fdp.remaining_bytes())); in DoSetScreenGamutMap() 134 bool DoGetScreenGamutMap(const uint8_t* data, size_t size) in DoGetScreenGamutMap() 161 fdp.ConsumeBytes<uint8_t>(fdp.ConsumeIntegralInRange<size_t>( in DoGetScreenGamutMap() [all...] |
/foundation/multimedia/av_session/services/session/server/test/fuzztest/avsessionservice_fuzzer/ |
H A D | avsessionservice_fuzzer.cpp | 122 void GetDeviceInfoTest(const uint8_t* data, size_t size) in GetDeviceInfoTest() 137 void AvSessionServiceExternalCallTest(const uint8_t* data, size_t size) in AvSessionServiceExternalCallTest() 153 void AvSessionServiceCloseTest(const uint8_t* data, size_t size) in AvSessionServiceCloseTest() 167 void AvSessionServiceSystemAbilityTest(const uint8_t* data, size_t size, in AvSessionServiceSystemAbilityTest() 189 void AvSessionServiceGetAVQueueInfosTest(const uint8_t* data, size_t size, in AvSessionServiceGetAVQueueInfosTest() 198 void AvSessionServiceGetDescriptorsTest(const uint8_t* data, size_t size, in AvSessionServiceGetDescriptorsTest() 211 void GetSessionDescriptorsBySessionId001(const uint8_t* data, size_t size, in GetSessionDescriptorsBySessionId001() 221 void AvSessionServiceAVPlaybackTest(const uint8_t* data, size_t size, in AvSessionServiceAVPlaybackTest() 230 void DoMetadataImgCleanTest(const uint8_t* data, size_t size, in DoMetadataImgCleanTest() 238 void CreateNewControllerForSessionTest(const uint8_t* data, size_t siz [all...] |
/foundation/distributedhardware/device_manager/services/service/src/softbus/ |
H A D | mine_softbus_listener.cpp | 160 size_t outLen = 0; in RefreshSoftbusLNN() 241 size_t *outLen) in ParseSearchJson() 273 size_t *outLen) in ParseSearchAllDevice() 288 size_t *outLen) in ParseSearchScopeDevice() 300 size_t optionInfoVecSize = optionInfoVec.size(); in ParseSearchScopeDevice() 319 size_t *outLen) in ParseSearchVertexDevice() 331 size_t optionInfoVecSize = optionInfoVec.size(); in ParseSearchVertexDevice() 368 size_t startPos = 0; in AddHeadToBroadcast() 372 for (size_t i = 0; i < DM_HASH_DATA_LEN; i++) { in AddHeadToBroadcast() 383 char *output, size_t *outLe in ParseScopeDeviceJsonArray() [all...] |
/third_party/libcoap/src/ |
H A D | coap_pdu.c | 42 coap_pdu_clear(coap_pdu_t *pdu, size_t size) { in coap_pdu_clear() 98 size_t size) { in coap_pdu_init() 181 size_t token_length, in coap_pdu_duplicate() 208 size_t length = old_pdu->used_size - old_pdu->e_token_length - in coap_pdu_duplicate() 245 coap_pdu_resize(coap_pdu_t *pdu, size_t new_size) { in coap_pdu_resize() 249 size_t offset; in coap_pdu_resize() 287 coap_pdu_check_resize(coap_pdu_t *pdu, size_t size) { in coap_pdu_check_resize() 289 size_t new_size = max(256, pdu->alloc_size * 2); in coap_pdu_check_resize() 304 coap_add_token(coap_pdu_t *pdu, size_t len, const uint8_t *data) { in coap_add_token() 305 size_t bia in coap_add_token() [all...] |
/third_party/mbedtls/library/ |
H A D | ssl_tls13_keys.c | 100 size_t desired_length, in ssl_tls13_hkdf_encode_label() 101 const unsigned char *label, size_t label_len, in ssl_tls13_hkdf_encode_label() 102 const unsigned char *ctx, size_t ctx_len, in ssl_tls13_hkdf_encode_label() 103 unsigned char *dst, size_t *dst_len) in ssl_tls13_hkdf_encode_label() 105 size_t total_label_len = in ssl_tls13_hkdf_encode_label() 107 size_t total_hkdf_lbl_len = in ssl_tls13_hkdf_encode_label() 142 const unsigned char *secret, size_t secret_len, in mbedtls_ssl_tls13_hkdf_expand_label() 143 const unsigned char *label, size_t label_len, in mbedtls_ssl_tls13_hkdf_expand_label() 144 const unsigned char *ctx, size_t ctx_len, in mbedtls_ssl_tls13_hkdf_expand_label() 145 unsigned char *buf, size_t buf_le in mbedtls_ssl_tls13_hkdf_expand_label() [all...] |
/foundation/ai/ai_engine/services/client/algorithm_sdk/asr/keyword_spotting/include/ |
H A D | pcm_iterator.h | 27 int32_t Init(size_t stepSize, size_t windowSize);
37 size_t stepSize_;
38 size_t windowSize_;
39 size_t numCopy_;
40 size_t numRealCopy_;
41 size_t nextCachePos_;
|
/foundation/ai/ai_engine/services/common/platform/queuepool/ |
H A D | queue.h | 30 explicit Queue(size_t maxQueueSize); 70 size_t Count() const; 81 std::atomic<size_t> pushPos_; 86 std::atomic<size_t> popPos_; 91 size_t totalNum_; 96 std::atomic<size_t> writeAbleCount_; 101 std::atomic<size_t> readAbleCount_;
|
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/ |
H A D | tensor.h | 27 Tensor(size_t backendID); 32 virtual OH_NN_ReturnCode CreateData(size_t size) = 0; 33 virtual OH_NN_ReturnCode CreateData(int fd, size_t size, size_t offset) = 0; 38 virtual size_t GetSize() const = 0; 39 virtual size_t GetOffset() const = 0; 40 virtual size_t GetBackendID() const = 0;
|
/foundation/multimedia/av_session/services/session/server/test/fuzztest/avsessionitem_fuzzer/ |
H A D | avsessionitem_fuzzer.h | 25 void AvSessionItemOnRemoteRequest(uint8_t* data, size_t size); 26 void AvSessionItemTest(uint8_t* data, size_t size); 27 void AvSessionItemTestImpl(sptr<AVSessionItem> avSessionItem, const uint8_t* data, size_t size); 28 void AvSessionCallItemTest(sptr<AVSessionItem> avSessionItem, const uint8_t* data, size_t size); 29 void AvSessionItemTestImplExtension(sptr<AVSessionItem> avSessionItem, const uint8_t* data, size_t size); 30 void AvSessionCallItemTestExtension(sptr<AVSessionItem> avSessionItem, const uint8_t* data, size_t size); 36 void AvSessionItemFuzzerTest(uint8_t* data, size_t size);
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | sharded_mutex.c | 6 struct sharded_mutex *sharded_mutex__new(size_t num_shards) in sharded_mutex__new() 9 size_t size; in sharded_mutex__new() 12 for (bits = 0; ((size_t)1 << bits) < num_shards; bits++) in sharded_mutex__new() 21 for (size_t i = 0; i < ((size_t)1 << bits); i++) in sharded_mutex__new() 29 for (size_t i = 0; i < ((size_t)1 << sm->cap_bits); i++) in sharded_mutex__delete()
|
/third_party/ffmpeg/libavutil/ |
H A D | spherical.h | 191 AVSphericalMapping *av_spherical_alloc(size_t *size); 206 size_t width, size_t height, 207 size_t *left, size_t *top, 208 size_t *right, size_t *bottom);
|
/third_party/mbedtls/include/mbedtls/ |
H A D | memory_buffer_alloc.h | 68 void mbedtls_memory_buffer_alloc_init(unsigned char *buf, size_t len); 100 void mbedtls_memory_buffer_alloc_count_get(size_t *alloc_count, size_t *free_count); 110 void mbedtls_memory_buffer_alloc_max_get(size_t *max_used, size_t *max_blocks); 125 void mbedtls_memory_buffer_alloc_cur_get(size_t *cur_used, size_t *cur_blocks);
|
/third_party/mbedtls/programs/fuzz/ |
H A D | common.h | 11 size_t Size; 12 size_t Offset; 20 int dummy_send(void *ctx, const unsigned char *buf, size_t len); 21 int fuzz_recv(void *ctx, unsigned char *buf, size_t len); 22 int dummy_random(void *p_rng, unsigned char *output, size_t output_len); 23 int dummy_entropy(void *data, unsigned char *output, size_t len); 24 int fuzz_recv_timeout(void *ctx, unsigned char *buf, size_t len,
|
/third_party/nghttp2/src/ |
H A D | shrpx_rate_limit.h | 42 RateLimit(struct ev_loop *loop, ev_io *w, size_t rate, size_t burst, 45 size_t avail() const; 46 void drain(size_t n); 60 size_t rate_; 61 size_t burst_; 62 size_t avail_;
|
/third_party/node/deps/brotli/c/enc/ |
H A D | block_splitter.h | 23 size_t num_types; /* Amount of distinct types */ 24 size_t num_blocks; /* Amount of values in types and length */ 28 size_t types_alloc_size; 29 size_t lengths_alloc_size; 38 const size_t num_commands, 40 const size_t offset, 41 const size_t mask,
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares__iface_ips.h | 74 size_t ares__iface_ips_cnt(const ares__iface_ips_t *ips); 82 const char *ares__iface_ips_get_name(const ares__iface_ips_t *ips, size_t idx); 91 size_t idx); 100 size_t idx); 109 size_t idx); 118 size_t idx); 137 size_t name_len);
|
/third_party/node/deps/v8/src/heap/ |
H A D | index-generator.h | 23 explicit IndexGenerator(size_t size); 27 base::Optional<size_t> GetNext(); 28 void GiveBack(size_t index); 34 std::stack<size_t> pending_indices_; 36 std::queue<std::pair<size_t, size_t>> ranges_to_split_; 37 const size_t size_;
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_swtnl_private.h | 58 size_t vbuf_size; 59 size_t ibuf_size; 62 size_t vbuf_alloc_size; 63 size_t ibuf_alloc_size; 66 size_t vbuf_offset; 67 size_t ibuf_offset; 70 size_t vbuf_used;
|