Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 28) sorted by relevance

12

/unit/src/test/
H A Dnxt_unit_app_test.c215 p = copy(p, METHOD, nxt_length(METHOD)); in greeting_app_request_handler()
219 p = copy(p, PROTOCOL, nxt_length(PROTOCOL)); in greeting_app_request_handler()
223 p = copy(p, REMOTE_ADDR, nxt_length(REMOTE_ADDR)); in greeting_app_request_handler()
227 p = copy(p, LOCAL_ADDR, nxt_length(LOCAL_ADDR)); in greeting_app_request_handler()
231 p = copy(p, TARGET, nxt_length(TARGET)); in greeting_app_request_handler()
235 p = copy(p, PATH, nxt_length(PATH)); in greeting_app_request_handler()
240 p = copy(p, QUERY, nxt_length(QUERY)); in greeting_app_request_handler()
245 p = copy(p, FIELDS, nxt_length(FIELDS)); in greeting_app_request_handler()
250 p = copy(p, FIELD_PAD, nxt_length(FIELD_PAD)); in greeting_app_request_handler()
258 p = copy(p, BODY, nxt_length(BODY)); in greeting_app_request_handler()
[all …]
/unit/pkg/npm/
H A DMakefile12 copy: target
20 publish: copy
23 all: copy
28 .PHONY: default all copy publish clean
/unit/src/java/
H A Dnxt_jni_OutputStream.c179 jint copy; in nxt_java_OutputStream_write() local
196 copy = buf->end - buf->free; in nxt_java_OutputStream_write()
197 copy = copy < len ? copy : len; in nxt_java_OutputStream_write()
199 memcpy(buf->free, ptr + off, copy); in nxt_java_OutputStream_write()
200 buf->free += copy; in nxt_java_OutputStream_write()
202 len -= copy; in nxt_java_OutputStream_write()
203 off += copy; in nxt_java_OutputStream_write()
/unit/auto/modules/
H A Dnodejs143 .PHONY: ${NXT_NODE}-copy
144 .PHONY: ${NXT_NODE}-copy-g
152 ${NXT_NODE}: ${NXT_NODE}-copy $NXT_BUILD_DIR/$NXT_LIB_UNIT_STATIC
156 ${NXT_NODE}-copy: ${NXT_NODE_VERSION_FILE} ${NXT_NODE_PACKAGE_FILE}
162 ${NXT_NODE}-copy-g: ${NXT_NODE_VERSION_FILE} ${NXT_NODE_PACKAGE_FILE}
177 ${NXT_NODE_TARBALL}: ${NXT_NODE}-copy
181 ${NXT_NODE_TARBALL_G}: ${NXT_NODE}-copy-g
/unit/src/
H A Dnxt_sprintf.c148 goto copy; in nxt_vsprintf()
159 goto copy; in nxt_vsprintf()
177 goto copy; in nxt_vsprintf()
386 goto copy; in nxt_vsprintf()
392 goto copy; in nxt_vsprintf()
557 copy: in nxt_vsprintf()
H A Dnxt_http_source.h12 nxt_str_t copy; member
H A Dnxt_sockaddr.c94 size_t size, copy; in nxt_sockaddr_create() local
98 copy = length; in nxt_sockaddr_create()
140 copy = size; in nxt_sockaddr_create()
150 nxt_memcpy(&sa->u.sockaddr, sockaddr, copy); in nxt_sockaddr_create()
H A Dnxt_http_source.c159 b->mem.free = nxt_http_source_copy(b->mem.free, &hs->u.request.copy, in nxt_http_source_request_create()
162 if (nxt_fast_path(hs->u.request.copy.len == 0)) { in nxt_http_source_request_create()
H A Dnxt_conf.c951 nxt_conf_value_t *copy; in nxt_conf_clone() local
953 copy = nxt_mp_get(mp, sizeof(nxt_conf_value_t)); in nxt_conf_clone()
954 if (nxt_slow_path(copy == NULL)) { in nxt_conf_clone()
958 rc = nxt_conf_copy_value(mp, op, copy, value); in nxt_conf_clone()
964 return copy; in nxt_conf_clone()
H A Dnxt_unit.c3215 size_t rest, copy, read; in nxt_unit_buf_read() local
3227 copy = buf->end - buf->free; in nxt_unit_buf_read()
3228 copy = nxt_min(rest, copy); in nxt_unit_buf_read()
3230 p = nxt_cpymem(p, buf->free, copy); in nxt_unit_buf_read()
3232 buf->free += copy; in nxt_unit_buf_read()
3233 rest -= copy; in nxt_unit_buf_read()
3334 size_t l, copy; in nxt_unit_websocket_sendv() local
3376 copy = buf->end - buf->free; in nxt_unit_websocket_sendv()
3377 copy = nxt_min(l, copy); in nxt_unit_websocket_sendv()
3380 b += copy; in nxt_unit_websocket_sendv()
[all …]
/unit/src/java/nginx/unit/websocket/
H A DWsFrameBase.java522 ByteBuffer copy = ByteBuffer.allocate(messageBufferBinary.limit()); in processDataBinary() local
523 copy.put(messageBufferBinary); in processDataBinary()
524 copy.flip(); in processDataBinary()
525 sendMessageBinary(copy, false); in processDataBinary()
537 ByteBuffer copy = ByteBuffer.allocate(messageBufferBinary.limit()); in processDataBinary() local
538 copy.put(messageBufferBinary); in processDataBinary()
539 copy.flip(); in processDataBinary()
540 sendMessageBinary(copy, !continuationExpected); in processDataBinary()
/unit/
H A DNOTICE19 You may obtain a copy of the License at
H A DLICENSE96 Derivative Works a copy of this License; and
109 include a readable copy of the attribution notices contained
/unit/pkg/deb/debian/
H A Dcopyright19 You may obtain a copy of the License at
/unit/test/unit/applications/lang/
H A Dgo.py27 env = os.environ.copy()
/unit/pkg/rpm/rpmbuild/SOURCES/
H A DCOPYRIGHT.unit-jsc819 You may obtain a copy of the License at
H A DCOPYRIGHT.unit-jsc1119 You may obtain a copy of the License at
H A DCOPYRIGHT.unit-jsc-common45 Permission is hereby granted, free of charge, to any person obtaining a copy
48 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
170 b) a copy of this Agreement must be included with each copy of the Program.
258 Everyone is permitted to copy and distribute copies of this Agreement, but in
381 Derivative Works a copy of this License; and
394 include a readable copy of the attribution notices contained
479 You may obtain a copy of the License at
644 the terms of this License. You must include a copy of this
645 License with every copy of the Source Code form of the Covered
/unit/pkg/deb/debian.module/
H A Dcopyright.unit-jsc1119 You may obtain a copy of the License at
H A Dcopyright.unit-jsc819 You may obtain a copy of the License at
H A Dcopyright.unit-jsc-common45 Permission is hereby granted, free of charge, to any person obtaining a copy
48 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
170 b) a copy of this Agreement must be included with each copy of the Program.
258 Everyone is permitted to copy and distribute copies of this Agreement, but in
381 Derivative Works a copy of this License; and
394 include a readable copy of the attribution notices contained
479 You may obtain a copy of the License at
644 the terms of this License. You must include a copy of this
645 License with every copy of the Source Code form of the Covered
/unit/src/java/nginx/unit/websocket/server/
H A DLocalStrings.properties6 # the License. You may obtain a copy of the License at
/unit/src/java/nginx/unit/websocket/pojo/
H A DLocalStrings.properties6 # the License. You may obtain a copy of the License at
/unit/src/java/nginx/unit/
H A DRequest.java861 IO.copy(is, os); in getParameters()
902 IO.copy(is, os); in getParameters()
/unit/src/nodejs/unit-http/
H A Dwebsocket_connection.js401 currentFrame.binaryPayload.copy(binaryPayload, bytesCopied);

12