Searched defs:vallen (Results 1 - 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/netbootinfo/
H A Dnetbootinfo.c95 size_t vallen = sizeof (valbuf); local
100 switch (bootinfo_get(name, valbuf, &vallen, NULL)) {
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinet6_opt.c197 inet6_opt_set_val(void *databuf, int offset, void *val, socklen_t vallen) argument
199 memcpy((uint8_t *)databuf + offset, val, vallen);
200 return (offset + vallen);
296 inet6_opt_get_val(void *databuf, int offset, void *val, socklen_t vallen) argument
298 memcpy(val, (uint8_t *)databuf + offset, vallen); local
299 return (offset + vallen);
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_enum.c70 int *vallen, /* return: bytes in val */
96 key, keylen, val, vallen);
123 int *vallen) /* return: bytes in val */
126 return (__yp_first_cflookup(domain, map, key, keylen, val, vallen, 1));
134 dofirst(domain, map, pdomb, timeout, key, keylen, val, vallen)
142 int *vallen;
205 *vallen = (int)resp.valdat.dsize;
234 int *vallen, /* return: bytes in val */
260 _ypserv_timeout, outkey, outkeylen, val, vallen);
291 int *vallen) /* retur
64 __yp_first_cflookup( char *domain, char *map, char **key, int *keylen, char **val, int *vallen, int hardlookup) argument
117 yp_first( char *domain, char *map, char **key, int *keylen, char **val, int *vallen) argument
226 __yp_next_cflookup( char *domain, char *map, char *inkey, int inkeylen, char **outkey, int *outkeylen, char **val, int *vallen, int hardlookup) argument
283 yp_next( char *domain, char *map, char *inkey, int inkeylen, char **outkey, int *outkeylen, char **val, int *vallen) argument
[all...]
H A Dyp_match.c68 int vallen; member in struct:cache
96 makenode(char *domain, char *map, int keylen, int vallen) argument
109 ((n->val = malloc(vallen)) == 0)) {
118 * Upon finding a match set the passed in 'val' and 'vallen'
123 int *vallen)
151 *vallen = c->vallen;
177 int *vallen, int hardlookup)
214 *vallen = my_vallen;
228 &_ypserv_timeout, val, vallen);
122 in_cache(char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument
176 __yp_match_cflookup(char *domain, char *map, char *key, int keylen, char **val, int *vallen, int hardlookup) argument
303 yp_match( char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument
354 __yp_match_rsvdport_cflookup( char *domain, char *map, char *key, int keylen, char **val, int *vallen, int hardlookup) argument
488 yp_match_rsvdport( char *domain, char *map, char *key, int keylen, char **val, int *vallen) argument
506 domatch(char *domain, char *map, char *key, int keylen, struct dom_binding *pdomb, struct timeval *timeoutp, char **val, int *vallen) argument
[all...]
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetgrent.c265 int vallen; local
286 &val, &vallen, 0)) != NSS_SUCCESS) {
H A Dgetexecattr.c268 int vallen; local
283 key, &val, &vallen, &ypstatus);
296 massage_netdb((const char **)&val, &vallen);
298 vallen, argp, check_policy);
H A Dnis_common.c130 int vallen = *vallenp; local
132 if ((last = memchr(val, '#', vallen)) == 0) {
133 last = val + vallen;
226 int vallen; local
231 if ((res = _nss_nis_ypmatch(be->domain, map, key, &val, &vallen,
239 parsestat = validate_passwd_ids(&val, &vallen, 1);
241 parsestat = validate_group_ids(&val, &vallen, 1);
250 massage_netdb((const char **)&val, &vallen);
255 parsestat = (*args->str2ent)(val, vallen,
259 args->returnlen = vallen;
282 int vallen; local
[all...]
H A Dgetnetgrent.c366 int vallen; local
371 &val, &vallen, &yperr);
725 int vallen; local
778 &val, &vallen, &yperr);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypcat.c258 int vallen; local
264 vallen = 0;
266 if (err = yp_first(domain, map, &outkey, &outkeylen, &val, &vallen)) {
283 (void) printf("%.*s\n", vallen, val);
289 &val, &vallen)) {
H A Dyppush.c437 int vallen; local
454 &val, &vallen)) {
475 int vallen; local
492 &val, &vallen)) {
512 &outkey, &outkeylen, &val, &vallen)) {
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetgraent.c358 int vallen; local
363 name, strlen(name), &val, &vallen)) {
370 gra = interpret(val, vallen);
H A Dgetpwaent.c380 int vallen; local
385 , &val, &vallen);
392 pwadj = interpret(val, vallen);
/illumos-gate/usr/src/common/net/wanboot/
H A Dbootinfo.c296 bi_put_bootmisc(const char *name, const void *valbuf, size_t vallen) argument
299 (uchar_t *)valbuf, (uint_t)vallen) == 0);
307 bi_putval_chosen(bi_param_t *bip, const void *valbuf, size_t vallen) argument
309 return (bi_put_chosen_prop(bip->bi_name, valbuf, vallen,
314 bi_putval_bootmisc(bi_param_t *bip, const void *valbuf, size_t vallen) argument
316 return (bi_put_bootmisc(bip->bi_name, valbuf, vallen)
368 * 0 => successful, value copied to valbuf, length assigned to *vallen.
454 * bootinfo_put(const char *name, char *valbuf, int vallen,
460 * 0 => successful, valbuf[0..vallen-1] bytes stored in repository
464 bootinfo_put(const char *name, const void *valbuf, size_t vallen, argument
[all...]
H A Dbootlog.c532 size_t vallen = sizeof (hpstr); local
537 if (bootinfo_get(BI_HTTP_PROXY, hpstr, &vallen, NULL) ==
538 BI_E_SUCCESS && vallen > 0) {
539 hpstr[vallen] = '\0';
/illumos-gate/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c318 int vallen = strlen(val); local
324 if (vallen >= MAXVALSIZE) {
330 opp->oprom_size = varlen + vallen;
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Drdn_parser.c167 int vallen; local
192 vallen = 0;
213 vallen++;
214 if (vallen >= valBufSize) {
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dauxprop.c555 * vallen -- length of value, if <= 0 then strlen(value) will be used
558 const char *value, int vallen)
649 if(vallen <= 0)
652 size = (size_t)(vallen + 1);
697 return prop_set(ctx, cur->name, value, vallen);
711 if(vallen <= 0)
714 size = vallen + 1;
557 prop_set(struct propctx *ctx, const char *name, const char *value, int vallen) argument
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.c171 ssize_t vallen; local
173 vallen = scf_limit(name);
174 if (vallen == (ssize_t)-1)
175 vallen = MAXPATHLEN;
176 return (vallen);
251 ssize_t vallen; local
254 vallen = get_scf_limit(SCF_LIMIT_MAX_VALUE_LENGTH);
273 valuestr = malloc(vallen);
296 vallen) < 0)
343 ssize_t vallen; local
473 ssize_t vallen; local
709 ssize_t vallen; local
1063 ssize_t vallen; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_rules.c1088 size_t vallen; local
1092 vallen = (ipversion == AF_INET) ? INET_ADDRSTRLEN : INET6_ADDRSTRLEN;
1097 if (inet_ntop(ipversion, (void *)addrptr, valstr, vallen == NULL))
H A Dilbd_sg.c1208 int ipver, vallen; local
1407 vallen = (ipver == AF_INET) ? INET_ADDRSTRLEN :
1411 if (inet_ntop(ipver, addrptr, ipstr, vallen) == NULL) {
H A Dilbd_scf.c501 size_t vallen; local
505 vallen = (ipversion == AF_INET) ? INET_ADDRSTRLEN :
514 (void) inet_ntop(ipversion, (void *)addrptr, valstr, vallen);
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c560 uint_t vallen, reslen; local
577 vallen = strlen(value);
578 n_entries = vallen / 2;
579 n_entries += vallen % 2;
823 vallen = strlen(cp2);
824 reslen = (vallen + 1) / 2;
825 if (hexascii_to_octet(cp2, vallen,
859 vallen = strlen(currp);
860 reslen = (vallen + 1) / 2;
861 if (hexascii_to_octet(currp, vallen, optstar
[all...]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapsearch.c49 static int write_ldif_value( char *type, char *value, unsigned long vallen,
1109 write_ldif_value( char *type, char *value, unsigned long vallen, argument
1130 if (( ldif = ldif_type_and_value_with_options( type, value, (int)vallen,
/illumos-gate/usr/src/lib/cfgadm_plugins/sysctrl/common/
H A Dcfga.c699 int vallen = strlen(val); local
705 opp->oprom_size = varlen + vallen;
/illumos-gate/usr/src/uts/sun4v/os/
H A Dfillsysinfo.c306 int vallen; local
311 (uint8_t **)&val, &vallen))

Completed in 121 milliseconds

12