Home
last modified time | relevance | path

Searched refs:argArray (Results 1 – 13 of 13) sorted by relevance

/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/
DFormattingTuple.java38 private Object[] argArray; field in FormattingTuple
44 public FormattingTuple(String message, Object[] argArray, Throwable throwable) { in FormattingTuple() argument
48 this.argArray = argArray; in FormattingTuple()
50 this.argArray = trimmedCopy(argArray); in FormattingTuple()
54 static Object[] trimmedCopy(Object[] argArray) { in trimmedCopy() argument
55 if (argArray == null || argArray.length == 0) { in trimmedCopy()
58 final int trimemdLen = argArray.length - 1; in trimmedCopy()
60 System.arraycopy(argArray, 0, trimmed, 0, trimemdLen); in trimmedCopy()
69 return argArray; in getArgArray()
DMessageFormatter.java154 static final Throwable getThrowableCandidate(Object[] argArray) { in getThrowableCandidate() argument
155 if (argArray == null || argArray.length == 0) { in getThrowableCandidate()
159 final Object lastEntry = argArray[argArray.length - 1]; in getThrowableCandidate()
178 …l public static FormattingTuple arrayFormat(final String messagePattern, final Object[] argArray) { in arrayFormat() argument
180 Throwable throwableCandidate = getThrowableCandidate(argArray); in arrayFormat()
183 return new FormattingTuple(null, argArray, throwableCandidate); in arrayFormat()
186 if (argArray == null) { in arrayFormat()
196 for (L = 0; L < argArray.length; L++) { in arrayFormat()
203 return new FormattingTuple(messagePattern, argArray, throwableCandidate); in arrayFormat()
207 return new FormattingTuple(sbuf.toString(), argArray, throwableCandidate); in arrayFormat()
[all …]
DNOPLogger.java82 public final void trace(String format, Object... argArray) { in trace() argument
115 public final void debug(String format, Object... argArray) { in debug() argument
149 public final void info(String format, Object... argArray) { in info() argument
182 public final void warn(String format, Object... argArray) { in warn() argument
212 public final void error(String format, Object... argArray) { in error() argument
/external/slf4j/slf4j-android/src/main/java/org/slf4j/impl/
DAndroidLoggerAdapter.java164 public void trace(String format, Object... argArray) { in trace() argument
165 formatAndLog(Log.VERBOSE, format, argArray); in trace()
250 public void debug(String format, Object... argArray) { in debug() argument
251 formatAndLog(Log.DEBUG, format, argArray); in debug()
336 public void info(String format, Object... argArray) { in info() argument
337 formatAndLog(Log.INFO, format, argArray); in info()
425 public void warn(String format, Object... argArray) { in warn() argument
426 formatAndLog(Log.WARN, format, argArray); in warn()
513 public void error(String format, Object... argArray) { in error() argument
514 formatAndLog(Log.ERROR, format, argArray); in error()
[all …]
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/
DXLogger.java115 public void entry(Object... argArray) { in entry() argument
118 if (argArray.length < ENTRY_MESSAGE_ARRAY_LEN) { in entry()
119 messagePattern = ENTRY_MESSAGE_ARRAY[argArray.length]; in entry()
121 messagePattern = buildMessagePattern(argArray.length); in entry()
123 FormattingTuple tp = MessageFormatter.arrayFormat(messagePattern, argArray); in entry()
124 …log(ENTRY_MARKER, FQCN, LocationAwareLogger.TRACE_INT, tp.getMessage(), argArray, tp.getThrowable(… in entry()
DLoggerWrapper.java281 public void debug(String format, Object... argArray) { in debug() argument
286 FormattingTuple ft = MessageFormatter.arrayFormat(format, argArray); in debug()
289 logger.debug(format, argArray); in debug()
351 public void debug(Marker marker, String format, Object... argArray) { in debug() argument
356 FormattingTuple ft = MessageFormatter.arrayFormat(format, argArray); in debug()
357 …gger).log(marker, fqcn, LocationAwareLogger.DEBUG_INT, ft.getMessage(), argArray, ft.getThrowable(… in debug()
359 logger.debug(marker, format, argArray); in debug()
/external/slf4j/slf4j-simple/src/main/java/org/slf4j/impl/
DSimpleLogger.java472 public void trace(String format, Object... argArray) { in trace() argument
473 formatAndLog(LOG_LEVEL_TRACE, format, argArray); in trace()
514 public void debug(String format, Object... argArray) { in debug() argument
515 formatAndLog(LOG_LEVEL_DEBUG, format, argArray); in debug()
556 public void info(String format, Object... argArray) { in info() argument
557 formatAndLog(LOG_LEVEL_INFO, format, argArray); in info()
598 public void warn(String format, Object... argArray) { in warn() argument
599 formatAndLog(LOG_LEVEL_WARN, format, argArray); in warn()
640 public void error(String format, Object... argArray) { in error() argument
641 formatAndLog(LOG_LEVEL_ERROR, format, argArray); in error()
/external/slf4j/slf4j-jdk14/src/main/java/org/slf4j/impl/
DJDK14LoggerAdapter.java138 public void trace(String format, Object... argArray) { in trace() argument
140 FormattingTuple ft = MessageFormatter.arrayFormat(format, argArray); in trace()
237 public void debug(String format, Object... argArray) { in debug() argument
239 FormattingTuple ft = MessageFormatter.arrayFormat(format, argArray); in debug()
336 public void info(String format, Object... argArray) { in info() argument
338 FormattingTuple ft = MessageFormatter.arrayFormat(format, argArray); in info()
438 public void warn(String format, Object... argArray) { in warn() argument
440 FormattingTuple ft = MessageFormatter.arrayFormat(format, argArray); in warn()
621 …public void log(Marker marker, String callerFQCN, int level, String message, Object[] argArray, Th… in log() argument
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/
DLog4jLoggerAdapter.java360 public void info(String format, Object... argArray) { in info() argument
362 FormattingTuple ft = MessageFormatter.arrayFormat(format, argArray); in info()
457 public void warn(String format, Object... argArray) { in warn() argument
459 FormattingTuple ft = MessageFormatter.arrayFormat(format, argArray); in warn()
554 public void error(String format, Object... argArray) { in error() argument
556 FormattingTuple ft = MessageFormatter.arrayFormat(format, argArray); in error()
574 …public void log(Marker marker, String callerFQCN, int level, String msg, Object[] argArray, Throwa… in log() argument
/external/sl4a/ScriptingLayerForAndroid/jni/
Dcom_googlecode_android_scripting_Exec.cpp122 JNIEnv* env, jclass clazz, jstring cmd, jobjectArray argArray, jobjectArray varArray, in Java_com_googlecode_android_1scripting_Exec_createSubprocess() argument
129 if (argArray) { in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
130 len = env->GetArrayLength(argArray); in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
135 jstring arg = (jstring) env->GetObjectArrayElement(argArray, i); in Java_com_googlecode_android_1scripting_Exec_createSubprocess()
/external/mockito/src/test/java/org/mockitousage/matchers/
DVarargsTest.java94 Object[] argArray = null; in shouldMatchVarArgs_nullArrayArg() local
95 mock.varargs(argArray); in shouldMatchVarArgs_nullArrayArg()
214 String[] argArray = null; in shouldCaptureVarArgs_nullArrayArg() local
215 mock.varargs(argArray); in shouldCaptureVarArgs_nullArrayArg()
/external/slf4j/slf4j-api/src/main/java/org/slf4j/spi/
DLocationAwareLogger.java58 …public void log(Marker marker, String fqcn, int level, String message, Object[] argArray, Throwabl… in log() argument
/external/slf4j/slf4j-api/src/main/java/org/slf4j/
DLogger.java204 public void trace(Marker marker, String format, Object... argArray); in trace() argument