/third_party/node/deps/brotli/c/enc/ |
H A D | histogram.c | 21 size_t idx_; 22 size_t type_; 23 size_t length_; 44 const Command* cmds, const size_t num_commands, in BrotliBuildHistogramsWithContext() 46 const BlockSplit* dist_split, const uint8_t* ringbuffer, size_t start_pos, in BrotliBuildHistogramsWithContext() 47 size_t mask, uint8_t prev_byte, uint8_t prev_byte2, in BrotliBuildHistogramsWithContext() 51 size_t pos = start_pos; in BrotliBuildHistogramsWithContext() 55 size_t i; in BrotliBuildHistogramsWithContext() 62 size_t j; in BrotliBuildHistogramsWithContext() 68 size_t contex in BrotliBuildHistogramsWithContext() [all...] |
/third_party/node/deps/base64/base64/lib/ |
H A D | lib.c | 34 , size_t srclen in base64_stream_encode() 36 , size_t *outlen in base64_stream_encode() 46 , size_t *outlen in base64_stream_encode_final() 84 , size_t srclen in base64_stream_decode() 86 , size_t *outlen in base64_stream_decode() 105 , size_t srclen in base64_encode() 107 , size_t *outlen in base64_encode() 111 size_t s; in base64_encode() 112 size_t t; in base64_encode() 138 , size_t srcle in base64_decode() [all...] |
/third_party/mesa3d/src/util/ |
H A D | os_memory_fd.c | 49 size_t size; 50 size_t offset; 102 os_malloc_aligned_fd(size_t size, size_t alignment, int *fd, char const *fd_name, char const *driver_id) in os_malloc_aligned_fd() 106 size_t alloc_size, offset; in os_malloc_aligned_fd() 113 * alloc_size = size + alignment + sizeof(struct memory_header) + sizeof(size_t) in os_malloc_aligned_fd() 117 const size_t header_size = sizeof(struct memory_header) + sizeof(size_t); in os_malloc_aligned_fd() 144 offset = (size_t)((uintptr_t)buf - (uintptr_t)ptr); in os_malloc_aligned_fd() 148 ((size_t*)bu in os_malloc_aligned_fd() [all...] |
/third_party/lwip/src/apps/altcp_tls/ |
H A D | altcp_tls_mbedtls_mem.c | 87 size_t c; 88 size_t len; 93 size_t allocedBytes; 94 size_t allocCnt; 95 size_t maxBytes; 96 size_t totalBytes; 103 tls_malloc(size_t c, size_t len) in tls_malloc() 107 size_t alloc_size; in tls_malloc() 190 altcp_mbedtls_alloc_config(size_t siz [all...] |
/third_party/mindspore/interfaces/kits/c/ |
H A D | model.h | 51 size_t handle_num; 57 size_t shape_num; 93 OH_AI_API OH_AI_Status OH_AI_ModelBuild(OH_AI_ModelHandle model, const void *model_data, size_t data_size, 118 OH_AI_ShapeInfo *shape_infos, size_t shape_info_num); 189 OH_AI_API char **OH_AI_TrainCfgGetLossName(OH_AI_TrainCfgHandle train_cfg, size_t *num); 198 OH_AI_API void OH_AI_TrainCfgSetLossName(OH_AI_TrainCfgHandle train_cfg, const char **loss_name, size_t num); 227 OH_AI_API OH_AI_Status OH_AI_TrainModelBuild(OH_AI_ModelHandle model, const void *model_data, size_t data_size, 333 char **output_tensor_name, size_t num); 350 size_t *data_size, OH_AI_QuantizationType quantization_type, 351 bool export_inference_only, char **output_tensor_name, size_t nu [all...] |
/third_party/libcoap/include/coap3/ |
H A D | coap_block.h | 105 coap_more_blocks(size_t data_len, unsigned int num, uint16_t szx) { in coap_more_blocks() 178 size_t data_length); 204 size_t data_length); 220 size_t len, 235 int coap_add_block_b_data(coap_pdu_t *pdu, size_t len, const uint8_t *data, 251 coap_binary_t *coap_block_build_body(coap_binary_t *body_data, size_t length, 252 const uint8_t *data, size_t offset, size_t total); 277 size_t length, 336 size_t lengt [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ImmutableString.h | 23 constexpr size_t constStrlen(const char *str) in constStrlen() 29 size_t len = 0u; in constStrlen() 49 constexpr ImmutableString(const char *data, size_t length) : mData(data), mLength(length) {} in ImmutableString() 60 constexpr size_t length() const { return mLength; } in length() 62 char operator[](size_t index) const { return data()[index]; } in operator []() 109 template <size_t hashBytes> 112 static const size_t kFnvOffsetBasis; 113 static const size_t kFnvPrime; 115 constexpr size_t operator()(const ImmutableString &a) const in operator ()() 118 size_t has in operator ()() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | CLMemory.h | 31 cl_int getInfo(MemInfo name, size_t valueSize, void *value, size_t *valueSizeRet) const; 45 size_t getOffset() const; 46 size_t getSize() const; 60 size_t size, 67 size_t offset, 68 size_t size, 86 const size_t mOffset = 0u; 88 const size_t mSize; 122 inline size_t Memor [all...] |
H A D | BlobCache_unittest.cpp | 31 BlobPut MakeBlob(size_t size, uint8_t start = 0) in MakeBlob() 49 constexpr size_t kSize = 32; in TEST() 61 size_t blobSize; in TEST() 71 constexpr size_t kSize = 32; in TEST() 74 for (size_t value = 0; value < kSize; ++value) in TEST() 79 size_t blobSize; in TEST() 94 size_t blobSize; in TEST() 102 for (size_t value = 0; value <= kSize; ++value) in TEST() 113 for (size_t value = 0; value < kSize * 10; ++value) in TEST() 124 constexpr size_t kSiz in TEST() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | CLDeviceImpl.h | 41 std::vector<size_t> maxWorkItemSizes; 46 size_t image2D_MaxWidth = 0u; 47 size_t image2D_MaxHeight = 0u; 48 size_t image3D_MaxWidth = 0u; 49 size_t image3D_MaxHeight = 0u; 50 size_t image3D_MaxDepth = 0u; 51 size_t imageMaxBufferSize = 0u; 52 size_t imageMaxArraySize = 0u; 73 virtual cl_int getInfoSizeT(cl::DeviceInfo name, size_t *value) const = 0; 74 virtual cl_int getInfoStringLength(cl::DeviceInfo name, size_t *valu [all...] |
/third_party/skia/src/codec/ |
H A D | SkStreamBuffer.cpp | 19 fMarkedData.foreach([](size_t, SkData** data) { (*data)->unref(); }); in ~SkStreamBuffer() 25 const size_t bytesToBuffer = fBytesBuffered - fTrulyBuffered; in get() 27 SkDEBUGCODE(const size_t bytesRead =) in get() 37 bool SkStreamBuffer::buffer(size_t totalBytesToBuffer) { in buffer() 47 const size_t remaining = fStream->getLength() - fStream->getPosition() + fTrulyBuffered; in buffer() 50 const size_t extraBytes = totalBytesToBuffer - fBytesBuffered; in buffer() 51 const size_t bytesBuffered = fStream->read(fBuffer + fBytesBuffered, extraBytes); in buffer() 57 size_t SkStreamBuffer::markPosition() { in markPosition() 67 sk_sp<SkData> SkStreamBuffer::getDataAtPosition(size_t position, size_t lengt [all...] |
/third_party/skia/src/core/ |
H A D | SkAutoMalloc.h | 25 explicit SkAutoMalloc(size_t size = 0) in SkAutoMalloc() 51 void* reset(size_t size = 0, OnShrink shrink = kAlloc_OnShrink) { in reset() 79 size_t fSize; // can be larger than the requested size (see kReuse) 88 template <size_t kSizeRequested> class SkAutoSMalloc : SkNoncopyable { 103 explicit SkAutoSMalloc(size_t size) { in SkAutoSMalloc() 131 void* reset(size_t size, in reset() 160 static const size_t kSizeAlign4 = SkAlign4(kSizeRequested); 164 static const size_t kMaxBytes = 4 * 1024; 165 static const size_t kSize = kSizeRequested > kMaxBytes ? kMaxBytes : kSizeAlign4; 167 static const size_t kSiz [all...] |
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | histogram.c | 21 size_t idx_; 22 size_t type_; 23 size_t length_; 44 const Command* cmds, const size_t num_commands, in BrotliBuildHistogramsWithContext() 46 const BlockSplit* dist_split, const uint8_t* ringbuffer, size_t start_pos, in BrotliBuildHistogramsWithContext() 47 size_t mask, uint8_t prev_byte, uint8_t prev_byte2, in BrotliBuildHistogramsWithContext() 51 size_t pos = start_pos; in BrotliBuildHistogramsWithContext() 55 size_t i; in BrotliBuildHistogramsWithContext() 62 size_t j; in BrotliBuildHistogramsWithContext() 68 size_t contex in BrotliBuildHistogramsWithContext() [all...] |
/third_party/skia/experimental/graphite/src/ |
H A D | DrawBufferManager.cpp | 17 static constexpr size_t kVertexBufferSize = 2 << 10; 18 static constexpr size_t kIndexBufferSize = 2 << 10; 19 static constexpr size_t kUniformBufferSize = 2 << 10; 22 size_t uniformStartAlignment) in DrawBufferManager() 28 static bool can_fit(size_t requestedSize, in can_fit() 30 size_t currentOffset, in can_fit() 31 size_t alignment) { in can_fit() 32 size_t startOffset = SkAlignTo(currentOffset, alignment); in can_fit() 36 std::tuple<VertexWriter, BindBufferInfo> DrawBufferManager::getVertexWriter(size_t requiredBytes) { in getVertexWriter() 65 std::tuple<IndexWriter, BindBufferInfo> DrawBufferManager::getIndexWriter(size_t requiredByte [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_internal-modexp.c | 16 int crypto_dh_init(u8 generator, const u8 *prime, size_t prime_len, u8 *privkey, in crypto_dh_init() 19 size_t pubkey_len, pad; in crypto_dh_init() 42 int crypto_dh_derive_secret(u8 generator, const u8 *prime, size_t prime_len, in crypto_dh_derive_secret() 43 const u8 *order, size_t order_len, in crypto_dh_derive_secret() 44 const u8 *privkey, size_t privkey_len, in crypto_dh_derive_secret() 45 const u8 *pubkey, size_t pubkey_len, in crypto_dh_derive_secret() 46 u8 *secret, size_t *len) in crypto_dh_derive_secret() 89 int crypto_mod_exp(const u8 *base, size_t base_len, in crypto_mod_exp() 90 const u8 *power, size_t power_len, in crypto_mod_exp() 91 const u8 *modulus, size_t modulus_le in crypto_mod_exp() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_tls_common.h | 29 size_t tls_out_pos; 34 size_t tls_out_limit; 44 size_t tls_in_left; 49 size_t tls_in_total; 105 size_t context_len, size_t len); 108 size_t *len); 117 char *buf, size_t buflen, int verbose); 123 size_t *len, u8 *flags); 136 size_t *num_type [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | ap.h | 17 const u8 *src_addr, const u8 *buf, size_t len); 21 const char *pin, char *buf, size_t buflen, 30 char *buf, size_t buflen); 32 char *buf, size_t buflen); 34 char *buf, size_t buflen); 40 size_t buflen, int verbose); 42 const u8 *buf, size_t len, int ack); 44 const u8 *data, size_t len, int ack); 48 void ap_mgmt_tx_cb(void *ctx, const u8 *buf, size_t len, u16 stype, int ok); 86 size_t le [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | crypto_internal-modexp.c | 16 int crypto_dh_init(u8 generator, const u8 *prime, size_t prime_len, u8 *privkey, in crypto_dh_init() 19 size_t pubkey_len, pad; in crypto_dh_init() 42 int crypto_dh_derive_secret(u8 generator, const u8 *prime, size_t prime_len, in crypto_dh_derive_secret() 43 const u8 *order, size_t order_len, in crypto_dh_derive_secret() 44 const u8 *privkey, size_t privkey_len, in crypto_dh_derive_secret() 45 const u8 *pubkey, size_t pubkey_len, in crypto_dh_derive_secret() 46 u8 *secret, size_t *len) in crypto_dh_derive_secret() 89 int crypto_mod_exp(const u8 *base, size_t base_len, in crypto_mod_exp() 90 const u8 *power, size_t power_len, in crypto_mod_exp() 91 const u8 *modulus, size_t modulus_le in crypto_mod_exp() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_tls_common.h | 29 size_t tls_out_pos; 34 size_t tls_out_limit; 44 size_t tls_in_left; 49 size_t tls_in_total; 110 size_t context_len, size_t len); 113 size_t *len); 122 char *buf, size_t buflen, int verbose); 128 size_t *len, u8 *flags); 141 size_t *num_type [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | ap.h | 17 const u8 *src_addr, const u8 *buf, size_t len); 21 const char *pin, char *buf, size_t buflen, 30 char *buf, size_t buflen); 32 char *buf, size_t buflen); 34 char *buf, size_t buflen); 40 size_t buflen, int verbose); 42 const u8 *buf, size_t len, int ack); 44 const u8 *data, size_t len, int ack); 48 void ap_mgmt_tx_cb(void *ctx, const u8 *buf, size_t len, u16 stype, int ok); 86 size_t le [all...] |
/foundation/arkui/ui_lite/test/autotest/include/ |
H A D | compare_tools.h | 30 constexpr size_t DEFAULT_FILE_NAME_MAX_LENGTH = 256; 54 static bool StrnCatPath(char* filePath, size_t pathMax, const char* fileName, size_t count); 55 static bool CompareFile(const char* filePath, size_t length); 56 static bool SaveFile(const char* filePath, size_t length); 57 static bool CheckFileExist(const char* filePath, size_t length); 58 static void SetLogPath(const char* filePath, size_t length); 60 static void SaveResultLog(const char* filePath, const char* buff, size_t bufSize); 69 static bool SaveLog(const char* buff, size_t bufSize, const char* filePath = nullptr);
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/data_fuzzer/ |
H A D | data_fuzzer.cpp | 29 constexpr size_t ARRAY_MAX_SIZE = 5000; 33 void DataFuzzTest000(const uint8_t* data, size_t size) in DataFuzzTest000() 41 size_t length = GetObject<size_t>() % ARRAY_MAX_SIZE + 1; in DataFuzzTest000() 43 for (size_t i = 0; i < length; i++) { in DataFuzzTest000() 57 void DataFuzzTest001(const uint8_t* data, size_t size) in DataFuzzTest001() 66 for (size_t i = 0; i < str_size; i++) { in DataFuzzTest001() 76 for (size_t i = 0; i < str_size; i++) { in DataFuzzTest001() 87 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/image/pixmap_fuzzer/ |
H A D | pixmap_fuzzer.cpp | 30 constexpr size_t COLORTYPE_NUM = 10; 31 constexpr size_t ALPHATYPE_NUM = 4; 32 constexpr size_t FILTERMODE_NUM = 2; 33 constexpr size_t ARRAY_MAX_SIZE = 5000; 37 void PixmapFuzzTest000(const uint8_t* data, size_t size) in PixmapFuzzTest000() 49 size_t rowBytes = GetObject<size_t>(); in PixmapFuzzTest000() 57 for (size_t i = 0; i < str_size; i++) { in PixmapFuzzTest000() 82 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/ |
H A D | HeifDecoder.h | 39 virtual size_t read(void*, size_t) = 0; 41 virtual bool seek(size_t) = 0; 43 virtual size_t getLength() const = 0; 45 virtual size_t getPosition() const = 0; 81 virtual bool getSequenceInfo(HeifFrameInfo* frameInfo, size_t *frameCount) = 0; 89 virtual void setDstBuffer(uint8_t *dstBuffer, size_t rowStride, void *context) = 0; 93 virtual size_t skipScanlines(int count) = 0; 96 virtual void setGainmapDstBuffer(uint8_t* dstBuffer, size_t rowStride) = 0;
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/include/ |
H A D | png_image_chunk_utils.h | 49 static DataBuf GetRawTextFromZtxtChunk(const DataBuf &chunkData, size_t keySize, 53 static DataBuf GetRawTextFromTextChunk(const DataBuf &chunkData, size_t keySize, DataBuf &rawText); 56 static DataBuf GetRawTextFromItxtChunk(const DataBuf &chunkData, size_t keySize, 60 static DataBuf GetRawTextFromChunk(const DataBuf &chunkData, size_t keySize, 64 static bool FindExifKeyword(const byte *keyword, size_t size); 67 static size_t VerifyExifIdCode(DataBuf &exifInfo, size_t exifInfoLength); 79 static const char *GetExifInfoLen(const char *sourcePtr, size_t *lengthOut, const char *endPtr); 82 static int ConvertAsciiToInt(const char *sourcePtr, size_t exifInfoLength, unsigned char *destPtr);
|