/base/location/test/fuzztest/locator/geoconvertservice_fuzzer/ |
H A D | geoconvertservice_fuzzer.h | 46 bool GeoConvertServiceFuzzTest001(const char* data, size_t size); 47 bool GeoConvertServiceFuzzTest002(const char* data, size_t size); 48 bool GeoConvertServiceFuzzTest003(const char* data, size_t size); 49 bool GeoConvertServiceFuzzTest004(const char* data, size_t size); 50 bool GeoConvertServiceFuzzTest005(const char* data, size_t size); 51 bool GeoConvertServiceFuzzTest006(const char* data, size_t size);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
H A D | base64.h | 56 * length representable as a size_t. 61 int mbedtls_base64_encode( unsigned char *dst, size_t dlen, size_t *olen, 62 const unsigned char *src, size_t slen ); 81 int mbedtls_base64_decode( unsigned char *dst, size_t dlen, size_t *olen, 82 const unsigned char *src, size_t slen );
|
/drivers/hdf_core/adapter/khdf/linux/osal/include/ |
H A D | osal_uaccess.h | 29 static inline size_t CopyToUser(void __user *to, const void *from, size_t len) in CopyToUser() 31 return (size_t)copy_to_user(to, from, (unsigned long)len); in CopyToUser() 34 static inline size_t CopyFromUser(void *to, const void __user *from, size_t len) in CopyFromUser() 36 return (size_t)copy_from_user(to, from, (unsigned long)len); in CopyFromUser()
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_common.h | 21 size_t to_offset, 22 size_t to_size, 24 size_t len); 27 size_t to_offset, 28 size_t to_size, 30 size_t len);
|
/kernel/linux/linux-6.6/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_common.h | 21 size_t to_offset, 22 size_t to_size, 24 size_t len); 27 size_t to_offset, 28 size_t to_size, 30 size_t len);
|
/third_party/elfutils/lib/ |
H A D | next_prime.c | 35 is_prime (size_t candidate) in is_prime() 38 size_t divn = 3; in is_prime() 39 size_t sq = divn * divn; in is_prime() 43 size_t old_sq = sq; in is_prime() 56 size_t 57 next_prime (size_t seed) in next_prime()
|
/third_party/mbedtls/include/mbedtls/ |
H A D | base64.h | 52 * length representable as a size_t. 57 int mbedtls_base64_encode(unsigned char *dst, size_t dlen, size_t *olen, 58 const unsigned char *src, size_t slen); 77 int mbedtls_base64_decode(unsigned char *dst, size_t dlen, size_t *olen, 78 const unsigned char *src, size_t slen);
|
/third_party/mbedtls/library/ |
H A D | psa_crypto_driver_wrappers_no_static.h | 17 const uint8_t *key_buffer, size_t key_buffer_size, 18 uint8_t *data, size_t data_size, size_t *data_length); 22 size_t *key_buffer_size); 27 uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length);
|
H A D | entropy_poll.h | 46 unsigned char *output, size_t len, size_t *olen); 59 unsigned char *output, size_t len, size_t *olen); 69 unsigned char *output, size_t len, size_t *olen);
|
H A D | rsa.c | 78 int mbedtls_rsa_parse_key(mbedtls_rsa_context *rsa, const unsigned char *key, size_t keylen) in mbedtls_rsa_parse_key() 81 size_t len; in mbedtls_rsa_parse_key() 226 int mbedtls_rsa_parse_pubkey(mbedtls_rsa_context *rsa, const unsigned char *key, size_t keylen) in mbedtls_rsa_parse_pubkey() 231 size_t len; in mbedtls_rsa_parse_pubkey() 288 size_t len = 0; in mbedtls_rsa_write_key() 381 size_t len = 0; in mbedtls_rsa_write_pubkey() 443 size_t ilen, in mbedtls_ct_rsaes_pkcs1_v15_unpadding() 445 size_t output_max_len, in mbedtls_ct_rsaes_pkcs1_v15_unpadding() 446 size_t *olen) in mbedtls_ct_rsaes_pkcs1_v15_unpadding() 449 size_t in mbedtls_ct_rsaes_pkcs1_v15_unpadding() [all...] |
/third_party/mbedtls/tests/include/test/ |
H A D | random.h | 35 size_t length; 37 int (*fallback_f_rng)(void *, unsigned char *, size_t); 64 size_t len); 73 size_t len); 89 size_t len); 101 size_t len);
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/ |
H A D | malloc.h | 40 size_t __wrap__malloc_usable_size_r(struct _reent *reent, void *aptr); 42 void *__wrap__malloc_r(struct _reent *reent, size_t nbytes); 43 void *__wrap__memalign_r(struct _reent *reent, size_t align, size_t nbytes); 44 void *__wrap__realloc_r(struct _reent *reent, void *aptr, size_t nbytes); 45 void *zalloc(size_t size);
|
/third_party/node/deps/brotli/c/enc/ |
H A D | backward_references.h | 29 BROTLI_INTERNAL void BrotliCreateBackwardReferences(size_t num_bytes, 30 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, 32 Hasher* hasher, int* dist_cache, size_t* last_insert_len, 33 Command* commands, size_t* num_commands, size_t* num_literals);
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | backward_references.h | 29 BROTLI_INTERNAL void BrotliCreateBackwardReferences(size_t num_bytes, 30 size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, 32 Hasher* hasher, int* dist_cache, size_t* last_insert_len, 33 Command* commands, size_t* num_commands, size_t* num_literals);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | randen_traits.h | 58 static constexpr size_t kStateBytes = 256; // 2048-bit 62 static constexpr size_t kCapacityBytes = 16; // 128-bit 65 static constexpr size_t kSeedBytes = kStateBytes - kCapacityBytes; 69 static constexpr size_t kFeistelBlocks = 16; 73 static constexpr size_t kFeistelRounds = 16 + 1; 77 static constexpr size_t kKeyBytes = 16 * kFeistelRounds * kFeistelBlocks / 2;
|
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-code-manager.cc | 113 base::AddressRegion DisjointAllocationPool::Allocate(size_t size) { in Allocate() 115 {kNullAddress, std::numeric_limits<size_t>::max()}); in Allocate() 119 size_t size, base::AddressRegion region) { in AllocateInRegion() 180 size_t total_size = 0; in ConcatenateBytes() 200 size_t size = instructions().size(); in RegisterTrapHandlerData() 234 size_t prefix_len = name_buffer.size(); in DebugName() 235 constexpr size_t kMaxSigLength = 128; in DebugName() 238 size_t sig_length = PrintSignature( in DebugName() 387 size_t padding = instructions().size() - unpadded_binary_size_; in Disassemble() 515 constexpr size_t WasmCodeAllocato [all...] |
/base/request/request/test/unittest/cpp_test/fwkTest/src/ |
H A D | response_message_receiver_test.cpp | 310 EXPECT_EQ(memcpy_s(except, static_cast<size_t>(arraySize), reinterpret_cast<void *>(&length), sizeof(length)), 0); in HWTEST_F() 312 EXPECT_EQ(memcpy_s(except + sizeof(length), static_cast<size_t>(arraySize - sizeof(length)), keyValue, 9), in HWTEST_F() 341 EXPECT_EQ(memcpy_s(except, static_cast<size_t>(arraySize), reinterpret_cast<void *>(&length), sizeof(length)), 0); in HWTEST_F() 343 EXPECT_EQ(memcpy_s(except + sizeof(length), static_cast<size_t>(arraySize - sizeof(length)), in HWTEST_F() 402 memcpy_s(except, static_cast<size_t>(arraySize), reinterpret_cast<void *>(&magicNum), sizeof(magicNum)), 0); in HWTEST_F() 406 memcpy_s(except + pos, static_cast<size_t>(arraySize - pos), reinterpret_cast<void *>(&msgId), sizeof(msgId)), in HWTEST_F() 410 EXPECT_EQ(memcpy_s(except + pos, static_cast<size_t>(arraySize - pos), reinterpret_cast<void *>(&msgType), in HWTEST_F() 415 EXPECT_EQ(memcpy_s(except + pos, static_cast<size_t>(arraySize - pos), reinterpret_cast<void *>(&bodySize), in HWTEST_F() 432 memcpy_s(except, static_cast<size_t>(arraySize), reinterpret_cast<void *>(&magicNum), sizeof(magicNum)), 0); in HWTEST_F() 467 EXPECT_EQ(memcpy_s(except, static_cast<size_t>(ARRAY_LE in HWTEST_F() [all...] |
/base/update/updater/services/diffpatch/diff/ |
H A D | image_diff.cpp | 30 static void WriteToFile(std::ofstream &patchFile, DataType data, size_t dataSize)
in WriteToFile() 35 static size_t GetHeaderSize(const ImageBlock &block)
in GetHeaderSize() 90 size_t blockCount = newInfo.length / limit_ + 1;
in SplitImage() 91 size_t oldBlockSize = oldInfo.length / blockCount;
in SplitImage() 92 size_t newBlockSize = newInfo.length / blockCount;
in SplitImage() 94 size_t i = 0;
in SplitImage() 114 std::fstream &blockPatchFile, size_t &dataOffset, ImageBlock &block) const
in WriteHeader() 119 size_t patchSize = 0;
in WriteHeader() 128 static_cast<size_t>(patchFile.tellp()),
in WriteHeader() 139 static_cast<size_t>(patchFil in WriteHeader() [all...] |
/third_party/musl/ldso/linux/ |
H A D | dynlink.c | 71 static size_t ldso_page_size; 88 const size_t *bloomwords = (const void *)(ght + 4); \ 89 size_t f = bloomwords[gho & (ght[2] - 1)]; \ 142 size_t reserved_size; 150 typedef void (*stage3_func)(size_t *, size_t *, size_t *); 160 static size_t *saved_addends, *apply_addends_to; 178 static size_t tls_cnt, tls_offset, tls_align = MIN_TLS_ALIGN; 179 static size_t static_tls_cn [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | wpa_supplicant_i.h | 290 size_t drv_count; 484 size_t image_len; 498 size_t ssid_len; 533 size_t frame_classifier_len; 565 size_t kdk_len; 571 size_t pmk_len; 596 size_t pmk_r1_len; 654 size_t filter_len; 776 size_t last_con_fail_realm_len; 790 size_t bssid_filter_coun [all...] |
/kernel/linux/linux-5.10/fs/ecryptfs/ |
H A D | keystore.c | 81 int ecryptfs_parse_packet_length(unsigned char *data, size_t *size, in ecryptfs_parse_packet_length() 82 size_t *length_size) in ecryptfs_parse_packet_length() 122 int ecryptfs_write_packet_length(char *dest, size_t size, in ecryptfs_write_packet_length() 123 size_t *packet_size_length) in ecryptfs_write_packet_length() 145 char **packet, size_t *packet_len) in write_tag_64_packet() 147 size_t i = 0; in write_tag_64_packet() 148 size_t data_len; in write_tag_64_packet() 149 size_t packet_size_len; in write_tag_64_packet() 202 size_t i = 0; in parse_tag_65_packet() 204 size_t data_le in parse_tag_65_packet() [all...] |
/kernel/linux/linux-6.6/fs/ecryptfs/ |
H A D | keystore.c | 81 int ecryptfs_parse_packet_length(unsigned char *data, size_t *size, in ecryptfs_parse_packet_length() 82 size_t *length_size) in ecryptfs_parse_packet_length() 122 int ecryptfs_write_packet_length(char *dest, size_t size, in ecryptfs_write_packet_length() 123 size_t *packet_size_length) in ecryptfs_write_packet_length() 145 char **packet, size_t *packet_len) in write_tag_64_packet() 147 size_t i = 0; in write_tag_64_packet() 148 size_t data_len; in write_tag_64_packet() 149 size_t packet_size_len; in write_tag_64_packet() 202 size_t i = 0; in parse_tag_65_packet() 204 size_t data_le in parse_tag_65_packet() [all...] |
/base/hiviewdfx/hiview/base/event_raw/decoded/ |
H A D | raw_data_decoder.cpp | 23 bool RawDataDecoder::FloatingNumberDecoded(uint8_t* rawData, const size_t maxLen, size_t& pos, double& dest) in FloatingNumberDecoded() 54 bool RawDataDecoder::SignedVarintDecoded(uint8_t* rawData, const size_t maxLen, size_t& pos, int64_t& dest) in SignedVarintDecoded() 68 bool RawDataDecoder::StringValueDecoded(uint8_t* rawData, const size_t maxLen, size_t& pos, std::string& dest) in StringValueDecoded() 87 bool RawDataDecoder::UnsignedVarintDecoded(uint8_t* rawData, const size_t maxLen, size_t& pos, uint64_t& dest) in UnsignedVarintDecoded() 110 bool RawDataDecoder::ValueTypeDecoded(uint8_t* rawData, const size_t maxLen, size_t [all...] |
/base/time/time_service/test/fuzztest/timemanager_fuzzer/timetesttimer_fuzzer/ |
H A D | timetesttimer_fuzzer.cpp | 28 constexpr size_t U64_AT_SIZE = 8; 30 bool FuzzTimeCreateTimer(int64_t data, size_t size) in FuzzTimeCreateTimer() 41 bool FuzzTimeStartTimer(int64_t timerId, size_t size) in FuzzTimeStartTimer() 47 bool FuzzTimeStopTimer(int64_t timerId, size_t size) in FuzzTimeStopTimer() 53 bool FuzzTimeDestroyTimer(int64_t timerId, size_t size) in FuzzTimeDestroyTimer() 59 bool FuzzTimeCreateTimerV9(int64_t data, size_t size) in FuzzTimeCreateTimerV9() 71 bool FuzzTimeStartTimerV9(int64_t timerId, size_t size) in FuzzTimeStartTimerV9() 77 bool FuzzTimeStopTimerV9(int64_t timerId, size_t size) in FuzzTimeStopTimerV9() 83 bool FuzzTimeDestroyTimerV9(int64_t timerId, size_t size) in FuzzTimeDestroyTimerV9() 91 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t siz [all...] |
/base/update/updater/services/package/pkg_algorithm/ |
H A D | pkg_algo_digest.h | 42 virtual int32_t Update(const PkgBuffer &buffer, size_t size)
in Update() 54 virtual int32_t Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size)
in Calculate() 61 static size_t GetDigestLen(int8_t digestMethod);
62 static size_t GetSignatureLen(int8_t digestMethod);
74 int32_t Update(const PkgBuffer &buffer, size_t size) override;
78 int32_t Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) override;
92 int32_t Update(const PkgBuffer &buffer, size_t size) override;
96 int32_t Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) override;
110 int32_t Update(const PkgBuffer &buffer, size_t size) override;
114 int32_t Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t siz [all...] |