Searched defs:buf (Results 226 - 250 of 1270) sorted by relevance

1234567891011>>

/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Ddyncmd.c88 char *buf = NULL; local
108 for (;; grub_free (buf))
114 buf = grub_file_getline (file);
116 if (! buf)
119 name = buf;
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dzfs_fletcher.c30 fletcher_2_native(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
32 const uint64_t *ip = buf;
47 fletcher_2_byteswap(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
49 const uint64_t *ip = buf;
64 fletcher_4_native(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
66 const uint32_t *ip = buf;
81 fletcher_4_byteswap(const void *buf, uint64_t size, zio_cksum_t *zcp) argument
83 const uint32_t *ip = buf;
/osnet-11/usr/src/cmd/sendmail/libmilter/
H A Dcomm.c72 char *buf; local
141 buf = malloc(expl + 1);
143 buf = malloc(expl);
145 if (buf == NULL)
167 free(buf);
170 len = MI_SOCK_READ(sd, buf + i, expl - i);
182 free(buf);
188 free(buf);
196 buf[expl] = '\0';
198 return buf;
[all...]
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dsem.c230 struct semid_ds *buf; member in union:semun
235 arg.buf = &semidds;
H A Dutil.c44 static char *buf = NULL; local
68 if (buf != NULL)
69 sm_free(buf);
71 buf = nbuf;
73 for (h = buf; *s != '\0' && l > 0; s++, l--)
116 buf[len - 1] = '\0';
117 return buf;
/osnet-11/usr/src/lib/libast/common/comp/
H A Dregexp.c37 char* buf; member in struct:__anon1128
47 if (data || (size = roundof(size, ALIGN_BOUND2)) > (env->buf + env->size - env->cur))
62 env->buf = env->cur = (char*)env + sizeof(Env_t);
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathfind.c78 * path placed in <buf,size>
85 pathfind(const char* name, const char* lib, const char* type, char* buf, size_t size) argument
102 strncopy(buf, name, size);
103 return buf;
107 sfsprintf(buf, size, "%s.%s", name, type);
108 if (regular(buf, &st))
109 return buf;
121 sfsprintf(buf, size, "%-.*s%s", s - error_info.file + 1, error_info.file, name);
122 if (regular(buf, &st))
123 return buf;
[all...]
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfrd.c61 ssize_t sfrd(Sfio_t* f, Void_t* buf, size_t n, Sfdisc_t* disc) argument
63 ssize_t sfrd(f,buf,n,disc)
65 Void_t* buf;
141 if((uchar*)buf >= f->data && (uchar*)buf <= f->endb)
143 buf = NIL(char*);
201 if(buf)
204 memcpy(buf,f->next,n);
221 if(!buf)
222 { buf
[all...]
/osnet-11/usr/src/lib/libast/common/stdio/
H A Dstdio_c99.c61 fgets_unlocked(char* buf, int size, Sfio_t* sp) argument
63 return fgets(buf, size, sp);
79 fputs_unlocked(char* buf, Sfio_t* sp) argument
81 return fputs(buf, sp);
85 fread_unlocked(void* buf, size_t size, size_t n, Sfio_t* sp) argument
87 return fread(buf, size, n, sp);
91 fwrite_unlocked(void* buf, size_t size, size_t n, Sfio_t* sp) argument
93 return fwrite(buf, size, n, sp);
H A Dvfwscanf.c65 wideread(Sfio_t* f, Void_t* buf, size_t size, Sfdisc_t* dp) argument
74 return wcstombs(buf, wuf, size);
82 r = wcstombs(buf, wuf, size);
94 char buf[1024]; local
102 if (t = sfnew(NiL, buf, sizeof(buf), OPEN_MAX+1, SF_READ))
/osnet-11/usr/src/lib/libast/common/string/
H A Dfmtip6.c41 static char buf[1024]; local
42 static char* p = buf;
44 if ((&buf[sizeof(buf)] - p) < n)
45 p = buf;
/osnet-11/usr/src/lib/libc/port/fp/
H A Dgconvert.c36 __k_gconvert(int ndigits, decimal_record *pd, int trailing, char *buf) argument
42 p = buf;
128 gconvert(double number, int ndigits, int trailing, char *buf) argument
150 __k_gconvert(ndigits, &dr, trailing, buf);
151 return (buf);
155 sgconvert(single *number, int ndigits, int trailing, char *buf) argument
177 __k_gconvert(ndigits, &dr, trailing, buf);
178 return (buf);
182 qgconvert(quadruple *number, int ndigits, int trailing, char *buf) argument
210 __k_gconvert(ndigits, &dr, trailing, buf);
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dlfmt_log.c66 char buf[MAXMSG]; member in union:__anon1404
83 msg_offset += strlcpy(msg.buf + msg_offset, __pfmt_label,
84 sizeof (msg.buf) - msg_offset);
88 msg_offset += sprintf(msg.buf + msg_offset, sev, flag & 0xff);
90 msg_offset += 1 + vsprintf(msg.buf + msg_offset, text, args);
91 msg.buf[msg_offset++] = '\0';
100 dat.buf = msg.buf;
113 char buf[128]; local
121 (void) ctime_r(&t, buf, sizeo
[all...]
/osnet-11/usr/src/lib/libc/port/sys/
H A Dcorectl.c58 core_set_global_path(const char *buf, size_t bufsize) argument
60 return (syscall(SYS_corectl, CC_SET_GLOBAL_PATH, buf, bufsize));
64 core_get_global_path(char *buf, size_t bufsize) argument
66 return (syscall(SYS_corectl, CC_GET_GLOBAL_PATH, buf, bufsize));
82 core_set_default_path(const char *buf, size_t bufsize) argument
84 return (syscall(SYS_corectl, CC_SET_DEFAULT_PATH, buf, bufsize));
88 core_get_default_path(char *buf, size_t bufsize) argument
90 return (syscall(SYS_corectl, CC_GET_DEFAULT_PATH, buf, bufsize));
106 core_set_process_path(const char *buf, size_t bufsize, pid_t pid) argument
108 return (syscall(SYS_corectl, CC_SET_PROCESS_PATH, buf, bufsiz
112 core_get_process_path(char *buf, size_t bufsize, pid_t pid) argument
[all...]
H A Dppriv.c69 getprivinfo(priv_impl_info_t *buf, size_t bufsize) argument
71 return (syscall(SYS_privsys, PRIVSYS_GETIMPLINFO, 0, 0, (void *)buf,
/osnet-11/usr/src/lib/libc/sparc/gen/
H A Decvt.c52 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local
54 return (econvert(number, ndigits, decpt, sign, buf));
60 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local
65 ptr = fconvert(number, ndigits, decpt, sign, buf);
89 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local
91 return (qeconvert(&number, ndigits, decpt, sign, buf));
97 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local
99 return (qfconvert(&number, ndigits, decpt, sign, buf));
/osnet-11/usr/src/lib/libc/sparcv9/gen/
H A Decvt.c52 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local
54 return (econvert(number, ndigits, decpt, sign, buf));
60 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local
65 ptr = fconvert(number, ndigits, decpt, sign, buf);
89 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local
91 return (qeconvert(&number, ndigits, decpt, sign, buf));
97 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local
99 return (qfconvert(&number, ndigits, decpt, sign, buf));
/osnet-11/usr/src/lib/libumem/common/
H A Dvmem_mmap.c78 void *buf; local
90 buf = mmap((void *)CHUNKSIZE, size, FREE_PROT, FREE_FLAGS | MAP_ALIGN,
93 if (buf != MAP_FAILED) {
94 ret = _vmem_extend_alloc(src, buf, size, size, vmflags);
98 (void) munmap(buf, size);
/osnet-11/usr/src/lib/libuutil/common/
H A Duu_alloc.c56 char *buf = NULL; local
62 buf = uu_zalloc(sz);
63 if (buf != NULL)
64 (void) memcpy(buf, str, sz);
66 return (buf);
96 uu_memdup(const void *buf, size_t sz) argument
103 (void) memcpy(p, buf, sz);
/osnet-11/usr/src/lib/libwrap/
H A Dsocket.c86 char buf[BUFSIZ]; local
104 if (recvfrom(fd, buf, sizeof(buf), MSG_PEEK,
110 memset(buf, 0 sizeof(buf));
207 char buf[INET6_ADDRSTRLEN]; local
232 inet_ntop(SGFAM(sin), SGADDRP(sin), buf, sizeof(buf)),
247 char buf[BUFSIZ]; local
256 (void) recvfrom(fd, buf, sizeo
[all...]
/osnet-11/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_varian.c287 static int buf = 0; local
292 ret = str[buf++];
293 if (buf >= 10)
294 buf = 0;
/osnet-11/usr/src/lib/pam_modules/smbfs/
H A Dsmbfs_login.c61 char buf[NSS_BUFLEN_PASSWD]; local
88 if (getpwnam_r(user, &pwbuf, buf, sizeof (buf)) == NULL) {
/osnet-11/usr/src/lib/pam_modules/unix_session/
H A Dunix_session.c171 char buf[26]; local
173 (void) ctime_r((const time_t *)&cur_time, buf,
174 sizeof (buf));
175 buf[24] = '\000';
178 user, buf, newll.ll_line, newll.ll_host);
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.h65 uchar_t *buf; member in struct:ks_obj
91 int soft_keystore_put_new_obj(uchar_t *buf, size_t len, boolean_t public,
93 int soft_keystore_modify_obj(ks_obj_handle_t *ks_handle, uchar_t *buf,
/osnet-11/usr/src/lib/sun_fc/common/
H A DLinkEvent.h46 wwn(myWwn), buf(myBuf), size(mySize), type(myType) { }
48 void* getBuf() { return (buf); }
54 void *buf; member in class:LinkEvent

Completed in 106 milliseconds

1234567891011>>