/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | pthread.h | 200 int pthread_attr_getguardsize(const pthread_attr_t *__restrict, size_t *__restrict); 201 int pthread_attr_setguardsize(pthread_attr_t *, size_t); 202 int pthread_attr_getstacksize(const pthread_attr_t *__restrict, size_t *__restrict); 203 int pthread_attr_setstacksize(pthread_attr_t *, size_t); 206 int pthread_attr_getstack(const pthread_attr_t *__restrict, void **__restrict, size_t *__restrict); 207 int pthread_attr_setstack(pthread_attr_t *, void *, size_t); 267 int pthread_attr_setaffinity_np(pthread_attr_t *, size_t, const cpu_set_t *); 268 int pthread_attr_getaffinity_np(const pthread_attr_t *, size_t, cpu_set_t *); 269 int pthread_getaffinity_np(pthread_t, size_t, struct cpu_set_t *); 270 int pthread_setaffinity_np(pthread_t, size_t, cons [all...] |
/third_party/nghttp2/lib/ |
H A D | nghttp2_map.c | 98 static size_t h2idx(uint32_t hash, uint32_t bits) { in h2idx() 102 static size_t distance(uint32_t tablelen, uint32_t tablelenbits, in distance() 103 nghttp2_map_bucket *bkt, size_t idx) { in distance() 132 size_t idx; in nghttp2_map_print_distance() 154 size_t idx = h2idx(hash, tablelenbits); in insert() 155 size_t d = 0, dd; in insert() 250 size_t idx; in nghttp2_map_find() 252 size_t d = 0; in nghttp2_map_find() 280 size_t idx, didx; in nghttp2_map_remove() 282 size_t in nghttp2_map_remove() [all...] |
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_map.c | 98 static size_t h2idx(uint32_t hash, uint32_t bits) { in h2idx() 102 static size_t distance(uint32_t tablelen, uint32_t tablelenbits, in distance() 103 ngtcp2_map_bucket *bkt, size_t idx) { in distance() 131 size_t idx; in ngtcp2_map_print_distance() 152 size_t idx = h2idx(hash, tablelenbits); in insert() 153 size_t d = 0, dd; in insert() 248 size_t idx; in ngtcp2_map_find() 250 size_t d = 0; in ngtcp2_map_find() 278 size_t idx, didx; in ngtcp2_map_remove() 280 size_t in ngtcp2_map_remove() [all...] |
H A D | ngtcp2_rob.c | 49 int ngtcp2_rob_data_new(ngtcp2_rob_data **pd, uint64_t offset, size_t chunk, in ngtcp2_rob_data_new() 68 int ngtcp2_rob_init(ngtcp2_rob *rob, size_t chunk, const ngtcp2_mem *mem) { in ngtcp2_rob_init() 122 size_t len) { in rob_write_data() 123 size_t n; in rob_write_data() 152 n = (size_t)ngtcp2_min((uint64_t)len, d->range.begin + rob->chunk - offset); in rob_write_data() 163 size_t datalen) { in ngtcp2_rob_push() 183 (size_t)ngtcp2_range_len(&m)); in ngtcp2_rob_push() 212 (size_t)ngtcp2_range_len(&m)); in ngtcp2_rob_push() 257 size_t ngtcp2_rob_data_at(ngtcp2_rob *rob, const uint8_t **pdest, in ngtcp2_rob_data_at() 283 return (size_t)(ngtcp2_mi in ngtcp2_rob_data_at() [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_map.c | 98 static size_t h2idx(uint32_t hash, uint32_t bits) { in h2idx() 102 static size_t distance(uint32_t tablelen, uint32_t tablelenbits, in distance() 103 nghttp2_map_bucket *bkt, size_t idx) { in distance() 131 size_t idx; in nghttp2_map_print_distance() 152 size_t idx = h2idx(hash, tablelenbits); in insert() 153 size_t d = 0, dd; in insert() 248 size_t idx; in nghttp2_map_find() 250 size_t d = 0; in nghttp2_map_find() 278 size_t idx, didx; in nghttp2_map_remove() 280 size_t in nghttp2_map_remove() [all...] |
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_map.c | 99 static size_t h2idx(uint32_t hash, uint32_t bits) { in h2idx() 103 static size_t distance(uint32_t tablelen, uint32_t tablelenbits, in distance() 104 nghttp3_map_bucket *bkt, size_t idx) { in distance() 132 size_t idx; in nghttp3_map_print_distance() 153 size_t idx = h2idx(hash, tablelenbits); in insert() 154 size_t d = 0, dd; in insert() 249 size_t idx; in nghttp3_map_find() 251 size_t d = 0; in nghttp3_map_find() 279 size_t idx, didx; in nghttp3_map_remove() 281 size_t in nghttp3_map_remove() [all...] |
/third_party/libfuse/example/ |
H A D | hello_ll_uds.c | 99 size_t size; 106 size_t oldsize = b->size; in dirbuf_add() 117 static int reply_buf_limited(fuse_req_t req, const char *buf, size_t bufsize, in reply_buf_limited() 118 off_t off, size_t maxsize) in reply_buf_limited() 127 static void hello_ll_readdir(fuse_req_t req, fuse_ino_t ino, size_t size, in hello_ll_readdir() 157 static void hello_ll_read(fuse_req_t req, fuse_ino_t ino, size_t size, in hello_ll_read() 244 static ssize_t readall(int fd, void *buf, size_t len) { in readall() 245 size_t count = 0; in readall() 260 static ssize_t stream_read(int fd, void *buf, size_t buf_len, void *userdata) { in stream_read() 281 off_t *offout, size_t le in stream_splice_send() [all...] |
/third_party/libevdev/libevdev/ |
H A D | libevdev-int.h | 87 size_t queue_size; /**< size of queue in elements */ 88 size_t queue_next; /**< next event index */ 89 size_t queue_nsync; /**< number of sync events */ 167 queue_peek(struct libevdev *dev, size_t idx, struct input_event *ev) in queue_peek() 184 queue_shift_multiple(struct libevdev *dev, size_t n, struct input_event *ev) in queue_shift_multiple() 186 size_t remaining; in queue_shift_multiple() 217 queue_alloc(struct libevdev *dev, size_t size) in queue_alloc() 239 static inline size_t 245 static inline size_t 251 static inline size_t [all...] |
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-cygwin.cc | 50 uint8_t* RandomizedVirtualAlloc(size_t size, DWORD flags, DWORD protect, in RandomizedVirtualAlloc() 99 void* OS::Allocate(void* hint, size_t size, size_t alignment, in Allocate() 101 size_t page_size = AllocatePageSize(); in Allocate() 128 size_t padded_size = size + (alignment - page_size); in Allocate() 150 void OS::Free(void* address, const size_t size) { in Free() 158 void OS::Release(void* address, size_t size) { in Release() 165 bool OS::SetPermissions(void* address, size_t size, MemoryPermission access) { in SetPermissions() 176 bool OS::DiscardSystemPages(void* address, size_t size) { in DiscardSystemPages() 275 OS::Address boundary_start, OS::Address boundary_end, size_t minimum_siz in GetFreeMemoryRangesWithin() [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | heap-page.cc | 27 Address AlignAddress(Address address, size_t alignment) { in AlignAddress() 81 size_t BasePage::AllocatedBytesAtLastGC() const { in AllocatedBytesAtLastGC() 140 const size_t size = normal_page->PayloadSize() - sizeof(HeapObjectHeader); in Create() 167 static_cast<size_t>(PayloadEnd() - PayloadStart())); in NormalPage() 201 size_t NormalPage::PayloadSize() { in PayloadSize() 202 const size_t header_size = in PayloadSize() 207 LargePage::LargePage(HeapBase& heap, BaseSpace& space, size_t size) in LargePage() 213 size_t LargePage::AllocationSize(size_t payload_size) { in AllocationSize() 219 size_t siz in Create() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | scavenger.h | 49 static constexpr size_t kRegularObjectPromotionListSegmentSize = 256; 50 static constexpr size_t kLargeObjectPromotionListSegmentSize = 4; 65 inline size_t LocalPushSegmentSize() const; 77 inline size_t Size() const; 109 size_t bytes_copied() const { return copied_size_; } in bytes_copied() 110 size_t bytes_promoted() const { return promoted_size_; } in bytes_promoted() 197 size_t copied_size_; 198 size_t promoted_size_; 278 size_t GetMaxConcurrency(size_t worker_coun [all...] |
H A D | array-buffer-sweeper.cc | 30 const size_t accounting_length = extension->accounting_length(); in Append() 61 size_t ArrayBufferList::BytesSlow() const { in BytesSlow() 63 size_t sum = 0; in BytesSlow() 96 std::atomic<size_t> freed_bytes_{0}; 200 const size_t freed_bytes = in Finalize() 219 size_t bytes = extension->accounting_length(); in Append() 234 size_t bytes = extension->ClearAccountingLength(); in Detach() 257 void ArrayBufferSweeper::IncrementExternalMemoryCounters(size_t bytes) { in IncrementExternalMemoryCounters() 265 void ArrayBufferSweeper::DecrementExternalMemoryCounters(size_t bytes) { in DecrementExternalMemoryCounters() 305 const size_t byte in SweepListFull() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/ |
H A D | ldso_cfi_test.cpp | 25 size_t len; 37 typedef size_t (*FuncTypeRetSize)(); 75 size_t count = (*getCount)(); in HWTEST_F() 108 size_t count = (*getCount)(); in HWTEST_F() 138 size_t count = (*getCount)(); in HWTEST_F() 159 size_t count = (*getCount)(); in HWTEST_F() 180 size_t count = (*getCount)(); in HWTEST_F() 220 size_t count = (*getCount)(); in HWTEST_F() 221 const size_t size = SIZE_1024_SQUARE; in HWTEST_F() 223 for (size_t in HWTEST_F() [all...] |
/third_party/musl/Benchmark/musl/ |
H A D | libc_mman.cpp | 128 size_t length = state.range(0); in Bm_function_Mmap_anonymous() 144 size_t length = state.range(0); in Bm_function_Munmap_anonymous() 164 size_t length = state.range(0); in Bm_function_Mmap_fd() 185 size_t length = state.range(0); in Bm_function_Munmap_fd() 202 size_t length = state.range(0); in Bm_function_Madvise() 214 size_t oldLength = state.range(0); in Bm_function_Mremap() 215 size_t newLength = state.range(1); in Bm_function_Mremap() 241 size_t length = state.range(0); in Bm_function_Msync() 260 size_t pagesize = sysconf(_SC_PAGE_SIZE); in Bm_function_mprotect() 261 size_t siz in Bm_function_mprotect() [all...] |
/third_party/musl/libc-test/src/functionalext/ldso_cfi/ |
H A D | ldso_cfi_check.c | 28 size_t map_len; 38 typedef size_t (*GET_COUNT)(); 108 size_t count = (*get_count)(); in cfi_slowpath_function_test_0002() 142 size_t count = (*get_count)(); in cfi_slowpath_function_test_0003() 167 size_t count = (*get_count)(); in cfi_slowpath_function_test_0004() 194 size_t count = (*get_count)(); in cfi_slowpath_function_test_0005() 227 size_t count = (*get_count)(); in cfi_slowpath_function_test_0006() 228 const size_t bss_size = 1024 * 1024; in cfi_slowpath_function_test_0006() 230 for (size_t i = 0; i < bss_size; ++i) { in cfi_slowpath_function_test_0006() 264 size_t coun in cfi_slowpath_function_test_0007() [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | pkcs12kdf.c | 39 size_t pass_len; 41 size_t salt_len; 48 static int pkcs12kdf_derive(const unsigned char *pass, size_t passlen, in pkcs12kdf_derive() 49 const unsigned char *salt, size_t saltlen, in pkcs12kdf_derive() 51 unsigned char *out, size_t n) in pkcs12kdf_derive() 54 size_t Slen, Plen, Ilen; in pkcs12kdf_derive() 55 size_t i, j, k, u, v; in pkcs12kdf_derive() 71 u = (size_t)ui; in pkcs12kdf_derive() 72 v = (size_t)vi; in pkcs12kdf_derive() 181 static int pkcs12kdf_set_membuf(unsigned char **buffer, size_t *bufle [all...] |
/third_party/node/deps/openssl/openssl/include/internal/ |
H A D | ktls.h | 86 const void *data, size_t length) in ktls_send_ctrl_message() 113 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record() 127 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record() 137 const size_t prepend_length = SSL3_RT_HEADER_LENGTH; in ktls_read_record() 189 size_t size, int flags) in ktls_sendfile() 260 size_t tls_crypto_info_len; 299 const void *data, size_t length) in ktls_send_ctrl_message() 332 static ossl_inline ossl_ssize_t ktls_sendfile(int s, int fd, off_t off, size_t size, int flags) in ktls_sendfile() 340 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record() 353 static ossl_inline int ktls_read_record(int fd, void *data, size_t lengt [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | internal.h | 242 int uv__slurp(const char* filename, char* buf, size_t len); 277 size_t uv__thread_stack_size(void); 282 int uv__search_path(const char* prog, char* buf, size_t* buflen); 286 int uv__random_devurandom(void* buf, size_t buflen); 287 int uv__random_getrandom(void* buf, size_t buflen); 288 int uv__random_getentropy(void* buf, size_t buflen); 289 int uv__random_readpath(const char* path, void* buf, size_t buflen); 290 int uv__random_sysctl(void* buf, size_t buflen); 354 size_t strnlen(const char* s, size_t maxle [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cMapBufferAlignmentTests.cpp | 192 static const size_t n_storage_flags = sizeof(storage_flags) / sizeof(storage_flags[0]); in iterate() 210 static const size_t n_buffers = sizeof(buffers) / sizeof(buffers[0]); in iterate() 215 size_t buffer_data_size = 0; in iterate() 231 for (size_t i = 0; i < buffer_data_size; ++i) in iterate() 239 for (size_t buffer_idx = 0; buffer_idx < n_buffers; ++buffer_idx) in iterate() 270 for (size_t set_idx = 0; set_idx < n_storage_flags; ++set_idx) in iterate() 300 for (size_t i = 0; i < (size_t)buffer_size; ++i) in iterate() 323 for (size_t i = 0; i < (size_t)buffer_siz in iterate() [all...] |
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlGpu.h | 156 size_t size) override; 171 const void* data, size_t dataSize) override; 189 sk_sp<GrGpuBuffer> onCreateBuffer(size_t, GrGpuBufferType, GrAccessPattern, 197 size_t rowBytes) override; 212 size_t offset, 213 size_t rowBytes) override; 220 size_t offset) override; 259 bool clearTexture(GrMtlTexture*, size_t bbp, uint32_t levelMask); 265 size_t offset, 266 size_t imageByte [all...] |
/third_party/skia/src/core/ |
H A D | SkYUVAPixmaps.cpp | 46 fDataTypeSupport[static_cast<size_t>(type) + (numChannels - 1)*kDataTypeCnt] = true; in enableDataType() 80 const size_t rowBytes[kMaxPlanes]) in SkYUVAPixmapInfo() 89 size_t tempRowBytes[kMaxPlanes]; in SkYUVAPixmapInfo() 97 for (size_t i = 0; i < static_cast<size_t>(n); ++i) { in SkYUVAPixmapInfo() 121 const size_t rowBytes[kMaxPlanes]) { in SkYUVAPixmapInfo() 139 size_t SkYUVAPixmapInfo::computeTotalBytes(size_t planeSizes[kMaxPlanes]) const { in computeTotalBytes() 160 size_t planeSize = pixmaps[i].rowBytes()*pixmaps[i].height(); in initPixmapsFromSingleAllocation() 243 size_t rowByte in FromExternalPixmaps() [all...] |
/third_party/openssl/include/internal/ |
H A D | ktls.h | 86 const void *data, size_t length) in ktls_send_ctrl_message() 113 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record() 127 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record() 137 const size_t prepend_length = SSL3_RT_HEADER_LENGTH; in ktls_read_record() 189 size_t size, int flags) in ktls_sendfile() 260 size_t tls_crypto_info_len; 299 const void *data, size_t length) in ktls_send_ctrl_message() 332 static ossl_inline ossl_ssize_t ktls_sendfile(int s, int fd, off_t off, size_t size, int flags) in ktls_sendfile() 340 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record() 353 static ossl_inline int ktls_read_record(int fd, void *data, size_t lengt [all...] |
/third_party/openssl/providers/implementations/kdfs/ |
H A D | pkcs12kdf.c | 39 size_t pass_len; 41 size_t salt_len; 48 static int pkcs12kdf_derive(const unsigned char *pass, size_t passlen, in pkcs12kdf_derive() 49 const unsigned char *salt, size_t saltlen, in pkcs12kdf_derive() 51 unsigned char *out, size_t n) in pkcs12kdf_derive() 54 size_t Slen, Plen, Ilen; in pkcs12kdf_derive() 55 size_t i, j, k, u, v; in pkcs12kdf_derive() 71 u = (size_t)ui; in pkcs12kdf_derive() 72 v = (size_t)vi; in pkcs12kdf_derive() 181 static int pkcs12kdf_set_membuf(unsigned char **buffer, size_t *bufle [all...] |
/third_party/skia/third_party/externals/libwebp/imageio/ |
H A D | pngdec.c | 50 if (size != (size_t)size) return NULL; in MallocFunc() 52 return (png_voidp)malloc((size_t)size); in MallocFunc() 70 size_t expected_length) { in HexStringToBytes() 72 size_t actual_length = 0; in HexStringToBytes() 97 static int ProcessRawProfile(const char* profile, size_t profile_len, in ProcessRawProfile() 132 int (*process)(const char* profile, size_t profile_len, 134 size_t storage_offset; 217 size_t data_size; 230 int ReadPNG(const uint8_t* const data, size_t data_size, in ReadPNG() 325 rgb = (uint8_t*)malloc((size_t)strid in ReadPNG() [all...] |
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | picture_psnr_enc.c | 132 int WebPPlaneDistortion(const uint8_t* src, size_t src_stride, in WebPPlaneDistortion() 133 const uint8_t* ref, size_t ref_stride, in WebPPlaneDistortion() 134 int width, int height, size_t x_step, in WebPPlaneDistortion() 155 tmp2 = tmp1 + (size_t)width * height; in WebPPlaneDistortion() 203 const size_t stride0 = 4 * (size_t)p0.argb_stride; in WebPPictureDistortion() 204 const size_t stride1 = 4 * (size_t)p1.argb_stride; in WebPPictureDistortion() 229 int WebPPlaneDistortion(const uint8_t* src, size_t src_stride, in WebPPlaneDistortion() 230 const uint8_t* ref, size_t ref_strid in WebPPlaneDistortion() [all...] |