/system/chre/platform/linux/ |
chre_api_re.cc | 23 DLL_EXPORT void chreLog(enum chreLogLevel level, const char *formatStr, ...) { 27 va_start(args, formatStr); 28 vsnprintf(logBuf, sizeof(logBuf), formatStr, args);
|
platform_log.cc | 68 void PlatformLog::log(const char *formatStr, ...) { 71 va_start(argList, formatStr); 72 int result = vasprintf(&formattedStr, formatStr, argList);
|
/system/chre/platform/slpi/ |
chre_api_re.cc | 21 DLL_EXPORT void chreLog(enum chreLogLevel level, const char *formatStr, ...) { 40 va_start(args, formatStr); 41 ashVaLog(ASH_SOURCE_CHRE, ashLevel, formatStr, args);
|
platform_log.cc | 41 void PlatformLog::log(const char *formatStr, ...) { 60 va_start(argList, formatStr); 62 int strLen = vsnprintf(logBuffer, messageLen, formatStr, argList);
|
/system/chre/platform/shared/include/chre/platform/shared/ |
platform_log.h | 46 void log(const char *formatStr, ...);
|
/system/chre/util/include/chre/util/system/ |
debug_dump.h | 31 * @param formatStr Formatted string. 36 const char *formatStr, ...);
|
/system/chre/platform/shared/ |
pal_system_api.cc | 38 void palSystemApiLog(enum chreLogLevel level, const char *formatStr, ...) { 42 va_start(args, formatStr); 43 vsnprintf(logBuf, sizeof(logBuf), formatStr, args);
|
/system/chre/util/system/ |
debug_dump.cc | 23 const char *formatStr, ...) { 27 va_start(argList, formatStr); 29 formatStr, argList);
|
/frameworks/support/compat/java/android/support/v4/util/ |
TimeUtils.java | 56 static private int printField(char[] formatStr, int amt, char suffix, int pos, 62 formatStr[pos] = (char)(dig + '0'); 68 formatStr[pos] = (char)(dig + '0'); 72 formatStr[pos] = (char)(amt + '0'); 74 formatStr[pos] = suffix; 85 char[] formatStr = sFormatStr; 91 formatStr[pos] = ' '; 93 formatStr[pos] = '0'; 131 formatStr[pos] = ' '; 137 formatStr[pos] = prefix [all...] |
/external/skia/src/gpu/ |
GrShaderVar.cpp | 25 const char* formatStr = nullptr; 28 formatStr = "rgba8"; 31 formatStr = "rgba8i"; 34 formatStr = "rgba16f"; 37 formatStr = "rgba32f"; 40 this->addLayoutQualifier(formatStr); 41 SkASSERT(formatStr);
|
/system/chre/pal/include/chre/pal/ |
system.h | 75 * @param formatStr printf-style format string, details provided in the CHRE 80 void (*log)(enum chreLogLevel level, const char *formatStr, ...);
|
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 215 static private int printFieldLocked(char[] formatStr, int amt, char suffix, int pos, 229 formatStr[pos] = sTmpFormatStr[tmp]; 236 formatStr[pos] = (char)(dig + '0'); 242 formatStr[pos] = (char)(dig + '0'); 246 formatStr[pos] = (char)(amt + '0'); 249 formatStr[pos] = suffix; 260 char[] formatStr = sFormatStr; 266 formatStr[pos++] = ' '; 268 formatStr[pos] = '0'; 306 formatStr[pos] = ' ' [all...] |
/device/google/contexthub/inc/chre/ |
re.h | 208 * @param formatStr Either the entirety of the message, or a printf-style 211 * 'formatStr' (there may be no additional arguments for some 'formatStr's). 213 void chreLog(enum chreLogLevel level, const char *formatStr, ...);
|
/system/chre/chre_api/legacy/v1_0/chre/ |
re.h | 208 * @param formatStr Either the entirety of the message, or a printf-style 211 * 'formatStr' (there may be no additional arguments for some 'formatStr's). 213 void chreLog(enum chreLogLevel level, const char *formatStr, ...);
|
/system/chre/chre_api/include/chre_api/chre/ |
re.h | 207 * @param formatStr Either the entirety of the message, or a printf-style 210 * 'formatStr' (there may be no additional arguments for some 'formatStr's). 212 void chreLog(enum chreLogLevel level, const char *formatStr, ...);
|
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/ |
WeatherWidgetService.java | 79 final String formatStr = mContext.getResources().getString(R.string.item_format_string); 82 rv.setTextViewText(R.id.widget_item, String.format(formatStr, temp, day));
|
WeatherWidgetProvider.java | 145 final String formatStr = ctx.getResources().getString(R.string.toast_format_string); 146 Toast.makeText(ctx, String.format(formatStr, day), Toast.LENGTH_SHORT).show(); 196 String formatStr = context.getResources().getString(R.string.header_format_string); 197 String header = String.format(formatStr, temp,
|
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/ |
MediaBitstreamsDeviceSideTest.java | 112 String formatStr = config.getValue(path); 113 if (formatStr != null && !formatStr.isEmpty()) { 114 formats.text(formatStr); 159 String formatStr = config.getValue(path); 160 if (formatStr == null || formatStr.isEmpty()) { 164 MediaFormat format = parseTrackFormat(formatStr);
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherWidgetService.java | 84 final String formatStr = mContext.getResources().getString(R.string.item_format_string); 87 rv.setTextViewText(R.id.widget_item, String.format(formatStr, temp, day));
|
WeatherWidgetProvider.java | 145 final String formatStr = ctx.getResources().getString(R.string.toast_format_string); 146 Toast.makeText(ctx, String.format(formatStr, day), Toast.LENGTH_SHORT).show(); 196 String formatStr = context.getResources().getString(R.string.header_format_string); 197 String header = String.format(formatStr, temp,
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
QuantityFormatter.java | 66 String formatStr = numberFormat.format(number); 73 return formatter.format(formatStr);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
QuantityFormatter.java | 65 String formatStr = numberFormat.format(number); 72 return formatter.format(formatStr);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
TestMessageFormat.java | 439 //String formatStr = "At {1,time} on {1,date}, you made a {2} of {0,number,currency}."; 440 String formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; 455 MessageFormat msg = new MessageFormat(formatStr, Locale.ENGLISH); 470 msg.applyPattern(formatStr); 486 msg.applyPattern(formatStr); 506 //String formatStr = "At {1,time} on {1,date}, you made a {2} of {0,number,currency}."; 507 String formatStr = "On {0,date}, it began."; 510 MessageFormat msg = new MessageFormat(formatStr); 606 String formatStr = "{0,date},{1},{2,number}"; 608 MessageFormat msg = new MessageFormat(formatStr); [all...] |
/external/icu/icu4c/source/i18n/ |
compactdecimalformat.cpp | 161 static int32_t populatePrefixSuffix(const char* variant, int32_t log10Value, const UnicodeString& formatStr, UHashtable* result, UBool overwrite, UErrorCode& status); 662 const UnicodeString formatStr = value.getUnicodeString(errorCode); 667 pluralVariant, log10Value, formatStr, 763 // formatStr is the format string from which the prefix and suffix are 765 // populatePrefixSuffix returns the number of 0's found in formatStr 767 // In the special case that formatStr contains only spaces for prefix 770 const char* variant, int32_t log10Value, const UnicodeString& formatStr, UHashtable* result, UBool overwrite, UErrorCode& status) { 774 int32_t firstIdx = formatStr.indexOf(kZero, UPRV_LENGTHOF(kZero), 0); 780 int32_t lastIdx = formatStr.lastIndexOf(kZero, UPRV_LENGTHOF(kZero), firstIdx); 793 unit->prefix = formatStr.tempSubString(0, firstIdx) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
TestMessageFormat.java | 438 //String formatStr = "At {1,time} on {1,date}, you made a {2} of {0,number,currency}."; 439 String formatStr = "At <time> on {1,date}, you made a {2} of {0,number,currency}."; 454 MessageFormat msg = new MessageFormat(formatStr, Locale.ENGLISH); 469 msg.applyPattern(formatStr); 485 msg.applyPattern(formatStr); 505 //String formatStr = "At {1,time} on {1,date}, you made a {2} of {0,number,currency}."; 506 String formatStr = "On {0,date}, it began."; 509 MessageFormat msg = new MessageFormat(formatStr); 605 String formatStr = "{0,date},{1},{2,number}"; 607 MessageFormat msg = new MessageFormat(formatStr); [all...] |