/kernel/linux/linux-5.10/include/linux/ |
H A D | kmsg_dump.h | 58 char *line, size_t size, size_t *len); 61 char *line, size_t size, size_t *len); 64 char *buf, size_t size, size_t *len); 82 size_t size, size_t *len) in kmsg_dump_get_line_nolock() 88 const char *line, size_t size, size_t *le in kmsg_dump_get_line() [all...] |
/third_party/curl/tests/libtest/ |
H A D | lib1509.c | 30 size_t WriteOutput(void *ptr, size_t size, size_t nmemb, void *stream); 31 size_t WriteHeader(void *ptr, size_t size, size_t nmemb, void *stream); 85 size_t WriteOutput(void *ptr, size_t size, size_t nmemb, void *stream) in WriteOutput() 91 size_t WriteHeade [all...] |
/third_party/elfutils/libdw/ |
H A D | libdw_form.c | 40 size_t 48 size_t result; in __libdw_form_val_compute_len() 72 if (unlikely ((size_t) (endp - startp) < 1)) in __libdw_form_val_compute_len() 78 if (unlikely ((size_t) (endp - startp) < 2)) in __libdw_form_val_compute_len() 84 if (unlikely ((size_t) (endp - startp) < 4)) in __libdw_form_val_compute_len() 98 (size_t) (endp - startp)); in __libdw_form_val_compute_len() 101 result = (size_t) (endstrp - startp) + 1; in __libdw_form_val_compute_len() 124 return (size_t) -1; in __libdw_form_val_compute_len() 126 if (result != (size_t) -1) in __libdw_form_val_compute_len() 129 return (size_t) in __libdw_form_val_compute_len() [all...] |
/third_party/bounds_checking_function/src/ |
H A D | strncpy_s.c | 25 ((count) <= SECUREC_STRING_MAX_LEN || (count) == ((size_t)(-1))) && (count) > 0)) 35 SECUREC_INLINE errno_t CheckSrcCountRange(char *strDest, size_t destMax, const char *strSrc, size_t count) in CheckSrcCountRange() 37 size_t tmpDestMax = destMax; in CheckSrcCountRange() 38 size_t tmpCount = count; in CheckSrcCountRange() 58 errno_t strncpy_error(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncpy_error() 108 errno_t strncpy_s(char *strDest, size_t destMax, const char *strSrc, size_t count) in strncpy_s() 111 size_t minCpLe in strncpy_s() [all...] |
/third_party/node/src/ |
H A D | node_buffer.h | 32 static const size_t kMaxLength = v8::TypedArray::kMaxLength; 40 NODE_EXTERN size_t Length(v8::Local<v8::Value> val); 41 NODE_EXTERN size_t Length(v8::Local<v8::Object> val); 46 size_t len); 49 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length); 59 size_t length, 66 size_t len); 71 size_t byte_offset, 72 size_t length); 75 static inline bool IsWithinBounds(size_t of [all...] |
/third_party/node/deps/v8/src/base/sanitizer/ |
H A D | lsan-virtual-address-space.h | 33 Address AllocatePages(Address hint, size_t size, size_t alignment, 36 void FreePages(Address address, size_t size) override; 38 Address AllocateSharedPages(Address hint, size_t size, 43 void FreeSharedPages(Address address, size_t size) override; 45 bool SetPagePermissions(Address address, size_t size, 50 bool AllocateGuardRegion(Address address, size_t size) override { 54 void FreeGuardRegion(Address address, size_t size) override { 61 Address hint, size_t size, size_t alignmen [all...] |
/third_party/node/deps/v8/src/utils/ |
H A D | detachable-vector.h | 29 size_t capacity() const { return capacity_; } in capacity() 30 size_t size() const { return size_; } in size() 33 static const size_t kMinimumCapacity; 34 static const size_t kDataOffset; 35 static const size_t kCapacityOffset; 36 static const size_t kSizeOffset; 40 size_t capacity_ = 0; 41 size_t size_ = 0; 57 size_t new_capacity = std::max(kMinimumCapacity, 2 * capacity_); in push_back() 73 T& at(size_t [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | IndexRangeCache.cpp | 23 size_t offset, in addRange() 24 size_t count, in addRange() 32 size_t offset, in findRange() 33 size_t count, in findRange() 56 void IndexRangeCache::invalidateRange(size_t offset, size_t size) in invalidateRange() 58 size_t invalidateStart = offset; in invalidateRange() 59 size_t invalidateEnd = offset + size; in invalidateRange() 64 size_t rangeStart = i->first.offset; in invalidateRange() 65 size_t rangeEn in invalidateRange() [all...] |
/third_party/skia/src/core/ |
H A D | SkGraphics.cpp | 54 static const size_t kFontCacheLimitLen = sizeof(kFontCacheLimitStr) - 1; 58 size_t fLen; 59 size_t (*fFunc)(size_t); 71 size_t len = strlen(flags); in SetFlags() 81 size_t paramLen = paramEnd - flags; in SetFlags() 87 size_t val = 0; in SetFlags() 89 val = (size_t) atoi(nextEqual + 1); in SetFlags() 99 size_t SkGraphics::GetFontCacheLimit() { in GetFontCacheLimit() 103 size_t SkGraphic [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/ |
H A D | Buffer.h | 42 size_t offset, 43 size_t size, 46 void* GetMappedRange(size_t offset, size_t size); 47 const void* GetConstMappedRange(size_t offset, size_t size); 58 bool CheckGetMappedRangeOffsetSize(size_t offset, size_t size) const; 79 size_t offset = 0; 80 size_t siz [all...] |
H A D | ClientMemoryTransferService_mock.cpp | 30 size_t MockMemoryTransferService::MockReadHandle::SerializeCreateSize() { in SerializeCreateSize() 44 size_t deserializeSize, in DeserializeDataUpdate() 45 size_t offset, in DeserializeDataUpdate() 46 size_t size) { in DeserializeDataUpdate() 61 size_t MockMemoryTransferService::MockWriteHandle::SerializeCreateSize() { in SerializeCreateSize() 73 size_t MockMemoryTransferService::MockWriteHandle::SizeOfSerializeDataUpdate(size_t offset, in SizeOfSerializeDataUpdate() 74 size_t size) { in SizeOfSerializeDataUpdate() 79 size_t offset, in SerializeDataUpdate() 80 size_t siz in SerializeDataUpdate() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
H A D | eap_gpsk_common.h | 49 int eap_gpsk_derive_keys(const u8 *psk, size_t psk_len, int vendor, 52 const u8 *id_client, size_t id_client_len, 53 const u8 *id_server, size_t id_server_len, 54 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, 55 u8 *pk, size_t *pk_len); 56 int eap_gpsk_derive_session_id(const u8 *psk, size_t psk_len, int vendor, 59 const u8 *id_peer, size_t id_peer_len, 60 const u8 *id_server, size_t id_server_len, 61 u8 method_type, u8 *sid, size_t *sid_len); 62 size_t eap_gpsk_mic_le [all...] |
H A D | eap_sake_common.h | 64 size_t serverid_len; 66 size_t peerid_len; 68 size_t spi_s_len; 70 size_t spi_p_len; 74 size_t encr_data_len; 76 size_t iv_len; 78 size_t next_tmpid_len; 82 int eap_sake_parse_attributes(const u8 *buf, size_t len, 89 const u8 *serverid, size_t serverid_len, 90 const u8 *peerid, size_t peerid_le [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | tlsv1_client.h | 22 const u8 *context, size_t context_len, 23 int server_random_first, u8 *out, size_t out_len); 25 const u8 *in_data, size_t in_len, 26 size_t *out_len, u8 **appl_data, 27 size_t *appl_data_len, int *need_more_data); 29 const u8 *in_data, size_t in_len, 30 u8 *out_data, size_t out_len); 32 const u8 *in_data, size_t in_len, 35 size_t buflen); 39 const u8 *data, size_t data_le [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
H A D | eap_gpsk_common.h | 49 int eap_gpsk_derive_keys(const u8 *psk, size_t psk_len, int vendor, 52 const u8 *id_client, size_t id_client_len, 53 const u8 *id_server, size_t id_server_len, 54 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, 55 u8 *pk, size_t *pk_len); 56 int eap_gpsk_derive_session_id(const u8 *psk, size_t psk_len, int vendor, 59 const u8 *id_peer, size_t id_peer_len, 60 const u8 *id_server, size_t id_server_len, 61 u8 method_type, u8 *sid, size_t *sid_len); 62 size_t eap_gpsk_mic_le [all...] |
H A D | eap_sake_common.h | 64 size_t serverid_len; 66 size_t peerid_len; 68 size_t spi_s_len; 70 size_t spi_p_len; 74 size_t encr_data_len; 76 size_t iv_len; 78 size_t next_tmpid_len; 82 int eap_sake_parse_attributes(const u8 *buf, size_t len, 89 const u8 *serverid, size_t serverid_len, 90 const u8 *peerid, size_t peerid_le [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | tlsv1_client.h | 22 const u8 *context, size_t context_len, 23 int server_random_first, u8 *out, size_t out_len); 25 const u8 *in_data, size_t in_len, 26 size_t *out_len, u8 **appl_data, 27 size_t *appl_data_len, int *need_more_data); 29 const u8 *in_data, size_t in_len, 30 u8 *out_data, size_t out_len); 32 const u8 *in_data, size_t in_len, 35 size_t buflen); 39 const u8 *data, size_t data_le [all...] |
/third_party/protobuf/php/ext/google/protobuf/ |
H A D | php-upb.h | 100 int msvc_snprintf(char* s, size_t n, const char* format, ...); 101 int msvc_vsnprintf(char* s, size_t n, const char* format, va_list arg); 267 size_t size; 270 UPB_INLINE upb_strview upb_strview_make(const char *data, size_t size) { in upb_strview_make() 304 typedef void *upb_alloc_func(upb_alloc *alloc, void *ptr, size_t oldsize, 305 size_t size); 311 UPB_INLINE void *upb_malloc(upb_alloc *alloc, size_t size) { in upb_malloc() 316 UPB_INLINE void *upb_realloc(upb_alloc *alloc, void *ptr, size_t oldsize, in upb_realloc() 317 size_t size) { in upb_realloc() 336 UPB_INLINE void *upb_gmalloc(size_t siz [all...] |
/third_party/skia/modules/skparagraph/src/ |
H A D | Run.h | 33 typedef size_t RunIndex; 34 const size_t EMPTY_RUN = EMPTY_INDEX; 36 typedef size_t ClusterIndex; 37 typedef SkRange<size_t> ClusterRange; 38 const size_t EMPTY_CLUSTER = EMPTY_INDEX; 39 const SkRange<size_t> EMPTY_CLUSTERS = EMPTY_RANGE; 41 typedef size_t GraphemeIndex; 44 typedef size_t GlyphIndex; 50 DirText(bool dir, size_t s, size_t [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | mediacodec_sw_buffer.c | 79 size_t size, in ff_mediacodec_sw_buffer_copy_yuv420_planar() 134 size_t size, in ff_mediacodec_sw_buffer_copy_yuv420_semi_planar() 184 size_t size, in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar() 259 static size_t qcom_tile_pos(size_t x, size_t y, size_t w, size_t h) in qcom_tile_pos() 261 size_t flim = x + (y & ~1) * w; in qcom_tile_pos() 275 size_t siz in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka() [all...] |
/third_party/elfutils/libelf/ |
H A D | libelf.h | 132 size_t d_size; /* Size in bytes. */ 134 size_t d_align; /* Alignment in section. */ 210 size_t as_off; /* Offset for this file in the archive. */ 233 extern Elf *elf_memory (char *__image, size_t __size); 252 extern char *elf_getident (Elf *__elf, size_t *__nbytes); 268 extern int elf_getphdrnum (Elf *__elf, size_t *__dst); 276 extern Elf32_Phdr *elf32_newphdr (Elf *__elf, size_t __cnt); 278 extern Elf64_Phdr *elf64_newphdr (Elf *__elf, size_t __cnt); 282 extern Elf_Scn *elf_getscn (Elf *__elf, size_t __index); 290 extern size_t elf_ndxsc [all...] |
/third_party/nghttp2/src/ |
H A D | allocator.h | 58 BlockAllocator(size_t block_size, size_t isolation_threshold) in BlockAllocator() 99 MemBlock *alloc_mem_block(size_t size) { in alloc_mem_block() 110 void *alloc(size_t size) { in alloc() 111 if (size + sizeof(size_t) >= isolation_threshold) { in alloc() 112 auto len = std::max(static_cast<size_t>(16), size); in alloc() 113 // We will store the allocated size in size_t field. in alloc() 114 auto mb = alloc_mem_block(len + sizeof(size_t)); in alloc() 115 auto sp = reinterpret_cast<size_t *>(mb->begin); in alloc() 118 return mb->begin + sizeof(size_t); in alloc() [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | vector.h | 30 constexpr Vector(T* data, size_t length) : start_(data), length_(length) { in Vector() 34 static Vector<T> New(size_t length) { in New() 40 Vector<T> SubVector(size_t from, size_t to) const { in SubVector() 53 // Returns the length of the vector as a size_t. 54 constexpr size_t size() const { return length_; } in size() 60 T& operator[](size_t index) const { in operator []() 65 const T& at(size_t index) const { return operator[](index); } in at() 86 for (size_t i = 0; i < length_; i++) result[i] = start_[i]; in Clone() 90 void Truncate(size_t lengt [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | object-start-bitmap.h | 35 static constexpr size_t Granularity() { return kAllocationGranularity; } in Granularity() 38 static constexpr size_t MaxEntries() { in MaxEntries() 76 inline void store(size_t cell_index, uint8_t value); 78 inline uint8_t load(size_t cell_index) const; 80 static constexpr size_t kBitsPerCell = sizeof(uint8_t) * CHAR_BIT; 81 static constexpr size_t kCellMask = kBitsPerCell - 1; 82 static constexpr size_t kBitmapSize = 85 static constexpr size_t kReservedForBitmap = 88 inline void ObjectStartIndexAndBit(ConstAddress, size_t*, size_t*) cons [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | TexturesPerf.cpp | 30 size_t GetFrequencyValue(Frequency frequency, size_t sometimesValue) in GetFrequencyValue() 37 return std::numeric_limits<size_t>::max(); in GetFrequencyValue() 62 constexpr size_t kRebindSometimesFrequency = 5; 63 constexpr size_t kStateUpdateSometimesFrequency = 3; 86 size_t numTextures; 89 size_t textureMipCount; 149 if (params.numTextures > static_cast<size_t>(maxTextureUnits)) in initializeBenchmark() 163 std::string GetUniformLocationName(size_t idx, bool vertexShader) in GetUniformLocationName() 181 for (size_t in initShaders() [all...] |