Searched refs:bufp (Results 51 - 75 of 90) sorted by relevance

1234

/osnet-11/usr/src/lib/libshare_plugins/smb/
H A Dlibshare_smb.c1158 char *bufp = *bufpp; local
1164 if (bufp == NULL)
1174 curlen = strlen(bufp);
1178 bufp = realloc(bufp, (*buf_len) + chunksize);
1179 if (bufp != NULL) {
1180 *bufpp = bufp;
1189 buf_endp = bufp + curlen;
1200 char *bufp; local
1207 if ((bufp
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/common/
H A Dopl_ioboard.c227 char *bufp; local
235 (unsigned char **)&bufp) != -1) {
236 (void) strlcpy(model, bufp, MAXNAMELEN);
/osnet-11/usr/src/cmd/sendmail/src/
H A Drecipient.c176 char *SM_NONVOLATILE bufp; local
207 bufp = buf;
211 bufp = sm_malloc_x(i);
212 endp = bufp + i;
216 (void) sm_strlcpy(bufp, denlstring(list, false, true), i);
219 for (p = bufp; *p != '\0'; )
307 if (bufp != buf)
308 sm_free(bufp);
346 char *SM_NONVOLATILE bufp; local
372 bufp
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-mem/common/
H A Dmem_mdesc.c425 uint64_t *bufp; local
438 bufsiz = ldom_get_core_md(lhp, &bufp);
440 bufsiz = ldom_get_local_md(lhp, &bufp);
448 if ((mdp = md_init_intern(bufp, mem_alloc, mem_free)) == NULL ||
450 mem_free(bufp, (size_t)bufsiz);
470 mem_free(bufp, (size_t)bufsiz);
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dregexec.c44 static regoff_t re_search_2_stub (struct re_pattern_buffer *bufp,
50 static regoff_t re_search_stub (struct re_pattern_buffer *bufp,
313 re_match (bufp, string, length, start, regs)
314 struct re_pattern_buffer *bufp;
319 return re_search_stub (bufp, string, length, start, 0, length, regs, true);
326 re_search (bufp, string, length, start, range, regs)
327 struct re_pattern_buffer *bufp;
333 return re_search_stub (bufp, string, length, start, range, length, regs,
341 re_match_2 (bufp, string1, length1, string2, length2, start, regs, stop)
342 struct re_pattern_buffer *bufp;
370 re_search_2_stub(struct re_pattern_buffer *bufp, const char *string1, Idx length1, const char *string2, Idx length2, Idx start, regoff_t range, struct re_registers *regs, Idx stop, bool ret_len) argument
418 re_search_stub(struct re_pattern_buffer *bufp, const char *string, Idx length, Idx start, regoff_t range, Idx stop, struct re_registers *regs, bool ret_len) argument
[all...]
H A Dregcomp.c24 static void re_compile_fastmap_iter (regex_t *bufp,
218 re_compile_pattern (pattern, length, bufp)
221 struct re_pattern_buffer *bufp;
225 struct re_pattern_buffer *bufp)
233 bufp->no_sub = !!(re_syntax_options & RE_NO_SUB);
236 bufp->newline_anchor = 1;
238 ret = re_compile_internal (bufp, pattern, length, re_syntax_options);
277 re_compile_fastmap (bufp)
278 struct re_pattern_buffer *bufp;
280 re_dfa_t *dfa = (re_dfa_t *) bufp
309 re_compile_fastmap_iter(regex_t *bufp, const re_dfastate_t *init_state, char *fastmap) argument
[all...]
/osnet-11/usr/src/lib/libhotplug/common/
H A Dlibhotplug.c1188 hp_pack(hp_node_t root, char **bufp, size_t *lenp) argument
1196 i_hp_dprintf("hp_pack: root=%p, bufp=%p, lenp=%p\n", (void *)root,
1197 (void *)bufp, (void *)lenp);
1199 if ((root == NULL) || (bufp == NULL) || (lenp == NULL)) {
1205 *bufp = NULL;
1237 *bufp = buf;
1355 i_hp_pack_branch(hp_node_t root, char **bufp, size_t *lenp) argument
1364 *bufp = NULL;
1399 *bufp = buf;
1414 i_hp_pack_node(hp_node_t node, char **bufp, size_ argument
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dlocaltime.c1617 char *bufp; local
1636 * It would be nice to use alloca() to allocate bufp but,
1641 cp = bufp = lmalloc(flen);
1642 if (bufp == NULL) {
1646 if ((nread = read(fid, bufp, flen)) != flen) {
1647 lfree(bufp, flen);
1652 lfree(bufp, flen);
1656 lfree(bufp, flen);
1674 lfree(bufp, flen);
1684 lfree(bufp, fle
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dllib-lldap296 int ldap_translate_from_t61( LDAP *ld, char **bufp,
298 int ldap_translate_to_t61( LDAP *ld, char **bufp,
304 int ldap_t61_to_8859( char **bufp, unsigned int *buflenp,
306 int ldap_8859_to_t61( char **bufp, unsigned int *buflenp,
/osnet-11/usr/src/lib/libpcp/common/
H A Dlibpcp.c87 static int vldc_read(int fd, uint8_t *bufp, int size);
88 static int vldc_write(int fd, uint8_t *bufp, int size);
1377 vldc_write(int fd, uint8_t *bufp, int size) argument
1395 if ((res = write(fd, bufp, left)) <= 0) {
1400 bufp += res;
1415 vldc_read(int fd, uint8_t *bufp, int size) argument
1431 res = read(fd, bufp, left);
1446 bufp += res;
/osnet-11/usr/src/lib/nsswitch/dns/common/
H A Dgethostent.c393 _nss_get_dns_hosts_name(dns_backend_ptr_t *be, void **bufp, size_t *sizep) argument
395 return (_nss_dns_gethost_withttl(*bufp, *sizep, 0));
H A Dgethostent6.c565 _nss_get_dns_ipnodes_name(dns_backend_ptr_t *be, void **bufp, size_t *sizep) argument
567 return (_nss_dns_gethost_withttl(*bufp, *sizep, 1));
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ho.c327 char *bufp, *ndbuf, *dbuf = NULL; local
339 bufp = pvt->hostbuf;
343 if (!(p = fgets(bufp + offset, bufsiz - offset, pvt->fp))) {
354 strcpy(ndbuf, bufp);
359 bufp = dbuf;
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dldap-int.h661 int ldap_next_line_tokens( char **bufp, long *blenp, char ***toksp );
846 int ldap_translate_from_t61( LDAP *ld, char **bufp,
848 int ldap_translate_to_t61( LDAP *ld, char **bufp,
853 int ldap_t61_to_8859( char **bufp, unsigned long *buflenp,
855 int ldap_8859_to_t61( char **bufp, unsigned long *buflenp,
H A Dllib-lldap323 int ldap_translate_from_t61( LDAP *ld, char **bufp,
326 int ldap_translate_to_t61( LDAP *ld, char **bufp,
332 int ldap_t61_to_8859(char **bufp, unsigned long *buflenp,
335 int ldap_8859_to_t61(char **bufp, unsigned long *buflenp,
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelVerify.c406 digest_buf_t *bufp = session_p->verify.context; local
413 if (bufp == NULL || bufp->buf == NULL) {
418 rv = C_Verify(hSession, bufp->buf, bufp->indata_len,
/osnet-11/usr/src/lib/libshare_plugins/nfs/
H A Dlibshare_nfs.c3182 char *bufp = *bufpp; local
3189 if (bufp == NULL)
3237 curlen = strlen(bufp);
3241 bufp = realloc(bufp, (*buf_len) + chunksize);
3242 if (bufp != NULL) {
3243 *bufpp = bufp;
3252 buf_endp = bufp + curlen;
3268 char *bufp; local
3279 if ((bufp
[all...]
/osnet-11/usr/src/lib/libsysevent/
H A Dlibevchannel.c861 char buf[1024], *bufp = buf; /* stack buffer */ local
873 uargs.packednvl.name = (uint64_t)(uintptr_t)bufp;
895 bufp = buf2 = malloc(sz);
910 nvlist_unpack(bufp, uargs.packednvl.len, nvlp, 0) != 0)
/osnet-11/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c573 char *bufp, *cp; local
940 if ((bufp = strdup(
944 if ((cp = strpbrk(bufp, " \t")) != NULL)
947 if ((access(bufp, F_OK) == -1) && (errno == ENOENT))
949 free(bufp);
961 &bufp, 10);
962 if ((errno != 0) || (*bufp != '\0') ||
/osnet-11/usr/src/lib/libshare_plugins/legacy/
H A Dlibshare_legacy.c426 char *bufp = NULL; local
435 if (nvlist_pack(share, &bufp, &buflen, NV_ENCODE_XDR, 0) != 0) {
444 rc = legacy_share_rsrc_write(legacy_hdl, sh_name, bufp, buflen);
457 if (bufp != NULL)
458 free(bufp);
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_ctl.c1372 char *bufp; local
1377 if ((bufp = calloc(1, buflen)) == NULL) {
1400 if (realpath(spec, bufp) == NULL) {
1405 if (!(rv = hba_dev_cmp(hba_phys, bufp))) {
1414 S_FREE(bufp);
/osnet-11/usr/src/lib/libds/common/
H A Dlibds.c228 uchar_t *bufp; local
292 nvlist_lookup_byte_array(nvl, VLDS_DATA, &bufp,
294 (data_cb)((ds_hdl_t)hdl, cb_arg, bufp, buflen);
/osnet-11/usr/src/cmd/sendmail/db/hash/
H A Dhash_dup.c380 __ham_make_dup(notdup, duplicate, bufp, sizep)
383 void **bufp;
392 if ((ret = __ham_init_dbt(duplicate, tsize, bufp, sizep)) != 0)
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlbridge.c272 datalink_id_t linkid, void **bufp, size_t inlen, size_t *buflenp,
295 (void) memcpy(bdc + 1, *bufp, inlen);
300 arg.rbuf = *bufp;
327 if (arg.rbuf != *bufp) {
331 newp = realloc(*bufp, arg.data_size);
335 *bufp = newp;
336 (void) memcpy(*bufp, arg.rbuf,
344 } else if (arg.data_size != *buflenp || arg.rbuf != *bufp) {
271 bridge_door_call(const char *instname, bridge_door_type_t dtype, datalink_id_t linkid, void **bufp, size_t inlen, size_t *buflenp, boolean_t is_list) argument
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c492 errcode_t profile_flush_file_data_to_buffer (prf_data_t data, char **bufp) argument
498 retval = profile_write_tree_to_buffer(data->root, bufp);

Completed in 608 milliseconds

1234