Home
last modified time | relevance | path

Searched refs:neg_str (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/lib/
Dhuman_readable.h36 const char* neg_str = GetNegStr(&num_bytes); in ToString() local
41 return port::Printf("%s%lldB", neg_str, num_bytes); in ToString()
52 return port::Printf(((*unit == 'K') ? "%s%.1f%c" : "%s%.2f%c"), neg_str, in ToString()
/external/tensorflow/tensorflow/core/lib/strings/
Dnumbers.cc465 const char* neg_str = (num_bytes < 0) ? "-" : ""; in HumanReadableNumBytes() local
474 snprintf(buf, sizeof(buf), "%s%lldB", neg_str, in HumanReadableNumBytes()
490 neg_str, num_bytes / 1024.0, *unit); in HumanReadableNumBytes()