Home
last modified time | relevance | path

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

/external/dagger2/java/dagger/internal/codegen/validation/
DDiagnosticReporterFactory.java86 Diagnostic.Kind diagnosticKind, ComponentNode componentNode, String messageFormat) { in reportComponent() argument
87 StringBuilder message = new StringBuilder(messageFormat); in reportComponent()
98 String messageFormat, in reportComponent() argument
102 diagnosticKind, componentNode, formatMessage(messageFormat, firstArg, moreArgs)); in reportComponent()
117 String messageFormat, in reportBinding() argument
120 reportBinding(diagnosticKind, binding, formatMessage(messageFormat, firstArg, moreArgs)); in reportBinding()
136 String messageFormat, in reportDependency() argument
140 diagnosticKind, dependencyEdge, formatMessage(messageFormat, firstArg, moreArgs)); in reportDependency()
155 String messageFormat, in reportSubcomponentFactoryMethod() argument
159 diagnosticKind, childFactoryMethodEdge, formatMessage(messageFormat, firstArg, moreArgs)); in reportSubcomponentFactoryMethod()
[all …]
DCompositeBindingGraphPlugin.java168 String messageFormat, in reportComponent() argument
172 diagnosticKind, componentNode, formatMessage(messageFormat, firstArg, moreArgs)); in reportComponent()
187 String messageFormat, in reportBinding() argument
190 reportBinding(diagnosticKind, binding, formatMessage(messageFormat, firstArg, moreArgs)); in reportBinding()
205 String messageFormat, in reportDependency() argument
209 diagnosticKind, dependencyEdge, formatMessage(messageFormat, firstArg, moreArgs)); in reportDependency()
237 String messageFormat, in reportSubcomponentFactoryMethod() argument
241 diagnosticKind, childFactoryMethodEdge, formatMessage(messageFormat, firstArg, moreArgs)); in reportSubcomponentFactoryMethod()
261 private static String formatMessage(String messageFormat, Object firstArg, Object[] moreArgs) { in formatMessage() argument
262 return String.format(messageFormat, asList(firstArg, moreArgs).toArray()); in formatMessage()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java423 final MessageFormat messageFormat = new MessageFormat(pattern, locale); in put() local
424 pair[style] = messageFormat; in put()
502 final MessageFormat messageFormat = new MessageFormat(pattern, locale); in searchInTree() local
508 pair[styl] = messageFormat; in searchInTree()
527 MessageFormat messageFormat = null; in searchInTree() local
529 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_SECOND, locale); in searchInTree()
531 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_MINUTE, locale); in searchInTree()
533 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_HOUR, locale); in searchInTree()
535 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_WEEK, locale); in searchInTree()
537 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_DAY, locale); in searchInTree()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java425 final MessageFormat messageFormat = new MessageFormat(pattern, locale); in put() local
426 pair[style] = messageFormat; in put()
504 final MessageFormat messageFormat = new MessageFormat(pattern, locale); in searchInTree() local
510 pair[styl] = messageFormat; in searchInTree()
529 MessageFormat messageFormat = null; in searchInTree() local
531 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_SECOND, locale); in searchInTree()
533 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_MINUTE, locale); in searchInTree()
535 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_HOUR, locale); in searchInTree()
537 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_WEEK, locale); in searchInTree()
539 messageFormat = new MessageFormat(DEFAULT_PATTERN_FOR_DAY, locale); in searchInTree()
[all …]
/external/dagger2/java/dagger/spi/
DDiagnosticReporter.java48 String messageFormat, in reportComponent() argument
66 String messageFormat, in reportBinding() argument
85 String messageFormat, in reportDependency() argument
100 String messageFormat, in reportSubcomponentFactoryMethod() argument
/external/guice/core/src/com/google/inject/internal/
DMessages.java69 public static String format(String messageFormat, Object... arguments) { in format() argument
73 return String.format(messageFormat, arguments); in format()
125 public static Message create(String messageFormat, Object... arguments) { in create() argument
126 return create(null, messageFormat, arguments); in create()
136 public static Message create(Throwable cause, String messageFormat, Object... arguments) { in create() argument
137 return create(cause, ImmutableList.of(), messageFormat, arguments); in create()
149 Throwable cause, List<Object> sources, String messageFormat, Object... arguments) { in create() argument
150 String message = format(messageFormat, arguments); in create()
DErrors.java512 public Errors errorInUserCode(Throwable cause, String messageFormat, Object... arguments) { in errorInUserCode() argument
518 return addMessage(cause, messageFormat, arguments); in errorInUserCode()
611 public Errors addMessage(String messageFormat, Object... arguments) { in addMessage() argument
612 return addMessage(null, messageFormat, arguments); in addMessage()
615 private Errors addMessage(Throwable cause, String messageFormat, Object... arguments) { in addMessage() argument
616 addMessage(Messages.create(cause, getSources(), messageFormat, arguments)); in addMessage()
629 public static String format(String messageFormat, Object... arguments) { in format() argument
630 return Messages.format(messageFormat, arguments); in format()
DInternalProvisionException.java89 Throwable cause, String messageFormat, Object... arguments) { in errorInUserCode() argument
96 return new InternalProvisionException(Messages.create(cause, messageFormat, arguments)); in errorInUserCode()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DProvidedChecker.java70 private void raiseError(VariableElement providedParameter, String messageFormat) { in raiseError() argument
71 messager.printMessage(ERROR, String.format(messageFormat, Provided.class.getSimpleName()), in raiseError()
/external/antlr/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
DAntlr3Mojo.java133 protected String messageFormat; field in Antlr3Mojo
287 log.debug("ANTLR: messageFormat : " + messageFormat); in execute()
325 tool.setMessageFormat(messageFormat); in execute()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DProviderChecker.java106 private static void checkArgument(boolean condition, String messageFormat, Object... args) { in checkArgument() argument
108 throw new IllegalArgumentException(Errors.format(messageFormat, args)); in checkArgument()
/external/icu/icu4c/source/i18n/
Dtmutfmt.cpp426 LocalPointer<MessageFormat> messageFormat(new MessageFormat( in put() local
448 formatters[style] = messageFormat.orphan(); in put()
575 LocalPointer<MessageFormat> messageFormat( in searchInLocaleChain() local
593 formatters[style] = messageFormat.orphan(); in searchInLocaleChain()
627 LocalPointer<MessageFormat> messageFormat; in searchInLocaleChain() local
645 messageFormat.adoptInsteadAndCheckErrorCode( in searchInLocaleChain()
666 formatters[style] = messageFormat.orphan(); in searchInLocaleChain()
/external/caliper/caliper/src/main/java/com/google/caliper/platform/jvm/
DJvmPlatform.java202 private static void checkConfiguration(boolean check, String messageFormat, Object... args)
205 throw new VirtualMachineException(String.format(messageFormat, args));
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckCLDR.java755 private String messageFormat; field in CheckCLDR.CheckStatus
784 String message = messageFormat; in getMessage()
785 if (messageFormat != null && parameters != null) { in getMessage()
787 String fixedApos = MessageFormat.autoQuoteApostrophe(messageFormat); in getMessage()
794 message = messageFormat; in getMessage()
795 … System.err.println("MessageFormat Failure: " + subtype + "; " + messageFormat + "; " in getMessage()
837 this.messageFormat = message; in setMessage()
846 this.messageFormat = message; in setMessage()
/external/replicaisland/src/com/replica/replicaisland/
DMainMenuActivity.java356 String messageFormat = getResources().getString(R.string.control_setup_dialog_message); in onCreateDialog() local
357 String message = String.format(messageFormat, mSelectedControlsString); in onCreateDialog()