Searched refs:vlen (Results 1 - 25 of 67) sorted by relevance

123

/macosx-10.10/cups-408/cups/ppdc/
H A Dppdc-string.cxx39 size_t vlen = strlen(v); local
41 value = new char[vlen + 1];
42 memcpy(value, v, vlen + 1);
H A Dppdmerge.cxx300 size_t vlen; // Length of LanguageVersion string local
336 vlen = strlen(languages[i].version);
338 if (!_cups_strncasecmp(ppd->lang_version, languages[i].version, vlen))
340 if (ppd->lang_version[vlen] == '-' ||
341 ppd->lang_version[vlen] == '_')
343 ppd->lang_version + vlen + 1);
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/
H A Dpkcs12.c56 int i, vlen; local
69 vlen = EVP_MD_block_size(md);
70 v = malloc(vlen + 1);
76 I = calloc(1, vlen * 2);
84 for (i = 0; i < vlen; i++)
86 size_I += vlen;
94 for (i = 0; i < vlen / 2; i++) {
98 size_I += vlen;
110 for (i = 0; i < vlen; i++)
124 for (i = 0; i < vlen;
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/include/
H A Dldif.h49 * tlen) and value (length vlen) will take up: room for type + ":: " +
53 #define LDIF_SIZE_NEEDED(nlen,vlen) \
54 ((nlen) + 4 + LDIF_BASE64_LEN(vlen) \
55 + ((LDIF_BASE64_LEN(vlen) + (nlen) + 3) / LDIF_LINE_WIDTH * 2 ))
57 #define LDIF_SIZE_NEEDED_WRAP(nlen,vlen,wrap) \
58 ((nlen) + 4 + LDIF_BASE64_LEN(vlen) \
59 + ((wrap) == 0 ? ((LDIF_BASE64_LEN(vlen) + (nlen) + 3) / ( LDIF_LINE_WIDTH ) * 2 ) : \
60 ((wrap) == LDIF_LINE_WIDTH_MAX ? 0 : ((LDIF_BASE64_LEN(vlen) + (nlen) + 3) / (wrap) * 2 ))))
67 ber_len_t *vlen ));
83 ber_len_t *vlen ));
[all...]
/macosx-10.10/CPANInternal-159.1/IO-Socket-SSL/util/
H A Dexport_certs.pl28 my ($rec_type, $data, $klen, $vlen, $cert);
37 $vlen = length($val);
39 "'$klen, \t value len: '$vlen'.\n";
/macosx-10.10/shell_cmds-179/locate/locate/
H A Dutil.c91 int vlen, slen; local
108 for(vlen = 0, pv = dbv; *pv != NULL; pv++, vlen++);
126 if ((dbv = realloc(dbv, sizeof(char **) * (vlen + 2)))
129 *(dbv + vlen) = p;
130 *(dbv + ++vlen) = NULL;
/macosx-10.10/tcl-105/tcl_ext/sdx/sdx/lib/stringfileinfo/
H A Dstringfileinfo.tcl46 scan [string range $data $s end] %c%c%c slen vlen type
49 set name [string range $data [expr {$s + 3}] [expr {$s + $slen - $vlen - 1}]]
50 set value [string range $data [expr {$s + $slen - $vlen}] [expr {$s + $slen - 2}]]
92 set vlen [expr {[string length $val($x)] + 1}]
95 set tlen [expr {$vlen + $nlen + $npad + 4}]
101 #puts "value length $val($x) $vlen chars"
108 puts -nonewline $fh [binary format sss [expr {$tlen * 2}] $vlen 1]
/macosx-10.10/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/include/idn/
H A Dunicode.h111 * which can hold 'vlen' characters. The number of decomposed characters
123 * idn_buffer_overflow -- 'vlen' is too small.
127 int compat, unsigned long *v, size_t vlen,
/macosx-10.10/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/lib/
H A Dunicode.c152 int compat, unsigned long *v, size_t vlen,
158 assert(v != NULL && vlen >= 0 && decomp_lenp != NULL);
174 if ((t_offset == 0 && vlen < 2) || (t_offset > 0 && vlen < 3))
205 r = idn__unicode_decompose(version, compat, v, vlen, c, &dlen);
208 vlen -= dlen;
210 if (vlen < 1)
213 vlen--;
151 idn__unicode_decompose(idn__unicode_version_t version, int compat, unsigned long *v, size_t vlen, unsigned long c, int *decomp_lenp) argument
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/bench/
H A Dbench_wtext.tcl54 set vlen 0
59 if {$l > $vlen} {set vlen $l}
75 lappend LINES " [PADL $idlen $n]: [PADR $vlen $v] $ip"
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Dldif.c499 ber_len_t vlen )
501 ldif_sput_wrap( out, type, name, val, vlen, LDIF_LINE_WIDTH );
510 ber_len_t vlen,
532 if( vlen ) {
564 if( vlen == 0 ) {
595 for ( i=0; i < vlen; i++ ) {
615 stop = (const unsigned char *) (val + vlen);
619 && isgraph( (unsigned char) val[vlen-1] )
718 ber_len_t vlen )
720 return ldif_put_wrap( type, name, val, vlen, LDIF_LINE_WIDT
505 ldif_sput_wrap( char **out, int type, LDAP_CONST char *name, LDAP_CONST char *val, ber_len_t vlen, ber_len_t wrap ) argument
724 ldif_put_wrap( int type, LDAP_CONST char *name, LDAP_CONST char *val, ber_len_t vlen, ber_len_t wrap ) argument
[all...]
/macosx-10.10/postfix-255/postfix/src/util/
H A Ddict_cdb.c101 unsigned vlen; local
144 vlen = cdb_datalen(&dict_cdbq->cdb);
145 if (len < vlen) {
147 buf = mymalloc(vlen + 1);
149 buf = myrealloc(buf, vlen + 1);
150 len = vlen;
152 if (cdb_read(&dict_cdbq->cdb, buf, vlen,
155 buf[vlen] = '\0';
/macosx-10.10/dtrace-147/libctf/
H A Dctf_create.c223 uint_t vlen = CTF_INFO_VLEN(dtd->dtd_data.ctt_info); local
239 size += sizeof (ushort_t) * (vlen + (vlen & 1));
244 size += sizeof (ctf_member_t) * vlen;
246 size += sizeof (ctf_lmember_t) * vlen;
249 size += sizeof (ctf_enum_t) * vlen;
281 uint_t vlen = CTF_INFO_VLEN(dtd->dtd_data.ctt_info); local
335 for (argc = 0; argc < vlen; argc++)
338 if (vlen & 1)
684 uint_t vlen; local
864 uint_t kind, vlen, root; local
921 uint_t kind, vlen, root; local
1092 uint_t kind, flag, vlen; local
[all...]
H A Dctf_open.c221 ushort_t info, vlen; local
277 vlen = LCTF_INFO_VLEN(fp, info);
282 * (+2) and the argument list (vlen).
285 vlen == 0)
288 funcoff += sizeof (ushort_t) * (vlen + 2);
336 ulong_t vlen = LCTF_INFO_VLEN(fp, tp->ctt_info); local
353 vbytes = sizeof (ushort_t) * (vlen + (vlen & 1));
362 vbytes = sizeof (ctf_member_t) * vlen;
363 for (n = vlen;
456 ulong_t vlen = LCTF_INFO_VLEN(fp, tp->ctt_info); local
[all...]
/macosx-10.10/Libc-1044.1.2/stdio/FreeBSD/
H A Dvfprintf.c1014 int vlen; /* Length returned by asprintf(). */ local
1158 vlen = asprintf_l(&vstr, loc, vfmt , ## args, vval.vuchararg[ind]); \
1161 vlen = asprintf_l(&vstr, loc, vfmt , ## args, (void *)(uintptr_t)vval.vuchararg[ind]); \
1164 vlen = asprintf_l(&vstr, loc, vfmt , ## args, vval.vushortarg[ind]); \
1167 vlen = asprintf_l(&vstr, loc, vfmt , ## args, (void *)(uintptr_t)vval.vushortarg[ind]); \
1170 vlen = asprintf_l(&vstr, loc, vfmt , ## args, vval.vuintarg[ind]); \
1173 vlen = asprintf_l(&vstr, loc, vfmt , ## args, (void *)(uintptr_t)vval.vuintarg[ind]); \
1176 vlen = asprintf_l(&vstr, loc, vfmt , ## args, vval.vulonglongarg[ind]); \
1179 vlen = asprintf_l(&vstr, loc, vfmt , ## args, (void *)(uintptr_t)vval.vulonglongarg[ind]); \
1182 vlen
[all...]
H A Dvfwprintf.c1084 int vlen; /* Length returned by asprintf(). */ local
1228 vlen = asprintf_l(&vstr, loc, vfmt , ## args, vval.vuchararg[ind]); \
1231 vlen = asprintf_l(&vstr, loc, vfmt , ## args, (void *)(uintptr_t)vval.vuchararg[ind]); \
1234 vlen = asprintf_l(&vstr, loc, vfmt , ## args, vval.vushortarg[ind]); \
1237 vlen = asprintf_l(&vstr, loc, vfmt , ## args, (void *)(uintptr_t)vval.vushortarg[ind]); \
1240 vlen = asprintf_l(&vstr, loc, vfmt , ## args, vval.vuintarg[ind]); \
1243 vlen = asprintf_l(&vstr, loc, vfmt , ## args, (void *)(uintptr_t)vval.vuintarg[ind]); \
1246 vlen = asprintf_l(&vstr, loc, vfmt , ## args, vval.vulonglongarg[ind]); \
1249 vlen = asprintf_l(&vstr, loc, vfmt , ## args, (void *)(uintptr_t)vval.vulonglongarg[ind]); \
1252 vlen
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Dldif.c498 ber_len_t vlen )
517 if( vlen ) {
549 if( vlen == 0 ) {
580 for ( i=0; i < vlen; i++ ) {
600 stop = (const unsigned char *) (val + vlen);
604 && isgraph( (unsigned char) val[vlen-1] )
701 ber_len_t vlen )
708 buf = (char *) ber_memalloc( LDIF_SIZE_NEEDED( nlen, vlen ) + 1 );
717 ldif_sput( &p, type, name, val, vlen );
725 ber_len_t vlen )
[all...]
/macosx-10.10/bash-94.1.2/bash-3.2/
H A Dalias.c543 int vlen, llen; local
546 vlen = strlen (v);
550 RESIZE_MALLOCED_BUFFER (line, llen, (vlen + 3), line_len, (vlen + 50));
554 if ((expand_this_token && vlen && whitespace (v[vlen - 1])) ||
/macosx-10.10/perl-103/versioner/
H A Dversioner.c214 size_t vlen = strlen(version); local
218 if ((len = strlen(*argv)) + vlen >= sizeof(buf)) continue;
228 if (EXPECT_TRUE(len + vlen + 1 < sizeof(buf))) {
237 memmove(punct + vlen, punct, strlen(punct) + 1);
238 memcpy(punct, version, vlen);
258 size_t vlen; local
306 vlen = strlen(data.version);
361 if (EXPECT_FALSE(strlen(path) + vlen >= sizeof(path))) errx(1, "%s: Can't append \"%s\"", path, data.version);
/macosx-10.10/dtrace-147/sys/
H A Dctf.h196 * ctt_info: | kind | isroot | vlen |
201 * vlen = CTF_INFO_VLEN(c.ctt_info); <-- length of variable data list
206 * c.ctt_info = CTF_TYPE_INFO(kind, vlen);
217 #define CTF_TYPE_INFO(kind, isroot, vlen) \
218 (((kind) << 11) | (((isroot) ? 1 : 0) << 10) | ((vlen) & CTF_MAX_VLEN))
244 #define CTF_TYPE_INFO_V1(kind, isroot, vlen) \
245 (((kind) << 12) | (((isroot) ? 1 : 0) << 11) | ((vlen) & 0x07ff))
/macosx-10.10/OpenSSL098-52/src/crypto/asn1/
H A Dasn1_gen.c119 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass);
276 int vlen = 0; local
287 vlen = len - (vstart - elem);
326 if (!parse_tagging(vstart, vlen, &arg->imp_tag, &arg->imp_class))
332 if (!parse_tagging(vstart, vlen, &tmp_tag, &tmp_class))
380 static int parse_tagging(const char *vstart, int vlen, int *ptag, int *pclass) argument
389 if (eptr && *eptr && (eptr > vstart + vlen))
399 vlen -= eptr - vstart;
401 vlen = 0;
402 if (vlen)
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/tests/progs/
H A Dslapd-addel.c196 addmodifyop( LDAPMod ***pmodsp, int modop, char *attr, char *value, int vlen )
256 bvp->bv_len = vlen;
257 if (( bvp->bv_val = (char *)malloc( vlen + 1 )) == NULL ) {
261 AC_MEMCPY( bvp->bv_val, value, vlen );
262 bvp->bv_val[ vlen ] = '\0';
/macosx-10.10/dtrace-147/libdtrace/
H A Ddt_subr.c61 size_t off, len, vlen; local
77 vlen = 0;
81 * Set vlen to the length of the variable name and then
88 vlen = (size_t)(q + len - v);
96 if (vlen > 2 && v[1] == '$') {
97 vlen--;
109 errno != 0 || end != v + vlen)
113 vlen = strlen(v);
118 } else if (vlen > 1) {
119 char *vstr = alloca(vlen);
152 bcopy(v, (char *)pdp + off + len, vlen); local
[all...]
/macosx-10.10/dtrace-147/tools/ctfconvert/
H A Dctf.c779 size_t vlen = CTF_INFO_VLEN(ctt->ctt_info); local
796 dptr += sizeof (ushort_t) * (vlen + (vlen & 1));
804 dptr += sizeof (ctf_member_t) * vlen;
806 dptr += sizeof (ctf_lmember_t) * vlen;
809 dptr += sizeof (ctf_enum_t) * vlen;
1012 int kind, vlen; local
1055 vlen = CTF_INFO_VLEN(ctt->ctt_info);
1126 for (i = 0, mpp = &tdp->t_members; i < vlen;
1141 for (i = 0, mpp = &tdp->t_members; i < vlen;
[all...]
/macosx-10.10/bash-94.1.2/bash-3.2/builtins/
H A Ddeclare.c334 int vlen; local
335 vlen = STRLEN (value);
339 if (value[0] == '(' && value[vlen-1] == ')')

Completed in 314 milliseconds

123