Searched refs:len (Results 1 - 25 of 3916) sorted by relevance

1234567891011>>

/src/sys/arch/x68k/stand/libsa/
H A Dsdcdvar.h30 #define BLKBYTES(len) (1 << ((len) + 8))
/src/tests/usr.bin/xlint/lint1/
H A Dmsg_160.c63 assignment_in_comma_expression(int len) argument
73 if (len = 3 * len + 1, len == 0)
89 if ((len = 3 * len + 1, len == 0))
98 if ((len = 3 * len + 1, len
[all...]
H A Dgcc_attribute_type.c13 unsigned char len[2]; member in struct:packed_record
18 unsigned char len[2]; member in struct:record_packed
25 unsigned char len[2]; member in struct:attribute_before_keyword
/src/tests/usr.bin/nbperf/
H A Dhash_driver.c44 ssize_t len; local in function:main
46 while ((len = getline(&line, &buflen, stdin)) > 0) {
47 if (len && line[len - 1] == '\n')
48 --len;
49 printf("%" PRId32 "\n", hash(line, len));
/src/bin/dd/
H A Ddd_swab.c54 dd_swab(const void * from, void * to, ssize_t len) argument
60 if (len <= 1)
63 len /= 2;
68 if (__predict_false(len == 1)) {
74 for (; (len % 8) != 0; --len)
76 len /= 8;
77 if (len == 0)
79 while (len-- != 0) {
/src/common/lib/libc/string/
H A Dstrnlen.c49 size_t len; local in function:strnlen
51 for (len = 0; len < maxlen; len++, s++) {
55 return (len);
/src/sys/netinet/
H A Din_cksum.c41 in_cksum(struct mbuf *m, int len) argument
43 KASSERT(len >= 0);
45 return cpu_in_cksum(m, len, 0, 0);
/src/lib/libc/string/
H A Dmempcpy.c34 mempcpy(void *__restrict dst, const void *__restrict src, size_t len) argument
36 return (char *)memcpy(dst, src, len) + len;
H A Dstrndup.c60 size_t len; local in function:__weak_alias
65 for (len = 0; len < n && str[len]; len++)
68 if (!(copy = malloc(len + 1)))
70 memcpy(copy, str, len);
71 copy[len] = '\0';
H A DLint_bcmp.c12 bcmp(const void *b1, const void *b2, size_t len) argument
H A DLint_bcopy.c12 bcopy(const void *src, void *dst, size_t len) argument
H A DLint_bzero.c12 bzero(void *src, size_t len) argument
H A DLint_memchr.c12 memchr(const void *b, int c, size_t len) argument
H A DLint_memcmp.c12 memcmp(const void *b1, const void *b2, size_t len) argument
H A DLint_memcpy.c12 memcpy(void *dst, const void *src, size_t len) argument
H A DLint_memmove.c12 memmove(void *dst, const void *src, size_t len) argument
H A DLint_memset.c12 memset(void *b, int c, size_t len) argument
H A DLint_strncmp.c12 strncmp(const char *s1, const char *s2, size_t len) argument
/src/include/ssp/
H A Dstrings.h38 #define bcopy(src, dst, len) \
40 __builtin___memmove_chk(dst, src, len, __ssp_bos0(dst)) : \
41 __memmove_ichk(dst, src, len))
42 #define bzero(dst, len) \
44 __builtin___memset_chk(dst, 0, len, __ssp_bos0(dst)) : \
45 __memset_ichk(dst, 0, len))
/src/tests/lib/libc/ssp/
H A Dh_stpncpy.c43 int len = atoi(argv[1]); local in function:main
45 char *q = stpncpy(b, "1020202020202", len);
47 if (q - b != len)
51 (void)strncpy(b, "1020202020202", len);
54 (void)printf("%*.*s\n", len, len, b);
/src/sys/arch/hppa/spmath/
H A Dfpbits.h76 #define Bitfield_mask(start, len, object) \
77 ((object) & (((unsigned)-1 >> (HOSTWDSZ-len)) << (HOSTWDSZ-start-len)))
79 #define Bitfield_deposit(value,start,len,object) object = \
80 ((object) & ~(((unsigned)-1 >> (HOSTWDSZ-(len))) << (HOSTWDSZ-(start)-(len)))) | \
81 (((value) & ((unsigned)-1 >> (HOSTWDSZ-(len)))) << (HOSTWDSZ-(start)-(len)))
/src/sys/arch/ia64/stand/efi/libefi/
H A Dcopy.c41 efi_copyin(void *src, vaddr_t va, size_t len) argument
44 memcpy((void *)efimd_va2pa(va), src, len);
45 return (len);
49 efi_copyout(vaddr_t va, void *dst, size_t len) argument
52 memcpy(dst, (void *)efimd_va2pa(va), len);
53 return (len);
57 efi_readin(int fd, vaddr_t va, size_t len) argument
60 return (read(fd, (void *)efimd_va2pa(va), len));
/src/sys/arch/ia64/stand/ia64/ski/
H A Dcopy.c46 ski_copyin(void *src, vaddr_t dest, size_t len) argument
48 memcpy((void*) IA64_RR_MASK(dest), src, len);
49 return (len);
53 ski_copyout(vaddr_t src, void *dest, size_t len) argument
55 memcpy(dest, (void*) IA64_RR_MASK(src), len);
56 return (len);
60 ski_readin(int fd, vaddr_t dest, size_t len) argument
62 return (read(fd, (void*) IA64_RR_MASK(dest), len));
/src/lib/libc/sys/
H A Dposix_madvise.c32 posix_madvise(void *addr, size_t len, int advice) argument
35 return madvise(addr, len, advice);
/src/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_memcpy.h17 bool i915_memcpy_from_wc(void *dst, const void *src, unsigned long len);
18 void i915_unaligned_memcpy_from_wc(void *dst, void *src, unsigned long len);
30 #define i915_can_memcpy_from_wc(dst, src, len) \
31 i915_memcpy_from_wc((void *)((unsigned long)(dst) | (unsigned long)(src) | (len)), NULL, 0)

Completed in 16 milliseconds

1234567891011>>