Searched refs:tinybuf (Results 1 – 2 of 2) sorted by relevance
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_stacktrace_test.cpp | 208 char tinybuf[10]; in TEST_F() local 209 trace.PrintTo(tinybuf, sizeof(tinybuf)); in TEST_F() 212 ASSERT_GT(actual_len, sizeof(tinybuf)); in TEST_F() 215 size_t lastpos = sizeof(tinybuf) - 1; in TEST_F() 216 EXPECT_EQ(strncmp(buf, tinybuf, lastpos), 0); in TEST_F() 217 EXPECT_EQ(tinybuf[lastpos], '\0'); in TEST_F() 238 char tinybuf[5]; in TEST_F() local 239 len = trace.PrintTo(tinybuf, sizeof(tinybuf)); in TEST_F() 240 size_t truncated_len = strlen(tinybuf); in TEST_F() 241 ASSERT_GE(len, sizeof(tinybuf)); in TEST_F() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | source.c | 558 char tinybuf[2]; in add_path() local 560 tinybuf[0] = DIRNAME_SEPARATOR; in add_path() 561 tinybuf[1] = '\0'; in add_path() 571 temp = concat (old, tinybuf, name, NULL); in add_path() 579 *which_path = concat (name, (old[0] ? tinybuf : old), old, NULL); in add_path()
|