Searched defs:buf (Results 76 - 100 of 4593) sorted by relevance

1234567891011>>

/external/selinux/libselinux/src/
H A Ddisable.c16 char buf[20]; local
28 buf[0] = '1';
29 buf[1] = '\0';
30 ret = write(fd, buf, strlen(buf));
/external/strace/tests/
H A Dprintstr.c42 char *const buf = tail_alloc(DEFAULT_STRLEN + 1); local
44 .iov_base = buf,
49 buf[0] = 0;
53 memset(buf + 1, 'X', DEFAULT_STRLEN);
54 buf[DEFAULT_STRLEN - 1] = 0;
58 " = %s\n", DEFAULT_STRLEN - 2, buf + 1, -1UL, sprintrc(rc));
60 buf[DEFAULT_STRLEN - 1] = 'X';
61 buf[DEFAULT_STRLEN] = 0;
65 " = %s\n", DEFAULT_STRLEN - 1, buf + 1, -1UL, sprintrc(rc));
H A Dreboot.c16 static const char buf[] = "reboot"; local
18 INVALID_MAGIC, LINUX_REBOOT_CMD_RESTART2, buf);
21 INVALID_MAGIC, buf, rc, errno2name());
/external/strace/tests-m32/
H A Dprintstr.c42 char *const buf = tail_alloc(DEFAULT_STRLEN + 1); local
44 .iov_base = buf,
49 buf[0] = 0;
53 memset(buf + 1, 'X', DEFAULT_STRLEN);
54 buf[DEFAULT_STRLEN - 1] = 0;
58 " = %s\n", DEFAULT_STRLEN - 2, buf + 1, -1UL, sprintrc(rc));
60 buf[DEFAULT_STRLEN - 1] = 'X';
61 buf[DEFAULT_STRLEN] = 0;
65 " = %s\n", DEFAULT_STRLEN - 1, buf + 1, -1UL, sprintrc(rc));
H A Dreboot.c16 static const char buf[] = "reboot"; local
18 INVALID_MAGIC, LINUX_REBOOT_CMD_RESTART2, buf);
21 INVALID_MAGIC, buf, rc, errno2name());
/external/strace/tests-mx32/
H A Dprintstr.c42 char *const buf = tail_alloc(DEFAULT_STRLEN + 1); local
44 .iov_base = buf,
49 buf[0] = 0;
53 memset(buf + 1, 'X', DEFAULT_STRLEN);
54 buf[DEFAULT_STRLEN - 1] = 0;
58 " = %s\n", DEFAULT_STRLEN - 2, buf + 1, -1UL, sprintrc(rc));
60 buf[DEFAULT_STRLEN - 1] = 'X';
61 buf[DEFAULT_STRLEN] = 0;
65 " = %s\n", DEFAULT_STRLEN - 1, buf + 1, -1UL, sprintrc(rc));
H A Dreboot.c16 static const char buf[] = "reboot"; local
18 INVALID_MAGIC, LINUX_REBOOT_CMD_RESTART2, buf);
21 INVALID_MAGIC, buf, rc, errno2name());
/external/swiftshader/src/OpenGL/compiler/
H A Ddebug.cpp34 char buf[kTraceBufferLen]; local
37 vsnprintf(buf, kTraceBufferLen, format, args);
40 parseContext->trace(buf);
/external/syslinux/com32/include/
H A Dbufprintf.h4 char *buf; member in struct:print_buf
9 int vbufprintf(struct print_buf *buf, const char *format, va_list ap);
10 int bufprintf(struct print_buf *buf, const char *format, ...);
/external/syslinux/com32/lib/sys/
H A Dansiserial_write.c45 static ssize_t __ansiserial_write(struct file_info *fp, const void *buf, argument
48 __ansicon_write(fp, buf, count);
49 return __xserial_write(fp, buf, count);
H A Derr_read.c40 static ssize_t __err_read(struct file_info *fp, void *buf, size_t count) argument
43 (void)buf;
H A Derr_write.c40 static ssize_t __err_write(struct file_info *fp, const void *buf, size_t count) argument
43 (void)buf;
H A Dnull_read.c40 static ssize_t __null_read(struct file_info *fp, void *buf, size_t count) argument
43 (void)buf;
H A Dnull_write.c40 static ssize_t __null_write(struct file_info *fp, const void *buf, size_t count) argument
43 (void)buf;
H A Dread.c41 ssize_t read(int fd, void *buf, size_t count) argument
50 return fp->iop->read(fp, buf, count);
H A Dvesaserial_write.c46 static ssize_t __vesaserial_write(struct file_info *fp, const void *buf, argument
49 __vesacon_write(fp, buf, count);
50 return __xserial_write(fp, buf, count);
H A Dwrite.c41 ssize_t write(int fd, void *buf, size_t count) argument
50 return fp->oop->write(fp, buf, count);
/external/syslinux/gpxe/src/core/
H A Dgdbserial.c26 static size_t gdbserial_recv ( char *buf, size_t len ) { argument
28 buf [ 0 ] = serial_getc();
32 static void gdbserial_send ( const char *buf, size_t len ) { argument
34 serial_putc ( *buf++ );
/external/valgrind/VEX/test/
H A Dfldenv.c18 unsigned short* buf = malloc(14*sizeof(short)); local
20 buf[i] = i;
21 buf[0] = 0x037f;
23 do_fldenv(buf);
24 do_fstenv(buf);
26 printf("%04x ", buf[i]);
/external/valgrind/none/tests/s390x/
H A Dstmg.c8 char buf[24]; local
15 :"=m" (buf)
20 "lgr 3, %0\n\t" // buf
23 : : "a" (buf)
30 char buf[64]; local
38 :"=m" (buf)
43 "lgr 3, %0\n\t" // buf
46 : : "a" (buf)
/external/webrtc/webrtc/base/
H A Dbuffer.cc22 Buffer::Buffer(const Buffer& buf) : Buffer(buf.data(), buf.size()) { argument
25 Buffer::Buffer(Buffer&& buf) argument
26 : size_(buf.size()),
27 capacity_(buf.capacity()),
28 data_(std::move(buf.data_)) {
30 buf.OnMovedFrom();
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dmd5_i.h13 u32 buf[4]; member in struct:MD5Context
19 void MD5Update(struct MD5Context *context, unsigned char const *buf,
/external/wpa_supplicant_8/hostapd/src/fst/
H A Dfst_ctrl_iface.h17 int fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen);
19 int fst_ctrl_iface_receive(const char *txtaddr, char *buf, size_t buflen);
26 fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen) argument
34 int fst_read_next_text_param(const char *params, char *buf, size_t buflen,
/external/wpa_supplicant_8/src/crypto/
H A Dmd5_i.h13 u32 buf[4]; member in struct:MD5Context
19 void MD5Update(struct MD5Context *context, unsigned char const *buf,
/external/wpa_supplicant_8/src/fst/
H A Dfst_ctrl_iface.h17 int fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen);
19 int fst_ctrl_iface_receive(const char *txtaddr, char *buf, size_t buflen);
26 fst_ctrl_iface_mb_info(const u8 *addr, char *buf, size_t buflen) argument
34 int fst_read_next_text_param(const char *params, char *buf, size_t buflen,

Completed in 1496 milliseconds

1234567891011>>