/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | gethostent6.c | 52 char *copy; local 55 if ((copy = strdup(argp->key.ipnode.name)) == 0) { 58 for (mung = copy + (s - argp->key.ipnode.name); 65 copy, 0); 68 free(copy);
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | memmove.S | 41 cmp %i1, %i0 ! if from address is >= to use forward copy 43 cmp %i2, 17 ! delay slot, for small counts copy bytes 47 bgu ovbc ! if size is bigger, have do overlapped copy 48 cmp %i2, 17 ! delay slot, for small counts copy bytes 50 ! normal, copy forwards
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | memmove.S | 41 cmp %i1, %i0 ! if from address is >= to use forward copy 43 cmp %i2, 17 ! delay slot, for small counts copy bytes 47 bgu %xcc, ovbc ! if size is bigger, have to do overlapped copy 48 cmp %i2, 17 ! delay slot, for small counts copy bytes 50 ! normal, copy forwards
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | devpath.c | 141 EFI_DEVICE_PATH *node, *copy; in efi_devpath_trim() local 150 copy = malloc(len); in efi_devpath_trim() 151 if (copy != NULL) { in efi_devpath_trim() 152 memcpy(copy, devpath, prefix); in efi_devpath_trim() 153 node = (EFI_DEVICE_PATH *)((UINT8 *)copy + prefix); in efi_devpath_trim() 156 return (copy); in efi_devpath_trim()
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | ps_include.c | 57 static void copy(FILE *, FILE *, Section *); 176 copy(fin, fout, &prolog); in ps_include() 178 copy(fin, fout, &global[i]); in ps_include() 179 copy(fin, fout, &page); in ps_include() 180 copy(fin, fout, &trailer); in ps_include() 196 copy(FILE *fin, FILE *fout, Section *s) in copy() function
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | alerts.c | 473 register char *copy = Strdup(alertp->shcmd), in printalert() local 488 if (copy && (cp = strchr(copy, ' '))) in printalert() 493 copy in printalert() 496 STREQU(copy, NAME_WRITE) in printalert() 497 || STREQU(copy, NAME_MAIL) in printalert() 500 (void)fprintf (fp, "%s to %s ", copy, cp); in printalert() 509 Free (copy); in printalert()
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | oid_ops.c | 486 gss_OID_set_desc *copy; in gss_copy_oid_set() local 503 if ((copy = (gss_OID_set_desc *) calloc(1, sizeof (*copy))) == NULL) { in gss_copy_oid_set() 508 if ((copy->elements = (gss_OID_desc *) in gss_copy_oid_set() 509 calloc(oidset->count, sizeof (*copy->elements))) == NULL) { in gss_copy_oid_set() 513 copy->count = oidset->count; in gss_copy_oid_set() 515 for (index = 0; index < copy->count; index++) { in gss_copy_oid_set() 516 gss_OID_desc *out = ©->elements[index]; in gss_copy_oid_set() 527 *new_oidset = copy; in gss_copy_oid_set() 530 (void) gss_release_oid_set(&minor, ©); in gss_copy_oid_set()
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | pkginfo.c | 195 char *value, *pt, *copy, **memloc; in rdconfig() local 209 pt = copy = value; in rdconfig() 212 *copy++ = *pt; in rdconfig() 215 *copy = '\0'; in rdconfig() 427 char *pt, *copy, *value, *myarch, *myvers; in ckinfo() local 443 pt = copy = value; in ckinfo() 446 *copy++ = *pt; in ckinfo() 449 *copy = '\0'; in ckinfo()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/ |
H A D | zfs_copies.kshlib | 94 typeset copy=$2 101 log_must zfs create -V $VOLSIZE -o copies=$copy $vol 111 ((nfilesize = copy * ${FILESIZE%m})) 130 "copies as $copy"
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | environment.c | 162 char *value, *copy; in putenv() local 165 copy = strdup(string); in putenv() 166 if ((value = strchr(copy, '=')) != NULL) in putenv() 168 result = setenv(copy, value, 1); in putenv() 169 free(copy); in putenv()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | oid_ops.c | 551 gss_OID_set_desc *copy; in gssint_copy_oid_set() local 568 if ((copy = (gss_OID_set_desc *) calloc(1, sizeof (*copy))) == NULL) { in gssint_copy_oid_set() 573 if ((copy->elements = (gss_OID_desc *) in gssint_copy_oid_set() 574 calloc(oidset->count, sizeof (*copy->elements))) == NULL) { in gssint_copy_oid_set() 578 copy->count = oidset->count; in gssint_copy_oid_set() 580 for (index = 0; index < copy->count; index++) { in gssint_copy_oid_set() 581 gss_OID_desc *out = ©->elements[index]; in gssint_copy_oid_set() 592 *new_oidset = copy; in gssint_copy_oid_set() 595 (void) gss_release_oid_set(&minor, ©); in gssint_copy_oid_set()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | proto.c | 1755 copy(b, t, 4); 1796 copy(buf, file, -1); 1825 copy(buf, file, -1); 1835 copy(buf, file, -1); 2138 copy(&buf, x, -1); 2198 copy(&tmp, " ", -1); 2285 copy(&tmp, "'s", -1); 4886 else if (copy) 4894 strcopy( buf, copy); 5044 char* copy = 0; local [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/baddof/ |
H A D | baddof.c | 161 unsigned char *dof, *copy; in main() local 188 if ((copy = malloc(len)) == NULL) in main() 192 bcopy(dof, copy, len); in main() 201 corrupt(fd, copy, len); in main()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | mkpkgmap.c | 108 static char *srchroot(char *path, char *copy); 119 static void translate(register char *pt, register char *copy); 621 translate(register char *pt, register char *copy) in translate() argument 637 *copy++ = *pt2++; in translate() 640 *copy++ = *pt++; in translate() 643 *copy++ = ' '; in translate() 646 *copy = '\0'; in translate() 805 srchroot(char *path, char *copy) in srchroot() argument 814 cvtpath(path, copy); in srchroot() 816 canonize(copy); in srchroot() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/ioat/ |
H A D | ioat_ioctl.c | 266 cmd->dp.copy.cc_source = ptob64(hat_getpfnum(kas.a_hat, in ioat_ioctl_test() 268 cmd->dp.copy.cc_dest = ptob64(hat_getpfnum(kas.a_hat, in ioat_ioctl_test() 270 cmd->dp.copy.cc_size = PAGESIZE; in ioat_ioctl_test() 288 cmd->dp.copy.cc_source = ptob64(hat_getpfnum(kas.a_hat, in ioat_ioctl_test() 290 cmd->dp.copy.cc_dest = ptob64(hat_getpfnum(kas.a_hat, in ioat_ioctl_test() 292 cmd->dp.copy.cc_size = PAGESIZE; in ioat_ioctl_test()
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_cursor.c | 350 CURSOR *cp, copy, start; local 395 copy = *cp; 600 *cp = copy; 623 CURSOR copy, last; local 649 copy = *cp; 760 CURSOR *cp, copy; local 835 *cp = copy; 847 copy = *cp; 999 if (cp->pgno == copy.pgno && cp->indx == copy.indx && 1000 cp->dpgno == copy.dpgno && cp->dindx == copy.dindx) [all …]
|
/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | cxx_util.c | 430 str_pair_t copy = { 0 }; in sub_save() local 431 (void) str_pair_init(©, n->nm_ops); in sub_save() 432 if (!str_pair_copy(src_sp, ©)) { in sub_save() 433 str_pair_fini(©); in sub_save() 438 VERIFY(name_add_str(dest, ©.strp_l, ©.strp_r)); in sub_save() 455 str_pair_t copy = { 0 }; in sub_substitute() local 457 if (!str_pair_copy(sp, ©)) in sub_substitute() 460 if (!name_add_str(n, ©.strp_l, ©.strp_r)) in sub_substitute()
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_values.c | 954 free(copy); in nwam_condition_string_to_condition() 986 free(copy); in nwam_condition_string_to_condition() 995 free(copy); in nwam_condition_string_to_condition() 999 free(copy); in nwam_condition_string_to_condition() 1006 free(copy); in nwam_condition_string_to_condition() 1027 free(copy); in nwam_condition_string_to_condition() 1041 free(copy); in nwam_condition_string_to_condition() 1054 free(copy); in nwam_condition_string_to_condition() 1071 free(copy); in nwam_condition_string_to_condition() 1076 free(copy); in nwam_condition_string_to_condition() [all …]
|
/illumos-gate/usr/src/cmd/printf/ |
H A D | printf.c | 421 static char *copy; in mknum() local 429 if ((newcopy = realloc(copy, newlen)) == NULL) { in mknum() 433 copy = newcopy; in mknum() 437 (void) memmove(copy, str, len - 3); in mknum() 438 copy[len - 3] = 'j'; in mknum() 439 copy[len - 2] = ch; in mknum() 440 copy[len - 1] = '\0'; in mknum() 441 return (copy); in mknum()
|
/illumos-gate/usr/src/boot/common/ |
H A D | interp_parse.c | 55 free(copy); \ 87 char *val, *p, *q, *copy = NULL; in parse() local 94 if (!str || (p = copy = backslash(str)) == NULL) in parse() 189 free(copy); in parse()
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | generic_copy.S | 106 blu %ncc, .bytecp ! just copy bytes 270 call .alignit ! copy bytes until aligned 284 cmp %i2, 4 ! see if we can copy a word 308 ! byte copy, works with any alignment 315 ! differenced byte copy, works with any alignment 716 ! Four byte copy loop. %o2 is the number of 4 byte chunks to copy. 855 sub %g0, %o2, %o3 ! setup for copy loop 906 ! byte copy loop above. 922 ! for byte copy loop above. 954 ! 4 byte copy loop. %o2 is number of 4 byte chunks to copy. [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/ |
H A D | lcgen.c | 175 copy(char** p, register char* f) in copy() function 177 copy(p, f) in copy() 427 cp->link.code = copy(&b, arg[0]); 429 cp->ms = copy(&b, arg[2]); 443 tp->link.code = copy(&b, arg[0]); 444 tp->name = copy(&b, arg[1]); 446 if (s = copy(&b, arg[2])) 497 lp->link.code = copy(&b, arg[0]); 498 lp->name = copy(&b, arg[1]); 508 if (s = copy(&b, arg[4])) [all …]
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | PrintaRecord.java | 511 List <Aggregation> copy = new ArrayList <Aggregation> in readObject() local 513 copy.addAll(aggregations); in readObject() 514 aggregations = copy; in readObject() 520 List <Tuple> copy = new ArrayList <Tuple> (tuples.size()); in readObject() local 521 copy.addAll(tuples); in readObject() 522 tuples = copy; in readObject()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/ |
H A D | slog_replay_fs_002.ksh | 101 log_must mkdir -p $TESTDIR/copy 102 log_must cp -a /$TESTPOOL/$TESTFS/* $TESTDIR/copy/ 135 log_must diff -r /$TESTPOOL/$TESTFS $TESTDIR/copy
|
/illumos-gate/usr/src/lib/libc/sparcv9/crt/ |
H A D | __align_cpy_8.S | 80 bpos,a,pt %xcc, .wrdbl1 ! Have at least 16 bytes to copy. 83 retl ! No bytes to copy. 97 bz,a,pt %xcc, .wrdbl3 ! Have 8 bytes remaining to copy.
|