| /src/external/bsd/mdocml/dist/ |
| 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');
|
| test-strlcpy.c | 6 char buf[2] = ""; local 7 return ! (strlcpy(buf, "a", sizeof(buf)) == 1 && 8 buf[0] == 'a' && buf[1] == '\0');
|
| test-strsep.c | 6 char buf[6] = "aybxc"; local 7 char *workp = buf; 9 return ! (retp == buf && buf[1] == '\0' && workp == buf + 2);
|
| /src/tests/usr.bin/xlint/lint1/ |
| 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, sizeof(buf), "\020", 0) 38 char buf[64]; local [all...] |
| 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, sizeof(buf) [all...] |
| msg_360.c | 22 char buf[64]; local 25 snprintb(buf, sizeof(buf), "\177", 0); 27 snprintb(buf, sizeof(buf), "\177\002", 0);
|
| msg_359.c | 23 char buf[64]; local 26 snprintb(buf, sizeof(buf), "", 0); 27 snprintb(buf, sizeof(buf), "\010", 0); 28 snprintb(buf, sizeof(buf), "" "\177\020" "", 0);
|
| msg_358.c | 28 char buf[64]; local 31 snprintb(buf, sizeof(buf), 36 snprintb(buf, sizeof(buf), 43 snprintb(buf, sizeof(buf), 48 snprintb(buf, sizeof(buf), 53 snprintb(buf, sizeof(buf) [all...] |
| 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...] |
| msg_386.c | 21 char buf[50]; local 23 snprintb(buf, sizeof buf,
|
| msg_357.c | 28 char buf[64]; local 33 snprintb(buf, sizeof(buf), 40 snprintb(buf, sizeof(buf), 47 snprintb(buf, sizeof(buf), 54 snprintb(buf, sizeof(buf),
|
| msg_363.c | 23 char buf[64]; local 28 snprintb(buf, sizeof(buf), 40 snprintb(buf, sizeof(buf), 49 snprintb(buf, sizeof(buf), 60 snprintb(buf, sizeof(buf),
|
| 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),
|
| msg_364.c | 21 char buf[64]; local 24 snprintb(buf, sizeof(buf), 31 snprintb(buf, sizeof(buf),
|
| msg_365.c | 20 char buf[64]; local 23 snprintb(buf, sizeof(buf), 30 snprintb(buf, sizeof(buf),
|
| msg_368.c | 21 char buf[64]; local 24 snprintb(buf, sizeof(buf), 30 snprintb(buf, sizeof(buf),
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.dwarf2/ |
| var-access.c | 18 char buf[] = {0, 1, 2, 3, 4, 5, 6, 7}; variable
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.dwarf2/ |
| var-access.c | 18 char buf[] = {0, 1, 2, 3, 4, 5, 6, 7}; variable
|
| /src/external/gpl3/gdb/dist/gdbsupport/ |
| safe-strerror.cc | 30 select_strerror_r (int res, char *buf) 32 return res == 0 ? buf : nullptr; 47 static thread_local char buf[1024]; local 49 char *res = select_strerror_r (strerror_r (errnum, buf, sizeof (buf)), buf); 53 xsnprintf (buf, sizeof buf, "(undocumented errno %d)", errnum); 54 return buf;
|
| 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))
|
| /src/external/gpl3/gdb.old/dist/gdbsupport/ |
| safe-strerror.cc | 30 select_strerror_r (int res, char *buf) 32 return res == 0 ? buf : nullptr; 47 static thread_local char buf[1024]; local 49 char *res = select_strerror_r (strerror_r (errnum, buf, sizeof (buf)), buf); 53 xsnprintf (buf, sizeof buf, "(undocumented errno %d)", errnum); 54 return buf;
|
| 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))
|
| /src/usr.bin/fmt/ |
| buffer.h | 46 buf_init(struct buffer *buf) 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) 57 free(buf->bptr); 61 buf_grow(struct buffer *buf, size_t minsize [all...] |
| /src/sys/arch/ia64/unwind/ |
| decode.c | 19 unwind_decode_ule128(char *buf, unsigned long *val) 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) 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++ [all...] |
| /src/external/bsd/ipf/dist/lib/ |
| 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 */
|