/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver.h | 347 size_t ie_len; 348 size_t beacon_ie_len; 360 size_t num; 392 size_t ssid_len; 409 size_t num_ssids; 419 size_t extra_ies_len; 444 size_t ssid_len; 450 size_t num_filter_ssids; 637 size_t ssid_len; 640 size_t ie_le [all...] |
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/download/ |
H A D | network_typs.h | 24 using RxBody = size_t(*)(void* buffer, size_t size, size_t nitems, void* userParam); 25 using RxHeader = size_t(*)(void* buffer, size_t size, size_t nitems, void* userParam);
|
/third_party/jerryscript/jerry-core/ext/ |
H A D | ext-utils.c | 19 void* JerryExtAlloc(size_t size) in JerryExtAlloc() 24 char* JerryExtAllocStr(size_t size) in JerryExtAllocStr() 29 size_t* JerryExtAllocStorageData(size_t size) in JerryExtAllocStorageData() 31 return (size_t*)calloc(size, sizeof(size_t)); in JerryExtAllocStorageData()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Buffer11.cpp | 31 GLuint ReadIndexValueFromIndices(const uint8_t *data, size_t index) in ReadIndexValueFromIndices() 35 typedef GLuint (*ReadIndexValueFunction)(const uint8_t *data, size_t index); 115 size_t getSize() const { return mBufferSize; } in getSize() 124 size_t sourceOffset, 125 size_t size, 126 size_t destOffset, 128 virtual angle::Result resize(const gl::Context *context, size_t size, bool preserveData) = 0; 131 size_t offset, 132 size_t length, 139 size_t offse [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/font_fuzzer/ |
H A D | font_fuzzer.cpp | 25 constexpr size_t EFING_SIZE = 3; 26 constexpr size_t HINTING_SIZE = 4; 27 constexpr size_t MAX_SIZE = 5000; 28 constexpr size_t TEXTENCODING_SIZE = 4; 32 bool FontFuzzTest001(const uint8_t* data, size_t size) in FontFuzzTest001() 50 bool FontFuzzTest002(const uint8_t* data, size_t size) in FontFuzzTest002() 96 bool FontFuzzTest003(const uint8_t* data, size_t size) in FontFuzzTest003() 116 bool FontFuzzTest004(const uint8_t* data, size_t size) in FontFuzzTest004() 129 for (size_t i = 0; i < count; i++) { in FontFuzzTest004() 133 for (size_t in FontFuzzTest004() [all...] |
/foundation/communication/netmanager_base/test/fuzztest/netstatsclient_fuzzer/ |
H A D | net_stats_client_fuzzer.cpp | 35 size_t g_baseFuzzSize = 0; 36 size_t g_baseFuzzPos; 37 constexpr size_t STR_LEN = 10; 43 size_t netStatsSize = sizeof(object); in NetStatsGetData() 112 void CheckParamVaild(MessageParcel &dataParcel, const uint8_t *data, size_t size) in CheckParamVaild() 128 void RegisterNetStatsCallbackFuzzTest(const uint8_t *data, size_t size) in RegisterNetStatsCallbackFuzzTest() 148 void UnregisterNetStatsCallbackFuzzTest(const uint8_t *data, size_t size) in UnregisterNetStatsCallbackFuzzTest() 168 __attribute__((no_sanitize("cfi"))) void GetIfaceRxBytesFuzzTest(const uint8_t *data, size_t size) in GetIfaceRxBytesFuzzTest() 178 void GetIfaceTxBytesFuzzTest(const uint8_t *data, size_t size) in GetIfaceTxBytesFuzzTest() 188 void GetUidRxBytesFuzzTest(const uint8_t *data, size_t siz [all...] |
/foundation/deviceprofile/device_info_manager/services/core/test/fuzztest/profileutils_fuzzer/ |
H A D | profileutils_fuzzer.cpp | 41 void GetProfileTypeFuzzTest(const uint8_t* data, size_t size) in GetProfileTypeFuzzTest() 50 void StartsWithFuzzTest(const uint8_t* data, size_t size) in StartsWithFuzzTest() 60 void GetDeviceIdByDBKeyFuzzTest(const uint8_t* data, size_t size) in GetDeviceIdByDBKeyFuzzTest() 69 void GetCharKeyByDBKeyFuzzTest(const uint8_t* data, size_t size) in GetCharKeyByDBKeyFuzzTest() 78 void SplitStringFuzzTest(const uint8_t* data, size_t size) in SplitStringFuzzTest() 91 void IsKeyValidFuzzTest(const uint8_t* data, size_t size) in IsKeyValidFuzzTest() 100 void GenerateDeviceProfileKeyFuzzTest(const uint8_t* data, size_t size) in GenerateDeviceProfileKeyFuzzTest() 109 void GenerateServiceProfileKeyFuzzTest(const uint8_t* data, size_t size) in GenerateServiceProfileKeyFuzzTest() 119 void GenerateCharProfileKeyFuzzTest(const uint8_t* data, size_t size) in GenerateCharProfileKeyFuzzTest() 130 void TrustDeviceProfileToEntriesFuzzTest(const uint8_t* data, size_t siz [all...] |
/third_party/libbpf/src/ |
H A D | bpf.h | 38 int libbpf_set_memlock_rlim(size_t memlock_bytes); 41 size_t sz; /* size of this struct for forward/backward compatibility */ 65 size_t sz; /* size of this struct for forward/backward compatibility */ 105 size_t :0; member 111 const struct bpf_insn *insns, size_t insn_cnt, 121 size_t sz; /* size of this struct for forward/backward compatibility */ 133 size_t :0; member 137 LIBBPF_API int bpf_btf_load(const void *btf_data, size_t btf_size, 156 size_t sz; /* size of this struct for forward/backward compatibility */ 288 size_t s 293 size_t :0; global() member 307 size_t :0; global() member 331 size_t :0; global() member 341 size_t :0; global() member 424 size_t :0; global() member 472 size_t :0; global() member 572 size_t :0; global() member [all...] |
/third_party/mbedtls/library/ |
H A D | x509_create.c | 28 size_t name_len; /* Length of 'name', without trailing 0 byte. */ 101 static const x509_attr_descriptor_t *x509_attr_descr_from_name(const char *name, size_t name_len) in x509_attr_descr_from_name() 141 size_t *data_len) in parse_attribute_value_string() 172 *data_len = (size_t) (d - data); in parse_attribute_value_string() 203 size_t len, in parse_attribute_value_hex_der_encoded() 205 size_t data_size, in parse_attribute_value_hex_der_encoded() 206 size_t *data_len, in parse_attribute_value_hex_der_encoded() 215 size_t const der_length = len / 2; in parse_attribute_value_hex_der_encoded() 234 for (size_t i = 0; i < der_length; i++) { in parse_attribute_value_hex_der_encoded() 259 for (size_t in parse_attribute_value_hex_der_encoded() [all...] |
H A D | ecdsa.c | 204 const unsigned char *buf, size_t blen) in derive_mpi() 207 size_t n_size = (grp->nbits + 7) / 8; in derive_mpi() 208 size_t use_size = blen > n_size ? n_size : blen; in derive_mpi() 245 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign_restartable() 246 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, in mbedtls_ecdsa_sign_restartable() 247 int (*f_rng_blind)(void *, unsigned char *, size_t), in mbedtls_ecdsa_sign_restartable() 381 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign() 382 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng) in mbedtls_ecdsa_sign() 399 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in mbedtls_ecdsa_sign_det_restartable() 401 int (*f_rng_blind)(void *, unsigned char *, size_t), in mbedtls_ecdsa_sign_det_restartable() [all...] |
/third_party/node/src/ |
H A D | blob_serializer_deserializer-inl.h | 110 size_t count = static_cast<size_t>(ReadArithmetic<size_t>()); in ReadVector() 133 size_t length = ReadArithmetic<size_t>(); in ReadString() 155 void BlobDeserializer<Impl>::ReadArithmetic(T* out, size_t count) { in ReadArithmetic() 163 size_t size = sizeof(T) * count; in ReadArithmetic() 177 std::vector<Number> BlobDeserializer<Impl>::ReadArithmeticVector(size_t count) { in ReadArithmeticVector() 188 std::vector<T> BlobDeserializer<Impl>::ReadNonArithmeticVector(size_t count) { in ReadNonArithmeticVector() 195 for (size_t in ReadNonArithmeticVector() [all...] |
/third_party/nghttp2/lib/ |
H A D | nghttp2_buf.c | 40 int nghttp2_buf_init2(nghttp2_buf *buf, size_t initial, nghttp2_mem *mem) { in nghttp2_buf_init2() 54 int nghttp2_buf_reserve(nghttp2_buf *buf, size_t new_cap, nghttp2_mem *mem) { in nghttp2_buf_reserve() 56 size_t cap; in nghttp2_buf_reserve() 84 void nghttp2_buf_wrap_init(nghttp2_buf *buf, uint8_t *begin, size_t len) { in nghttp2_buf_wrap_init() 91 static int buf_chain_new(nghttp2_buf_chain **chain, size_t chunk_length, in buf_chain_new() 116 int nghttp2_bufs_init(nghttp2_bufs *bufs, size_t chunk_length, size_t max_chunk, in nghttp2_bufs_init() 121 int nghttp2_bufs_init2(nghttp2_bufs *bufs, size_t chunk_length, in nghttp2_bufs_init2() 122 size_t max_chunk, size_t offse in nghttp2_bufs_init2() [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_buf.c | 40 int nghttp2_buf_init2(nghttp2_buf *buf, size_t initial, nghttp2_mem *mem) { in nghttp2_buf_init2() 54 int nghttp2_buf_reserve(nghttp2_buf *buf, size_t new_cap, nghttp2_mem *mem) { in nghttp2_buf_reserve() 56 size_t cap; in nghttp2_buf_reserve() 84 void nghttp2_buf_wrap_init(nghttp2_buf *buf, uint8_t *begin, size_t len) { in nghttp2_buf_wrap_init() 91 static int buf_chain_new(nghttp2_buf_chain **chain, size_t chunk_length, in buf_chain_new() 116 int nghttp2_bufs_init(nghttp2_bufs *bufs, size_t chunk_length, size_t max_chunk, in nghttp2_bufs_init() 121 int nghttp2_bufs_init2(nghttp2_bufs *bufs, size_t chunk_length, in nghttp2_bufs_init2() 122 size_t max_chunk, size_t offse in nghttp2_bufs_init2() [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | virtual-address-space.cc | 76 Address VirtualAddressSpace::AllocatePages(Address hint, size_t size, in AllocatePages() 77 size_t alignment, in AllocatePages() 88 void VirtualAddressSpace::FreePages(Address address, size_t size) { in FreePages() 95 bool VirtualAddressSpace::SetPagePermissions(Address address, size_t size, in SetPagePermissions() 104 bool VirtualAddressSpace::AllocateGuardRegion(Address address, size_t size) { in AllocateGuardRegion() 117 void VirtualAddressSpace::FreeGuardRegion(Address address, size_t size) { in FreeGuardRegion() 129 Address hint, size_t size, PagePermissions permissions, in AllocateSharedPages() 140 void VirtualAddressSpace::FreeSharedPages(Address address, size_t size) { in FreeSharedPages() 148 Address hint, size_t size, size_t alignmen in AllocateSubspace() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | memory-measurement.cc | 30 void AddTotal(size_t estimate, size_t lower_bound, size_t upper_bound) { in AddTotal() 34 void AddCurrent(size_t estimate, size_t lower_bound, size_t upper_bound) { in AddCurrent() 39 void AddOther(size_t estimate, size_t lower_bound, size_t upper_bound) { in AddOther() 57 Handle<JSObject> NewResult(size_t estimat [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | sskdf.c | 59 size_t secret_len; 61 size_t info_len; 63 size_t salt_len; 64 size_t out_len; /* optional KMAC parameter */ 95 const unsigned char *z, size_t z_len, in SSKDF_hash_kdm() 96 const unsigned char *info, size_t info_len, in SSKDF_hash_kdm() 98 unsigned char *derived_key, size_t derived_key_len) in SSKDF_hash_kdm() 101 size_t counter, out_len, len = derived_key_len; in SSKDF_hash_kdm() 115 out_len = (size_t)hlen; in SSKDF_hash_kdm() 160 size_t custom_le in kmac_init() [all...] |
/third_party/openssl/providers/implementations/kdfs/ |
H A D | sskdf.c | 59 size_t secret_len; 61 size_t info_len; 63 size_t salt_len; 64 size_t out_len; /* optional KMAC parameter */ 95 const unsigned char *z, size_t z_len, in SSKDF_hash_kdm() 96 const unsigned char *info, size_t info_len, in SSKDF_hash_kdm() 98 unsigned char *derived_key, size_t derived_key_len) in SSKDF_hash_kdm() 101 size_t counter, out_len, len = derived_key_len; in SSKDF_hash_kdm() 115 out_len = (size_t)hlen; in SSKDF_hash_kdm() 160 size_t custom_le in kmac_init() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | containers_test.cpp | 28 ASSERT_EQ(vector.size(), size_t(0)); in TEST_F() 66 ASSERT_EQ(vector.size(), size_t(4)); in TEST_F() 72 ASSERT_EQ(vector.size(), size_t(3)); in TEST_F() 78 ASSERT_EQ(vector.size(), size_t(2)); in TEST_F() 84 ASSERT_EQ(vector.size(), size_t(1)); in TEST_F() 90 ASSERT_EQ(vector.size(), size_t(0)); in TEST_F() 100 ASSERT_EQ(vector.size(), size_t(4)); in TEST_F() 106 ASSERT_EQ(vector.size(), size_t(3)); in TEST_F() 112 ASSERT_EQ(vector.size(), size_t(2)); in TEST_F() 118 ASSERT_EQ(vector.size(), size_t( in TEST_F() [all...] |
/third_party/json/tests/thirdparty/Fuzzer/ |
H A D | FuzzerLoop.cpp | 41 static const size_t kMaxUnitSizeToPrint = 256; 73 size_t NumCounters = EF->__sanitizer_get_number_of_counters(); in PrepareCounters() 133 std::atomic<size_t> Mallocs; 134 std::atomic<size_t> Frees; 141 void MallocHook(const volatile void *ptr, size_t size) { in MallocHook() 142 size_t N = AllocTracer.Mallocs++; in MallocHook() 153 size_t N = AllocTracer.Frees++; in FreeHook() 162 void Fuzzer::HandleMalloc(size_t Size) { in HandleMalloc() 163 if (!Options.RssLimitMb || (Size >> 20) < (size_t)Options.RssLimitMb) in HandleMalloc() 239 size_t UnitSiz in DumpCurrentUnit() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderFConvertTests.cpp | 60 constexpr size_t kRandomSourcesPerType = 240; 61 constexpr size_t kMinVectorLength = 1; 62 constexpr size_t kMaxVectorLength = 4; 63 constexpr size_t kArrayAlignment = 16; // Bytes. 64 constexpr size_t kEffectiveLength[kMaxVectorLength + 1] = { 0, 1, 2, 4, 4 }; // Effective length of a vector of size i. 65 constexpr size_t kGCFNumFloats = 12; // Greatest Common Factor of the number of floats in a test. 106 std::vector<T> getRandomInteresting (de::Random& rnd, size_t numSamples) in getRandomInteresting() 126 for (size_t i = 0; i < kRandomSourcesPerType; ++i) in StaticVectorHelper() 191 const size_t numValues = interesting.size() + normals.size() + otherNormals.size(); in getInputValues() 192 const size_t extraValue in getInputValues() [all...] |
/third_party/skia/src/codec/ |
H A D | SkRawCodec.cpp | 153 bool safe_add_to_size_t(T arg1, T arg2, size_t* result) { in safe_add_to_size_t() 158 if (sum <= std::numeric_limits<size_t>::max()) { in safe_add_to_size_t() 159 *result = static_cast<size_t>(sum); in safe_add_to_size_t() 182 virtual bool read(void* data, size_t offset, size_t length) = 0; 189 virtual std::unique_ptr<SkMemoryStream> transferBuffer(size_t offset, size_t size) = 0; 196 bool write(const void* buffer, size_t size) override { 197 size_t newSize; 210 const size_t kMaxStreamSiz [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | types.cpp | 73 for (size_t i = 0; i < decoration.size(); ++i) { in GetDecorationStr() 189 size_t Type::ComputeHashValue(size_t hash, SeenTypes* seen) const { in ComputeHashValue() 248 size_t Type::HashValue() const { in HashValue() 265 "The size of the array could not fit size_t."); in NumberOfComponents() 294 size_t Integer::ComputeExtraStateHash(size_t hash, SeenTypes*) const { in ComputeExtraStateHash() 309 size_t Float::ComputeExtraStateHash(size_t hash, SeenTypes*) const { in ComputeExtraStateHash() 332 size_t Vecto [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderFConvertTests.cpp | 60 constexpr size_t kRandomSourcesPerType = 240; 61 constexpr size_t kMinVectorLength = 1; 62 constexpr size_t kMaxVectorLength = 4; 63 constexpr size_t kArrayAlignment = 16; // Bytes. 64 constexpr size_t kEffectiveLength[kMaxVectorLength + 1] = { 0, 1, 2, 4, 4 }; // Effective length of a vector of size i. 65 constexpr size_t kGCFNumFloats = 12; // Greatest Common Factor of the number of floats in a test. 106 std::vector<T> getRandomInteresting (de::Random& rnd, size_t numSamples) in getRandomInteresting() 126 for (size_t i = 0; i < kRandomSourcesPerType; ++i) in StaticVectorHelper() 191 const size_t numValues = interesting.size() + normals.size() + otherNormals.size(); in getInputValues() 192 const size_t extraValue in getInputValues() [all...] |
/third_party/rust/crates/cxx/src/ |
H A D | cxx.cc | 8 std::size_t len) noexcept { 21 std::size_t cxxbridge1$cxx_string$length(const std::string &s) noexcept { 28 size_t new_cap) noexcept { 33 std::size_t len) noexcept { 42 std::size_t len) noexcept; 44 std::size_t len) noexcept; 46 std::size_t len) noexcept; 48 std::size_t len) noexcept; 51 std::size_t cxxbridge1$string$len(const rust::String *self) noexcept; 52 std::size_t cxxbridge [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_paint_mem.h | 35 explicit AutoTMalloc(size_t count) in AutoTMalloc() 40 void realloc(size_t count) in realloc() 45 T* Reset(size_t count = 0) in Reset() 65 static inline void* ThrowOnFailure(size_t size, void* p) in ThrowOnFailure() 73 static inline size_t Add(size_t x, size_t y) in Add() 103 static inline void* MallocFlags(size_t size, unsigned flags) in MallocFlags() 118 static inline void* MallocThrow(size_t x, size_t [all...] |