Searched defs:buf (Results 1 - 25 of 581) sorted by relevance

1234567891011>>

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/
H A Dgets.c57 gets(char *buf) argument
62 _DIAGASSERT(buf != NULL);
65 for (s = buf; (c = getchar_unlocked()) != '\n'; ) {
67 if (s == buf) {
79 return (buf);
H A Dperror.c60 static char buf[ASCII_STRING_MAX]; local
70 (void)strerror_r(errno, buf, sizeof(buf));
71 (void)fprintf(stderr, "%s%s%s\n", s, separator, buf);
H A Dsetbuf.c56 setbuf(FILE *fp, char *buf) argument
60 /* buf may be NULL */
62 (void) setvbuf(fp, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
H A Dtmpnam.c63 static char buf[L_tmpnam]; local
66 s = buf;
H A Dtmpfile.c66 char buf[sizeof(_PATH_TMP) + sizeof(TRAILER)]; local
68 (void)memcpy(buf, _PATH_TMP, sizeof(_PATH_TMP) - 1);
69 (void)memcpy(buf + sizeof(_PATH_TMP) - 1, TRAILER, sizeof(TRAILER));
74 fd = mkstemp(buf);
76 /* Changed from unlink(buf) because of differences between the behavior
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dcpio.c38 char buf[9]; local
40 snprintf ( buf, sizeof ( buf ), "%08lx", value );
41 memcpy ( field, buf, 8 );
H A Duuid.c39 static char buf[37]; /* "00000000-0000-0000-0000-000000000000" */ local
41 sprintf ( buf, "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x",
49 return buf;
H A Dgdbserial.c28 static size_t gdbserial_recv ( char *buf, size_t len ) { argument
30 buf [ 0 ] = serial_getc();
34 static void gdbserial_send ( const char *buf, size_t len ) { argument
36 serial_putc ( *buf++ );
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/bus/
H A Disa_ids.c12 static char buf[7]; local
18 buf[i] = ( 'A' - 1 + ( vendor & 0x1f ) );
23 sprintf ( &buf[3], "%04x", bswap_16 ( product ) );
25 return buf;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/
H A Dbrng.c49 extern PRSize _PR_MD_GetRandomNoise( void *buf, PRSize size ) argument
58 s = _pr_CopyLowBits((char*)buf+n, size, &tv.tv_usec, sizeof(tv.tv_usec));
63 s = _pr_CopyLowBits((char*)buf+n, size, &tv.tv_sec, sizeof(tv.tv_usec));
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dpipepong.c62 char buf[1024]; local
67 memset(buf, 0, sizeof(buf));
68 nBytes = fread(buf, 1, 5, stdin);
69 fprintf(stderr, "pong process: received \"%s\"\n", buf);
75 if (strcmp(buf, "ping") != 0) {
77 buf);
81 strcpy(buf, "pong");
82 fprintf(stderr, "pong process: sending \"%s\"\n", buf);
83 nBytes = fwrite(buf,
[all...]
H A Dgetai.c58 char buf[128]; local
59 PR_NetAddrToString(&addr, buf, sizeof buf);
60 printf("%s\n", buf);
H A Dgetproto.c60 char buf[2048]; local
64 rv = PR_GetProtoByName("tcp", buf, sizeof(buf), &proto);
76 rv = PR_GetProtoByName("udp", buf, sizeof(buf), &proto);
88 rv = PR_GetProtoByNumber(6, buf, sizeof(buf), &proto);
100 rv = PR_GetProtoByNumber(17, buf, sizeof(buf), &proto);
H A Dopenfile.c55 char buf[32]; local
67 nbytes = PR_Read(fd, buf, sizeof(buf));
77 PR_Write(fd, buf, nbytes);
86 PR_Write(fd, buf, nbytes);
95 PR_Write(fd, buf, nbytes);
104 PR_Write(fd, buf, nbytes);
113 PR_Write(fd, buf, nbytes);
122 PR_Write(fd, buf, nbytes);
131 PR_Write(fd, buf, nbyte
[all...]
H A Dsockpong.c65 char buf[1024]; local
81 memset(buf, 0, sizeof(buf));
82 nBytes = PR_Read(sock, buf, sizeof(buf));
88 printf("pong process: received \"%s\"\n", buf);
94 if (strcmp(buf, "ping") != 0) {
96 buf);
100 strcpy(buf, "pong");
101 printf("pong process: sending \"%s\"\n", buf);
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/Pccts/h/
H A DBufFileInput.h46 int* buf; // buffer member in class:BufFileInput
/vbox/src/VBox/Devices/Network/lwip/src/netif/ppp/
H A Dmd5.h46 u32_t buf[4]; /* scratch buffer */ member in struct:__anon14892
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/
H A Dmd5.h46 u32_t buf[4]; /* scratch buffer */ member in struct:__anon14927
/vbox/src/VBox/Devices/PC/ipxe/src/include/
H A Dstdio.h17 snprintf ( char *buf, size_t size, const char *fmt, ... );
24 extern int vsnprintf ( char *buf, size_t size, const char *fmt, va_list args );
31 * @v buf Buffer into which to write the string
36 #define sprintf( buf, fmt, ... ) \
37 snprintf ( (buf), ~( ( size_t ) 0 ), (fmt), ## __VA_ARGS__ )
42 * @v buf Buffer into which to write the string
47 static inline int vsprintf ( char *buf, const char *fmt, va_list args ) { argument
48 return vsnprintf ( buf, ~( ( size_t ) 0 ), fmt, args );
/vbox/src/libs/libxml2-2.6.31/python/tests/
H A Dinbuf.py12 buf = libxml2.inputBuffer(f) variable
16 del buf
/vbox/src/libs/zlib-1.2.6/contrib/iostream3/
H A Dtest.cc15 char buf[80]; local
27 while (inf.getline(buf,80,'\n')) {
28 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n";
43 while (inf.getline(buf,80,'\n')) {
44 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n";
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/
H A Dxisb.h45 unsigned char *buf; member in struct:_XISBuffer
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/
H A Dxisb.h45 unsigned char *buf; member in struct:_XISBuffer
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/
H A Dxisb.h47 unsigned char *buf; member in struct:_XISBuffer
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/
H A Dxisb.h46 unsigned char *buf; member in struct:_XISBuffer

Completed in 148 milliseconds

1234567891011>>