/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
SplitClockView.java | 90 String formatString = DateFormat.getTimeFormatString(getContext(), 92 int index = getAmPmPartEndIndex(formatString); 96 timeString = formatString; 99 timeString = formatString.substring(0, index); 100 amPmString = formatString.substring(index); 104 mTimeView.setContentDescriptionFormat12Hour(formatString); 105 mTimeView.setContentDescriptionFormat24Hour(formatString); 111 * @return the index where the AM/PM part starts at the end in {@code formatString} including 112 * leading white spaces or {@code -1} if no AM/PM part is found or {@code formatString} 115 private static int getAmPmPartEndIndex(String formatString) { [all...] |
/external/clang/lib/Analysis/ |
CMakeLists.txt | 16 FormatString.cpp
|
Android.mk | 27 FormatString.cpp \
|
FormatStringParsing.h | 6 #include "clang/Analysis/Analyses/FormatString.h"
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/util/ |
InputConnectionTestUtils.java | 40 * @param formatString 43 public static CharSequence formatString(final String formatString) { 48 for (int i = 0; i < formatString.length(); ++i) { 49 final Character c = formatString.charAt(i);
|
/external/google-breakpad/src/common/mac/testing/ |
GTMSenTestCase.m | 62 withDescription:(NSString *)formatString, ... { 65 if (formatString) { 67 va_start(vl, formatString); 69 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease]; 82 withDescription:(NSString *)formatString, ... { 85 if (formatString) { 87 va_start(vl, formatString); 89 [[[NSString alloc] initWithFormat:formatString arguments:vl] autorelease]; 103 withDescription:(NSString *)formatString, ... { 106 if (formatString) { [all...] |
/external/fonttools/Lib/fontTools/misc/ |
sstruct.py | 63 formatstring, names, fixes = getformat(fmt) 75 data = struct.pack(*(formatstring,) + tuple(elements)) 82 formatstring, names, fixes = getformat(fmt) 87 elements = struct.unpack(formatstring, data) 107 formatstring, names, fixes = getformat(fmt) 108 return struct.calcsize(formatstring) 137 formatstring, names, fixes = _formatcache[fmt] 140 formatstring = "" 149 if formatchar != 'x' and formatstring: 168 formatstring = formatstring + formatcha [all...] |
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
TapAgainDialog.java | 86 String formatString = getString(com.android.nfc.R.string.tap_again_to_pay); 87 tv.setText(String.format(formatString, description)); 89 String formatString = getString(com.android.nfc.R.string.tap_again_to_complete); 90 tv.setText(String.format(formatString, description));
|
AppChooserActivity.java | 120 String formatString = getString(com.android.nfc.R.string.transaction_failure); 122 ap.mMessage = String.format(formatString, applicationLabel); 128 String formatString = getString(com.android.nfc.R.string.could_not_use_app); 129 ap.mTitle = String.format(formatString, applicationLabel);
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
PaymentDefaultDialog.java | 112 String formatString = getString(R.string.nfc_payment_set_default); 113 String msg = String.format(formatString, 117 String formatString = getString(R.string.nfc_payment_set_default_instead_of); 118 String msg = String.format(formatString,
|
/toolchain/binutils/binutils-2.25/opcodes/ |
arc-dis.c | 156 #define WRITE_FORMAT(x,cb1,ca1,cb,ca) strcat (formatString, \ 160 #define WRITE_FORMAT_RB() strcat (formatString, "]") 501 formatString[0] = '\0'; \ 541 char formatString[60]; 830 arc_sprintf (state, state->operandBuffer, formatString, 838 arc_sprintf (state, state->operandBuffer, formatString, 855 arc_sprintf (state, state->operandBuffer, formatString, 861 arc_sprintf (state, state->operandBuffer, formatString, fieldB); 873 arc_sprintf (state, state->operandBuffer, formatString, fieldB); 896 strcat (formatString, "%s"); /* Address/label name. * [all...] |
/external/clang/test/SemaCXX/ |
printf-cstr.cpp | 28 char formatString[] = "non-const %s %s"; 38 printf(formatString, hcs, hncs); // expected-warning{{cannot pass object of non-POD type 'HasCStr' through variadic function}} expected-warning{{cannot pass object of non-POD type 'HasNoCStr' through variadic function}}
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
KeycodeSelectionHelper.java | 43 mKeycodeStrings.add(formatString(field.getName())); 52 private static String formatString(String name) {
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
F_F_T_M_.py | 29 formatstring, names, fixes = sstruct.getformat(FFTMFormat)
|
_v_h_e_a.py | 70 formatstring, names, fixes = sstruct.getformat(vheaFormat)
|
_h_e_a_d.py | 50 formatstring, names, fixes = sstruct.getformat(headFormat)
|
_h_h_e_a.py | 83 formatstring, names, fixes = sstruct.getformat(hheaFormat)
|
/external/jsr305/ri/src/main/java/javax/annotation/ |
Syntax.java | 34 * <li> "FormatString"
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
HierarchicalFolderSelectorAdapter.java | 108 final int formatString; 110 formatString = R.string.hierarchical_folder_parent_top_ellip; 112 formatString = R.string.hierarchical_folder_parent_top; 114 display.append(mContext.getResources().getString(formatString, topParentName,
|
/external/libchrome/dbus/ |
dbus_statistics.h | 28 enum FormatString { 62 FormatString format);
|
/libcore/luni/src/main/java/libcore/net/http/ |
HttpDate.java | 76 for (String formatString : BROWSER_COMPATIBLE_DATE_FORMATS) { 78 return new SimpleDateFormat(formatString, Locale.US).parse(value);
|
/external/clang/lib/ASTMatchers/Dynamic/ |
Diagnostics.cpp | 132 static void formatErrorString(StringRef FormatString, 135 while (!FormatString.empty()) { 136 std::pair<StringRef, StringRef> Pieces = FormatString.split("$"); 141 FormatString = Pieces.second.drop_front();
|
/external/skia/src/pdf/ |
SkPDFUtils.h | 70 static SkString FormatString(const char* input, size_t len);
|
/system/core/liblog/ |
logprint.c | 283 const char * formatString) 287 if (strcmp(formatString, "brief") == 0) format = FORMAT_BRIEF; 288 else if (strcmp(formatString, "process") == 0) format = FORMAT_PROCESS; 289 else if (strcmp(formatString, "tag") == 0) format = FORMAT_TAG; 290 else if (strcmp(formatString, "thread") == 0) format = FORMAT_THREAD; 291 else if (strcmp(formatString, "raw") == 0) format = FORMAT_RAW; 292 else if (strcmp(formatString, "time") == 0) format = FORMAT_TIME; 293 else if (strcmp(formatString, "threadtime") == 0) format = FORMAT_THREADTIME; 294 else if (strcmp(formatString, "long") == 0) format = FORMAT_LONG; 295 else if (strcmp(formatString, "color") == 0) format = FORMAT_MODIFIER_COLOR [all...] |
/toolchain/binutils/binutils-2.25/config/ |
gettext.m4 | 37 dnl 'need-formatstring-macros', then GNU gettext implementations that don't 38 dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored. 65 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , 125 define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1))) 131 ]ifelse([$2], [need-formatstring-macros], 163 ]ifelse([$2], [need-formatstring-macros], 184 ]ifelse([$2], [need-formatstring-macros],
|