/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/ |
H A D | rmd.h | 32 byte buf[64]; member in struct:__anon580
|
/osnet-11/usr/src/grub/grub2/include/grub/lib/ |
H A D | envblk.h | 29 char *buf; member in struct:grub_envblk 34 grub_envblk_t grub_envblk_open (char *buf, grub_size_t size); 44 return envblk->buf;
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | cf.c | 48 char buf[2048]; local 59 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL) 61 p = strchr(buf, '\n'); 65 if (buf[0] != 'O' || buf[1] != ' ') 68 id = &buf[2];
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | systrace.c | 39 char buf[PATH_MAX]; local 49 out = buf; 50 out += sfsprintf(out, sizeof(buf), "%s/.%s/%s", s, trace[0], id); 51 if (access(buf, F_OK)) 55 av[3] = buf; 61 sfsprintf(out, &buf[sizeof(buf)] - out, ".%d", getpid());
|
/osnet-11/usr/src/lib/libast/common/path/ |
H A D | pathposix.c | 27 * convert native path to posix fs representation in <buf,siz> 29 * if return length >= siz then buf is indeterminate, but another call 31 * if buf==0 then required size is returned 41 pathposix(const char* path, char* buf, size_t siz) argument 43 return uwin_unpath(path, buf, siz); 53 pathposix(const char* path, char* buf, size_t siz) argument 57 if (!buf || siz < PATH_MAX) 62 if ((n = strlen(tmp)) < siz && buf) 63 memcpy(buf, tmp, n + 1); 66 cygwin_conv_to_posix_path(path, buf); 75 pathposix(const char* path, char* buf, size_t siz) argument 98 pathposix(const char* path, char *buf, size_t siz) argument 113 pathposix(const char* path, char* buf, size_t siz) argument [all...] |
H A D | pathsetlink.c | 31 * create symbolic name from external representation text in buf 36 pathsetlink(const char* buf, const char* name) argument 38 register char* t = (char*)buf; 40 register char* s = (char*)buf; 62 for (v = (char*)buf; v < s; *t++ = *v++);
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfnew.c | 32 Sfio_t* sfnew(Sfio_t* oldf, Void_t* buf, size_t size, int file, int flags) argument 34 Sfio_t* sfnew(oldf,buf,size,file,flags) 36 Void_t* buf; /* a buffer to read/write, if NULL, will be allocated */ 37 size_t size; /* buffer size if buf is given or desired buffer size */ 118 f->data = size <= 0 ? NIL(uchar*) : (uchar*)buf;
|
H A D | sfnputc.c | 40 uchar buf[128]; local 54 { ps = buf; p = sizeof(buf); }
|
H A D | sfread.c | 30 ssize_t sfread(Sfio_t* f, Void_t* buf, size_t n) argument 32 ssize_t sfread(f,buf,n) 34 Void_t* buf; /* buffer to read into */ 48 if(!buf) 57 { if(((uchar*)buf + f->val) != f->next && 58 (!f->rsrv || f->rsrv->data != (uchar*)buf) ) 64 { if((uchar*)buf != f->next) 81 s = begs = (uchar*)buf;
|
H A D | sfwrite.c | 30 ssize_t sfwrite(Sfio_t* f, const Void_t* buf, size_t n) argument 32 ssize_t sfwrite(f,buf,n) 34 Void_t* buf; /* buffer to be written. */ 47 if(!buf) 55 if((uchar*)buf != f->next && 56 (!f->rsrv || f->rsrv->data != (uchar*)buf) ) 63 char buf[16]; local 67 { if((r = w) > sizeof(buf)) 68 r = sizeof(buf); 69 if((r = sysreadf(f->file,buf, [all...] |
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtbase.c | 37 char* buf; local 49 buf = fmtbuf(z = 72); 50 sfsprintf(buf, z, p ? "%#..*I*u" : "%..*I*u", b, sizeof(n), n); 51 return buf;
|
H A D | fmtbuf.c | 30 * only one concurrent buffer with size > sizeof(buf) 33 static char buf[16 * 1024]; variable 34 static char* nxt = buf; 47 if (n > (&buf[elementsof(buf)] - nxt)) 49 if (n > elementsof(buf)) 63 nxt = buf;
|
H A D | fmtident.c | 39 char* buf; local 71 buf = fmtbuf(i + 1); 72 memcpy(buf, s, i); 73 s = buf;
|
H A D | fmtnum.c | 39 char* buf; local 86 buf = fmtbuf(z = 8); 88 sfsprintf(buf, z, "%lu.%0*lu%s", n, i, r, suf); 90 sfsprintf(buf, z, "%lu%s", n, suf); 91 return buf;
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | assert.c | 50 char buf[512]; local 52 (void) snprintf(buf, sizeof (buf), 55 (void) write(2, buf, strlen(buf)); 56 __set_panicstr(buf); 69 char buf[512]; local 71 (void) snprintf(buf, sizeof (buf), 75 (void) write(2, buf, strle [all...] |
H A D | cftime.c | 51 * ascftime(buf, format, t) -> where t is produced by localtime 58 * cftime(buf, format, t) -> just calls ascftime. 74 cftime(char *buf, char *format, const time_t *t) argument 81 *buf = '\0'; 85 return (ascftime(buf, format, p)); 89 ascftime(char *buf, const char *format, const struct tm *tm) argument 96 return ((int)strftime(buf, LONG_MAX, format, tm));
|
H A D | fattach.c | 57 char buf[MAXPATHLEN]; local 69 if (getcwd(buf, sizeof (buf)) == NULL) { 78 if (strlcat(buf, "/", sizeof (buf)) >= sizeof (buf) || 79 strlcat(buf, path, sizeof (buf)) >= sizeof (buf)) { 83 path = buf; [all...] |
H A D | fdopendir.c | 51 void *buf = lmalloc(DIRBUF); local 55 if (pdirp == NULL || buf == NULL) 69 dirp->d_buf = buf; 79 if (buf != NULL) 80 lfree(buf, DIRBUF);
|
H A D | getrusage.c | 81 getvmusage(uint_t flags, time_t age, vmusage_t *buf, size_t *nres) argument 84 buf, nres));
|
H A D | psignal.c | 62 char buf[256]; local 73 (void) snprintf(buf, sizeof (buf), "%s: %s\n", s, c); 75 (void) snprintf(buf, sizeof (buf), "%s\n", c); 77 (void) write(2, buf, strlen(buf));
|
/osnet-11/usr/src/lib/libc/port/stdio/ |
H A D | _findbuf.c | 55 Uchar *buf; local 67 buf = _smbuf[fd]; 68 else if ((buf = (Uchar *)malloc(_SMBFSZ * sizeof (Uchar))) != 74 buf = (fd == 0) ? _sibuf : _sobuf; /* special buffer */ 88 if ((buf = (Uchar *)malloc(sizeof (Uchar)*(size+_SMBFSZ))) != 94 if (buf == NULL) 96 iop->_base = buf + PUSHBACK; /* bytes for pushback */ 97 iop->_ptr = buf + PUSHBACK;
|
H A D | fgets.c | 46 fgets(char *buf, int size, FILE *iop) argument 48 char *ptr = buf; 80 } else if (ptr == buf) { /* never read anything */ 101 return (buf);
|
H A D | setbuf.c | 46 Uchar *buf = (Uchar *)abuf; local 56 if (buf == 0) { 61 buf = (fno == 0) ? _sibuf : _sobuf; 65 buf = _smbuf[fno]; 68 if ((buf = (Uchar *)malloc(_SMBFSZ * sizeof (Uchar))) != 0) { 76 if (buf == 0) { 80 temp = buf + PUSHBACK;
|
H A D | setvbuf.c | 46 Uchar *buf = (Uchar *)abuf; local 61 buf = (fd == 0) ? _sibuf : _sobuf; 66 buf = _smbuf[fd]; 69 if ((buf = malloc(_SMBFSZ * sizeof (Uchar))) != NULL) { 86 buf = NULL; 88 if (buf == NULL) { 89 if ((buf = malloc(sizeof (Uchar) * 106 temp = buf + PUSHBACK;
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | readlink.c | 32 readlinkat(int fd, const char *path, char *buf, size_t bufsize) argument 37 error = __systemcall(&rval, SYS_readlinkat, fd, path, buf, bufsize); 45 readlink(const char *path, char *buf, size_t bufsize) argument 47 return (readlinkat(AT_FDCWD, path, buf, bufsize));
|