Searched defs:sbuf (Results 1 - 10 of 10) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/
H A Dgettemp.c80 struct stat sbuf; local
132 if (stat(path, &sbuf))
134 if (!S_ISDIR(sbuf.st_mode)) {
155 } else if (lstat(path, &sbuf))
/vbox/src/VBox/Devices/Network/slirp/bsd/sys/
H A Dsbuf.h28 * $FreeBSD: src/sys/sys/sbuf.h,v 1.14.18.1.2.1 2009/04/15 03:14:26 kensmith Exp $
43 struct sbuf { struct
53 #define SBUF_OVERFLOWED 0x00040000 /* sbuf overflowed */
54 #define SBUF_DYNSTRUCT 0x00080000 /* sbuf must be freed */
62 struct sbuf *sbuf_new(struct sbuf *, char *, int, int);
65 void sbuf_clear(struct sbuf *);
66 int sbuf_setpos(struct sbuf *, int);
67 int sbuf_bcat(struct sbuf *, const void *, size_t);
68 int sbuf_bcpy(struct sbuf *, cons
[all...]
/vbox/src/VBox/Devices/Network/slirp/
H A Dsbuf.h3 * NAT - sbuf declarations/defines.
36 struct sbuf struct
41 * bytes should be written in the sbuf */
43 * byte should be read from the sbuf */
47 void sbfree (struct sbuf *);
48 void sbdrop (struct sbuf *, int);
49 void sbreserve (PNATState, struct sbuf *, int);
51 void sbappendsb (PNATState, struct sbuf *, struct mbuf *);
52 void sbcopy (struct sbuf *, int, int, char *);
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dsprintf.c61 static char sbuf[20000]; variable
79 sprintf(sbuf, pattern, i);
83 (strncmp(s, sbuf, sizeof(sbuf)) != 0)) {
86 pattern, i, s, buf, sbuf);
157 sprintf(sbuf, spattern, l);
161 (strncmp(s, sbuf, sizeof(sbuf)) != 0)) {
164 pattern, l, s, buf, sbuf);
252 sprintf(sbuf, spatter
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/lib/prstreams/
H A Dprstrms.cpp169 char * sbuf = new char[STRM_BUFSIZ]; local
170 if (!sbuf)
174 streambuf::setb(sbuf,sbuf+STRM_BUFSIZ,0);
/vbox/src/VBox/Additions/x11/x11include/xproto-7.0.18/X11/
H A DXos_r.h477 char sbuf[X_LINE_MAX]; member in struct:__anon9658
484 getservbyname_r((s),(p),&(sp).sent,(sp).sbuf,sizeof((sp).sbuf))
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/
H A Ddtrace.c376 struct stat sbuf; local
390 if (fstat(fd, &sbuf) == -1)
393 if ((buf = malloc((sz = sbuf.st_size) + 1)) == NULL)
457 struct stat sbuf; local
466 if (fstat(fd, &sbuf) == -1)
469 if ((buf = malloc((sz = sbuf.st_size) + 1)) == NULL)
508 O_WRONLY | O_CREAT | O_EXCL, sbuf.st_mode)) == -1)
519 if (chown(tmpname, sbuf.st_uid, sbuf.st_gid) != 0) {
522 (int)sbuf
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dsurface_base.c984 const BYTE *sbuf; local
1307 sbuf = sbase;
1316 memcpy(dbuf, sbuf, width);
1317 sbuf += slock.Pitch;
1323 sbuf += (slock.Pitch*dstheight);
1327 sbuf -= slock.Pitch;
1329 memcpy(dbuf, sbuf, width);
1336 memmove(dbuf, sbuf, width);
1337 sbuf += slock.Pitch;
1344 sbuf
1637 const BYTE *sbuf; local
[all...]
/vbox/src/libs/xpcom18a4/xpcom/io/
H A DnsLocalFileUnix.cpp993 struct stat sbuf; local
994 if (lstat(mPath.get(), &sbuf) == -1)
996 LL_I2L(*aLastModTimeOfLink, (PRInt32)sbuf.st_mtime);
1037 struct stat sbuf; local
1038 if (lstat(mPath.get(), &sbuf) == -1)
1040 *aPermissionsOfLink = NORMALIZE_PERMS(sbuf.st_mode);
1108 struct stat sbuf; local
1109 if (lstat(mPath.get(), &sbuf) == -1)
1112 LL_UI2L(*aFileSize, (PRUint32)sbuf.st_size);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dsurface.c7043 const BYTE *sbuf; local
7203 sbuf = sbase;
7212 memcpy(dbuf, sbuf, width);
7213 sbuf += src_map.row_pitch;
7220 sbuf += src_map.row_pitch * dstheight;
7224 sbuf -= src_map.row_pitch;
7226 memcpy(dbuf, sbuf, width);
7234 memmove(dbuf, sbuf, width);
7235 sbuf += src_map.row_pitch;
7245 sbuf
[all...]

Completed in 80 milliseconds