Home
last modified time | relevance | path

Searched refs:kFastToBufferSize (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/micro/
Ddebug_log_numbers.cc29 static const int kFastToBufferSize = 48; variable
91 char number_string[kFastToBufferSize]; in StrCatInt32()
98 char number_string[kFastToBufferSize]; in StrCatUInt32()
109 char* current_end = buffer + (kFastToBufferSize - 1); in FastFloatToBufferLeft()
164 char number_string[kFastToBufferSize]; in DebugLogInt32()
170 char number_string[kFastToBufferSize]; in DebugLogUInt32()
176 char number_string[kFastToBufferSize]; in DebugLogHex()
182 char number_string[kFastToBufferSize]; in DebugLogFloat()
/external/tensorflow/tensorflow/core/lib/strings/
Dnumbers.cc191 snprintf(buffer, kFastToBufferSize, "%.*g", DBL_DIG, value); in DoubleToBuffer()
195 DCHECK(snprintf_result > 0 && snprintf_result < kFastToBufferSize); in DoubleToBuffer()
205 snprintf(buffer, kFastToBufferSize, "%.*g", DBL_DIG + 2, value); in DoubleToBuffer()
208 DCHECK(snprintf_result > 0 && snprintf_result < kFastToBufferSize); in DoubleToBuffer()
340 if (len >= kFastToBufferSize) return false; in safe_strtof()
353 if (len >= kFastToBufferSize) return false; in safe_strtod()
369 snprintf(buffer, kFastToBufferSize, "%.*g", FLT_DIG, value); in FloatToBuffer()
373 DCHECK(snprintf_result > 0 && snprintf_result < kFastToBufferSize); in FloatToBuffer()
378 snprintf(buffer, kFastToBufferSize, "%.*g", FLT_DIG + 3, value); in FloatToBuffer()
381 DCHECK(snprintf_result > 0 && snprintf_result < kFastToBufferSize); in FloatToBuffer()
Dnumbers_test.cc49 char buf[kFastToBufferSize]; in TEST()
293 char test_str[2 * kFastToBufferSize]; in TEST()
294 for (int i = 0; i < 2 * kFastToBufferSize; ++i) test_str[i] = 'a'; in TEST()
295 test_str[kFastToBufferSize + 1] = '\0'; in TEST()
331 char test_str[2 * kFastToBufferSize]; in TEST()
332 for (int i = 0; i < 2 * kFastToBufferSize; ++i) test_str[i] = 'a'; in TEST()
333 test_str[kFastToBufferSize + 1] = '\0'; in TEST()
Dnumbers.h48 static const int kFastToBufferSize = 32; variable
Dstrcat.h137 char digits_[kFastToBufferSize];
Dstrcat.cc30 char *const end = &digits_[kFastToBufferSize]; in AlphaNum()
/external/dynamic_depth/internal/strings/
Dnumbers.cc516 char buffer[kFastToBufferSize]; in SimpleFtoa()
528 snprintf(buffer, kFastToBufferSize, "%.*g", FLT_DIG, value); in FloatToBuffer()
532 assert(snprintf_result > 0 && snprintf_result < kFastToBufferSize); in FloatToBuffer()
537 snprintf(buffer, kFastToBufferSize, "%.*g", FLT_DIG + 2, value); in FloatToBuffer()
540 assert(snprintf_result > 0 && snprintf_result < kFastToBufferSize); in FloatToBuffer()
Dnumbers.h75 static const int kFastToBufferSize = 32; variable
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc1118 char buffer[kFastToBufferSize]; in SimpleItoa()
1125 char buffer[kFastToBufferSize]; in SimpleItoa()
1132 char buffer[kFastToBufferSize]; in SimpleItoa()
1139 char buffer[kFastToBufferSize]; in SimpleItoa()
1146 char buffer[kFastToBufferSize]; in SimpleItoa()
1153 char buffer[kFastToBufferSize]; in SimpleItoa()
1402 char *const end = &digits[kFastToBufferSize]; in AlphaNum()
Dsubstitute.h135 char scratch_[kFastToBufferSize];
Dstrutil.h463 static const int kFastToBufferSize = 32; variable
615 char digits[kFastToBufferSize];
/external/tensorflow/tensorflow/core/framework/
Drendezvous.cc62 char buf[strings::kFastToBufferSize]; in CreateKey()