Home
last modified time | relevance | path

Searched refs:buf (Results 76 – 92 of 92) sorted by relevance

1234

/unit/src/
H A Dnxt_http.h304 nxt_http_date(u_char *buf, struct tm *tm) in nxt_http_date() argument
312 return nxt_sprintf(buf, buf + NXT_HTTP_DATE_LEN, in nxt_http_date()
H A Dnxt_http_variables.c27 static u_char *nxt_http_log_date(u_char *buf, nxt_realtime_t *now,
363 nxt_http_log_date(u_char *buf, nxt_realtime_t *now, struct tm *tm, in nxt_http_log_date() argument
382 return nxt_sprintf(buf, buf + size, format, in nxt_http_log_date()
H A Dnxt_controller.c124 static u_char *nxt_controller_date(u_char *buf, nxt_realtime_t *now,
494 nxt_assert(nxt_buf_used_size(msg->buf) == sizeof(pid)); in nxt_controller_remove_pid_handler()
496 nxt_memcpy(&pid, msg->buf->mem.pos, sizeof(pid)); in nxt_controller_remove_pid_handler()
1636 status = nxt_status_get((nxt_status_report_t *) msg->buf->mem.pos, in nxt_controller_status_handler()
2246 nxt_buf_mem_used_size(&msg->buf->mem), msg->buf->mem.pos); in nxt_controller_conf_handler()
2652 nxt_controller_date(u_char *buf, nxt_realtime_t *now, struct tm *tm, in nxt_controller_date() argument
2661 return nxt_sprintf(buf, buf + size, format, in nxt_controller_date()
H A Dnxt_port_memory.c727 bmem = msg->buf; in nxt_port_mmap_write()
770 pb = &msg->buf; in nxt_port_mmap_read()
773 for (b = msg->buf; b != NULL; b = b->next) { in nxt_port_mmap_read()
H A Dnxt_php_sapi.c1581 char buf[256]; local
1583 if (nxt_slow_path(str->length >= (sizeof(buf) - 1))) {
1587 nxt_memcpy(buf, str->start, str->length);
1588 buf[str->length] = '\0';
1590 ret = zend_hash_find(ht, buf, str->length + 1, &entry);
H A Dnxt_event_conn_job_sendfile.c68 sb.buf = c->write; in nxt_event_conn_job_sendfile_start()
H A Dnxt_http_request.c30 static u_char *nxt_http_date_cache_handler(u_char *buf, nxt_realtime_t *now,
923 nxt_http_date_cache_handler(u_char *buf, nxt_realtime_t *now, struct tm *tm, in nxt_http_date_cache_handler() argument
926 return nxt_http_date(buf, tm); in nxt_http_date_cache_handler()
H A Dnxt_conf.c99 u_char buf[NXT_CONF_MAX_TOKEN_LEN]; member
540 end = nxt_decode_uri(parse->buf, start, length); in nxt_conf_path_next_token()
545 token->length = end - parse->buf; in nxt_conf_path_next_token()
546 token->start = parse->buf; in nxt_conf_path_next_token()
H A Dnxt_conf_validation.c1446 u_char buf[nxt_length(NXT_CONF_VLDT_ANY_TYPE_STR)]; in nxt_conf_vldt_type() local
1464 p = buf; in nxt_conf_vldt_type()
1498 expected.length = p - buf; in nxt_conf_vldt_type()
1499 expected.start = buf; in nxt_conf_vldt_type()
H A Dnxt_h1proto.c1221 u_char buf[UNKNOWN_STATUS_LENGTH]; in nxt_h1p_request_header_send() local
1263 (void) nxt_sprintf(buf, buf + UNKNOWN_STATUS_LENGTH, in nxt_h1p_request_header_send()
1267 unknown_status.start = buf; in nxt_h1p_request_header_send()
/unit/src/java/nginx/unit/
H A DRequest.java1284 private void processWsFrame(ByteBuffer buf, byte opCode, boolean last) in processWsFrame() argument
1287 trace("processWsFrame: " + opCode + ", [" + buf.position() + ", " + buf.limit() + "]"); in processWsFrame()
1289 wsSession.processFrame(buf, opCode, last); in processWsFrame()
1319 ByteBuffer buf, int pos, int len, byte opCode, boolean last); in sendWsFrame() argument
/unit/src/java/nginx/unit/websocket/
H A DDigestAuthenticator.java25 import org.apache.tomcat.util.buf.HexUtils;
H A DWsFrameBase.java36 import org.apache.tomcat.util.buf.Utf8Decoder;
H A DWsRemoteEndpointImplBase.java48 import org.apache.tomcat.util.buf.Utf8Encoder;
H A DWsWebSocketContainer.java71 import org.apache.tomcat.util.buf.StringUtils;
/unit/src/perl/
H A Dnxt_perl_psgi.c407 char *buf, *p; in nxt_perl_psgi_module_create() local
429 buf = nxt_unit_malloc(NULL, prefix.length + length + suffix.length); in nxt_perl_psgi_module_create()
430 if (nxt_slow_path(buf == NULL)) { in nxt_perl_psgi_module_create()
437 p = nxt_cpymem(buf, prefix.start, prefix.length); in nxt_perl_psgi_module_create()
441 return buf; in nxt_perl_psgi_module_create()
/unit/src/java/
H A Dnxt_jni_Request.c72 jlong req_info_ptr, jobject buf, jint pos, jint len, jbyte opCode, jboolean last);
754 jlong req_info_ptr, jobject buf, jint pos, jint len, jbyte opCode, jboolean last) in nxt_java_Request_sendWsFrameBuf() argument
759 uint8_t *b = (*env)->GetDirectBufferAddress(env, buf); in nxt_java_Request_sendWsFrameBuf()

1234