/osnet-11/usr/src/grub/grub-0.97/util/ |
H A D | mbchk.c | 60 char buf[8192]; local 62 if (fread (buf, 1, 8192, fp) < 0) 70 unsigned long magic = *((unsigned long *) (buf + i)); 74 mbh = (multiboot_header_t *) (buf + i);
|
/osnet-11/usr/src/cmd/sendmail/db/include/ |
H A D | os.h | 24 u_int8_t *buf; /* Buffer. */ member in struct:__io
|
/osnet-11/usr/src/cmd/sendmail/include/sm/ |
H A D | sem.h | 31 struct semid_ds *buf; member in union:semun
|
/osnet-11/usr/src/cmd/sendmail/libmilter/ |
H A D | sm_gethost.c | 93 static char buf[1000]; local 96 h = _switch_gethostbyname_r(name, &hp, buf, sizeof(buf), &h_errno);
|
/osnet-11/usr/src/cmd/hal/utils/ |
H A D | adt_data.c | 30 uchar_t *buf; local 76 buf = (uchar_t *)malloc (bufsize); 81 buf = realloc (buf, bufsize); 82 if (buf == NULL) { 90 buf[count++] = value; 99 free (buf); 100 buf = NULL; 103 return (adt_export_data_t *)buf;
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | mktemp.c | 44 temp(char* buf, int* fdp) argument 51 len = strlen(buf); 52 if (s = strrchr(buf, '/')) 55 d = buf; 59 s = buf; 63 *buf = 0; 67 if (!pathtemp(buf, len, d, s, fdp)) 68 *buf = 0; 70 return buf; 74 mktemp(char* buf) argument 80 mkstemp(char* buf) argument [all...] |
/osnet-11/usr/src/lib/libast/common/disc/ |
H A D | sfdctee.c | 40 static ssize_t teewrite(Sfio_t* f, const Void_t* buf, size_t size, Sfdisc_t* disc) argument 42 static ssize_t teewrite(f,buf,size,disc) 44 Void_t* buf; /* the buffer of data being output */ 52 if(te->status == 0 && sfwrite(te->tee,buf,size) != (ssize_t)size) 56 return sfwr(f,buf,size,disc);
|
/osnet-11/usr/src/lib/libast/common/path/ |
H A D | pathgetlink.c | 37 * return external representation for symbolic link text of name in buf 42 pathgetlink(const char* name, char* buf, int siz) argument 46 if ((n = readlink(name, buf, siz)) < 0) return(-1); 52 buf[n] = 0; 54 if (isspace(*buf)) 63 s = buf; 76 strcpy(buf, tmp);
|
H A D | pathpath.c | 55 char buf[PATH_MAX]; local 60 path = buf; 75 getcwd(buf, sizeof(buf)); 76 s = buf + strlen(buf); 77 sfsprintf(s, sizeof(buf) - (s - buf), "/%s", p); 78 if (path != buf) 79 strcpy(path, buf); [all...] |
/osnet-11/usr/src/lib/libast/common/port/ |
H A D | astcopy.c | 62 static char* buf; local 84 if (buf) free(buf); 86 if (!(buf = newof(0, char, bufsiz, 0))) return(-1); 88 if ((c = read(rfd, buf, (size_t)n)) > 0 && write(wfd, buf, (size_t)c) != c) c = -1;
|
/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | regcoll.c | 34 * the collating symbol is converted to multibyte in <buf,size> 38 * or collating element (*wc == 0) in buf 42 regcollate(register const char* s, char** e, char* buf, size_t size, wchar_t* wc) argument 70 b = buf; 71 x = buf + size - 2; 99 if (mbxfrm(xfm, buf, sizeof(xfm)) >= mbxfrm(xfm, tmp, sizeof(xfm))) 101 t = (const char*)buf; 105 memcpy(buf, t, r); 107 buf[r] = 0;
|
H A D | regerror.c | 59 regerror(int code, const regex_t* p, char* buf, size_t size) argument 72 strlcpy(buf, s, size); 73 buf[size - 1] = 0; 76 buf = (char*)s; 77 return strlen(buf) + 1;
|
/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfwr.c | 31 static ssize_t sfoutput(Sfio_t* f, char* buf, size_t n) argument 33 static ssize_t sfoutput(f,buf,n) 35 char* buf; 42 wbuf = buf; 43 endbuf = buf+n; 46 { buf += n; 51 sp = buf+1; 52 if(buf[0] == 0 && buf[_Sfpage-1] == 0) 79 if((s = sp-buf) > 125 sfwr(Sfio_t* f, const Void_t* buf, size_t n, Sfdisc_t* disc) argument [all...] |
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtfmt.c | 53 char* buf; local 196 s = buf = fmtbuf(m + z); 204 return buf;
|
H A D | fmtfs.c | 64 char* buf; local 88 buf = fmtbuf(strlen(s) + 1); 89 strcpy(buf, s); 91 return buf;
|
H A D | fmtls.c | 41 * buf results placed here 48 * return end of formatted buf 52 fmtls(char* buf, const char* name, register struct stat* st, const char* info, const char* link, register int flags) argument 58 s = buf;
|
H A D | fmtmatch.c | 47 char* buf; local 51 buf = fmtbuf(c); 52 t = b = buf + 3; 259 if (p == stack && b == buf + 3) 278 if (b != buf + 3)
|
H A D | fmtre.c | 51 char* buf; local 56 t = buf = fmtbuf(c); 208 if (t == buf || *(t - 1) == '(') 225 return buf;
|
H A D | fmtscale.c | 43 char* buf; local 72 buf = fmtbuf(z = 8); 86 sfsprintf(buf, z, "%I*u%c%d%s", sizeof(n), n, p->decimal >= 0 ? p->decimal : '.', r, suf); 91 sfsprintf(buf, z, "%I*u%s", sizeof(n), n, suf); 93 return buf;
|
/osnet-11/usr/src/lib/libc/amd64/gen/ |
H A D | ecvt.c | 56 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local 58 return (econvert(number, ndigits, decpt, sign, buf)); 68 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local 73 ptr = fconvert(number, ndigits, decpt, sign, buf); 96 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local 98 return (qeconvert(&number, ndigits, decpt, sign, buf)); 108 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local 110 return (qfconvert(&number, ndigits, decpt, sign, buf));
|
/osnet-11/usr/src/lib/libc/i386/gen/ |
H A D | ecvt.c | 56 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local 58 return (econvert(number, ndigits, decpt, sign, buf)); 68 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local 73 ptr = fconvert(number, ndigits, decpt, sign, buf); 96 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local 98 return (qeconvert(&number, ndigits, decpt, sign, buf)); 108 char *buf = tsdalloc(_T_ECVT, DECIMAL_STRING_LENGTH, NULL); local 110 return (qfconvert(&number, ndigits, decpt, sign, buf));
|
/osnet-11/usr/src/lib/libc/port/fp/ |
H A D | econvert.c | 36 * Copies the appropriate string for a datum of class cl into *buf, 41 __infnanstring(enum fp_class_type cl, int ndigits, char *buf) argument 45 (void) memcpy(buf, "Inf", 4); 47 (void) memcpy(buf, "Infinity", 9); 50 (void) memcpy(buf, "NaN", 4); 56 econvert(double arg, int ndigits, int *decpt, int *sign, char *buf) argument 83 buf[i] = dr.ds[i]; 84 buf[ndigits] = 0; 89 buf[i] = '0'; 90 buf[ndigit 101 seconvert(single *arg, int ndigits, int *decpt, int *sign, char *buf) argument 146 qeconvert(quadruple *arg, int ndigits, int *decpt, int *sign, char *buf) argument [all...] |
H A D | fconvert.c | 35 fconvert(double arg, int ndigits, int *decpt, int *sign, char *buf) argument 62 buf[i] = dr.ds[i]; 69 buf[i++] = '0'; 71 buf[i] = 0; 75 buf[0] = '0'; 77 buf[i] = '0'; 78 buf[i] = 0; 82 __infnanstring(dr.fpclass, ndigits, buf); 85 return (buf); 89 sfconvert(single *arg, int ndigits, int *decpt, int *sign, char *buf) argument 143 qfconvert(quadruple *arg, int ndigits, int *decpt, int *sign, char *buf) argument [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | confstr.c | 94 confstr(int name, char *buf, size_t length) argument 113 (void) strncpy(buf, path, length); 114 buf[length - 1] = '\0'; 129 (void) strncpy(buf, entry->value, length); 130 buf[length - 1] = '\0';
|
H A D | getauxv.c | 63 auxv_t *buf = NULL; local 68 buf = libc_malloc( 71 if (buf != NULL) { 72 i = read(fd, buf, statb.st_size); 75 buf[nauxv].a_type = AT_NULL; 77 libc_free(buf); 78 buf = NULL; 86 auxb = buf;
|