Home
last modified time | relevance | path

Searched refs:valdat (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/lib/libnsl/yp/
H A Dyp_enum.c151 resp.keydat.dptr = resp.valdat.dptr = NULL;
152 resp.keydat.dsize = resp.valdat.dsize = 0;
186 (size_t)resp.valdat.dsize + 2)) == NULL) {
205 *vallen = (int)resp.valdat.dsize;
206 (void) memcpy(*val, resp.valdat.dptr,
207 (size_t)resp.valdat.dsize);
208 (*val)[resp.valdat.dsize] = '\n';
209 (*val)[resp.valdat.dsize + 1] = '\0';
326 resp.keydat.dptr = resp.valdat.dptr = NULL;
327 resp.keydat.dsize = resp.valdat.dsize = 0;
[all …]
H A Dyp_xdr.c144 xdr_datum(xdrs, &ps->valdat))); in xdr_ypresp_val()
154 xdr_datum(xdrs, &ps->valdat) && in xdr_ypresp_key_val()
319 kv.valdat.dptr = valbuf; in xdr_ypall()
321 kv.valdat.dsize = YPMAXRECORD; in xdr_ypall()
333 kv.keydat.dsize, kv.valdat.dptr, kv.valdat.dsize, in xdr_ypall()
H A Dyp_match.c519 resp.valdat.dptr = NULL; in domatch()
520 resp.valdat.dsize = 0; in domatch()
549 resp.valdat.dsize + 2)) == NULL)) { in domatch()
556 *vallen = (int)resp.valdat.dsize; in domatch()
557 (void) memcpy(*val, resp.valdat.dptr, in domatch()
558 (size_t)resp.valdat.dsize); in domatch()
559 (*val)[resp.valdat.dsize] = '\n'; in domatch()
560 (*val)[resp.valdat.dsize + 1] = '\0'; in domatch()
/titanic_41/usr/src/cmd/ypcmd/
H A Dypv1_prot.h93 #define ypmatch_resp_valdat yp_respbody.yp_resp_valtype.valdat
94 #define ypmatch_resp_valptr yp_respbody.yp_resp_valtype.valdat.dptr
95 #define ypmatch_resp_valsize yp_respbody.yp_resp_valtype.valdat.dsize
102 #define ypfirst_resp_valdat yp_respbody.yp_resp_key_valtype.valdat
103 #define ypfirst_resp_valptr yp_respbody.yp_resp_key_valtype.valdat.dptr
104 #define ypfirst_resp_valsize yp_respbody.yp_resp_key_valtype.valdat.dsize
111 #define ypnext_resp_valdat yp_respbody.yp_resp_key_valtype.valdat
112 #define ypnext_resp_valptr yp_respbody.yp_resp_key_valtype.valdat.dptr
113 #define ypnext_resp_valsize yp_respbody.yp_resp_key_valtype.valdat.dsize
H A Dypserv_proc.c219 resp.valdat = dbm_fetch(fdb, req.keydat); in ypmatch()
220 if (resp.valdat.dptr != NULL) { in ypmatch()
224 fun, resp.valdat.dptr); in ypmatch()
323 &resp.keydat, &resp.valdat, &resp.status, FALSE); in ypfirst()
361 &resp.keydat, &resp.valdat, &resp.status, FALSE); in ypnext()
797 resp.keydat.dptr = resp.valdat.dptr = (char *)NULL; in xdrypserv_ypall()
798 resp.keydat.dsize = resp.valdat.dsize = 0; in xdrypserv_ypall()
802 ypfilter(fdb, (datum *) NULL, &resp.keydat, &resp.valdat, in xdrypserv_ypall()
814 ypfilter(fdb, &resp.keydat, &resp.keydat, &resp.valdat, in xdrypserv_ypall()
867 resp->valdat = dbm_fetch(fdb, tmpname); in multihomed()
[all …]
H A Dypxfr.c823 resp.valdat.dptr = NULL;
824 resp.valdat.dsize = 0;
869 resp.valdat.dptr = NULL;
870 resp.valdat.dsize = 0;
884 interdomain_value = (char *)malloc(resp.valdat.dsize+1);
885 (void) memmove(interdomain_value, resp.valdat.dptr,
886 resp.valdat.dsize);
887 *(interdomain_value+resp.valdat.dsize) = '\0';
888 interdomain_sz = resp.valdat.dsize;
1602 datum valdat; local
[all …]
/titanic_41/usr/src/lib/libbc/libc/yp/
H A Dypv1_prot.h107 #define ypmatch_resp_valdat yp_respbody.yp_resp_valtype.valdat
108 #define ypmatch_resp_valptr yp_respbody.yp_resp_valtype.valdat.dptr
109 #define ypmatch_resp_valsize yp_respbody.yp_resp_valtype.valdat.dsize
116 #define ypfirst_resp_valdat yp_respbody.yp_resp_key_valtype.valdat
117 #define ypfirst_resp_valptr yp_respbody.yp_resp_key_valtype.valdat.dptr
118 #define ypfirst_resp_valsize yp_respbody.yp_resp_key_valtype.valdat.dsize
125 #define ypnext_resp_valdat yp_respbody.yp_resp_key_valtype.valdat
126 #define ypnext_resp_valptr yp_respbody.yp_resp_key_valtype.valdat.dptr
127 #define ypnext_resp_valsize yp_respbody.yp_resp_key_valtype.valdat.dsize
H A Dyp_prot.h162 datum valdat; member
168 datum valdat; member
/titanic_41/usr/src/head/rpcsvc/
H A Dyp_prot.h169 datum valdat; member
174 datum valdat; member
291 #define ypmatch_resp_valdat yp_respbody.yp_resp_valtype.valdat
292 #define ypmatch_resp_valptr yp_respbody.yp_resp_valtype.valdat.dptr
293 #define ypmatch_resp_valsize yp_respbody.yp_resp_valtype.valdat.dsize
300 #define ypfirst_resp_valdat yp_respbody.yp_resp_key_valtype.valdat
301 #define ypfirst_resp_valptr yp_respbody.yp_resp_key_valtype.valdat.dptr
302 #define ypfirst_resp_valsize yp_respbody.yp_resp_key_valtype.valdat.dsize
309 #define ypnext_resp_valdat yp_respbody.yp_resp_key_valtype.valdat
310 #define ypnext_resp_valptr yp_respbody.yp_resp_key_valtype.valdat.dptr
[all …]
H A Dyp.x80 typedef opaque valdat<YPMAXRECORD>;
111 valdat val;
116 valdat val;