Home
last modified time | relevance | path

Searched refs:off (Results 1 – 7 of 7) sorted by relevance

/unit/src/java/nginx/unit/
H A DInputStream.java18 public int readLine(byte[] b, int off, int len) throws IOException { in readLine() argument
23 return readLine(req_info_ptr, b, off, len); in readLine()
26 private static native int readLine(long req_info_ptr, byte[] b, int off, int len); in readLine() argument
61 public int read(byte b[], int off, int len) throws IOException { in read() argument
64 } else if (off < 0 || len < 0 || len > b.length - off) { in read()
70 return read(req_info_ptr, b, off, len); in read()
73 private static native int read(long req_info_ptr, byte b[], int off, int len); in read() argument
H A DOutputStream.java26 public void write(byte b[], int off, int len) throws IOException in write() argument
30 } else if ((off < 0) || (off > b.length) || (len < 0) || in write()
31 ((off + len) > b.length) || ((off + len) < 0)) { in write()
37 write(req_info_ptr, b, off, len); in write()
40 private static native void write(long req_info_ptr, byte b[], int off, int len); in write() argument
/unit/src/java/
H A Dnxt_jni_InputStream.c18 jlong req_info_ptr, jarray b, jint off, jint len);
24 jlong req_info_ptr, jarray b, jint off, jint len);
91 jlong req_info_ptr, jarray out, jint off, jint len) in nxt_java_InputStream_readLine() argument
104 res = nxt_unit_request_read(req, data + off, res); in nxt_java_InputStream_readLine()
107 nxt_unit_req_debug(req, "readLine '%.*s'", (int) res, (char *) data + off); in nxt_java_InputStream_readLine()
143 jarray b, jint off, jint len) in nxt_java_InputStream_read() argument
153 res = nxt_unit_request_read(req, data + off, len); in nxt_java_InputStream_read()
155 nxt_unit_req_debug(req, "read '%.*s'", (int) res, (char *) data + off); in nxt_java_InputStream_read()
H A Dnxt_jni_OutputStream.c21 jlong req_info_ptr, jarray b, jint off, jint len);
176 jarray b, jint off, jint len) in nxt_java_OutputStream_write() argument
199 memcpy(buf->free, ptr + off, copy); in nxt_java_OutputStream_write()
203 off += copy; in nxt_java_OutputStream_write()
/unit/src/java/nginx/unit/websocket/
H A DWsRemoteEndpointImplBase.java952 public void write(byte[] b, int off, int len) throws IOException { in write() argument
960 if ((off < 0) || (off > b.length) || (len < 0) || in write()
961 ((off + len) > b.length) || ((off + len) < 0)) { in write()
973 buffer.put(b, off + written, remaining); in write()
978 buffer.put(b, off + written, len - written); in write()
1031 public void write(char[] cbuf, int off, int len) throws IOException { in write() argument
1039 if ((off < 0) || (off > cbuf.length) || (len < 0) || in write()
1040 ((off + len) > cbuf.length) || ((off + len) < 0)) { in write()
1052 buffer.put(cbuf, off + written, remaining); in write()
1057 buffer.put(cbuf, off + written, len - written); in write()
/unit/src/
H A Dnxt_conf.c590 off_t off; in nxt_conf_map_object() member
650 ptr->off = num; in nxt_conf_map_object()
/unit/
H A DCHANGES346 turn off the automatic mounting of language module dependencies.