/illumos-gate/usr/src/cmd/acctadm/ |
H A D | res.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 300 char *p, *g, *copy; local 305 * Take a lap through str, processing resources, modifying buf copy 308 if ((copy = malloc(strlen(str) + 1)) == NULL) 310 (void) memcpy(copy, str, strlen(str) + 1); 311 p = strtok(copy, ", "); 335 free(copy);
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | pkginfo.c | 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 195 char *value, *pt, *copy, **memloc; local 209 pt = copy = value; 212 *copy++ = *pt; 215 *copy = '\0'; 427 char *pt, *copy, *value, *myarch, *myvers; local 443 pt = copy = value; 446 *copy++ = *pt; 449 *copy = '\0';
|
H A D | pkgparam.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 124 char *mempt, *copy; local 138 copy = buffer; 147 *copy++ = ch; 159 /* At this point copy points to the end of a valid parameter. */ 160 *copy = '\0'; /* Terminate the string. */ 162 copy = NULL; /* Comments don't get buffered. */ 167 copy = buffer; 171 copy = NULL; 175 copy 322 char *pt, *copy, *value, line[PATH_MAX]; local [all...] |
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_printer.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 346 * Don't copy the original interface program 397 * This is needed to let "putprinter()" copy the 687 *copy = malloc( local 692 (void) strcpy (copy, cmd); 693 (void) strcat (copy, " "); 694 (void) strcat (copy, nm); 695 return (copy);
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | draw.c | 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 403 beginpath(char *buf, int copy) argument 405 /* copy - ignore *buf if FALSE */ 442 if ( copy == TRUE ) 454 drawpath(char *buf, int copy) argument 464 * The new version (called after "x X DrawPath") has copy set to FALSE, and calls 473 * call this routine with copy set to TRUE. 480 if ( copy == TRUE )
|
H A D | ps_include.c | 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 57 static void copy(FILE *, FILE *, Section *); 176 copy(fin, fout, &prolog); 178 copy(fin, fout, &global[i]); 179 copy(fin, fout, &page); 180 copy(fin, fout, &trailer); 196 copy(FILE *fin, FILE *fout, Section *s) function
|
/illumos-gate/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_string.c | 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 355 * Appends a copy of the given string to the given string array, 367 * the string to copy and add to the array 380 char *copy = strdup(str); local 382 if (copy == NULL) { 386 return ((char **)append_to_pointer_array((void **)array, copy));
|
/illumos-gate/usr/src/boot/lib/libz/ |
H A D | infback.c | 263 unsigned copy; /* number of stored or match bytes to copy */ local 264 unsigned char FAR *from; /* where to copy match bytes from */ 267 unsigned len; /* length to copy for repeats, bits to drop */ 340 /* copy stored block from input to output */ 342 copy = state->length; 345 if (copy > have) copy = have; 346 if (copy > left) copy [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | interp_parse.c | 56 free(copy); \ 88 char *val, *p, *q, *copy = NULL; local 95 if (!str || (p = copy = backslash(str)) == NULL) 190 free(copy);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | oid_ops.c | 12 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and 145 /* Get an enlarged copy of the array */ 158 /* Success - copy elements */ 526 * Permission to use, copy, modify, distribute, and sell this software 551 gss_OID_set_desc *copy; local 568 if ((copy = (gss_OID_set_desc *) calloc(1, sizeof (*copy))) == NULL) { 573 if ((copy->elements = (gss_OID_desc *) 574 calloc(oidset->count, sizeof (*copy->elements))) == NULL) { 578 copy [all...] |
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | secdb.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 356 char *copy = NULL; local 368 copy = strdup(csl); 369 for (pc = strtok_r(copy, ",", &lasts), i = 0; pc != NULL; 374 free(copy);
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_xaction_state_mc.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 878 _sip_msg_t *msg, boolean_t copy) 901 if (copy) { 877 sip_create_send_nonOKack(sip_conn_object_t conn_obj, sip_xaction_t *sip_trans, _sip_msg_t *msg, boolean_t copy) argument
|
/illumos-gate/usr/src/cmd/printf/ |
H A D | printf.c | 421 static char *copy; local 429 if ((newcopy = realloc(copy, newlen)) == NULL) { 433 copy = newcopy; 437 (void) memmove(copy, str, len - 3); 438 copy[len - 3] = 'j'; 439 copy[len - 2] = ch; 440 copy[len - 1] = '\0'; 441 return (copy);
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | action.c | 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 34 * do_copy ... copy a file from one side to the other 37 * copy ...... (static) do the actual copy 96 static errmask_t copy(char *, char *, int); 98 static char *copy_err_str; /* what went wrong w/copy */ 111 * whether or not to update statistics (there may be a copy and a like) 375 * src/dst indication for who gets the copy 537 * it is that we are supposed to copy 626 * the alleged new copy migh 1064 copy(char *src, char *dst, int mode) function [all...] |
/illumos-gate/usr/src/cmd/fm/schemes/mem/ |
H A D | mem_unum.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 129 char *copy; local 146 * a copy and keep track of the size allocated. 149 copy = fmd_fmri_alloc(copysz); 150 (void) strcpy(copy, pat); 152 base = strtok(copy, " "); 166 fmd_fmri_free(copy, copysz);
|
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_cursor.c | 82 * must be the same. For the last test, as the saved copy of the cursor 350 CURSOR *cp, copy, start; local 395 copy = *cp; 424 if (!POSSIBLE_DUPLICATE(cp, copy)) { 580 if (F_ISSET(©, C_DELETED)) { 581 F_CLR(©, C_DELETED); 582 if ((ret = __bam_c_physdel(dbc, ©, cp->page)) != 0) 588 if (copy.lock != LOCK_INVALID) 589 (void)__BT_TLPUT(dbc, copy.lock); 600 *cp = copy; 623 CURSOR copy, last; local 760 CURSOR *cp, copy; local [all...] |
H A D | bt_put.c | 252 * Adjust the cursor and copy in the key for 273 * Adjust the cursor and copy in the key for 725 DBT copy; local 752 * to the place at which to copy the user's data, b) set tlen to the 754 * the user, and c) copy any valid data from an existing record. 774 * in the current record rather than allocate a separate copy. 776 memset(©, 0, sizeof(copy)); 777 if ((ret = __db_goff(dbp, ©, bo->tlen, 791 * the same number of bytes as we're inserting, copy i [all...] |
H A D | bt_recno.c | 534 CURSOR *cp, copy; local 564 copy = *cp; 674 *cp = copy; 691 CURSOR *cp, copy; local 725 copy = *cp; 760 cp->recno = copy.recno + 1; 767 cp->recno = copy.recno; 779 *cp = copy; 1031 * part of the log holding the copy of the file could be discarded, and
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uucp.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 34 * make a copy in spool directory 49 copy(), gtcfile(); 125 * make a copy of the file in the spool 203 * We do the copy multiple times when multiple 402 if (copy(sys1, file1, sys2p, file2)) 474 * generate copy files for s1!f1 -> s2!f2 482 copy(s1, f1, s2, f2) function 502 DEBUG(4, "copy: file1=<%s> ", file1); 528 * copy fil [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | enm.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 152 char *script, *copy = NULL; local 205 if ((copy = strdup(script)) == NULL || 211 argv[i++] = strtok_r(copy, " ", &lasts); 323 free(copy);
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | io.c | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 219 copy(struct ionod *ioparg) function 235 copy(iop->iolst);
|
/illumos-gate/usr/src/ucbcmd/install.d/ |
H A D | install.c | 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 65 int copy(); 93 break; /* always do "copy" */ 245 status = copy(from, to_fd, path); /* copy */ 264 * copy -- 265 * copy from one file to another 268 copy(from_name, to_fd, to_name) function
|
/illumos-gate/usr/src/uts/common/zmod/ |
H A D | inflate.c | 27 * - Unroll direct copy to three copies per loop in inffast.c 44 * - Make MATCH copy in inflate() much faster for when inflate_fast() not used 53 * - Unroll last copy for window match in inflate_fast() 335 unsigned copy, dist; local 354 /* copy state->wsize or less output bytes into the circular window */ 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, dis 572 unsigned copy; /* number of stored or match bytes to copy */ local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rds_recv.c | 349 list_t copy; local 354 list_create(©, sizeof (struct rdsv3_notifier), 362 * in the user provided cmsg buffer. We don't try to copy more, to avoid 379 list_insert_tail(©, notifier); 387 while (!list_is_empty(©)) { 388 notifier = list_remove_head(©); 408 if (!list_is_empty(©)) { 410 list_splice(©, &rs->rs_notify_queue);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | dcopy.h | 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 178 dcopy_cmd_copy_t copy; member in union:dcopy_cmd_u
|