Home
last modified time | relevance | path

Searched refs:msg_str (Results 1 – 3 of 3) sorted by relevance

/unit/src/java/
H A Dnxt_jni_Context.c129 const char *msg_str; in nxt_java_Context_log() local
134 msg_str = (*env)->GetStringUTFChars(env, msg, NULL); in nxt_java_Context_log()
135 if (msg_str == NULL) { in nxt_java_Context_log()
139 nxt_unit_log(ctx, NXT_UNIT_LOG_INFO, "%.*s", msg_len, msg_str); in nxt_java_Context_log()
141 (*env)->ReleaseStringUTFChars(env, msg, msg_str); in nxt_java_Context_log()
150 const char *msg_str; in nxt_java_Context_trace() local
155 msg_str = (*env)->GetStringUTFChars(env, msg, NULL); in nxt_java_Context_trace()
156 if (msg_str == NULL) { in nxt_java_Context_trace()
160 nxt_unit_debug(ctx, "%.*s", msg_len, msg_str); in nxt_java_Context_trace()
162 (*env)->ReleaseStringUTFChars(env, msg, msg_str); in nxt_java_Context_trace()
H A Dnxt_jni_Request.c701 const char *msg_str; in nxt_java_Request_log() local
706 msg_str = (*env)->GetStringUTFChars(env, msg, NULL); in nxt_java_Request_log()
707 if (msg_str == NULL) { in nxt_java_Request_log()
711 nxt_unit_req_log(req, NXT_UNIT_LOG_INFO, "%.*s", msg_len, msg_str); in nxt_java_Request_log()
713 (*env)->ReleaseStringUTFChars(env, msg, msg_str); in nxt_java_Request_log()
722 const char *msg_str; in nxt_java_Request_trace() local
727 msg_str = (*env)->GetStringUTFChars(env, msg, NULL); in nxt_java_Request_trace()
728 if (msg_str == NULL) { in nxt_java_Request_trace()
732 nxt_unit_req_debug(req, "%.*s", msg_len, msg_str); in nxt_java_Request_trace()
734 (*env)->ReleaseStringUTFChars(env, msg, msg_str); in nxt_java_Request_trace()
H A Dnxt_jni_Response.c1064 char *msg_str; in nxt_java_Response_log() local
1071 msg_str = (*env)->GetPrimitiveArrayCritical(env, msg, NULL); in nxt_java_Response_log()
1072 if (msg_str == NULL) { in nxt_java_Response_log()
1077 nxt_unit_req_log(req, NXT_UNIT_LOG_INFO, "%.*s", msg_len, msg_str); in nxt_java_Response_log()
1079 (*env)->ReleasePrimitiveArrayCritical(env, msg, msg_str, 0); in nxt_java_Response_log()
1087 char *msg_str; in nxt_java_Response_trace() local
1094 msg_str = (*env)->GetPrimitiveArrayCritical(env, msg, NULL); in nxt_java_Response_trace()
1095 if (msg_str == NULL) { in nxt_java_Response_trace()
1100 nxt_unit_req_debug(req, "%.*s", msg_len, msg_str); in nxt_java_Response_trace()
1102 (*env)->ReleasePrimitiveArrayCritical(env, msg, msg_str, 0); in nxt_java_Response_trace()