Searched refs:vallen (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-10.1-release/contrib/binutils/libiberty/
H A Dsetenv.c88 const size_t vallen = strlen (value) + 1; local
118 new_environ[size] = (char *) malloc (namelen + 1 + vallen);
133 memcpy (&new_environ[size][namelen + 1], value, vallen);
142 if (len + 1 < namelen + 1 + vallen)
145 char *new_string = (char *) malloc (namelen + 1 + vallen);
155 memcpy (&(*ep)[namelen + 1], value, vallen);
/freebsd-10.1-release/contrib/gcclibs/libiberty/
H A Dsetenv.c88 const size_t vallen = strlen (value) + 1; local
118 new_environ[size] = (char *) malloc (namelen + 1 + vallen);
133 memcpy (&new_environ[size][namelen + 1], value, vallen);
142 if (len + 1 < namelen + 1 + vallen)
145 char *new_string = (char *) malloc (namelen + 1 + vallen);
155 memcpy (&(*ep)[namelen + 1], value, vallen);
/freebsd-10.1-release/lib/libc/rpc/
H A Dnetnamer.c86 int vallen; local
120 vallen = val2 - val1;
121 if (vallen > (1024 - 1))
122 vallen = 1024 - 1;
124 val[vallen] = 0;
202 int vallen; local
221 vallen = val2 - val;
222 if (vallen > (hostlen - 1))
223 vallen = hostlen - 1;
224 (void) strncpy(hostname, val, vallen);
[all...]
/freebsd-10.1-release/usr.bin/csup/
H A Dfattr.c342 size_t len, vallen; local
369 vallen = snprintf(piece->val, sizeof(piece->val), "%x", mask);
371 (long long)vallen) + vallen + 1;
374 vallen = snprintf(piece->val, sizeof(piece->val),
377 (long long)vallen) + vallen + 1;
381 vallen = snprintf(piece->val, sizeof(piece->val),
384 (long long)vallen) + vallen
[all...]
H A Dkeyword.c286 size_t left, newsize, vallen; local
360 vallen = 0;
362 vallen = strlen(newval);
364 vallen +
371 memcpy(cp, newval, vallen);
372 cp += vallen;
383 vallen = 0;
385 vallen = strlen(newval);
388 vallen + 2 +
400 memcpy(cp, newval, vallen);
[all...]
/freebsd-10.1-release/contrib/subversion/subversion/libsvn_subr/
H A Dhash.c101 apr_size_t len, keylen, vallen;
157 vallen = (apr_size_t)ui64;
159 valbuf = apr_palloc(iterpool, vallen + 1);
160 SVN_ERR(svn_stream_read(stream, valbuf, &vallen));
161 valbuf[vallen] = '\0';
172 svn_string_ncreate(valbuf, vallen, pool));
407 apr_size_t vallen;
412 vallen = parsed_len;
415 valbuf = apr_palloc(pool, vallen + 1);
417 valbuf, vallen,
98 apr_size_t len, keylen, vallen; local
404 apr_size_t vallen; local
[all...]
H A Dsubst.c529 apr_size_t vallen = value->len;
532 if (vallen > (SVN_KEYWORD_MAX_LEN - 5 - keyword_len))
533 vallen = SVN_KEYWORD_MAX_LEN - 5 - keyword_len;
534 strncpy(buf_ptr + 2, value->data, vallen);
535 buf_ptr[2 + vallen] = ' ';
536 buf_ptr[2 + vallen + 1] = '$';
537 *len = 5 + keyword_len + vallen;
576 apr_size_t vallen = value->len;
579 if (vallen > (SVN_KEYWORD_MAX_LEN - 5 - keyword_len))
580 vallen
526 apr_size_t vallen = value->len; local
573 apr_size_t vallen = value->len; local
[all...]
/freebsd-10.1-release/contrib/ntp/ntpd/
H A Dntp_crypto.c377 vp->vallen = htonl(sizeof(struct autokey));
433 u_int vallen = 0; /* value length */ local
493 vallen = ntohl(ep->vallen);
497 if ( vallen == 0
498 || len - VALUE_LEN < vallen)
552 if (vallen == 0 || vallen > MAXHOSTNAME ||
553 len - VALUE_LEN < vallen) {
621 peer->subject = emalloc(vallen
1098 u_int vallen; local
1431 u_int vallen; /* value length */ local
1543 EVP_VerifyUpdate(ctx, (u_char *)&ep->tstamp, vallen + 12); local
1567 crypto_encrypt( const u_char *ptr, u_int vallen, keyid_t *cookie, struct value *vp ) argument
1754 u_int len, vallen, siglen, opcode; local
[all...]
/freebsd-10.1-release/lib/libc/net/
H A Dip6opt.c499 inet6_opt_set_val(void *databuf, int offset, void *val, socklen_t vallen) argument
502 memcpy((u_int8_t *)databuf + offset, val, vallen);
503 return(offset + vallen);
598 inet6_opt_get_val(void *databuf, int offset, void *val, socklen_t vallen) argument
602 memcpy(val, (u_int8_t *)databuf + offset, vallen); local
604 return(offset + vallen);
/freebsd-10.1-release/contrib/ntp/include/
H A Dntp_crypto.h132 u_int32 vallen; /* value length */ member in struct:value
147 u_int32 vallen; /* value length */ member in struct:exten
/freebsd-10.1-release/usr.bin/chkey/
H A Dchkey.c253 int vallen; local
259 &val, &vallen) != 0) {
/freebsd-10.1-release/contrib/gdb/gdb/
H A Dmonitor.h103 void (*supply_register) (char *name, int namelen, char *val, int vallen);
H A Dabug-rom.c38 abug_supply_register (char *regname, int regnamelen, char *val, int vallen) argument
H A Dcpu32bug-rom.c36 cpu32bug_supply_register (char *regname, int regnamelen, char *val, int vallen) argument
H A Ddbug-rom.c40 dbug_supply_register (char *regname, int regnamelen, char *val, int vallen) argument
H A Ddink32-rom.c34 dink32_supply_register (char *regname, int regnamelen, char *val, int vallen) argument
H A Ddve3900-rom.c67 char *val, int vallen);
378 r3900_supply_register (char *regname, int regnamelen, char *val, int vallen) argument
386 if (regnamelen < 2 || regnamelen > 7 || vallen != 9)
403 for (i = 0, p = valbuf; i < vallen; i++)
H A Dremote-est.c38 est_supply_register (char *regname, int regnamelen, char *val, int vallen) argument
H A Dremote-hms.c33 hms_supply_register (char *regname, int regnamelen, char *val, int vallen) argument
/freebsd-10.1-release/contrib/texinfo/info/
H A Dinfokey.c444 unsigned int vallen = 0;
730 vallen = 0;
755 && add_to_section (&sections[section], val, vallen)
763 else if (vallen < sizeof val)
764 val[vallen++] = c;
442 unsigned int vallen = 0; local
/freebsd-10.1-release/sys/kern/
H A Dkern_environment.c379 int namelen, vallen, i; local
389 vallen = strlen(value) + 1;
390 if (vallen > KENV_MVALLEN + 1)
392 buf = malloc(namelen + vallen, M_KENV, M_WAITOK);
/freebsd-10.1-release/contrib/binutils/binutils/
H A Dresbin.c905 rc_uint_type *len, rc_uint_type *vallen, rc_uint_type *type,
912 *vallen = windres_get_16 (wrbfd, data + 2, 2);
955 rc_uint_type verlen, vallen, type, off; local
962 (unichar **) NULL, &verlen, &vallen, &type, &off);
974 if (vallen == 0)
980 if (vallen != 52)
981 fatal (_("unexpected fixed version information length %ld"), (long) vallen);
1034 (unichar **) NULL, &verlen, &vallen, &type,
1037 if (vallen != 0)
1038 fatal (_("unexpected stringfileinfo value length %ld"), (long) vallen);
903 get_version_header(windres_bfd *wrbfd, const bfd_byte *data, rc_uint_type length, const char *key, unichar **pkey, rc_uint_type *len, rc_uint_type *vallen, rc_uint_type *type, rc_uint_type *off) argument
[all...]
/freebsd-10.1-release/contrib/binutils/opcodes/
H A Dmips-dis.c616 unsigned int i, optionlen, vallen;
653 vallen = len - (optionlen + 1);
658 chosen_abi = choose_abi_by_name (val, vallen);
667 chosen_abi = choose_abi_by_name (val, vallen);
676 chosen_arch = choose_arch_by_name (val, vallen);
689 chosen_arch = choose_arch_by_name (val, vallen);
702 chosen_abi = choose_abi_by_name (val, vallen);
708 chosen_arch = choose_arch_by_name (val, vallen);
614 unsigned int i, optionlen, vallen; local
/freebsd-10.1-release/bin/sh/
H A Dvar.c224 size_t vallen; local
247 vallen = 0;
249 vallen = strlen(val);
250 len += vallen;
257 memcpy(nameeq + namelen + 1, val, vallen + 1);
/freebsd-10.1-release/libexec/ypxfr/
H A Dypxfr_main.c121 ypxfr_foreach(int status, char *key, int keylen, char *val, int vallen, argument
142 if (vallen) {
144 dbval.size = vallen;

Completed in 340 milliseconds

12