Home
last modified time | relevance | path

Searched refs:formatArgs (Results 1 – 15 of 15) sorted by relevance

/external/smali/util/src/main/java/org/jf/util/
DExceptionWithContext.java48 public static ExceptionWithContext withContext(Throwable ex, String str, Object... formatArgs) { in withContext() argument
57 ewc.addContext(String.format(str, formatArgs)); in withContext()
66 public ExceptionWithContext(String message, Object... formatArgs) { in ExceptionWithContext() argument
67 this(null, message, formatArgs); in ExceptionWithContext()
85 public ExceptionWithContext(Throwable cause, String message, Object... formatArgs) { in ExceptionWithContext() argument
86 super((message != null) ? formatMessage(message, formatArgs) : in ExceptionWithContext()
99 private static String formatMessage(String message, Object... formatArgs) { in formatMessage() argument
103 return String.format(message, formatArgs); in formatMessage()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DUnresolvedClassException.java41 public UnresolvedClassException(Throwable cause, String message, Object... formatArgs) { in UnresolvedClassException() argument
42 super(cause, message, formatArgs); in UnresolvedClassException()
45 public UnresolvedClassException(String message, Object... formatArgs) { in UnresolvedClassException() argument
46 super(message, formatArgs); in UnresolvedClassException()
DAnalysisException.java43 public AnalysisException(Throwable cause, String message, Object... formatArgs) { in AnalysisException() argument
44 super(cause, message, formatArgs); in AnalysisException()
47 public AnalysisException(String message, Object... formatArgs) { in AnalysisException() argument
48 super(message, formatArgs); in AnalysisException()
DClassPathResolver.java289 public NotFoundException(String message, Object... formatArgs) { in NotFoundException() argument
290 super(String.format(message, formatArgs)); in NotFoundException()
295 public NoDexException(String message, Object... formatArgs) { in NoDexException() argument
296 super(String.format(message, formatArgs)); in NoDexException()
304 public ResolveException (String message, Object... formatArgs) { in ResolveException() argument
305 super(String.format(message, formatArgs)); in ResolveException()
312 public ResolveException (Throwable cause, String message, Object... formatArgs) { in ResolveException() argument
313 super(String.format(message, formatArgs), cause); in ResolveException()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DAnnotatedBytes.java108 public void annotateTo(int offset, @Nonnull String msg, Object... formatArgs) { in annotateTo() argument
109 annotate(offset - cursor, msg, formatArgs); in annotateTo()
122 public void annotate(int length, @Nonnull String msg, Object... formatArgs) { in annotate() argument
128 if (formatArgs != null && formatArgs.length > 0) { in annotate()
129 formattedMsg = String.format(msg, formatArgs); in annotate()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DDexFileFactory.java296 public DexFileNotFoundException(@Nullable String message, Object... formatArgs) { in DexFileNotFoundException() argument
297 super(message, formatArgs); in DexFileNotFoundException()
311 public MultipleMatchingDexEntriesException(@Nonnull String message, Object... formatArgs) { in MultipleMatchingDexEntriesException() argument
312 super(String.format(message, formatArgs)); in MultipleMatchingDexEntriesException()
317 public UnsupportedFileTypeException(@Nonnull String message, Object... formatArgs) { in UnsupportedFileTypeException() argument
318 super(String.format(message, formatArgs)); in UnsupportedFileTypeException()
DReferenceType.java97 … public InvalidReferenceTypeException(int referenceType, String message, Object... formatArgs) { in InvalidReferenceTypeException() argument
98 super(message, formatArgs); in InvalidReferenceTypeException()
/external/icu/icu4c/source/test/intltest/
Dselfmts.cpp55 UnicodeString formatArgs[NUM_OF_FORMAT_ARGS] = { in selectFormatUnitTest() local
155 selFmt->format( formatArgs[j], result , ignore , status); in selectFormatUnitTest()
157 …ln("ERROR: SelectFormat Unit test failed in format() with argument: "+ formatArgs[j] + " and error… in selectFormatUnitTest()
160 …it test failed in format() with unexpected result\n with argument: "+ formatArgs[j] + "\n result … in selectFormatUnitTest()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowResources.java89 public String getString(int id, Object... formatArgs) throws Resources.NotFoundException { in getString() argument
91 return String.format(Locale.ENGLISH, raw, formatArgs); in getString()
95 …public String getQuantityString(int id, int quantity, Object... formatArgs) throws Resources.NotFo… in getQuantityString() argument
97 return String.format(Locale.ENGLISH, raw, formatArgs); in getQuantityString()
DShadowFragment.java130 public final String getString(int resId, Object... formatArgs) { in getString() argument
134 return activity.getString(resId, formatArgs); in getString()
DShadowContext.java55 public String getString(int resId, Object... formatArgs) { in getString() argument
56 return realContext.getResources().getString(resId, formatArgs); in getString()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DSelectFormatUnitTest.java111 String formatArgs[] = { in TestApplyFormat() local
154 …at Unit test failed in format() with unexpected result", selFmt.format(formatArgs[j]) ,expFormatRe… in TestApplyFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DSelectFormatUnitTest.java110 String formatArgs[] = { in TestApplyFormat() local
153 …at Unit test failed in format() with unexpected result", selFmt.format(formatArgs[j]) ,expFormatRe… in TestApplyFormat()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/util/
DTryListBuilder.java90 public InvalidTryException(Throwable cause, String message, Object... formatArgs) { in InvalidTryException() argument
91 super(cause, message, formatArgs); in InvalidTryException()
94 public InvalidTryException(String message, Object... formatArgs) { in InvalidTryException() argument
95 super(message, formatArgs); in InvalidTryException()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java351 public InvalidItemIndex(int itemIndex, String message, Object... formatArgs) {
352 super(message, formatArgs);