Searched defs:vlen (Results 1 - 16 of 16) sorted by relevance

/osnet-11/usr/src/cmd/ldap/common/
H A Dfileurl.c215 * Populate *bvp from "value" of length "vlen."
230 ldaptool_berval_from_ldif_value( const char *value, int vlen, argument
310 bvp->bv_len = vlen;
311 if (( bvp->bv_val = (char *)malloc( vlen + 1 )) == NULL ) {
315 SAFEMEMCPY( bvp->bv_val, value, vlen );
316 bvp->bv_val[ vlen ] = '\0';
H A Dldapmodify.c96 char *value, int vlen );
447 int rc, linenum, vlen, modop, replicaport; local
486 if ( str_parse_line( line, &type, &value, &vlen ) < 0 ) {
488 if ( ldif_parse_line( line, &type, &value, &vlen ) < 0 ) {
561 &ctrl_criticality, &ctrl_value, &vlen)) {
566 rc = ldaptool_berval_from_ldif_value( ctrl_value, vlen,
721 addmodifyop( &pmods, modop, type, value, vlen );
906 addmodifyop( LDAPMod ***pmodsp, int modop, char *attr, char *value, int vlen )
968 printf(gettext("%s: value: %s vlen: %d\n"), "ldapmodify", value, vlen);
[all...]
H A Dcommon.c298 int ctrl_criticality=0, vlen; local
670 &ctrl_criticality, &ctrl_value, &vlen)) {
676 vlen, &(ldctrl->ldctl_value),
1811 char **ctrl_value, int *vlen)
1823 if (( *vlen = ldif_base64_decode( (char *)value,
1830 *vlen = (int)strlen(*ctrl_value);
1845 char **ctrl_value, int *vlen)
1853 *vlen = 0;
1873 return (calculate_ctrl_value( s, ctrl_value, vlen ));
1912 return (calculate_ctrl_value( s, ctrl_value, vlen ));
1810 calculate_ctrl_value( const char *value, char **ctrl_value, int *vlen) argument
1843 ldaptool_parse_ctrl_arg(char *ctrl_arg, char sep, char **ctrl_oid, int *ctrl_criticality, char **ctrl_value, int *vlen) argument
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/util/
H A Dline64.c93 int *vlen
145 * *value, with *vlen set to zero.
149 *vlen = 0;
162 if (( *vlen = ldif_base64_decode( s, (unsigned char *)s ))
177 s[ *vlen ] = '\0';
179 *vlen = (int) (d - s);
321 int vlen, unsigned long options )
349 if ( val && vlen > 0 ) {
351 stop = (unsigned char *) (val + vlen);
358 !LDIF_CONSERVATIVE_FINALCHAR( val[vlen
320 ldif_put_type_and_value_with_options( char **out, char *t, char *val, int vlen, unsigned long options ) argument
509 ldif_type_and_value_with_options( char *type, char *val, int vlen, unsigned long options ) argument
[all...]
/osnet-11/usr/src/lib/libcurses/screen/
H A Dprint.c237 int vlen; local
279 vlen = (value < 0) ? 1 : 0;
280 if ((printed > 0) && (printed + nlen + vlen + 1 > width)) {
393 int vlen; local
441 vlen = digitlen(value);
442 if ((printed > 0) && (printed + nlen + vlen + 2 > width)) {
501 printed += nlen + vlen + 2;
505 printed += nlen + vlen + 1;
506 caplen += nlen + vlen + 1;
511 printed += nlen + vlen
544 size_t nlen, vlen; local
[all...]
/osnet-11/usr/src/lib/fm/libasr/common/
H A Dasr_nvl.c642 int vlen = strlen(value); local
645 if ((s = malloc(vlen)) == NULL) {
650 for (i = 0, j = 0; i < vlen; i++, j++) {
/osnet-11/usr/src/lib/libsip/common/
H A Dsip_ui.c266 int vlen; local
291 vlen = _sip_header_value->value_end - _sip_header_value->value_start;
295 vlen++;
299 vlen++;
327 vlen--;
328 assert(vlen > 0);
331 _sip_header->sip_hdr_sipmsg->sip_msg_len -= vlen;
H A Dsip_dialog.c169 int vlen = 0; local
179 vlen = value->sip_value_end - value->sip_value_start;
186 vlen -= strlen(SIP_CRLF);
189 rset->sip_dlg_route = calloc(1, vlen + 1);
198 (void) strncpy(rset->sip_dlg_route, value->sip_value_start, vlen);
202 rset->sip_dlg_route[vlen] = '\0';
/osnet-11/usr/src/lib/libdladm/common/
H A Dsecobj.c426 uint_t vlen; local
483 vlen = DLADM_SECOBJ_VAL_MAX;
486 sinfo.si_lenp = &vlen;
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_subr.c57 size_t off, len, vlen, wlen; local
73 vlen = 0;
79 * Set vlen to the length of the variable name and then
86 vlen = (size_t)(q + len - v);
94 if (vlen > 2 && v[1] == '$') {
95 vlen--;
105 wlen = vlen - (w - v);
111 vlen = strlen(v);
116 } else if (vlen > 1) {
117 char *vstr = alloca(vlen);
142 bcopy(v, (char *)pdp + off + len, vlen); local
143 bcopy(w, (char *)pdp + off + len + vlen, wlen); local
[all...]
/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_cong.c589 ssize_t vlen; local
613 if ((vlen = scf_value_get_astring(val, buf, *bufsize)) > 0) {
614 *bufsize = vlen;
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Ddigest_md5.c469 int alen, vlen; local
499 vlen = scan - val;
507 vlen = scan - val;
509 if (!vlen)
518 attr_out->clen = vlen;
522 attr_out->charsetlen = vlen;
529 attr_out->dlen = vlen;
533 attr_out->urilen = vlen;
540 attr_out->mlen = vlen;
547 attr_out->nlen = vlen;
[all...]
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_writes.c331 int k, rc, vlen; local
457 vlen = comma1 - attr[k]->attrvalue[0];
460 if (vlen > 0 && c) {
462 mapping[0], c, vlen);
493 vlen = strlen(attr[k]->attrvalue[0]) -
496 if (vlen > 0 && c) {
498 mapping[1], c, vlen);
518 vlen = comma1 - attr[k]->attrvalue[0];
521 if (vlen > 0 && c) {
523 mapping[0], c, vlen);
[all...]
H A Dns_reads.c568 b64_encode(char *value, size_t vlen) argument
575 vlen, LDIF_OPT_NOWRAP);
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c1940 int vlen = strlen(val); local
1942 if (slen != vlen - 2)
1951 ASSERT(vlen >= 6);
1957 if ((strcmp(&val[vlen - 2], "s0") == 0 ||
1958 strcmp(&val[vlen - 2], "s1") == 0) &&
1965 if ((strcmp(&val[vlen - 6], "s0/old") == 0 ||
1966 strcmp(&val[vlen - 6], "s1/old") == 0) &&
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dutil.c1447 #define my_setenv_format(s, nam, nlen, val, vlen) \
1450 Copy(val, s+(nlen+1), vlen, char); \
1451 *(s+(nlen+1+vlen)) = '\0'
1467 int nlen, vlen; local
1500 vlen = strlen(val);
1502 environ[i] = (char*)safesysmalloc((nlen+vlen+2) * sizeof(char));
1504 my_setenv_format(environ[i], nam, nlen, val, vlen);
1511 int nlen = strlen(nam), vlen;
1515 vlen = strlen(val);
1516 new_env = (char*)safesysmalloc((nlen + vlen
1531 int nlen = strlen(nam), vlen; local
[all...]

Completed in 239 milliseconds