Lines Matching refs:dumper
13 struct dumper *dumper = syslog_dumper_create(LOG_ERR); in TEST() local
14 dumpf(dumper, "hello %d", 1); in TEST()
15 dumpf(dumper, "world %d\n123", 2); in TEST()
16 dumpf(dumper, "456\n"); in TEST()
20 syslog_dumper_free(dumper); in TEST()
24 struct dumper *dumper = mem_dumper_create(); in TEST() local
28 mem_dumper_get(dumper, &buf, &size); in TEST()
31 dumpf(dumper, "hello %d\n", 1); in TEST()
32 mem_dumper_get(dumper, &buf, &size); in TEST()
36 dumpf(dumper, "world %d", 2); in TEST()
37 mem_dumper_get(dumper, &buf, &size); in TEST()
41 mem_dumper_clear(dumper); in TEST()
42 mem_dumper_get(dumper, &buf, &size); in TEST()
47 dumpf(dumper, "a"); in TEST()
49 mem_dumper_get(dumper, &buf, &size); in TEST()
53 mem_dumper_free(dumper); in TEST()