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

1234567891011>>

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dzap.c35 void krb5int_zap(void *ptr, size_t len) argument
37 memset(ptr, 0, len);
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/
H A Dcache.c8 grub_arch_sync_caches (void *address, grub_size_t len) argument
10 __clear_cache (address, (char *) address + len); local
/osnet-11/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
/osnet-11/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
/osnet-11/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.c39 mlock(const void *addr, size_t len) argument
41 return (memcntl((void *)addr, len, MC_LOCK, 0, 0, 0));
H A Dmsync.c34 __msync(void *addr, size_t len, int flags) argument
36 return (memcntl(addr, len, MC_SYNC, (caddr_t)(uintptr_t)flags, 0, 0));
H A Dmunlock.c40 munlock(const void *addr, size_t len) argument
42 return (memcntl((void *)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)
H A Dstpncpy.c41 size_t len = strnlen(s2, n); local
45 return ((len < n) ? s1 + len : s1 + n);
/osnet-11/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));
/osnet-11/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));
/osnet-11/usr/src/lib/libparted/common/lib/
H A Dstrndup.c31 size_t len = strnlen (s, n); local
32 char *new = malloc (len + 1);
37 new[len] = '\0';
38 return memcpy (new, s, len);
/osnet-11/usr/src/lib/libefi/common/
H A Dcrc32_efi.c40 efi_crc32(const unsigned char *s, unsigned int len) argument
44 CRC32(crc32val, s, len, -1U, crc32_tab);
/osnet-11/usr/src/lib/libeti/menu/common/
H A Dmenumark.c42 int len; /* Length of mark */ local
46 len = strlen(mark);
51 if (Posted(m) && len != Marklen(m)) {
55 Marklen(m) = len;
64 Marklen(Dfl_Menu) = len;
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dstrndup.c29 size_t len = strnlen (s, n); local
30 char *new = malloc (len + 1);
35 new[len] = '\0';
36 return memcpy (new, s, len);
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dfget.c53 register int len; local
66 if ((len = fp->f_r) <= 0)
81 len = fp->f_r;
92 if (len > n)
93 len = n;
94 t = (unsigned char *) memchr((void *) p, '\n', len);
97 len = ++t - p;
98 fp->f_r -= len;
100 (void) memcpy((void *) s, (void *) p, len);
101 s[len]
[all...]
/osnet-11/usr/src/lib/libast/common/tm/
H A Dtmfmt.c33 * format date given clock into buf of length len
38 tmfmt(char* buf, size_t len, const char* format, time_t* clock) argument
40 return tmxfmt(buf, len, format, tmxclock(clock));
/osnet-11/usr/src/lib/librpcsvc/common/
H A Drusersxdr.c51 u_int len; local
60 len = (int)sizeof (up->ut_line);
61 if (xdr_u_int(xdrsp, &len) == FALSE)
63 if (len != sizeof (up->ut_line)) {
66 if (!xdr_opaque(xdrsp, (char *)up->ut_line, len)) {
69 len = (int)sizeof (up->ut_name);
70 if (xdr_u_int(xdrsp, &len) == FALSE)
72 if (len != sizeof (up->ut_name)) {
75 if (!xdr_opaque(xdrsp, (char *)up->ut_name, len)) {
78 len
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dnet_read.c33 * "buf", until either 1) "len" bytes have been read or 2) cannot
42 krb5_net_read(krb5_context context, int fd, register char *buf, register int len) argument
47 cc = SOCKET_READ((SOCKET)fd, buf, len);
62 len -= cc;
64 } while (len > 0);
/osnet-11/usr/src/grub/grub2/grub-core/kern/ia64/efi/
H A Dinit.c44 grub_arch_sync_caches (void *address, grub_size_t len) argument
50 for (len = (len + 31) & ~0x1f; len > 0; len -= 0x20, a += 0x20)
/osnet-11/usr/src/grub/grub2/include/grub/net/
H A Dudp.h28 grub_uint16_t len; member in struct:udphdr
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/sdbm/
H A Dhash.c21 sdbm_hash(register char *str, register int len) argument
29 if (len > 0) {
30 register int loop = (len + 8 - 1) >> 3;
32 switch(len & (8 - 1)) {
43 while (len--)
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathtmp.c37 size_t len; local
39 len = !buf ? 0 : !dir ? L_tmpnam : (strlen(dir) + 14);
40 return pathtemp(buf, len, dir, pfx, fdp);
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfecvt.c34 int len; local
37 return _sfcvt(&dval,buf,sizeof(buf),n_digit,decpt,sign,&len,SFFMT_EFORMAT);

Completed in 48 milliseconds

1234567891011>>