Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 57) sorted by last modified time

123

/unit/src/
H A Dnxt_unit.c177 nxt_unit_read_buf_t *src);
2147 if (nxt_slow_path(src->name_length + src->value_length + 2 in nxt_unit_response_realloc()
2152 i, src, src->name_length, src->value_length); in nxt_unit_response_realloc()
2158 p = nxt_cpymem(p, nxt_unit_sptr_get(&src->name), src->name_length); in nxt_unit_response_realloc()
2162 p = nxt_cpymem(p, nxt_unit_sptr_get(&src->value), src->value_length); in nxt_unit_response_realloc()
2165 f->hash = src->hash; in nxt_unit_response_realloc()
2288 const void* src, uint32_t size) in nxt_unit_response_add_content() argument
6131 memcpy(dst->buf, src->buf, src->size); in nxt_unit_rbuf_cpy()
6132 dst->size = src->size; in nxt_unit_rbuf_cpy()
6133 dst->oob.size = src->oob.size; in nxt_unit_rbuf_cpy()
[all …]
H A Dnxt_sockaddr.c170 nxt_sockaddr_copy(nxt_mp_t *mp, nxt_sockaddr_t *src) in nxt_sockaddr_copy() argument
175 length = offsetof(nxt_sockaddr_t, u) + src->socklen; in nxt_sockaddr_copy()
180 nxt_memcpy(dst, src, length); in nxt_sockaddr_copy()
1237 u_char c, *addr, *zero_start, *ipv4, *dst, *src, *end; in nxt_inet6_addr() local
1349 src = addr - 1; in nxt_inet6_addr()
1350 dst = src + groups_left; in nxt_inet6_addr()
1352 while (src >= zero_start) { in nxt_inet6_addr()
1353 *dst-- = *src--; in nxt_inet6_addr()
H A Dnxt_string.c56 nxt_memcpy(dst->start, src->start, src->length); in nxt_str_dup()
78 p = nxt_cpymem(dst, src->start, src->length); in nxt_str_cstrz()
92 c = *src++; in nxt_memcpy_lowcase()
105 c = *src++; in nxt_memcpy_upcase()
116 *dst = *src; in nxt_cpystr()
123 src++; in nxt_cpystr()
138 *dst = *src; in nxt_cpystrn()
145 src++; in nxt_cpystrn()
625 if (nxt_uri_escape[*src >> 5] & (1U << (*src & 0x1f))) { in nxt_encode_uri()
634 src++; in nxt_encode_uri()
[all …]
H A Dnxt_string.h44 #define nxt_memcpy(dst, src, length) \ argument
45 (void) memcpy(dst, src, length)
48 NXT_EXPORT void nxt_memcpy_lowcase(u_char *dst, const u_char *src,
50 NXT_EXPORT void nxt_memcpy_upcase(u_char *dst, const u_char *src,
59 nxt_cpymem(void *dst, const void *src, size_t length) in nxt_cpymem() argument
61 return ((u_char *) memcpy(dst, src, length)) + length; in nxt_cpymem()
66 (void) memmove(dst, src, length)
85 NXT_EXPORT u_char *nxt_cpystr(u_char *dst, const u_char *src);
129 const nxt_str_t *src);
130 NXT_EXPORT char *nxt_str_cstrz(nxt_mp_t *mp, const nxt_str_t *src);
[all …]
H A Dnxt_http_request.c1106 u_char c, *p, *src, *start, *end, plus; in nxt_http_field_hash() local
1140 for (src = start; src < end; src++) { in nxt_http_field_hash()
1141 c = *src; in nxt_http_field_hash()
1145 if (nxt_slow_path(end - src <= 2)) { in nxt_http_field_hash()
1149 d0 = nxt_hex2int[src[1]]; in nxt_http_field_hash()
1150 d1 = nxt_hex2int[src[2]]; in nxt_http_field_hash()
1151 src += 2; in nxt_http_field_hash()
H A Dnxt_conf.c956 nxt_conf_value_t *src) in nxt_conf_copy_value() argument
965 switch (src->type) { in nxt_conf_copy_value()
988 dst->u = src->u; in nxt_conf_copy_value()
991 dst->type = src->type; in nxt_conf_copy_value()
999 nxt_conf_value_t *src) in nxt_conf_copy_array() argument
1007 count = src->u.array->count; in nxt_conf_copy_array()
1091 dst->type = src->type; in nxt_conf_copy_array()
1099 nxt_conf_value_t *src) in nxt_conf_copy_object() argument
1108 count = src->u.object->count; in nxt_conf_copy_object()
1221 dst->type = src->type; in nxt_conf_copy_object()
[all …]
H A Dnxt_var.c220 u_char *p, *end, *next, *src; in nxt_var_compile() local
257 src = nxt_var_raw_start(var); in nxt_var_compile()
259 nxt_memcpy(src, str->start, str->length); in nxt_var_compile()
262 src[str->length] = '\0'; in nxt_var_compile()
552 u_char *p, *src; in nxt_var_query_finish() local
599 src = nxt_var_raw_start(var); in nxt_var_query_finish()
607 p = nxt_cpymem(p, &src[last], next - last); in nxt_var_query_finish()
616 p = nxt_cpymem(p, &src[last], var->length - last); in nxt_var_query_finish()
625 nxt_debug(task, "var: \"%*s\" -> \"%V\"", var->length, src, in nxt_var_query_finish()
H A Dnxt_file.h38 #define nxt_file_name_copy(dst, src, len) \ argument
39 nxt_cpymem(dst, src, len)
42 #define nxt_file_name_add(dst, src, len) \ argument
43 nxt_cpymem(dst, src, len)
H A Dnxt_array.h36 nxt_array_t *src);
H A Dnxt_buf.h227 NXT_EXPORT nxt_buf_t *nxt_buf_make_plain(nxt_mp_t *mp, nxt_buf_t *src,
231 nxt_buf_chk_make_plain(nxt_mp_t *mp, nxt_buf_t *src, size_t size) in nxt_buf_chk_make_plain() argument
233 if (nxt_slow_path(src != NULL && src->next != NULL)) { in nxt_buf_chk_make_plain()
234 return nxt_buf_make_plain(mp, src, size); in nxt_buf_chk_make_plain()
237 return src; in nxt_buf_chk_make_plain()
248 nxt_buf_cpy(nxt_buf_t *b, const void *src, size_t length) in nxt_buf_cpy() argument
250 nxt_memcpy(b->mem.free, src, length); in nxt_buf_cpy()
H A Dnxt_main_process.c1244 offsetof(nxt_fs_mount_t, src),
H A Dnxt_application.c58 static u_char *nxt_cstr_dup(nxt_mp_t *mp, u_char *dst, u_char *src);
270 size += nxt_strlen(mnt[j].src) + nxt_strlen(mnt[j].dst) in nxt_discovery_modules()
300 mnt[j].src, mnt[j].dst, mnt[j].name, mnt[j].type, in nxt_discovery_modules()
433 to->src = nxt_cstr_dup(mp, to->src, from->src); in nxt_discovery_module()
434 if (nxt_slow_path(to->src == NULL)) { in nxt_discovery_module()
894 nxt_cstr_dup(nxt_mp_t *mp, u_char *dst, u_char *src) in nxt_cstr_dup() argument
899 len = nxt_strlen(src); in nxt_cstr_dup()
908 p = nxt_cpymem(dst, src, len); in nxt_cstr_dup()
H A Dnxt_unit.h273 const void* src, uint32_t size);
/unit/pkg/rpm/
H A DMakefile197 …LICENSE NOTICE CHANGES README.md CONTRIBUTING.md configure auto src test version go docs/man/unitd…
213 for src in $(MODULE_SOURCES_$*); do \
214 s="`printf "Source%d: %s\n" $${i} $${src}`" ; \
H A Dunit.spec.in141 %{__rm} -rf %{buildroot}/usr/src
143 grep -v 'usr/src' debugfiles.list > debugfiles.list.new && mv debugfiles.list.new debugfiles.list
H A DMakefile.go11 MODULE_INSTARGS_go= go-install-src
55 %dir %{gopath}/src/unit.nginx.org/go
56 %{gopath}/src/unit.nginx.org/go/*
/unit/pkg/deb/
H A DMakefile182 …LICENSE NOTICE CHANGES README.md CONTRIBUTING.md configure auto src test version go docs/man/unitd…
219 for src in $(MODULE_SOURCES_$*); do \
220 cp debian.module/$${src} $@/$(SRCDIR)/debian/ ; \
H A DMakefile.go11 MODULE_INSTARGS_go= go-install-src
/unit/pkg/docker/
H A DDockerfile.go1.1836 && make -j $NCPU go-install-src libunit-install \
40 && make -j $NCPU go-install-src libunit-install \
51 COPY --from=BUILDER /go/src/ /go/src/
H A DMakefile24 INSTALL_go ?= go-install-src libunit-install
28 COPY --from=BUILDER /go/src/ /go/src/
/unit/pkg/deb/debian.module/
H A Drules-noarch.in23 cp -Pa $(CURDIR)/src $(BUILDDIR_$*)/
H A Drules.in23 cp -Pa $(CURDIR)/src $(BUILDDIR_$*)/
/unit/pkg/deb/debian/
H A Drules.in28 cp -Pa $(CURDIR)/src $(BUILDDIR_$*)/
/unit/auto/modules/
H A Druby214 src/ruby/nxt_ruby.c \
215 src/ruby/nxt_ruby_stream_io.c
220 nxt_objs=$NXT_BUILD_DIR/src/nxt_unit.o
233 mkdir -p $NXT_BUILD_DIR/src/ruby
H A Dgo100 .PHONY: ${NXT_GO}-install-src
113 ${NXT_GO}-install: ${NXT_GO}-install-src ${NXT_GO}-install-env
114 cd \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG} && \
117 ${NXT_GO}-install-src:
118 install -d \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}
119 install -p -m644 ./go/* \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/
121 ${NXT_GO}-install-env: \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/env.go \
124 \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/env.go:
125 install -d \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}
129 $echo "#cgo CPPFLAGS: -I${PWD}/src -I${PWD}/${NXT_BUILD_DIR}" >> \$@
[all …]

123