Lines Matching refs:dst
65 static bool AppendJString(JNIEnv* env, jstring text, struct ExpandableString* dst) { in AppendJString() argument
70 bool success = ExpandableStringAppend(dst, utfText); in AppendJString()
80 static bool GetExceptionSummary(JNIEnv* env, jthrowable thrown, struct ExpandableString* dst) { in GetExceptionSummary() argument
86 ExpandableStringAssign(dst, "<error getting class name>"); in GetExceptionSummary()
94 if (!AppendJString(env, className, dst)) { in GetExceptionSummary()
95 ExpandableStringAssign(dst, "<error getting class name UTF-8>"); in GetExceptionSummary()
108 success = (ExpandableStringAppend(dst, ": ") && AppendJString(env, message, dst)); in GetExceptionSummary()
121 ExpandableStringAppend(dst, "<error getting message>"); in GetExceptionSummary()
152 static bool GetStackTrace(JNIEnv* env, jthrowable thrown, struct ExpandableString* dst) { in GetStackTrace() argument
185 bool success = AppendJString(env, trace, dst); in GetStackTrace()
190 static void GetStackTraceOrSummary(JNIEnv* env, jthrowable thrown, struct ExpandableString* dst) { in GetStackTraceOrSummary() argument
204 ExpandableStringAssign(dst, "<no pending exception>"); in GetStackTraceOrSummary()
210 if (!GetStackTrace(env, thrown, dst)) { in GetStackTraceOrSummary()
213 GetExceptionSummary(env, thrown, dst); in GetStackTraceOrSummary()