fmt1
static int fmt1(int t, char s, char **buf, size_t *buflen);
T(fmt1(weeks, 'W', &dst, &dstlen));
T(fmt1(days, 'D', &dst, &dstlen));
T(fmt1(hours, 'H', &dst, &dstlen));
T(fmt1(mins, 'M', &dst, &dstlen));
T(fmt1(secs, 'S', &dst, &dstlen));
char *fmt1;
f1 = test_fmts[i].fmt1;
trace_calc_fmts(const char **main_local, const char **fmt1, const char **fmt2)
*fmt1 = ld_get_env_var(LD_TRACE_LOADED_OBJECTS_FMT1);
if (*fmt1 == NULL)
*fmt1 = "\t%o => %p (%x)\n";
const char *main_local, const char *fmt1, const char *fmt2)
if (fmt1 == NULL)
fmt = strncmp(name, "lib", 3) == 0 ? fmt1 : fmt2;
const char *fmt1, *fmt2, *main_local;
trace_calc_fmts(&main_local, &fmt1, &fmt2);
fmt1, fmt2);
char *fmt1, *fmt2;
fmt1 = fmt2 = NULL;
if (fmt1 != NULL) {
fmt1 = optarg;
rval |= execldd32(*argv, fmt1, fmt2, aflag);
if (fmt1 != NULL)
LDD_SETENV("TRACE_LOADED_OBJECTS_FMT1", fmt1, 1);
else if (fmt1 == NULL && fmt2 == NULL)
} else if (fmt1 == NULL && fmt2 == NULL && !aflag) {
execldd32(char *file, char *fmt1, char *fmt2, int aflag)
if (fmt1 != NULL) {
argv[i++] = strdup(fmt1);
printf(fmt1, 1 + i, part[i].dp_flag,
static const char fmt1[] = "%d 0x%02x %4u:%3u:%2u 0x%02x"