/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | pointtype.sh | 34 len() function 45 [[ $(p.len) == 1 ]] || err_exit '$(p.len) != 1' 46 [[ ${p.len} == 1 ]] || err_exit '${p.len} != 1' 47 (( p.len == 1 )) || err_exit '((p.len != 1))' 50 (( (q.len - sqrt(5)) < 10e-10 )) || err_exit 'q.len != sqrt(5)' 51 q.len() 86 len() function [all...] |
H A D | cubetype.sh | 41 len() function 46 typeset -fh 'distance from the origin' len 59 exp=5 got=$(( b.len )) 60 (( got == exp )) || err_exit "b.len incorrect for iteration $i -- expected $exp, got '$got = sqrt(${b.x}*${b.x}+${b.y}*${b.y})'" 61 exp=5 got=${b.len} 62 [[ "$got" == "$exp" ]] || err_exit "\${b.len} incorrect for iteration $i -- expected $exp, got '$got = sqrt(${b.x}*${b.x}+${b.y}*${b.y})'" 107 len() function 124 (( b.len == 5 )) || err_exit "b.len incorrect for box2 -- expected 5, got '$(( b.len ))'" [all...] |
H A D | recttype.sh | 34 len() function
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/ |
H A D | m_strdup.c | 51 int len; local 53 if ((cp = m_malloc(len = strlen(s)+1)) == NULL) { 57 return (memcpy(cp, s, len));
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/wide/ |
H A D | m_wcsdup.c | 51 int len; local 54 cp = (wchar_t *)malloc(len = (wcslen(s) + 1) * sizeof(wchar_t)); 58 return ((wchar_t *)memcpy((char *)cp, s, len));
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | bcmp.c | 30 bcmp(char *s1, char *s2, int len) argument 33 while (len--)
|
H A D | mlock.c | 39 mlock(caddr_t addr, u_int len) argument 41 if((int)len <= 0) { 45 return (mctl(addr, len, MC_LOCK, 0));
|
H A D | msync.c | 39 msync(caddr_t addr, u_int len, int flags) argument 41 if ((int)len <= 0) { 45 return (mctl(addr, len, MC_SYNC, flags));
|
H A D | munlock.c | 38 munlock(caddr_t addr, u_int len) argument 41 return (mctl(addr, len, MC_UNLOCK, 0));
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | sync_instruction_memory.c | 32 * void sync_instruction_memory(caddr_t addr, int len) 34 * Make the memory at {addr, addr+len} valid for instruction execution. 40 sync_instruction_memory(caddr_t addr, int len) argument
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | sync_instruction_memory.c | 32 * void sync_instruction_memory(caddr_t addr, int len) 34 * Make the memory at {addr, addr+len} valid for instruction execution. 40 sync_instruction_memory(caddr_t addr, int len) argument
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | explicit_bzero.c | 12 __explicit_bzero_hook(void *buf, size_t len) argument 17 explicit_bzero(void *buf, size_t len) argument 19 (void) memset(buf, 0, len); 20 __explicit_bzero_hook(buf, len);
|
H A D | madvise.c | 38 madvise(caddr_t addr, size_t len, int advice) argument 40 return (memcntl(addr, len, MC_ADVISE, (caddr_t)(intptr_t)advice, 0, 0));
|
H A D | mlock.c | 42 mlock(caddr_t addr, size_t len) argument 44 return (memcntl(addr, len, MC_LOCK, 0, 0, 0));
|
H A D | msync.c | 37 __msync(caddr_t addr, size_t len, int flags) argument 39 return (memcntl(addr, len, MC_SYNC, (caddr_t)(uintptr_t)flags, 0, 0));
|
H A D | munlock.c | 43 munlock(caddr_t addr, size_t len) argument 45 return (memcntl(addr, len, MC_UNLOCK, 0, 0, 0));
|
H A D | posix_madvise.c | 43 posix_madvise(void *addr, size_t len, int advice) argument 55 if (madvise(addr, len, advice) == 0)
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | getrandom.c | 21 getrandom(void *buf, size_t len, int flags) argument 23 return (syscall(SYS_getrandom, buf, len, flags));
|
/illumos-gate/usr/src/common/util/ |
H A D | bcmp.c | 47 bcmp(const void *s1, const void *s2, size_t len) argument 49 return (memcmp(s1, s2, len) == 0 ? 0 : 1);
|
H A D | bcopy.c | 51 bcopy(const void *s1, void *s2, size_t len) argument 53 (void) memmove(s2, s1, len);
|
H A D | bzero.c | 50 bzero(void *sp, size_t len) argument 52 (void) memset(sp, 0, len);
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | bcmp.c | 50 bcmp(char *s1, char *s2, int len) argument 52 if (_memcmp(s1, s2, (size_t)len) == 0)
|
H A D | bcopy.c | 53 bcopy(char *s1, char *s2, int len) argument 55 if (len > 0) 56 (void) _memmove(s2, s1, (size_t)len);
|
H A D | bzero.c | 53 bzero(char *sp, int len) argument 55 if (len > 0) 56 (void) _memset(sp, 0, (size_t)len);
|
/illumos-gate/usr/src/uts/sparc/asm/ |
H A D | sunddi.h | 42 sync_instruction_memory(caddr_t v, size_t len) argument
|