Searched defs:replace (Results 1 - 22 of 22) sorted by relevance

/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathrepl.c27 * in place replace of first occurrence of /match/ with /replace/ in path
34 pathrepl(register char* path, const char* match, register const char* replace) argument
41 if (!replace) replace = "";
42 if (streq(match, replace))
57 r = replace;
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dregex.c73 ** replace() - REPLACE TEMPLATE WITH EXPANDED REGULAR EXPRESSION MATCH
78 replace ( function
85 replace (pp, result, value)
/illumos-gate/usr/src/cmd/saf/
H A Dadmutil.c144 * replace - replace one file with another, only returns on success
152 replace(fname, tname) function
324 /* note - replace only returns if successful */
325 replace(basename, tname);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dcfext.h47 unsigned replace:1; /* merge makes no sense for this object pair */ member in struct:mergstat
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dhist.c52 char *replace = 0; /* replace old=new */ local
109 flag = hist_expand(arg,&replace);
111 sfputr(sfstdout, replace, '\n');
114 if(replace)
115 free(replace);
125 if(!replace && strchr(arg+1,'='))
127 replace = arg;
258 if(replace)
259 hist_subst(error_info.id,fdo,replace);
286 hist_subst(const char *command,int fd,char *replace) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobject.c756 object_restore(CK_BYTE *data, OBJECT **new_obj, CK_BBOOL replace) { argument
791 if (replace == FALSE) {
/illumos-gate/usr/src/cmd/exstr/
H A Dexstr.c52 static void replace();
63 static int rflg; /* replace strings by function calls */
108 replace(argv[optind]);
240 replace(name) function
371 (void) fprintf(stderr, "exstr: ERROR: cannot replace "
394 "replace string '%s' in line (%d) of file "
/illumos-gate/usr/src/cmd/fm/schemes/mem/
H A Dmem_unum.c188 int replace, start, matched; local
191 replace = start = matched = -1;
192 (void) sscanf(pat, bd->bd_pat, &replace, &start, &matched);
197 (void) strlcpy(dimmname+replace, bd->bd_subst,
199 replace += strlen(bd->bd_subst);
215 if (dimmlen > sizeof (dimmname) - replace)
218 (void) strlcpy(dimmname + replace, c, dimmlen + 1);
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_put.c93 int bigkey, bigdata, dupadjust, replace, ret; local
101 dupadjust = replace = 0;
302 replace = 1;
324 } else if (replace)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dndbm.c238 dbm_store(DBM *db, datum key, datum dat, int replace) argument
253 if (!replace)
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_mindex2.cc447 db_mindex::updateTableEntry(entry_object *e, int replace, char *tableName, argument
496 if (replace) {
575 if (replace && obj == 0) {
608 if (replace) {
610 * While the DB can handle a modify (replace)
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Ddit_access.c197 bool_t replace, bool_t ignore_map_errs)
222 res = singleWriteToDIT(map, domain, &key, &value, replace);
196 write_to_dit(char *map, char *domain, datum key, datum value, bool_t replace, bool_t ignore_map_errs) argument
H A Ddit_access_utils.c1211 bool_t replace) {
1370 if (replace == FALSE) {
1403 myself, (replace == TRUE) ?
1210 singleWriteToDIT(char *map, char *domain, datum *key, datum *value, bool_t replace) argument
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dndbm.c303 dbm_store(DBM *db, datum key, datum dat, int replace) argument
321 if (!replace)
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dfunc.c627 boolean_t replace = local
649 isnslog(LOG_DEBUG, "dev_attr_reg", "entered (replace: %d)", replace);
674 /* update or replace the network entity object */
682 /* de-register the network entity if replace is true */
683 } else if (replace != 0) {
/illumos-gate/usr/src/cmd/sh/
H A Dname.c197 replace(unsigned char **a, unsigned char *v) function
239 replace(&n->namval, v);
445 replace(p, &numbuf[j]);
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapmodify.c49 static int error = 0, replace, nbthreads = 1; variable
79 #define T_MODOPREPLACESTR "replace"
422 case 'r': /* default is to replace rather than add values */
423 replace = 1;
639 modop = replace ? LDAP_MOD_REPLACE : LDAP_MOD_ADD;
722 /*There was a value to replace*/
746 attribute to replace, so we alloc
865 modop = replace ? LDAP_MOD_REPLACE : LDAP_MOD_ADD;
1001 gettext("replace") : op == LDAP_MOD_ADD ?
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_attr.c747 conn_get_ixa_impl(conn_t *connp, boolean_t replace, int kmflag) argument
771 if (replace) {
797 * If 'replace' is set then we replace conn_ixa with the new ip_xmit_attr_t.
801 conn_get_ixa(conn_t *connp, boolean_t replace) argument
803 return (conn_get_ixa_impl(connp, replace, KM_NOSLEEP));
811 conn_get_ixa_tryhard(conn_t *connp, boolean_t replace) argument
813 return (conn_get_ixa_impl(connp, replace, KM_SLEEP));
964 * Used to replace the ixa_label field.
985 * Due to kernel RPC's use of db_credp we also need to replace ira_cre
[all...]
H A Dipmp.c2236 list_t replace; local
2253 list_create(&replace, sizeof (nce_t), offsetof(nce_t, nce_node));
2265 list_insert_tail(&replace, nce);
2276 while ((nce = list_remove_head(&replace)) != NULL) {
2293 list_destroy(&replace);
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dvi.c182 #define REPLACE -40 /* replace chars */
199 static void replace(Vi_t*,int, int);
440 /* so replace ^V with it */
635 * REPLACE, replace char if possible
1509 replace(vp,c, 1);
1980 static void replace(register Vi_t *vp, register int c, register int increment) function
1986 /*** can't replace invalid cursor ***/
2543 case 'r': /** replace **/
2552 replace(vp,c, trepeat!=0);
2616 replace(v
[all...]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dthr.c751 ulwp_t *replace = NULL; local
798 if ((replace = udp->ulwp_replace_free) == NULL)
799 replace = lmalloc(REPLACEMENT_SIZE);
800 else if ((udp->ulwp_replace_free = replace->ul_next) == NULL)
819 if (replace != NULL) {
821 (void) memcpy(replace, self, REPLACEMENT_SIZE);
822 replace->ul_self = replace;
823 replace->ul_next = NULL; /* clone not on stack list */
824 replace
990 int replace; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c1388 * to perform an atomic policy replace. It can't be
2429 * character, which will replace the newline of the
2438 * the offset. Thus we need to seek, replace with ";",
2473 * If we blindly replace it with ";", it will be
2476 * Thus, we seek one less and replace the previous
5220 ipsec_conf_add(boolean_t just_check, boolean_t smf_managed, boolean_t replace) argument
5335 * To perform an atomic policy replace, we really don't
5336 * care what the existing policy was, just replace it
5340 if (replace) {

Completed in 334 milliseconds