Home
last modified time | relevance | path

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

12345678910>>...77

/NextBSD/contrib/jansson/test/suites/api/
HDtest_copy.c14 json_t *value, *copy; in test_copy_simple() local
21 copy = json_copy(value); in test_copy_simple()
22 if(value != copy) in test_copy_simple()
25 json_decref(copy); in test_copy_simple()
29 copy = json_copy(value); in test_copy_simple()
30 if(value != copy) in test_copy_simple()
33 json_decref(copy); in test_copy_simple()
37 copy = json_copy(value); in test_copy_simple()
38 if(value != copy) in test_copy_simple()
41 json_decref(copy); in test_copy_simple()
[all …]
/NextBSD/contrib/gdb/gdb/
HDlinespec.c71 char *copy,
75 static int collect_methods (char *copy, struct type *t,
114 static struct symtabs_and_lines decode_dollar (char *copy,
120 static struct symtabs_and_lines decode_variable (char *copy,
129 char *copy,
663 char *copy; in decode_line_1() local
767 copy = (char *) alloca (p - *argptr + 1); in decode_line_1()
768 memcpy (copy, *argptr, p - *argptr); in decode_line_1()
769 copy[p - *argptr] = '\000'; in decode_line_1()
770 sym = lookup_symbol (copy, 0, VAR_DOMAIN, 0, &sym_symtab); in decode_line_1()
[all …]
/NextBSD/sys/compat/mach/
HDmach_vm.c111 register vm_map_copy_t copy,
129 memory_object_offset_t offset __unused, boolean_t copy __unused, in mach_vm_map()
512 _vm_map_entry_dispose(&(copy)->cpy_hdr, (entry))
551 vm_map_copy_t copy; in vm_map_copyin_internal() local
559 copy = (vm_map_copy_t) malloc(size, M_MACH_VM, M_NOWAIT|M_ZERO); in vm_map_copyin_internal()
560 if (copy == VM_MAP_COPY_NULL) { in vm_map_copyin_internal()
564 copy->type = VM_MAP_COPY_KERNEL_BUFFER; in vm_map_copyin_internal()
565 copy->size = len; in vm_map_copyin_internal()
566 copy->offset = 0; in vm_map_copyin_internal()
567 copy->cpy_kalloc_size = size; in vm_map_copyin_internal()
[all …]
/NextBSD/lib/libz/
HDinflate.c97 unsigned copy));
379 local int updatewindow(strm, end, copy) in updatewindow() argument
382 unsigned copy;
405 if (copy >= state->wsize) {
412 if (dist > copy) dist = copy;
413 zmemcpy(state->window + state->wnext, end - copy, dist);
414 copy -= dist;
415 if (copy) {
416 zmemcpy(state->window, end - copy, copy);
417 state->wnext = copy;
[all …]
HDinfback.c263 unsigned copy; /* number of stored or match bytes to copy */ local
342 copy = state->length;
345 if (copy > have) copy = have;
346 if (copy > left) copy = left;
347 zmemcpy(put, next, copy);
348 have -= copy;
349 next += copy;
350 left -= copy;
351 put += copy;
352 state->length -= copy;
[all …]
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/zmod/
HDinflate.c335 unsigned copy, dist; local
355 copy = out - strm->avail_out;
356 if (copy >= state->wsize) {
363 if (dist > copy) dist = copy;
364 zmemcpy(state->window + state->write, strm->next_out - copy, dist);
365 copy -= dist;
366 if (copy) {
367 zmemcpy(state->window, strm->next_out - copy, copy);
368 state->write = copy;
572 unsigned copy; /* number of stored or match bytes to copy */ local
[all …]
/NextBSD/usr.bin/rctl/
HDrctl.c118 char *copy, *expanded, *tofree; in expand_amount() local
121 tofree = copy = strdup(rule); in expand_amount()
122 if (copy == NULL) { in expand_amount()
127 subject = strsep(&copy, ":"); in expand_amount()
128 subject_id = strsep(&copy, ":"); in expand_amount()
129 resource = strsep(&copy, ":"); in expand_amount()
130 action = strsep(&copy, "=/"); in expand_amount()
131 amount = strsep(&copy, "/"); in expand_amount()
132 per = copy; in expand_amount()
139 copy = strdup(rule); in expand_amount()
[all …]
/NextBSD/contrib/subversion/subversion/libsvn_fs_base/notes/
HDfs-history95 2. copy ID: This key uniquely identifies a copy operation, and is
97 If two node-revisions have the same copy ID, they are said to be
129 lineage of this versioned resource), a copy ID (which will be
148 So what about those copy IDs?
152 copy IDs for political reasons, really -- Subversion doesn't expose a
155 easily be represented using path semantics.) New copy IDs are
157 can inherit the copy IDs of their predecessors (in the trivial cloning
158 case), inherit the copy-IDs of one of their parents (by nature of
159 their parent being copied), or inherit new copy-IDs. In the absence
160 of any branching, node-revisions are assigned the special copy ID "0".
[all …]
/NextBSD/sys/sys/mach/
HDmach_vm.h56 #define vm_map_copy_to_entry(copy) \ argument
57 ((struct vm_map_entry *) &(copy)->cpy_hdr.links)
58 #define vm_map_copy_first_entry(copy) \ argument
59 ((copy)->cpy_hdr.links.next)
60 #define vm_map_copy_last_entry(copy) \ argument
61 ((copy)->cpy_hdr.links.prev)
67 vm_map_copy_t copy);
73 vm_map_copy_t copy,
80 vm_map_copy_t copy);
113 memory_object_offset_t offset __unused, boolean_t copy __unused,
/NextBSD/gnu/usr.bin/rcs/lib/
HDrcskeys.c124 char *copy, *next; local
127 copy = strdup(arg);
128 next = copy;
137 free(copy);
153 free(copy);
163 char *copy, *next, *key; local
166 copy = strdup(string);
167 next = copy;
185 free(copy);
/NextBSD/crypto/openssh/
HDauthfile.c212 Buffer b, encoded, copy, kdf; in key_parse_private2() local
220 buffer_init(&copy); in key_parse_private2()
251 if ((cp = buffer_append_space(&copy, len)) == NULL) { in key_parse_private2()
263 buffer_consume_end(&copy, len - dlen); in key_parse_private2()
264 if (buffer_len(&copy) < sizeof(AUTH_MAGIC) || in key_parse_private2()
265 memcmp(buffer_ptr(&copy), AUTH_MAGIC, sizeof(AUTH_MAGIC))) { in key_parse_private2()
269 buffer_consume(&copy, sizeof(AUTH_MAGIC)); in key_parse_private2()
271 ciphername = buffer_get_cstring_ret(&copy, NULL); in key_parse_private2()
282 kdfname = buffer_get_cstring_ret(&copy, NULL); in key_parse_private2()
293 kdfp = buffer_get_string_ptr_ret(&copy, &klen); in key_parse_private2()
[all …]
/NextBSD/lib/libc/string/
HDstrndup.c29 char *copy; in strndup() local
33 copy = malloc(len + 1); in strndup()
34 if (copy != NULL) { in strndup()
35 (void)memcpy(copy, str, len); in strndup()
36 copy[len] = '\0'; in strndup()
39 return copy; in strndup()
/NextBSD/contrib/subversion/subversion/libsvn_fs_base/bdb/
HDcopies-table.c75 const copy_t *copy, in put_copy() argument
85 SVN_ERR(svn_fs_base__unparse_copy_skel(&copy_skel, copy, pool)); in put_copy()
147 copy_t copy; in svn_fs_bdb__create_copy() local
148 copy.kind = kind; in svn_fs_bdb__create_copy()
149 copy.src_path = src_path; in svn_fs_bdb__create_copy()
150 copy.src_txn_id = src_txn_id; in svn_fs_bdb__create_copy()
151 copy.dst_noderev_id = dst_noderev_id; in svn_fs_bdb__create_copy()
152 return put_copy(fs, &copy, copy_id, trail, pool); in svn_fs_bdb__create_copy()
186 copy_t *copy; in svn_fs_bdb__get_copy() local
207 SVN_ERR(svn_fs_base__parse_copy_skel(&copy, skel, pool)); in svn_fs_bdb__get_copy()
[all …]
/NextBSD/contrib/gcc/
HDrtl.c216 rtx copy; in copy_rtx() local
263 copy = shallow_copy_rtx (orig); in copy_rtx()
267 RTX_FLAG (copy, used) = 0; in copy_rtx()
271 RTX_FLAG (copy, frame_related) = 0; in copy_rtx()
272 RTX_FLAG (copy, jump) = RTX_FLAG (orig, jump); in copy_rtx()
273 RTX_FLAG (copy, call) = RTX_FLAG (orig, call); in copy_rtx()
275 format_ptr = GET_RTX_FORMAT (GET_CODE (copy)); in copy_rtx()
277 for (i = 0; i < GET_RTX_LENGTH (GET_CODE (copy)); i++) in copy_rtx()
282 XEXP (copy, i) = copy_rtx (XEXP (orig, i)); in copy_rtx()
289 XVEC (copy, i) = rtvec_alloc (XVECLEN (orig, i)); in copy_rtx()
[all …]
/NextBSD/contrib/subversion/subversion/libsvn_wc/
HDREADME11 This is the library described in the section "The working copy
13 in the working copy, tweaking administrative files and versioned data.
16 make queries and changes in the working copy.
19 a moving target) the current working copy layout. For historic layouts,
26 The working copy is arranged as a directory tree, which, at checkout,
28 working copy accumulates uncommitted changes, some of which may affect
29 its tree layout. By commit time, the working copy's layout could be
33 it is possible for the working copy to go a very long time without
42 the trees comes from the working copy, the other from the repository.
44 question of which is the working copy and which is the repository,
[all …]
/NextBSD/crypto/openssh/regress/
HDscp.sh49 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
55 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
61 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
66 cp ${DATA} ${DIR}/copy
73 cp ${DATA} ${DIR}/copy
80 cp ${DATA} ${DIR}/copy
94 cp -p ${DATA} ${DIR}/copy
96 cp ${DATA} ${DIR2}/copy
97 chmod 660 ${DIR2}/copy
98 $SUDO chown root ${DIR2}/copy
[all …]
/NextBSD/sys/netgraph/
HDng_message.h417 #define NG_COPYMESSAGE(copy, msg, how) \ argument
419 (copy) = malloc(sizeof(struct ng_mesg) \
421 if ((copy) == NULL) \
423 (copy)->header.version = NG_VERSION; \
424 (copy)->header.arglen = (msg)->header.arglen; \
425 (copy)->header.token = (msg)->header.token; \
426 (copy)->header.typecookie = (msg)->header.typecookie; \
427 (copy)->header.cmd = (msg)->header.cmd; \
428 (copy)->header.flags = (msg)->header.flags; \
429 bcopy((msg)->header.cmdstr, (copy)->header.cmdstr, \
[all …]
/NextBSD/contrib/nvi/common/
HDutil.c256 char *copy; in v_strdup() local
258 MALLOC(sp, copy, char *, len + 1); in v_strdup()
259 if (copy == NULL) in v_strdup()
261 memcpy(copy, str, len); in v_strdup()
262 copy[len] = '\0'; in v_strdup()
263 return (copy); in v_strdup()
277 CHAR_T *copy; in v_wstrdup() local
279 MALLOC(sp, copy, CHAR_T *, (len + 1) * sizeof(CHAR_T)); in v_wstrdup()
280 if (copy == NULL) in v_wstrdup()
282 MEMCPY(copy, str, len); in v_wstrdup()
[all …]
/NextBSD/usr.bin/units/
HDunits.c481 char *copy; in lookupunit() local
489 copy = dupstr(unit); in lookupunit()
490 copy[strlen(copy) - 1] = 0; in lookupunit()
492 if (!strcmp(unittable[i].uname, copy)) { in lookupunit()
493 strlcpy(buffer, copy, sizeof(buffer)); in lookupunit()
494 free(copy); in lookupunit()
498 free(copy); in lookupunit()
501 copy = dupstr(unit); in lookupunit()
502 copy[strlen(copy) - 1] = 0; in lookupunit()
504 if (!strcmp(unittable[i].uname, copy)) { in lookupunit()
[all …]
/NextBSD/contrib/groff/src/roff/troff/
HDnode.h63 virtual node *copy() = 0;
155 node *copy() { return new line_start_node; } in copy() function
183 node *copy();
221 node *copy();
237 node *copy();
259 node *copy();
273 node *copy();
287 node *copy();
301 node *copy();
326 node *copy();
[all …]
/NextBSD/sys/libkern/
HDstrndup.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()
/NextBSD/contrib/gcclibs/libiberty/
HDargv.c68 char **copy; in dupargv() local
75 copy = (char **) malloc ((argc + 1) * sizeof (char *)); in dupargv()
76 if (copy == NULL) in dupargv()
83 copy[argc] = (char *) malloc (len + 1); in dupargv()
84 if (copy[argc] == NULL) in dupargv()
86 freeargv (copy); in dupargv()
89 strcpy (copy[argc], argv[argc]); in dupargv()
91 copy[argc] = NULL; in dupargv()
92 return copy; in dupargv()
/NextBSD/contrib/binutils/libiberty/
HDargv.c68 char **copy; in dupargv() local
75 copy = (char **) malloc ((argc + 1) * sizeof (char *)); in dupargv()
76 if (copy == NULL) in dupargv()
83 copy[argc] = (char *) malloc (len + 1); in dupargv()
84 if (copy[argc] == NULL) in dupargv()
86 freeargv (copy); in dupargv()
89 strcpy (copy[argc], argv[argc]); in dupargv()
91 copy[argc] = NULL; in dupargv()
92 return copy; in dupargv()
/NextBSD/usr.bin/dc/
HDstack.c79 stack_dup_value(const struct value *a, struct value *copy) in stack_dup_value() argument
82 copy->type = a->type; in stack_dup_value()
88 copy->u.num = dup_number(a->u.num); in stack_dup_value()
91 copy->u.string = strdup(a->u.string); in stack_dup_value()
92 if (copy->u.string == NULL) in stack_dup_value()
97 copy->array = a->array == NULL ? NULL : array_dup(a->array); in stack_dup_value()
99 return (copy); in stack_dup_value()
113 struct value copy; in stack_dup() local
120 stack_push(stack, stack_dup_value(value, &copy)); in stack_dup()
126 struct value copy; in stack_swap() local
[all …]
/NextBSD/crypto/openssh/contrib/cygwin/
HDMakefile65 install-copy-id: $(copyidsrcdir)/ssh-copy-id $(copyidsrcdir)/ssh-copy-id.1
66 $(INSTALL) -m 755 $(copyidsrcdir)/ssh-copy-id $(DESTDIR)$(bindir)/ssh-copy-id
67 $(INSTALL) -m 644 $(copyidsrcdir)/ssh-copy-id.1 $(DESTDIR)$(mandir)/man1/ssh-copy-id.1
76 …es remove-empty-dir install-inetd-config install-doc install-scripts install-copy-id gzip-man-pages

12345678910>>...77