Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 25) sorted by relevance

/DragonOS-0.1.2/docs/userland/libc/apis/api-list/
Dstring.md9 ``size_t strlen(const char *s)`` : 返回字符串长度
13 ``char* strncpy(char *dst,const char *src,size_t count)``
Dunistd.md11 ``ssize_t read(int fd,void *buf,size_t count)`` : 从文件读取
17 ``ssize_t write(int fd,void const *buf,size_t count)`` : 写入文件
/DragonOS-0.1.2/user/libs/libc/src/
Dstring.h12 size_t strlen(const char *s);
31 char *strncpy(char *dst, const char *src, size_t Count);
Dunistd.h21 ssize_t read(int fd, void *buf, size_t count);
31 ssize_t write(int fd, void const *buf, size_t count);
Dstring.c3 size_t strlen(const char *s) in strlen()
68 char *strncpy(char *dst, const char *src, size_t Count) in strncpy()
Dunistd.c28 ssize_t read(int fd, void *buf, size_t count) in read()
41 ssize_t write(int fd, void const *buf, size_t count) in write()
/DragonOS-0.1.2/kernel/src/common/
Dcrc16.h12 uint16_t crc16(uint16_t crc, const uint8_t *buffer, size_t len);
Dcrc32.h12 uint32_t crc32(uint32_t crc, const uint8_t *buffer, size_t len);
Dcrc64.h12 uint64_t crc64(uint64_t crc, const uint8_t *buffer, size_t len);
Dcrc7.h12 uint8_t crc7(uint8_t crc, const uint8_t *buffer, size_t len);
Dcrc8.h12 uint8_t crc8(uint8_t crc, const uint8_t *buffer, size_t len);
Dstring.h64 static inline int memcmp(const void *s1, const void *s2, size_t len) in memcmp()
Dlz4.h595 size_t extDictSize;
597 size_t prefixSize;
632 LZ4LIB_API LZ4_stream_t *LZ4_initStream(void *buffer, size_t size);
Dglib.h92 void *memset_c(void *dst, uint8_t c, size_t count) in memset_c()
/DragonOS-0.1.2/kernel/src/libs/
Dcrc7.c31 uint8_t crc7(uint8_t crc, const uint8_t *buffer, size_t len) in crc7()
Dcrc8.c33 uint8_t crc8(uint8_t crc, uint8_t const *buffer, size_t len) in crc8()
Dcrc16.c34 uint16_t crc16(uint16_t crc, uint8_t const *buffer, size_t len) in crc16()
Dcrc32.c49 uint32_t crc32(uint32_t crc, uint8_t const *buffer, size_t len) in crc32()
Dcrc64.c50 uint64_t crc64(uint64_t crc, uint8_t const *buffer, size_t len) in crc64()
Dlz4.c197 void *LZ4_malloc(size_t s);
198 void *LZ4_calloc(size_t n, size_t s);
276 static int LZ4_isAligned(const void *ptr, size_t alignment) in LZ4_isAligned()
278 return ((size_t)ptr & (alignment - 1)) == 0; in LZ4_isAligned()
302 typedef size_t uptrval; /* generally true, except OpenVMS-64 */
308 typedef size_t reg_t; /* 32-bits in x32 mode */
467 LZ4_memcpy_using_offset_base(BYTE *dstPtr, const BYTE *srcPtr, BYTE *dstEnd, const size_t offset) in LZ4_memcpy_using_offset_base()
515 LZ4_memcpy_using_offset(BYTE *dstPtr, const BYTE *srcPtr, BYTE *dstEnd, const size_t offset) in LZ4_memcpy_using_offset()
908 const void *dictStart, size_t dictSize);
1426 ip += (size_t)matchCode + MINMATCH; in LZ4_compress_generic_validated()
[all …]
/DragonOS-0.1.2/user/libs/libc/src/sys/
Dtypes.h16 typedef __SIZE_TYPE__ size_t; typedef
/DragonOS-0.1.2/kernel/src/common/sys/
Dtypes.h16 typedef __SIZE_TYPE__ size_t; typedef
/DragonOS-0.1.2/kernel/src/mm/
Dslab.h69 static __always_inline void *kzalloc(size_t size, gfp_t gfp) in kzalloc()
/DragonOS-0.1.2/docs/kernel/core_api/
Dkernel_api.md701 **`uint8_t crc7(uint8_t crc, const uint8_t *buffer, size_t len)`**
703 **`uint8_t crc8(uint8_t crc, const uint8_t *buffer, size_t len)`**
705 **`uint16_t crc16(uint16_t crc, uint8_t const *buffer, size_t len)`**
707 **`uint32_t crc32(uint32_t crc, uint8_t const *buffer, size_t len)`**
709 **`uint64_t crc64(uint64_t crc, uint8_t const *buffer, size_t len)`**
/DragonOS-0.1.2/kernel/
Dcbindgen.toml152 # If this option is true `usize` and `isize` will be converted into `size_t` and `ptrdiff_t`