Lines Matching refs:LEN_OR_ZERO
1321 #define LEN_OR_ZERO (len ? len - pos : 0) macro
1331 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_dyn_field_set_string()
1333 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", argv[i]); in user_dyn_field_set_string()
1354 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->type); in user_field_set_string()
1355 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_field_set_string()
1356 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->name); in user_field_set_string()
1359 pos += snprintf(buf + pos, LEN_OR_ZERO, " %d", field->size); in user_field_set_string()
1362 pos += snprintf(buf + pos, LEN_OR_ZERO, ";"); in user_field_set_string()
1374 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt()
1378 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_event_set_print_fmt()
1380 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s", in user_event_set_print_fmt()
1386 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt()
1390 pos += snprintf(buf + pos, LEN_OR_ZERO, in user_event_set_print_fmt()
1393 pos += snprintf(buf + pos, LEN_OR_ZERO, in user_event_set_print_fmt()
1399 #undef LEN_OR_ZERO