Lines Matching refs:LEN_OR_ZERO
1340 #define LEN_OR_ZERO (len ? len - pos : 0) macro
1350 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_dyn_field_set_string()
1352 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", argv[i]); in user_dyn_field_set_string()
1373 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->type); in user_field_set_string()
1374 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_field_set_string()
1375 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->name); in user_field_set_string()
1378 pos += snprintf(buf + pos, LEN_OR_ZERO, " %d", field->size); in user_field_set_string()
1381 pos += snprintf(buf + pos, LEN_OR_ZERO, ";"); in user_field_set_string()
1393 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt()
1397 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_event_set_print_fmt()
1399 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s", in user_event_set_print_fmt()
1405 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt()
1409 pos += snprintf(buf + pos, LEN_OR_ZERO, in user_event_set_print_fmt()
1412 pos += snprintf(buf + pos, LEN_OR_ZERO, in user_event_set_print_fmt()
1418 #undef LEN_OR_ZERO