/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | memmem.c | 61 memmem(const void *l, size_t l_len, const void *s, size_t s_len) argument 68 if (l_len == 0 || s_len == 0) 72 if (l_len < s_len) 75 /* special case where s_len == 1 */ 76 if (s_len == 1) 80 last = (char *)cl + l_len - s_len; 83 if (cur[0] == cs[0] && memcmp(cur, cs, s_len) == 0)
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | gzip.c | 40 gzip_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument 44 ASSERT(d_len <= s_len); 46 if (z_compress_level(d_start, &dstlen, s_start, s_len, n) != Z_OK) { 47 if (d_len != s_len) 48 return (s_len); 50 bcopy(s_start, d_start, s_len); 51 return (s_len); 59 gzip_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument 63 ASSERT(d_len >= s_len); 65 if (z_uncompress(d_start, &dstlen, s_start, s_len) ! [all...] |
H A D | zle.c | 37 zle_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument 41 uchar_t *s_end = src + s_len; 63 return (src == s_end ? dst - (uchar_t *)d_start : s_len); 67 zle_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument 71 uchar_t *s_end = src + s_len;
|
H A D | zio_compress.c | 89 zio_compress_data(enum zio_compress c, void *src, void *dst, size_t s_len) argument 102 word_end = (uint64_t *)((char *)src + s_len); 111 return (s_len); 114 d_len = s_len - (s_len >> 3); 115 c_len = ci->ci_compress(src, dst, s_len, d_len, ci->ci_level); 118 return (s_len); 126 size_t s_len, size_t d_len) 133 return (ci->ci_decompress(src, dst, s_len, d_len, ci->ci_level)); 125 zio_decompress_data(enum zio_compress c, void *src, void *dst, size_t s_len, size_t d_len) argument
|
H A D | lzjb.c | 50 lzjb_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument 61 while (src < (uchar_t *)s_start + s_len) { 64 return (s_len); 69 if (src > (uchar_t *)s_start + s_len - MATCH_MAX) { 99 lzjb_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument
|
H A D | ddt.c | 568 ddt_compress(void *src, uchar_t *dst, size_t s_len, size_t d_len) argument 575 ASSERT(d_len >= s_len + 1); /* no compression plus version byte */ 577 c_len = ci->ci_compress(src, dst, s_len, d_len - 1, ci->ci_level); 579 if (c_len == s_len) { 581 bcopy(src, dst, s_len); 593 ddt_decompress(uchar_t *src, void *dst, size_t s_len, size_t d_len) argument 600 (void) ci->ci_decompress(src, dst, s_len, d_len, ci->ci_level);
|
H A D | lz4.c | 50 lz4_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument 57 bufsiz = real_LZ4_compress(s_start, &dest[sizeof (bufsiz)], s_len, 62 return (s_len); 77 lz4_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument 83 if (bufsiz + sizeof (bufsiz) > s_len)
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | zfs_lzjb.c | 35 lzjb_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len) argument
|
H A D | tparm.c | 159 int s_len = grub_strlen(s); local 160 if (len > (int) s_len) 161 s_len = len; 163 get_space(s_len + 1);
|
H A D | zfs_lz4.c | 42 lz4_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len) argument 49 if (bufsiz + 4 > s_len)
|
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | gzip.c | 58 gzip_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument 62 if (z_uncompress(d_start, &dstlen, s_start, s_len) != Z_OK)
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | zle.c | 35 zle_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument 39 unsigned char *s_end = src + s_len;
|
H A D | lzjb.c | 48 lzjb_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument
|
H A D | lz4.c | 43 lz4_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int dummy __unused) argument 49 if (bufsiz + 4 > s_len)
|
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/ |
H A D | syseventconfd.h | 68 int s_len; member in struct:str
|
/illumos-gate/usr/src/cmd/syseventadm/ |
H A D | syseventadm.h | 85 int s_len; member in struct:str
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | compress.c | 128 compress(void *s_start, void *d_start, size_t s_len) argument 138 while (src < (uchar_t *)s_start + s_len) { 140 if (dst >= (uchar_t *)d_start + s_len - 1 - 2 * NBBY) { 141 mlen = s_len; 144 return (s_len); 150 if (src > (uchar_t *)s_start + s_len - MATCH_MAX) { 177 decompress(void *s_start, void *d_start, size_t s_len, size_t d_len) argument 181 uchar_t *s_end = (uchar_t *)s_start + s_len; 186 if (s_len >= d_len) {
|
/illumos-gate/usr/src/common/elfcap/ |
H A D | elfcap.h | 66 size_t s_len; member in struct:__anon38
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | checkpw.c | 536 unsigned short u_len, p_len, s_len, r_len; local 540 s_len = (strlen(service)); 543 if (u_len + p_len + s_len + r_len + 30 > (unsigned short) sizeof(query)) { 551 s_len = htons(s_len); 562 memcpy(query_end, &s_len, sizeof(unsigned short));
|
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
H A D | sysevent_conf_mod.h | 98 int s_len; member in struct:str
|
/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | sdp.c | 963 int s_len = 0; local 982 s_len = sdp_get_length(session); 983 ret = malloc(s_len + 1); 990 len = s_len + 1;
|
/illumos-gate/usr/src/common/ficl/softcore/ |
H A D | lz4.c | 54 lz4_compress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument 61 bufsiz = real_LZ4_compress(s_start, &dest[sizeof (bufsiz)], s_len, 66 return (s_len); 81 lz4_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int n) argument 87 if (bufsiz + sizeof (bufsiz) > s_len)
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | labeld.h | 232 size_t s_len; member in struct:__anon4161
|
/illumos-gate/usr/src/uts/common/sys/rsm/ |
H A D | rsm_in.h | 261 size_t s_len; /* total segment size */ member in struct:rsm_seginfo
|