Searched defs:len (Results 1 - 25 of 3264) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dpointtype.sh34 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 Dcubetype.sh41 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 Drecttype.sh34 len() function
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_strdup.c51 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 Dm_wcsdup.c51 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 Dmlock.c39 mlock(caddr_t addr, u_int len) argument
41 if((int)len <= 0) {
45 return (mctl(addr, len, MC_LOCK, 0));
H A Dmsync.c39 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 Dmunlock.c38 munlock(caddr_t addr, u_int len) argument
41 return (mctl(addr, len, MC_UNLOCK, 0));
H A Dbcmp.c30 bcmp(char *s1, char *s2, int len) argument
33 while (len--)
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dsync_instruction_memory.c32 * 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 Dsync_instruction_memory.c32 * 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 Dmadvise.c38 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 Dmlock.c42 mlock(caddr_t addr, size_t len) argument
44 return (memcntl(addr, len, MC_LOCK, 0, 0, 0));
H A Dmsync.c37 __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 Dmunlock.c43 munlock(caddr_t addr, size_t len) argument
45 return (memcntl(addr, len, MC_UNLOCK, 0, 0, 0));
H A Dposix_madvise.c43 posix_madvise(void *addr, size_t len, int advice) argument
55 if (madvise(addr, len, advice) == 0)
/illumos-gate/usr/src/common/util/
H A Dbcmp.c47 bcmp(const void *s1, const void *s2, size_t len) argument
49 return (memcmp(s1, s2, len) == 0 ? 0 : 1);
H A Dbcopy.c51 bcopy(const void *s1, void *s2, size_t len) argument
53 (void) memmove(s2, s1, len);
H A Dbzero.c50 bzero(void *sp, size_t len) argument
52 (void) memset(sp, 0, len);
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Daddstring.c50 size_t len; local
57 len = strlen(src) + 1;
60 if (!(*dst = Realloc(*dst, strlen(*dst) + len))) {
65 if (!(*dst = Malloc(len))) {
/illumos-gate/usr/src/cmd/lp/lib/requests/
H A Dr_head.c41 short len; member in struct:__anon850
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dbcmp.c50 bcmp(char *s1, char *s2, int len) argument
52 if (_memcmp(s1, s2, (size_t)len) == 0)
H A Dbcopy.c53 bcopy(char *s1, char *s2, int len) argument
55 if (len > 0)
56 (void) _memmove(s2, s1, (size_t)len);
H A Dbzero.c53 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 Dsunddi.h42 sync_instruction_memory(caddr_t v, size_t len) argument

Completed in 137 milliseconds

1234567891011>>