Searched refs:formatString (Results 1 – 2 of 2) sorted by relevance
/system/core/libutils/ |
D | String8_fuzz.cpp | 105 std::string formatString("%"); in fuzzFormat() local 110 formatString.push_back('0'); in fuzzFormat() 115 formatString += std::to_string(justify); in fuzzFormat() 120 formatString.push_back('#'); in fuzzFormat() 125 formatString.push_back('.'); in fuzzFormat() 126 formatString += in fuzzFormat() 130 formatString.push_back(kFormatChars.at(static_cast<uint8_t>(formatType))); in fuzzFormat() 136 str1->appendFormat(formatString.c_str(), val); in fuzzFormat() 138 str1->format(formatString.c_str(), dataProvider->ConsumeIntegral<int>()); in fuzzFormat() 150 str1->appendFormat(formatString.c_str(), val); in fuzzFormat() [all …]
|
/system/logging/liblog/ |
D | logprint.cpp | 303 AndroidLogPrintFormat android_log_formatFromString(const char* formatString) { in android_log_formatFromString() argument 307 if (!strcmp(formatString, "brief")) format = FORMAT_BRIEF; in android_log_formatFromString() 308 else if (!strcmp(formatString, "process")) format = FORMAT_PROCESS; in android_log_formatFromString() 309 else if (!strcmp(formatString, "tag")) format = FORMAT_TAG; in android_log_formatFromString() 310 else if (!strcmp(formatString, "thread")) format = FORMAT_THREAD; in android_log_formatFromString() 311 else if (!strcmp(formatString, "raw")) format = FORMAT_RAW; in android_log_formatFromString() 312 else if (!strcmp(formatString, "time")) format = FORMAT_TIME; in android_log_formatFromString() 313 else if (!strcmp(formatString, "threadtime")) format = FORMAT_THREADTIME; in android_log_formatFromString() 314 else if (!strcmp(formatString, "long")) format = FORMAT_LONG; in android_log_formatFromString() 315 else if (!strcmp(formatString, "color")) format = FORMAT_MODIFIER_COLOR; in android_log_formatFromString() [all …]
|