/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | CachedObject.h | 32 size_t operator()(const CachedObject* obj) const; 35 size_t GetContentHash() const; 36 void SetContentHash(size_t contentHash); 45 virtual size_t ComputeContentHash() = 0; 47 size_t mContentHash = 0;
|
/third_party/pulseaudio/src/pulse/ |
H A D | util.h | 35 char *pa_get_user_name(char *s, size_t l); 38 char *pa_get_host_name(char *s, size_t l); 41 char *pa_get_fqdn(char *s, size_t l); 44 char *pa_get_home_dir(char *s, size_t l); 48 char *pa_get_binary_name(char *s, size_t l);
|
/third_party/skia/modules/skparagraph/include/ |
H A D | ParagraphLineFetcher.h | 26 virtual size_t getLineBreak(size_t startIndex, SkScalar width) const = 0; 27 virtual std::unique_ptr<TextLineBase> createLine(size_t startIndex, size_t count) = 0; 29 virtual size_t getUnicodeSize() const = 0;
|
/third_party/skia/include/c/ |
H A D | sk_data.h | 22 SK_API sk_data_t* sk_data_new_with_copy(const void* src, size_t length); 27 size_t length = 1024; 33 SK_API sk_data_t* sk_data_new_from_malloc(const void* memory, size_t length); 39 SK_API sk_data_t* sk_data_new_subset(const sk_data_t* src, size_t offset, size_t length); 57 SK_API size_t sk_data_get_size(const sk_data_t*);
|
/drivers/hdf_core/adapter/khdf/liteos/model/storage/src/mtd/ |
H A D | mtd_char_lite.c | 119 static ssize_t MtdCharRead(FAR struct file *filep, FAR char *buffer, size_t buflen) in MtdCharRead() 128 size_t blockSize = mtdDevice->eraseSize; in MtdCharRead() 129 size_t partStart = partition->start_block * blockSize; in MtdCharRead() 130 size_t partSize = (partition->end_block + 1 - partition->start_block) * blockSize; in MtdCharRead() 131 size_t partOobSize = (partSize >> mtdDevice->writeSizeShift) * mtdDevice->oobSize; in MtdCharRead() 179 static ssize_t MtdCharWrite(FAR struct file *filep, FAR const char *buffer, size_t buflen) in MtdCharWrite() 188 size_t blockSize = mtdDevice->eraseSize; in MtdCharWrite() 189 size_t partStart = partition->start_block * blockSize; in MtdCharWrite() 190 size_t partSize = (partition->end_block + 1 - partition->start_block) * blockSize; in MtdCharWrite() 191 size_t partOobSiz in MtdCharWrite() [all...] |
/drivers/hdf_core/framework/utils/src/ |
H A D | hdf_sbuf_impl_raw.c | 30 size_t writePos; /**< Current write position */ 31 size_t readPos; /**< Current read position */ 32 size_t capacity; /**< Storage capacity, 512 KB at most. */ 39 static struct HdfSBufRaw *SbufRawImplNewInstance(size_t capacity); 42 static size_t SbufRawImplGetAlignSize(size_t size) in SbufRawImplGetAlignSize() 62 static size_t SbufRawImplGetLeftWriteSize(struct HdfSBufRaw *sbuf) in SbufRawImplGetLeftWriteSize() 67 static size_t SbufRawImplGetLeftReadSize(struct HdfSBufRaw *sbuf) in SbufRawImplGetLeftReadSize() 75 size_t alignSize; in SbufRawImplWriteRollback() 92 size_t alignSiz in SbufRawImplReadRollback() [all...] |
/third_party/elfutils/src/ |
H A D | strings.c | 104 static size_t min_len = 4; 107 static size_t bytes_per_char = 1; 110 static size_t min_len_bytes; 132 static size_t ps; 138 static size_t elfmap_size; 313 size_t len, char **unprinted) in process_chunk_mb() 315 size_t curlen = *unprinted == NULL ? 0 : strlen (*unprinted); in process_chunk_mb() 390 size_t len, char **unprinted) in process_chunk() 400 size_t curlen = *unprinted == NULL ? 0 : strlen (*unprinted); in process_chunk() 453 map_file (int fd, off_t start_off, off_t fdlen, size_t *map_size [all...] |
/third_party/googletest/googletest/src/ |
H A D | gtest-printers.cc | 67 void PrintByteSegmentInObjectTo(const unsigned char* obj_bytes, size_t start, in PrintByteSegmentInObjectTo() 68 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() 70 for (size_t i = 0; i != count; i++) { in PrintByteSegmentInObjectTo() 71 const size_t j = start + i; in PrintByteSegmentInObjectTo() 86 void PrintBytesInObjectToImpl(const unsigned char* obj_bytes, size_t count, in PrintBytesInObjectToImpl() 91 const size_t kThreshold = 132; in PrintBytesInObjectToImpl() 92 const size_t kChunkSize = 64; in PrintBytesInObjectToImpl() 102 const size_t resume_pos = (count - kChunkSize + 1) / 2 * 2; in PrintBytesInObjectToImpl() 127 void PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count, in PrintBytesInObjectTo() 339 PrintCharsAsStringTo(const CharType* begin, size_t le [all...] |
/third_party/mbedtls/library/ |
H A D | x509write_crt.c | 97 size_t tmp_len; in mbedtls_x509write_crt_set_serial() 117 unsigned char *serial, size_t serial_len) in mbedtls_x509write_crt_set_serial_raw() 153 const char *oid, size_t oid_len, in mbedtls_x509write_crt_set_extension() 155 const unsigned char *val, size_t val_len) in mbedtls_x509write_crt_set_extension() 167 size_t len = 0; in mbedtls_x509write_crt_set_basic_constraints() 202 size_t len = 0; in mbedtls_x509write_crt_set_key_identifier() 205 size_t hash_length; in mbedtls_x509write_crt_set_key_identifier() 314 1, c, (size_t) ret); in mbedtls_x509write_crt_set_key_usage() 328 size_t len = 0; in mbedtls_x509write_crt_set_ext_key_usage() 379 0, c, (size_t) re in mbedtls_x509write_crt_set_ns_cert_type() [all...] |
/third_party/mesa3d/include/CL/ |
H A D | cl_ext.h | 73 size_t cb, 79 size_t cb, 85 size_t cb, 129 size_t length, 135 size_t length, 386 size_t image_width, 387 size_t image_height, 390 size_t param_value_size, 392 size_t *param_value_size_ret); 524 size_t input_value_siz [all...] |
/third_party/jerryscript/jerry-core/jmem/ |
H A D | jmem-heap.c | 46 # define MSG_SIZE_TYPE size_t 50 # define MSG_SIZE_TYPE size_t 147 jmem_heap_alloc (const size_t size) /**< size of requested block */ in jmem_heap_alloc() 163 const size_t required_size = ((size + JMEM_ALIGNMENT - 1) / JMEM_ALIGNMENT) * JMEM_ALIGNMENT; in jmem_heap_alloc() 307 jmem_heap_gc_and_alloc_block (const size_t size, /**< required memory size */ in jmem_heap_gc_and_alloc_block() 342 jmem_heap_alloc_block_internal (const size_t size) /**< required memory size */ in jmem_heap_alloc_block_internal() 357 jmem_heap_alloc_block (const size_t size) /**< required memory size */ in jmem_heap_alloc_block() 375 jmem_heap_alloc_block_null_on_error (const size_t size) /**< required memory size */ in jmem_heap_alloc_block_null_on_error() 437 const size_t size) /**< size of the inserted block */ in jmem_heap_insert_block() 490 const size_t siz in jmem_heap_free_block_internal() [all...] |
/third_party/node/deps/googletest/src/ |
H A D | gtest-printers.cc | 70 void PrintByteSegmentInObjectTo(const unsigned char* obj_bytes, size_t start, in PrintByteSegmentInObjectTo() 71 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() 73 for (size_t i = 0; i != count; i++) { in PrintByteSegmentInObjectTo() 74 const size_t j = start + i; in PrintByteSegmentInObjectTo() 89 void PrintBytesInObjectToImpl(const unsigned char* obj_bytes, size_t count, in PrintBytesInObjectToImpl() 94 const size_t kThreshold = 132; in PrintBytesInObjectToImpl() 95 const size_t kChunkSize = 64; in PrintBytesInObjectToImpl() 105 const size_t resume_pos = (count - kChunkSize + 1) / 2 * 2; in PrintBytesInObjectToImpl() 130 void PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count, in PrintBytesInObjectTo() 342 PrintCharsAsStringTo(const CharType* begin, size_t le [all...] |
/third_party/lzma/C/ |
H A D | 7zFile.c | 155 WRes File_Read(CSzFile *p, void *data, size_t *size)
in File_Read() 157 size_t originalSize = *size;
in File_Read() 184 const size_t curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : originalSize;
in File_Read() 185 const size_t processed = fread(data, 1, curSize, p->file);
in File_Read() 186 data = (void *)((Byte *)data + (size_t)processed);
in File_Read() 201 const size_t curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : originalSize;
in File_Read() 207 data = (void *)((Byte *)data + (size_t)processed);
in File_Read() 208 originalSize -= (size_t)processed;
in File_Read() 209 *size += (size_t)processed;
in File_Read() 221 WRes File_Write(CSzFile *p, const void *data, size_t *siz [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | linkage.h | 254 LocationSignature* location_sig, size_t param_slot_count, in CallDescriptor() 264 size_t return_slot_count = 0) 319 size_t ReturnCount() const { return location_sig_->return_count(); } in ReturnCount() 324 size_t ParameterCount() const { return location_sig_->parameter_count(); } in ParameterCount() 327 size_t GPParameterCount() const { in GPParameterCount() 335 size_t FPParameterCount() const { in FPParameterCount() 343 size_t ParameterSlotCount() const { return param_slot_count_; } in ParameterSlotCount() 346 size_t ReturnSlotCount() const { return return_slot_count_; } in ReturnSlotCount() 349 size_t JSParameterCount() const { in JSParameterCount() 366 size_t InputCoun [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | region-allocator.cc | 22 size_t memory_region_size, size_t page_size) in RegionAllocator() 27 static_cast<size_t>(size() * kMaxLoadFactorForRandomization)), in RegionAllocator() 70 RegionAllocator::Region* RegionAllocator::FreeListFindRegion(size_t size) { in FreeListFindRegion() 87 size_t new_size) { in Split() 131 RegionAllocator::Address RegionAllocator::AllocateRegion(size_t size) { in AllocateRegion() 151 RandomNumberGenerator* rng, size_t size) { in AllocateRegion() 154 size_t random = 0; in AllocateRegion() 158 size_t random_offset = page_size_ * (random % region_size_in_pages_); in AllocateRegion() 169 bool RegionAllocator::AllocateRegionAt(Address requested_address, size_t siz [all...] |
/third_party/openssl/test/testutil/ |
H A D | format_output.c | 42 const char *op, const char *m1, size_t l1, in test_fail_string_common() 43 const char *m2, size_t l2) in test_fail_string_common() 45 const size_t width = in test_fail_string_common() 49 size_t n1, n2, i; in test_fail_string_common() 86 const size_t j = n1 < n2 ? n1 : n2; in test_fail_string_common() 131 const char *op, const char *m1, size_t l1, in test_fail_string_message() 132 const char *m2, size_t l2) in test_fail_string_message() 139 void test_output_string(const char *name, const char *m, size_t l) in test_output_string() 151 static void hex_convert_memory(const unsigned char *m, size_t n, char *b, in hex_convert_memory() 152 size_t widt in hex_convert_memory() [all...] |
/third_party/python/PC/ |
H A D | pyshellext.cpp | 27 HRESULT FilenameListCchLengthA(LPCSTR pszSource, size_t cchMax, size_t *pcchLength, size_t *pcchCount) { in FilenameListCchLengthA() 29 size_t count = 0; in FilenameListCchLengthA() 30 size_t length = 0; in FilenameListCchLengthA() 33 size_t oneLength; in FilenameListCchLengthA() 48 HRESULT FilenameListCchLengthW(LPCWSTR pszSource, size_t cchMax, size_t *pcchLength, size_t *pcchCount) { in FilenameListCchLengthW() 50 size_t coun in FilenameListCchLengthW() [all...] |
/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_message_sequence_read.cpp | 36 size_t argc = 0; in JS_getSize() 44 size_t value = napiSequence->nativeParcel_->GetDataSize(); in JS_getSize() 52 size_t argc = 0; in JS_getCapacity() 60 size_t value = napiSequence->nativeParcel_->GetDataCapacity(); in JS_getCapacity() 68 size_t argc = 0; in JS_getReadableBytes() 76 size_t value = napiSequence->nativeParcel_->GetReadableBytes(); in JS_getReadableBytes() 84 size_t argc = 0; in JS_getReadPosition() 92 size_t value = napiSequence->nativeParcel_->GetReadPosition(); in JS_getReadPosition() 100 size_t argc = 1; in JS_rewindRead() 127 bool result = napiSequence->nativeParcel_->RewindRead(static_cast<size_t>(po in JS_rewindRead() [all...] |
/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifidevicestub_fuzzer/ |
H A D | wifidevicestub_fuzzer.cpp | 40 constexpr size_t U32_AT_SIZE_ZERO = 4; 127 void OnInitWifiProtectFuzzTest(const uint8_t* data, size_t size) in OnInitWifiProtectFuzzTest() 139 void OnGetWifiProtectRefFuzzTest(const uint8_t* data, size_t size) in OnGetWifiProtectRefFuzzTest() 151 void OnPutWifiProtectRefFuzzTest(const uint8_t* data, size_t size) in OnPutWifiProtectRefFuzzTest() 163 void OnIsHeldWifiProtectRefFuzzTest(const uint8_t* data, size_t size) in OnIsHeldWifiProtectRefFuzzTest() 175 void OnAddDeviceConfigFuzzTest(const uint8_t* data, size_t size) in OnAddDeviceConfigFuzzTest() 187 void OnUpdateDeviceConfigFuzzTest(const uint8_t* data, size_t size) in OnUpdateDeviceConfigFuzzTest() 199 void OnRemoveDeviceFuzzTest(const uint8_t* data, size_t size) in OnRemoveDeviceFuzzTest() 211 void OnRemoveAllDeviceFuzzTest(const uint8_t* data, size_t size) in OnRemoveAllDeviceFuzzTest() 223 void OnGetDeviceConfigsFuzzTest(const uint8_t* data, size_t siz [all...] |
/base/update/updater/services/package/pkg_algorithm/ |
H A D | pkg_algo_digest.cpp | 22 size_t DigestAlgorithm::GetDigestLen(int8_t digestMethod)
in GetDigestLen() 24 static size_t digestLens[PKG_DIGEST_TYPE_MAX] = {0, DIGEST_CRC_LEN, DIGEST_SHA256_LEN, DIGEST_SHA256_LEN};
in GetDigestLen() 31 size_t DigestAlgorithm::GetSignatureLen(int8_t digestMethod)
in GetSignatureLen() 33 static size_t signatureLens[PKG_DIGEST_TYPE_MAX] = {0, 0, SIGN_SHA256_LEN, SIGN_SHA384_LEN};
in GetSignatureLen() 51 int32_t Crc32Algorithm::Update(const PkgBuffer &buffer, size_t size)
in Update() 75 int32_t Crc32Algorithm::Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size)
in Calculate() 97 int32_t Sha256Algorithm::Update(const PkgBuffer &buffer, size_t size)
in Update() 117 int32_t Sha256Algorithm::Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size)
in Calculate() 139 int32_t Sha384Algorithm::Update(const PkgBuffer &buffer, size_t size)
in Update() 159 int32_t Sha384Algorithm::Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t siz [all...] |
/drivers/interface/display/composer/command_pack/ |
H A D | command_data_packer.h | 47 bool Init(size_t size = INIT_DATA_SIZE, bool isAdaptiveGrowth = false) in Init() 92 size_t ValidSize() in ValidSize() 97 size_t PackSize() in PackSize() 107 void RollBack(size_t writePos) in RollBack() 202 size_t writeSize = sizeof(T); 203 size_t newSize = writePos_ + writeSize; 240 size_t packSize_; 241 size_t writePos_; 242 size_t curSecOffset_; 244 size_t curSecLenPos [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | property_util.h | 43 explicit CustomPropertyPodContainer(size_t reserveByteSize); 54 size_t Size() const override; 61 size_t PropertyCount() const override; 62 const CORE_NS::Property* MetaData(size_t index) const override; 72 void ReservePropertyCount(size_t propertyCount); 79 bool SetValue(size_t byteOffset, BASE_NS::array_view<const uint8_t> data); 82 size_t GetByteSize() const; 107 size_t reservePropertyCount_ { 0 }; 119 static size_t GetPropertyTypeAlignment(const CORE_NS::PropertyTypeDecl& propertyType); 121 const CORE_NS::json::value* value, CustomPropertyPodContainer& customProperties, const size_t offse [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rscanvasdrawingnode_fuzzer/ |
H A D | rscanvasdrawingnode_fuzzer.cpp | 37 size_t g_size = 0;
38 size_t g_pos;
49 size_t objectSize = sizeof(object);
in GetData() 61 bool DoRSCanvasDrawingNode(const uint8_t* data, size_t size)
in DoRSCanvasDrawingNode() 79 bool DoCreate(const uint8_t* data, size_t size)
in DoCreate() 97 bool DoGetBitmap(const uint8_t* data, size_t size)
in DoGetBitmap() 125 bool DoGetPixelmap(const uint8_t* data, size_t size)
in DoGetPixelmap() 153 bool DoResetSurface(const uint8_t* data, size_t size)
in DoResetSurface() 174 bool DoCreateTextureExportRenderNodeInRT(const uint8_t* data, size_t size)
in DoCreateTextureExportRenderNodeInRT() 196 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t siz [all...] |
/foundation/multimedia/image_framework/interfaces/kits/native/include/image/ |
H A D | image_packer_native.h | 312 int32_t *delayTimeList, size_t delayTimeListLength); 326 int32_t *delayTimeList, size_t delayTimeListLength); 340 uint32_t *disposalTypes, size_t disposalTypesLength); 354 uint32_t *disposalTypes, size_t disposalTypesLength); 412 OH_PackingOptions *options, OH_ImageSourceNative *imageSource, uint8_t *outData, size_t *size); 426 OH_PackingOptions *options, OH_PixelmapNative *pixelmap, uint8_t *outData, size_t *size); 479 OH_PackingOptions *options, OH_PictureNative *picture, uint8_t *outData, size_t *size); 498 size_t sequenceLength, uint8_t *outData, size_t *outDataSize); 531 OH_PackingOptionsForSequence *options, OH_PixelmapNative **pixelmapSequence, size_t sequenceLengt [all...] |
/foundation/multimedia/media_foundation/engine/include/plugin/common/ |
H A D | plugin_buffer.h | 113 size_t samples {0}; 131 std::vector<size_t> offsets {}; 198 static std::shared_ptr<Buffer> CreateDefaultBuffer(BufferMetaType type, size_t capacity, 200 size_t align = 1); 202 std::shared_ptr<Memory> WrapMemory(uint8_t* data, size_t capacity, size_t size); 204 std::shared_ptr<Memory> WrapMemoryPtr(std::shared_ptr<uint8_t> data, size_t capacity, size_t size); 206 std::shared_ptr<Memory> AllocMemory(std::shared_ptr<Allocator> allocator, size_t capacity, size_t alig [all...] |