Lines Matching defs:str
298 const char *str;
304 str = nv_get_string(nv, "resource%u", ii);
305 if (str == NULL)
307 printf("%s:\n", str);
327 str = nv_get_string(nv, "sourceaddr%u", ii);
328 if (str != NULL)
329 printf(" sourceaddr: %s\n", str);
332 str = nv_get_string(nv, "status%u", ii);
333 if (str != NULL)
334 printf(" status: %s\n", str);
373 const char *str;
380 str = nv_get_string(nv, "resource%u", ii);
381 if (str == NULL)
387 printf("%s\t", str);
395 str = nv_get_string(nv, "status%u", ii);
396 printf("%-9s", (str != NULL) ? str : "-");