Home
last modified time | relevance | path

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

12345678910>>...30

/f-stack/freebsd/contrib/zlib/
H A Dinflate.c399 unsigned copy;
429 if (dist > copy) dist = copy;
433 zmemcpy(state->window, end - copy, copy);
759 if (copy > have) copy = have;
906 if (copy > have) copy = have;
907 if (copy > left) copy = left;
1150 copy = state->offset - copy;
1161 if (copy > left) copy = left;
1177 if (copy > state->length) copy = state->length;
1183 if (copy > left) copy = left;
[all …]
H A Dinfback.c345 if (copy > have) copy = have;
346 if (copy > left) copy = left;
348 have -= copy;
349 next += copy;
350 left -= copy;
351 put += copy;
591 copy = left - copy;
595 copy = left;
597 if (copy > state->length) copy = state->length;
599 left -= copy;
[all …]
/f-stack/freebsd/libkern/
H A Dstrndup.c44 char *copy; in strndup() local
47 copy = malloc(len, type, M_WAITOK); in strndup()
48 bcopy(string, copy, len); in strndup()
49 copy[len - 1] = '\0'; in strndup()
50 return (copy); in strndup()
H A Dstrdup.c46 char *copy; in strdup_flags() local
49 copy = malloc(len, type, flags); in strdup_flags()
50 if (copy == NULL) in strdup_flags()
52 bcopy(string, copy, len); in strdup_flags()
53 return (copy); in strdup_flags()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_dav_module.c710 if (copy.path.data[copy.path.len - 1] == '/') { in ngx_http_dav_copy_move_handler()
713 copy.path.data[copy.path.len] = '\0'; in ngx_http_dav_copy_move_handler()
869 copy = ctx->data; in ngx_http_dav_copy_dir()
878 p = ngx_cpymem(dir, copy->path.data, copy->path.len); in ngx_http_dav_copy_dir()
879 (void) ngx_cpystrn(p, path->data + copy->len, path->len - copy->len + 1); in ngx_http_dav_copy_dir()
905 copy = ctx->data; in ngx_http_dav_copy_dir_time()
914 p = ngx_cpymem(dir, copy->path.data, copy->path.len); in ngx_http_dav_copy_dir_time()
915 (void) ngx_cpystrn(p, path->data + copy->len, path->len - copy->len + 1); in ngx_http_dav_copy_dir_time()
970 copy = ctx->data; in ngx_http_dav_copy_tree_file()
979 p = ngx_cpymem(file, copy->path.data, copy->path.len); in ngx_http_dav_copy_tree_file()
[all …]
/f-stack/tools/compat/include/netgraph/
H A Dng_message.h419 #define NG_COPYMESSAGE(copy, msg, how) \ argument
421 (copy) = malloc(sizeof(struct ng_mesg) \
423 if ((copy) == NULL) \
425 (copy)->header.version = NG_VERSION; \
426 (copy)->header.arglen = (msg)->header.arglen; \
427 (copy)->header.token = (msg)->header.token; \
428 (copy)->header.typecookie = (msg)->header.typecookie; \
429 (copy)->header.cmd = (msg)->header.cmd; \
430 (copy)->header.flags = (msg)->header.flags; \
431 bcopy((msg)->header.cmdstr, (copy)->header.cmdstr, \
[all …]
/f-stack/freebsd/netgraph/
H A Dng_message.h416 #define NG_COPYMESSAGE(copy, msg, how) \ argument
418 (copy) = malloc(sizeof(struct ng_mesg) \
420 if ((copy) == NULL) \
422 (copy)->header.version = NG_VERSION; \
423 (copy)->header.arglen = (msg)->header.arglen; \
424 (copy)->header.token = (msg)->header.token; \
425 (copy)->header.typecookie = (msg)->header.typecookie; \
426 (copy)->header.cmd = (msg)->header.cmd; \
427 (copy)->header.flags = (msg)->header.flags; \
428 bcopy((msg)->header.cmdstr, (copy)->header.cmdstr, \
[all …]
/f-stack/app/nginx-1.16.1/auto/lib/pcre/
H A Dmakefile.bcc16 copy /y nul pcre.lst
25 copy /y pcre.h.generic pcre.h
26 copy /y config.h.generic config.h
27 copy /y pcre_chartables.c.dist pcre_chartables.c
H A Dmakefile.msvc21 copy /y pcre.h.generic pcre.h
22 copy /y config.h.generic config.h
23 copy /y pcre_chartables.c.dist pcre_chartables.c
H A Dmakefile.owc23 copy /y pcre.h.generic pcre.h
24 copy /y config.h.generic config.h
25 copy /y pcre_chartables.c.dist pcre_chartables.c
/f-stack/dpdk/lib/librte_kvargs/
H A Drte_kvargs.c196 char *copy; in rte_kvargs_parse_delim() local
202 copy = strdup(args); in rte_kvargs_parse_delim()
203 if (copy == NULL) in rte_kvargs_parse_delim()
206 len = strcspn(copy, valid_ends); in rte_kvargs_parse_delim()
207 copy[len] = '\0'; in rte_kvargs_parse_delim()
209 kvlist = rte_kvargs_parse(copy, valid_keys); in rte_kvargs_parse_delim()
211 free(copy); in rte_kvargs_parse_delim()
/f-stack/app/redis-5.0.5/src/
H A Dadlist.c252 list *copy; in listDup() local
256 if ((copy = listCreate()) == NULL) in listDup()
258 copy->dup = orig->dup; in listDup()
259 copy->free = orig->free; in listDup()
260 copy->match = orig->match; in listDup()
265 if (copy->dup) { in listDup()
266 value = copy->dup(node->value); in listDup()
268 listRelease(copy); in listDup()
273 if (listAddNodeTail(copy, value) == NULL) { in listDup()
274 listRelease(copy); in listDup()
[all …]
/f-stack/dpdk/doc/guides/nics/
H A Dnull.rst23 - ``copy`` [optional, default disabled]
29 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev "net_null0,copy=1" -- -i
34 If ``copy`` is enabled, this is the length of copy operation.
43 This option can't co-exist with ``copy`` option.
H A Dmemif.rst49 …"zero-copy=yes", "Enable/disable zero-copy client mode. Only relevant to client, requires '--singl…
102 regions. For no-zero-copy, rings and buffers are stored inside single memory
105 region n (no-zero-copy):
127 last 1024 will belong to M2S ring. In case of zero-copy, buffers are dequeued and
175 Zero-copy client
178 Zero-copy client can be enabled with memif configuration option 'zero-copy=yes'. This option
181 for each packet buffer, resulting in worse performance than with zero-copy disabled.
189 Server interface functions the same as with zero-copy disabled.
223 You can also enable ``zero-copy`` on ``client`` interface::
225 …stpmd -l 2-3 --proc-type=primary --file-prefix=pmd2 --vdev=net_memif,zero-copy=yes --single-file-s…
[all …]
/f-stack/dpdk/lib/librte_cmdline/
H A Dcmdline_os_windows.c189 int copy, ret; in cmdline_vdprintf() local
192 copy = _dup(fd); in cmdline_vdprintf()
193 if (copy < 0) in cmdline_vdprintf()
196 file = _fdopen(copy, "a"); in cmdline_vdprintf()
198 _close(copy); in cmdline_vdprintf()
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dioat.rst23 copy with copy done using a DMA device for different sizes of packets.
25 received/send packets and packets dropped or failed to copy.
38 In order to run the hardware copy application, the copying device
58 * c CT: Performed packet copy type: software (sw) or hardware using
62 software copy mode (default is 2048)
249 When using hardware copy each Rx queue of the port is assigned an
371 then invoke copy process (hardware copy), or perform software copy of each
393 /* Perform packet hardware copy */
444 or indirect mbufs, then multiple copy operations must be used.
466 /* Perform data copy */
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_replay_fs_002.ksh101 log_must mkdir -p $TESTDIR/copy
102 log_must cp -a /$TESTPOOL/$TESTFS/* $TESTDIR/copy/
135 log_must diff -r /$TESTPOOL/$TESTFS $TESTDIR/copy
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Dkirkwood-nsa310a.dts106 green-copy {
107 label = "nsa310:green:copy";
110 red-copy {
111 label = "nsa310:red:copy";
H A Dkirkwood-nsa3x0-common.dtsi26 pmx_btn_copy: pmx-btn-copy {
36 pmx_led_copy_green: pmx-led-copy-green {
41 pmx_led_copy_red: pmx-led-copy-red {
76 copy {
H A Dkirkwood-nsa310.dts122 green-copy {
123 label = "nsa310:green:copy";
126 red-copy {
127 label = "nsa310:red:copy";
/f-stack/freebsd/security/audit/
H A Daudit_bsm_klib.c428 char *rbuf, *fbuf, *copy; in audit_canon_path_vp() local
435 copy = path; in audit_canon_path_vp()
456 while (*copy == '/') in audit_canon_path_vp()
457 copy++; in audit_canon_path_vp()
484 (void) sbuf_cat(&sbf, copy); in audit_canon_path_vp()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.divide_by_zero.zcp7 -- A full copy of the text of the CDDL should have accompanied this
8 -- source. A copy of the CDDL is also available via the Internet at
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_events/
H A Dzpool_events.cfg7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
/f-stack/tools/libxo/libxo/
H A Dxo_encoder.c310 char *copy = alloca(len + 1); in xo_encoder_init() local
311 memcpy(copy, name, len); in xo_encoder_init()
312 copy[len] = '\0'; in xo_encoder_init()
314 char *opts_copy = copy + (opts - name); /* Move to ':' */ in xo_encoder_init()
318 name = copy; /* Use trimmed copy as name */ in xo_encoder_init()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/
H A Dzpool_split.cfg7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at

12345678910>>...30