Searched defs:new (Results 126 - 150 of 254) sorted by relevance

1234567891011

/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dev_connects.c67 evConn *new; local
70 OKNEW(new);
71 new->flags = EV_CONN_LISTEN;
72 OKFREE(mode = fcntl(fd, F_GETFL, NULL), new); /*%< side effect: validate fd. */
83 OKFREE(ioctl(fd, FIONBIO, (char *)&on), new); local
85 OKFREE(fcntl(fd, F_SETFL, mode | PORT_NONBLOCK), new);
87 new->flags |= EV_CONN_BLOCK;
89 OKFREE(listen(fd, maxconn), new); local
90 if (evSelectFD(opaqueCtx, fd, EV_READ, listener, new, &new
116 evConn *new; local
241 evAccept *new; local
290 int new; local
312 (*conn->func)(opaqueCtx, conn->uap, new, &la.sa, lalen, &ra.sa, ralen); local
[all...]
/osnet-11/usr/src/lib/libscf/common/
H A Dscf_type.c83 * adds in the 6 new bits from a continuation byte
335 rep_protocol_value_type_t new)
342 if (base == new)
345 for (t = new; t != (cur = scf_proto_underlying_type(t)); t = cur) {
349 return (1); /* base is parent of new */
334 scf_is_compatible_protocol_type(rep_protocol_value_type_t base, rep_protocol_value_type_t new) argument
/osnet-11/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c776 struct berval *new; local
778 if ((new = (struct berval *)malloc(sizeof (struct berval)))
783 new->bv_val = NULL;
784 new->bv_len = 0;
786 if ((new->bv_val = (char *)malloc(bv->bv_len + 1))
788 free(new);
791 (void) memmove(new->bv_val, bv->bv_val, (size_t)bv->bv_len);
792 new->bv_val[bv->bv_len] = '\0';
793 new->bv_len = bv->bv_len;
796 return (new);
[all...]
H A Dio.c100 /* copy existing data into new malloc'd buffer */
207 BerElement *new; local
209 if ((new = kmfber_alloc()) == NULL)
212 *new = *ber;
214 return (new);
285 /* new dboreham code below: */
306 struct berval *new; local
310 new = (struct berval *)malloc((size_t)(sizeof (struct berval)));
311 if (new == NULL) {
314 (void) memset(new,
[all...]
/osnet-11/usr/src/lib/libldap4/ber/
H A Ddecode.c579 struct berval *new; local
581 if ( (new = (struct berval *) malloc( sizeof(struct berval) ))
585 if ( (new->bv_val = (char *) malloc( bv->bv_len + 1 )) == NULL ) {
586 free(new);
589 SAFEMEMCPY( new->bv_val, bv->bv_val, (size_t) bv->bv_len );
590 new->bv_val[bv->bv_len] = '\0';
591 new->bv_len = bv->bv_len;
593 return( new );
H A Dencode.c366 Seqorset *new; local
368 if ( (new = (Seqorset *) calloc( sizeof(Seqorset), 1 ))
371 new->sos_ber = ber;
373 new->sos_first = ber->ber_ptr;
375 new->sos_first = ber->ber_sos->sos_ptr;
378 new->sos_ptr = new->sos_first + ber_calc_taglen( tag ) + FOUR_BYTE_LEN;
379 new->sos_tag = tag;
381 new->sos_next = ber->ber_sos;
382 ber->ber_sos = new;
[all...]
H A Dio.c442 BerElement *new; local
444 if ( (new = ber_alloc()) == NULLBER )
447 *new = *ber;
449 return( new );
454 BerElement *new; local
459 if ((new = ber_alloc()) == NULLBER)
461 if ((new->ber_buf = (char *)malloc(bv->bv_len + 1)) == NULL){
462 free(new);
465 SAFEMEMCPY(new->ber_buf, bv->bv_val, bv->bv_len);
466 new
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dcache.c270 LDAPMessage *new; local
281 if (( new = (LDAPMessage *) calloc( 1, sizeof(LDAPMessage) ))
283 if (( new->lm_ber = alloc_ber_with_options( ld )) == NULLBER ) {
284 free( (char *)new );
288 if (( new->lm_ber->ber_buf = (char *) malloc( len ))
290 ber_free( new->lm_ber, 0 );
291 free( (char *)new );
295 SAFEMEMCPY( new->lm_ber->ber_buf, request->ber_buf, len );
296 new->lm_ber->ber_ptr = new
311 LDAPMessage *m, **mp, *req, *new, *prev; local
425 LDAPMessage *m, *new, *prev, *next; local
536 LDAPMessage *new; local
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/ber/
H A Ddecode.c723 struct berval *new; local
725 if ( (new = (struct berval *)NSLBERI_MALLOC( sizeof(struct berval) ))
730 new->bv_val = NULL;
731 new->bv_len = 0;
733 if ( (new->bv_val = (char *)NSLBERI_MALLOC( bv->bv_len + 1 ))
737 SAFEMEMCPY( new->bv_val, bv->bv_val, (size_t) bv->bv_len );
738 new->bv_val[bv->bv_len] = '\0';
739 new->bv_len = bv->bv_len;
742 return( new );
/osnet-11/usr/src/lib/libnetcfg/common/
H A Dlibnetcfg_zio.c108 * a new process contract for the child, as required by
391 * Same as rename(2), except that old and new are relative to zoneid's zone
395 netcfg_zrename(const char *old, const char *new, zoneid_t zoneid) argument
399 zfoparg.zfop_renamearg.zrename_newname = new;
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_attr.c58 char *new; local
74 new = sdup(myself, T, base);
75 if (new == 0)
77 return (new);
82 new = sdup(myself, T, item);
83 if (new == 0)
87 return (new);
94 new = sdup(myself, T, base);
95 if (new == 0)
99 return (new);
194 char **comp = 0, **new, *str; local
276 addFilterComp(char *new, char **comp, int *numComps) argument
[all...]
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dclstdup.c134 FatFragment new; local
138 new = ctx->buffer_map [first];
142 new++;
143 if (ctx->buffer_map [old] != new)
144 return new;
155 FatFragment new; local
159 new = ctx->buffer_map [last];
163 new--;
164 if (ctx->buffer_map [old] != new)
165 return new;
[all...]
/osnet-11/usr/src/lib/libcommputil/common/
H A Dsdp_parse_helper.c239 * start with it builds the new list
244 sdp_list_t *new = NULL; local
247 new = malloc(sizeof (sdp_list_t));
248 if (new == NULL)
250 new->next = NULL;
252 new->value = (char *)calloc(1, len + 1);
254 new->value = (uint64_t *)calloc(1, sizeof (uint64_t));
255 if (new->value == NULL) {
256 free(new);
260 (void) strncpy(new
[all...]
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_handle.c390 dt_handle_status(dtrace_hdl_t *dtp, dtrace_status_t *old, dtrace_status_t *new) argument
394 uintptr_t base = (uintptr_t)new, obase = (uintptr_t)old;
405 if (new->dtst_killed && !old->dtst_killed)
H A Ddt_program.c53 * containing DOF are backward compatible. If a program requires new
242 dtrace_actdesc_t *new; local
245 if ((new = dt_alloc(dtp, sizeof (dtrace_actdesc_t))) == NULL)
251 sdp->dtsd_action_last->dtad_next = new;
256 sdp->dtsd_action = new;
262 edp->dted_action = new;
264 ap->dtad_next = new;
267 sdp->dtsd_action_last = new;
268 bzero(new, sizeof (dtrace_actdesc_t));
269 new
[all...]
/osnet-11/usr/src/lib/libfedfs/common/
H A Dlist_nces.c82 nce_cache_node_t *n, *new, *prev = NULL; local
90 /* Create a new cache entry */
91 new = calloc(sizeof (nce_cache_node_t), 1);
92 if (new == NULL)
94 new->host = strdup(host);
95 if (new->host == NULL)
97 new->port = port;
98 new->numnce = numnce;
99 new->timestamp = time(NULL);
100 new
[all...]
H A Dnsdb_lookup.c127 nsdb_cache_node_t *n, *new, *prev = NULL; local
135 /* Create a new cache entry */
136 new = calloc(sizeof (nsdb_cache_node_t), 1);
137 if (new == NULL)
139 new->host = strdup(host);
140 if (new->host == NULL)
142 new->uuid = strdup(uuid);
143 if (new->uuid == NULL)
145 new->port = port;
146 new
[all...]
H A Dsmf_params.c392 boolean_t new; local
405 new = (scf_pg_get_property(pg, propname, prop) != 0);
411 if (new) {
/osnet-11/usr/src/lib/libfuse/common/
H A Doptions.c262 fuse_opt_apply(struct fuse_args *new, const char *arg, argument
269 rc = fuse_opt_proc(new, arg, opt->value, proc, data);
283 * new. And, if a template for an option contains a space, we may
288 fuse_opt_opt(struct fuse_args *old, struct fuse_args *new, const char *arg, argument
300 return (fuse_opt_proc(new, arg, FUSE_OPT_KEY_OPT, proc, data));
309 rc = fuse_opt_proc(new, arg, opt->value,
326 rc = fuse_opt_apply(new, buffy, opt,
330 rc = fuse_opt_apply(new, arg, opt, proc, data);
332 (void) fuse_opt_add_arg(new, arg);
343 fuse_opt_optgroup(struct fuse_args *old, struct fuse_args *new, cons argument
364 fuse_opt_parse_all(struct fuse_args *old, struct fuse_args *new, const struct fuse_opt opts[], fuse_opt_proc_t proc, void *data, char **allopts) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/
H A Dses_dev.c85 * This function adds a new item to a ddm the array-of-pointers-to-string.
87 * ses_aps_add(mod, &dnode->sdn_lpaths, &dnode->sdn_lpaths_n, new);
91 ses_aps_add(topo_mod_t *mod, char ***p_aps, int *p_n, const char *new) argument
94 char **aps; /* new aps */
98 aps = topo_mod_zalloc(mod, (n + 1) * sizeof (new));
102 bcopy(*p_aps, aps, n * sizeof (new));
103 topo_mod_free(mod, *p_aps, n * sizeof (new));
105 aps[n] = new ? topo_mod_strdup(mod, new) : NULL;
112 ses_aps_findadd(topo_mod_t *mod, char ***p_aps, int *p_n, const char *new, argument
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4/hostbridge/
H A Dhb_sun4.c85 busorrc_insert(topo_mod_t *mod, busorrc_t **head, busorrc_t *new) argument
90 "inserting (%x,%x)\n", new->br_ba_bc, new->br_ba_ac);
94 *head = new;
102 if (new->br_ba_ac == pci->br_ba_ac)
103 if (new->br_ba_bc < pci->br_ba_bc)
105 if (new->br_ba_ac < pci->br_ba_ac)
111 new->br_nextbus = pci;
112 pci->br_prevbus = new;
113 *head = new;
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcopy_auth.c207 krb5_authdata **new; local
213 new = realloc(fctx->out,
215 if (new == NULL)
217 fctx->out = new;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dacquire_cred.c112 char *new, *old; local
122 new = strdup((char *)value->value);
123 if (new == NULL)
128 free(new);
132 krb5_gss_keytab = new;
301 /* ccache does not already exist, create a new one */
/osnet-11/usr/src/lib/krb5/kdb/
H A Dkdb_convert.c52 find_changed_attrs(krb5_db_entry *current, krb5_db_entry *new, argument
60 if (current->attributes != new->attributes)
63 if (current->max_life != new->max_life)
66 if (current->max_renewable_life != new->max_renewable_life)
69 if (current->expiration != new->expiration)
72 if (current->pw_expiration != new->pw_expiration)
76 if (current->last_success != new->last_success)
79 if (current->last_failed != new->last_failed)
82 if (current->fail_auth_count != new->fail_auth_count)
86 if ((current->princ->type == new
[all...]
/osnet-11/usr/src/grub/grub2/util/ieee1275/
H A Dofpath.c379 char *new, *end; local
381 new = strdup (p);
382 end = new + strlen(new) - 1;
383 while (end >= new)
390 return new;

Completed in 66 milliseconds

1234567891011