/netbsd-current/external/bsd/mdocml/dist/ |
H A D | test-strlcat.c | 6 char buf[3] = "a"; local 7 return ! (strlcat(buf, "b", sizeof(buf)) == 2 && 8 buf[0] == 'a' && buf[1] == 'b' && buf[2] == '\0');
|
H A D | test-strlcpy.c | 6 char buf[2] = ""; local 7 return ! (strlcpy(buf, "a", sizeof(buf)) == 1 && 8 buf[0] == 'a' && buf[1] == '\0');
|
H A D | test-strsep.c | 6 char buf[6] = "aybxc"; local 7 char *workp = buf; 9 return ! (retp == buf && buf[1] == '\0' && workp == buf + 2);
|
/netbsd-current/tests/usr.bin/xlint/lint1/ |
H A D | msg_361.c | 21 char buf[64]; local 24 snprintb(buf, sizeof(buf), "", 0); 26 snprintb(buf, sizeof(buf), "\002", 0); 27 snprintb(buf, sizeof(buf), "\010", 0); 28 snprintb(buf, sizeof(buf), "\n", 0); 29 snprintb(buf, sizeo 38 char buf[64]; local [all...] |
H A D | msg_366.c | 25 char buf[64]; local 28 snprintb(buf, sizeof(buf), 35 snprintb(buf, sizeof(buf), 42 snprintb(buf, sizeof(buf), 48 snprintb(buf, sizeof(buf), 54 snprintb(buf, sizeo [all...] |
H A D | msg_360.c | 22 char buf[64]; local 25 snprintb(buf, sizeof(buf), "\177", 0); 27 snprintb(buf, sizeof(buf), "\177\002", 0);
|
H A D | msg_359.c | 21 char buf[64]; local 24 snprintb(buf, sizeof(buf), "", 0); 25 snprintb(buf, sizeof(buf), "\010", 0); 26 snprintb(buf, sizeof(buf), "" "\177\020" "", 0);
|
H A D | msg_358.c | 24 char buf[64]; local 27 snprintb(buf, sizeof(buf), 32 snprintb(buf, sizeof(buf), 39 snprintb(buf, sizeof(buf), 44 snprintb(buf, sizeof(buf), 49 snprintb(buf, sizeo [all...] |
H A D | msg_367.c | 23 char buf[64]; local 29 snprintb(buf, sizeof(buf), 41 snprintb(buf, sizeof(buf), 50 snprintb(buf, sizeof(buf), 62 char buf[64]; local 65 snprintb(buf, sizeof(buf), [all...] |
H A D | msg_374.c | 21 char buf[64]; local 24 snprintb(buf, sizeof(buf), 30 snprintb(buf, sizeof(buf), 36 snprintb(buf, sizeof(buf), 45 snprintb(buf, sizeof(buf),
|
H A D | msg_370.c | 23 char buf[64]; local 31 snprintb(buf, sizeof(buf), 45 snprintb(buf, sizeof(buf),
|
H A D | msg_373.c | 22 char buf[64]; local 30 snprintb(buf, sizeof(buf), 40 snprintb(buf, sizeof(buf),
|
H A D | msg_377.c | 24 char buf[64]; local 28 snprintb(buf, sizeof(buf), 36 snprintb(buf, sizeof(buf),
|
H A D | msg_365.c | 20 char buf[64]; local 23 snprintb(buf, sizeof(buf), 30 snprintb(buf, sizeof(buf),
|
H A D | msg_364.c | 21 char buf[64]; local 24 snprintb(buf, sizeof(buf), 31 snprintb(buf, sizeof(buf),
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.dwarf2/ |
H A D | var-access.c | 18 char buf[] = {0, 1, 2, 3, 4, 5, 6, 7}; variable
|
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.dwarf2/ |
H A D | var-access.c | 18 char buf[] = {0, 1, 2, 3, 4, 5, 6, 7}; variable
|
/netbsd-current/sys/arch/i386/stand/lib/ |
H A D | printmemlist.c | 43 int buf[5], i; local 48 if (getmementry(&i, buf)) 50 if (buf[4] < 1 || buf[4] > 4) 53 type = memtypes[buf[4] - 1]; 54 printf("%x:%x/%x:%x: %s\n", buf[1], buf[0], buf[3], buf[2],
|
/netbsd-current/external/gpl3/gdb.old/dist/gdbsupport/ |
H A D | safe-strerror.cc | 31 select_strerror_r (int res, char *buf) argument 33 return res == 0 ? buf : nullptr; 48 static thread_local char buf[1024]; local 50 char *res = select_strerror_r (strerror_r (errnum, buf, sizeof (buf)), buf); 54 xsnprintf (buf, sizeof buf, "(undocumented errno %d)", errnum); 55 return buf;
|
H A D | gdb_setjmp.h | 26 #define SIGSETJMP(buf,val) sigsetjmp((buf), val) 27 #define SIGLONGJMP(buf,val) siglongjmp((buf), (val)) 32 #define SIGSETJMP(buf,val) setjmp(buf) 33 #define SIGLONGJMP(buf,val) longjmp((buf), (val))
|
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/ |
H A D | safe-strerror.cc | 31 select_strerror_r (int res, char *buf) argument 33 return res == 0 ? buf : nullptr; 48 static thread_local char buf[1024]; local 50 char *res = select_strerror_r (strerror_r (errnum, buf, sizeof (buf)), buf); 54 xsnprintf (buf, sizeof buf, "(undocumented errno %d)", errnum); 55 return buf;
|
H A D | gdb_setjmp.h | 26 #define SIGSETJMP(buf,val) sigsetjmp((buf), val) 27 #define SIGLONGJMP(buf,val) siglongjmp((buf), (val)) 32 #define SIGSETJMP(buf,val) setjmp(buf) 33 #define SIGLONGJMP(buf,val) longjmp((buf), (val))
|
/netbsd-current/usr.bin/fmt/ |
H A D | buffer.h | 46 buf_init(struct buffer *buf) argument 48 buf->ptr = buf->bptr = calloc(BUF_SIZE, sizeof(*buf->ptr)); 49 if (buf->ptr == NULL) 51 buf->eptr = buf->ptr + BUF_SIZE; 55 buf_end(struct buffer *buf) argument 57 free(buf->bptr); 61 buf_grow(struct buffer *buf, size_ argument 83 buf_putc(struct buffer *buf, wchar_t c) argument 91 buf_reset(struct buffer *buf) argument 97 buf_unputc(struct buffer *buf) argument [all...] |
/netbsd-current/sys/arch/ia64/unwind/ |
H A D | decode.c | 19 unwind_decode_ule128(char *buf, unsigned long *val) argument 25 val[0] += ((buf[i] & 0x7f) << (i * 7)); 27 }while((0x80 & buf[i++]) && (i < 9)); 34 buf+= i; 35 return buf; 40 unwind_decode_R1(char *buf, union unwind_desc *uwd) argument 43 if(!IS_R1(buf[0])) return NULL; 44 uwd->R1.r = ((buf[0] & 0x20) == 0x20); 45 uwd->R1.rlen = (buf[0] & 0x1f); 46 buf 51 unwind_decode_R2(char *buf, union unwind_desc *uwd) argument 65 unwind_decode_R3(char *buf, union unwind_desc *uwd) argument 78 unwind_decode_P1(char *buf, union unwind_desc *uwd) argument 90 unwind_decode_P2(char *buf, union unwind_desc *uwd) argument 102 unwind_decode_P3(char *buf, union unwind_desc *uwd) argument 114 unwind_decode_P4(char *buf, union unwind_desc *uwd, vsize_t len) argument 129 unwind_decode_P5(char *buf, union unwind_desc *uwd) argument 141 unwind_decode_P6(char *buf, union unwind_desc *uwd) argument 154 unwind_decode_P7(char *buf, union unwind_desc *uwd) argument 170 unwind_decode_P8(char *buf, union unwind_desc *uwd) argument 183 unwind_decode_P9(char *buf, union unwind_desc *uwd) argument 197 unwind_decode_P10(char *buf, union unwind_desc *uwd) argument 210 unwind_decode_B1(char *buf, union unwind_desc *uwd) argument 224 unwind_decode_B2(char *buf, union unwind_desc *uwd) argument 238 unwind_decode_B3(char *buf, union unwind_desc *uwd) argument 251 unwind_decode_B4(char *buf, union unwind_desc *uwd) argument 266 unwind_decode_X1(char *buf, union unwind_desc *uwd) argument 285 unwind_decode_X2(char *buf, union unwind_desc *uwd) argument 304 unwind_decode_X3(char *buf, union unwind_desc *uwd) argument 323 unwind_decode_X4(char *buf, union unwind_desc *uwd) argument [all...] |
/netbsd-current/external/bsd/ipf/dist/lib/ |
H A D | printsbuf.c | 19 printsbuf(buf) 20 char *buf; 25 for (s = (u_char *)buf, i = ISC_TLEN; i; i--, s++) { 33 void printsbuf(char *buf); 35 void printsbuf(buf) 36 char *buf; 38 buf = buf; /* gcc -Wextra */
|