Lines Matching refs:LEN_OR_ZERO
673 #define LEN_OR_ZERO (len ? len - pos : 0) macro
683 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_dyn_field_set_string()
685 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", argv[i]); in user_dyn_field_set_string()
706 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->type); in user_field_set_string()
707 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_field_set_string()
708 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", field->name); in user_field_set_string()
711 pos += snprintf(buf + pos, LEN_OR_ZERO, ";"); in user_field_set_string()
723 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt()
727 pos += snprintf(buf + pos, LEN_OR_ZERO, " "); in user_event_set_print_fmt()
729 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s=%s", in user_event_set_print_fmt()
735 pos += snprintf(buf + pos, LEN_OR_ZERO, "\""); in user_event_set_print_fmt()
739 pos += snprintf(buf + pos, LEN_OR_ZERO, in user_event_set_print_fmt()
742 pos += snprintf(buf + pos, LEN_OR_ZERO, in user_event_set_print_fmt()
748 #undef LEN_OR_ZERO