| /netbsd-src/external/mit/isl/dist/include/isl/ |
| H A D | cpp-checked-conversion.h | 18 return checked::manage(obj.copy()); in check() 22 return manage(obj.copy()); in uncheck() 26 return checked::manage(obj.copy()); in check() 30 return manage(obj.copy()); in uncheck() 34 return checked::manage(obj.copy()); in check() 38 return manage(obj.copy()); in uncheck() 42 return checked::manage(obj.copy()); in check() 46 return manage(obj.copy()); in uncheck() 50 return checked::manage(obj.copy()).as<checked::ast_expr_id>(); in check() 54 return manage(obj.copy()).as<ast_expr_id>(); in uncheck() [all …]
|
| /netbsd-src/external/mit/libcbor/dist/test/ |
| H A D | copy_test.c | 17 cbor_item_t *item, *copy, *tmp; variable 21 assert_uint8(copy = cbor_copy(item), 10); in test_uints() 23 cbor_decref(©); in test_uints() 26 assert_uint16(copy = cbor_copy(item), 10); in test_uints() 28 cbor_decref(©); in test_uints() 31 assert_uint32(copy = cbor_copy(item), 10); in test_uints() 33 cbor_decref(©); in test_uints() 36 assert_uint64(copy = cbor_copy(item), 10); in test_uints() 38 cbor_decref(©); in test_uints() 43 assert_true(cbor_get_uint8(copy = cbor_copy(item)) == 10); in test_negints() [all …]
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/zmod/ |
| H A D | inflate.c | 335 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 …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/zlib/ |
| H A D | inflate.c | 98 unsigned copy)); 397 local int updatewindow(strm, end, copy) in updatewindow() argument 400 unsigned copy; 423 if (copy >= state->wsize) { 430 if (dist > copy) dist = copy; 431 zmemcpy(state->window + state->wnext, end - copy, dist); 432 copy -= dist; 433 if (copy) { 434 zmemcpy(state->window, end - copy, copy); 435 state->wnext = copy; [all …]
|
| H A D | infback.c | 263 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 …]
|
| /netbsd-src/external/gpl3/binutils/dist/zlib/ |
| H A D | inflate.c | 98 unsigned copy)); 397 local int updatewindow(strm, end, copy) in updatewindow() argument 400 unsigned copy; 423 if (copy >= state->wsize) { 430 if (dist > copy) dist = copy; 431 zmemcpy(state->window + state->wnext, end - copy, dist); 432 copy -= dist; 433 if (copy) { 434 zmemcpy(state->window, end - copy, copy); 435 state->wnext = copy; [all …]
|
| H A D | infback.c | 263 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 …]
|
| /netbsd-src/external/gpl3/gdb/dist/zlib/ |
| H A D | inflate.c | 98 unsigned copy)); 397 local int updatewindow(strm, end, copy) in updatewindow() argument 400 unsigned copy; 423 if (copy >= state->wsize) { 430 if (dist > copy) dist = copy; 431 zmemcpy(state->window + state->wnext, end - copy, dist); 432 copy -= dist; 433 if (copy) { 434 zmemcpy(state->window, end - copy, copy); 435 state->wnext = copy; [all …]
|
| H A D | infback.c | 263 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 …]
|
| /netbsd-src/usr.sbin/acpitools/aml/ |
| H A D | aml_parse.c | 549 struct aml_environ *copy; in aml_parse_defpackage() local 556 copy = memman_alloc(aml_memman, memid_aml_environ); in aml_parse_defpackage() 557 if (copy == NULL) { in aml_parse_defpackage() 574 *copy = *env; in aml_parse_defpackage() 575 env->dp = copy->end = start + pkglength; in aml_parse_defpackage() 578 while ((copy->dp < copy->end) && (i < numelements)) { in aml_parse_defpackage() 580 tmpname = aml_parse_termobj(copy, indent + 1); in aml_parse_defpackage() 583 objects[i] = aml_copy_object(copy, tmpname->property); in aml_parse_defpackage() 588 aml_free_objectcontent(©->tempobject); in aml_parse_defpackage() 597 memman_free(aml_memman, memid_aml_environ, copy); in aml_parse_defpackage() [all …]
|
| /netbsd-src/external/bsd/nvi/dist/common/ |
| H A D | util.c | 133 char *copy; in v_strdup() local 135 MALLOC(sp, copy, char *, (len + 1)); in v_strdup() 136 if (copy == NULL) in v_strdup() 138 memcpy(copy, str, len); in v_strdup() 139 copy[len] = '\0'; in v_strdup() 140 return (copy); in v_strdup() 152 CHAR_T *copy; in v_wstrdup() local 154 MALLOC(sp, copy, CHAR_T *, (len + 1) * sizeof(CHAR_T)); in v_wstrdup() 155 if (copy == NULL) in v_wstrdup() 157 MEMCPYW(copy, str, len); in v_wstrdup() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/zlib/contrib/infback9/ |
| H A D | infback9.c | 238 unsigned long copy; /* number of stored or match bytes to copy */ local 328 copy = length; 331 if (copy > have) copy = have; 332 if (copy > left) copy = left; 333 zmemcpy(put, next, copy); 334 have -= copy; 335 next += copy; 336 left -= copy; 337 put += copy; 338 length -= copy; [all …]
|
| /netbsd-src/external/gpl3/gdb/dist/zlib/contrib/infback9/ |
| H A D | infback9.c | 238 unsigned long copy; /* number of stored or match bytes to copy */ local 328 copy = length; 331 if (copy > have) copy = have; 332 if (copy > left) copy = left; 333 zmemcpy(put, next, copy); 334 have -= copy; 335 next += copy; 336 left -= copy; 337 put += copy; 338 length -= copy; [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/zlib/contrib/infback9/ |
| H A D | infback9.c | 238 unsigned long copy; /* number of stored or match bytes to copy */ local 328 copy = length; 331 if (copy > have) copy = have; 332 if (copy > left) copy = left; 333 zmemcpy(put, next, copy); 334 have -= copy; 335 next += copy; 336 left -= copy; 337 put += copy; 338 length -= copy; [all …]
|
| /netbsd-src/external/gpl3/gdb.old/dist/zlib/contrib/infback9/ |
| H A D | infback9.c | 238 unsigned long copy; /* number of stored or match bytes to copy */ local 328 copy = length; 331 if (copy > have) copy = have; 332 if (copy > left) copy = left; 333 zmemcpy(put, next, copy); 334 have -= copy; 335 next += copy; 336 left -= copy; 337 put += copy; 338 length -= copy; [all …]
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
| H A D | zlib.c | 484 unsigned copy, dist; in updatewindow() local 504 copy = out - strm->avail_out; in updatewindow() 505 if (copy >= state->wsize) { in updatewindow() 512 if (dist > copy) dist = copy; in updatewindow() 513 zmemcpy(state->window + state->write, strm->next_out - copy, dist); in updatewindow() 514 copy -= dist; in updatewindow() 515 if (copy) { in updatewindow() 516 zmemcpy(state->window, strm->next_out - copy, copy); in updatewindow() 517 state->write = copy; in updatewindow() 1442 unsigned copy; /* number of stored or match bytes to copy */ in inflate() local [all …]
|
| /netbsd-src/sys/arch/hppa/stand/xxboot/ |
| H A D | start.S | 77 copy %arg0,%r3 108 copy %r6,%arg0 116 ; copy part 2 123 ; copy part 3 170 copy %r3,%arg0 171 copy %r4,%arg2 175 copy %sp,%arg1 215 copy %r0,%r1 ; I/O operation is guaranteed to finish 216 copy %r0,%r3 ; in eight instructions after sync 217 copy %r0,%r4 [all …]
|
| /netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/ |
| H A D | pa-nullify.s | 9 copy %r3,%r1 10 copy %r30,%r3 14 copy %r19,%r28 27 copy %r3,%r1 28 copy %r30,%r3 43 copy %r3,%r1 44 copy %r30,%r3 51 copy %r28,%r19 52 copy %r19,%r28
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| H A D | d2i_pu.c | 32 EVP_PKEY *copy = NULL; in d2i_PublicKey() local 45 if (!evp_pkey_copy_downgraded(©, ret)) in d2i_PublicKey() 51 if ((type != EVP_PKEY_get_id(ret) || copy != NULL) in d2i_PublicKey() 74 if (copy != NULL) { in d2i_PublicKey() 76 ret->pkey.ec = copy->pkey.ec; in d2i_PublicKey() 77 copy->pkey.ec = NULL; in d2i_PublicKey() 91 EVP_PKEY_free(copy); in d2i_PublicKey() 96 EVP_PKEY_free(copy); in d2i_PublicKey()
|
| /netbsd-src/external/ibm-public/postfix/dist/src/util/ |
| H A D | clean_env.c | 69 char *copy; in clean_env() local 80 copy = mystrdup(*cpp); in clean_env() 81 err = split_nameval(copy, &key, &val); in clean_env() 85 myfree(copy); in clean_env() 117 char *copy; in update_env() local 128 copy = mystrdup(*cpp); in update_env() 129 err = split_nameval(copy, &key, &val); in update_env() 133 myfree(copy); in update_env()
|
| /netbsd-src/sys/kern/ |
| H A D | vfs_cwd.c | 52 struct cwdinfo *copy; in cwdinit() 57 copy = curproc->p_cwdi; in cwdinit() 59 rw_enter(©->cwdi_lock, RW_READER); in cwdinit() 60 cwdi->cwdi_cdir = copy->cwdi_cdir; in cwdinit() 63 cwdi->cwdi_rdir = copy->cwdi_rdir; in cwdinit() 66 cwdi->cwdi_edir = copy->cwdi_edir; in cwdinit() 69 rw_exit(©->cwdi_lock); in cwdinit() 71 cwdi->cwdi_cmask = copy->cwdi_cmask; in cwdinit() 51 struct cwdinfo *copy; cwdinit() local
|
| /netbsd-src/external/bsd/tmux/dist/compat/ |
| H A D | strndup.c | 30 char *copy; in strndup() local 34 copy = malloc(len + 1); in strndup() 35 if (copy != NULL) { in strndup() 36 (void)memcpy(copy, str, len); in strndup() 37 copy[len] = '\0'; in strndup() 40 return copy; in strndup()
|
| /netbsd-src/external/bsd/mdocml/dist/ |
| H A D | compat_strndup.c | 35 char *copy; in strndup() local 41 copy = malloc(len + 1); in strndup() 42 if (copy != NULL) { in strndup() 43 (void)memcpy(copy, str, len); in strndup() 44 copy[len] = '\0'; in strndup() 47 return copy; in strndup()
|
| /netbsd-src/libexec/ld.elf_so/arch/hppa/ |
| H A D | rtld_start.S | 40 copy %r3, %r1 41 copy %sp, %r3 79 copy %arg1, %r4 ; save for later 99 copy %r4, %arg1 ; %arg1 = relocbase 113 copy %r0, %rp 161 copy %r3, %r1 162 copy %sp, %r3 199 copy %r19, %arg1 206 copy %r21, %r19 238 copy %arg0, %dp
|
| /netbsd-src/external/gpl3/gdb/dist/gnulib/import/malloc/ |
| H A D | scratch_buffer_dupfree.c | 32 void *copy = malloc (size); in __libc_scratch_buffer_dupfree() local 33 return copy != NULL ? memcpy (copy, data, size) : NULL; in __libc_scratch_buffer_dupfree() 37 void *copy = realloc (data, size); in __libc_scratch_buffer_dupfree() local 38 return copy != NULL ? copy : data; in __libc_scratch_buffer_dupfree()
|