Home
last modified time | relevance | path

Searched refs:valsize (Results 1 – 22 of 22) sorted by relevance

/dflybsd-src/contrib/binutils-2.27/gold/
H A Dint_encoding.h100 template <int valsize>
102 typename elfcpp::Valtype_base<valsize>::Valtype value) in insert_into_vector()
104 unsigned char buffer[valsize / 8]; in insert_into_vector()
106 elfcpp::Swap_unaligned<valsize, true>::writeval(buffer, value); in insert_into_vector()
108 elfcpp::Swap_unaligned<valsize, false>::writeval(buffer, value); in insert_into_vector()
109 destination->insert(destination->end(), buffer, buffer + valsize / 8); in insert_into_vector()
114 template <int valsize>
115 typename elfcpp::Valtype_base<valsize>::Valtype
118 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
120 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(source); in read_from_pointer()
[all …]
H A Dreloc.h324 template<int valsize>
358 template<int valsize>
366 return (Bits<valsize>::has_overflow32(value) in check_overflow()
370 return (Bits<valsize>::has_overflow(value) in check_overflow()
375 return (Bits<valsize>::has_unsigned_overflow32(value) in check_overflow()
379 return (Bits<valsize>::has_unsigned_overflow(value) in check_overflow()
384 return (Bits<valsize>::has_signed_unsigned_overflow32(value) in check_overflow()
388 return (Bits<valsize>::has_signed_unsigned_overflow64(value) in check_overflow()
399 template<int valsize>
403 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rel()
[all …]
H A Dtilegx.cc813 template<int valsize>
822 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
824 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in rela()
836 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | (reloc<<doffset)); in rela()
840 template<int valsize>
849 typedef typename elfcpp::Swap_unaligned<valsize, big_endian>::Valtype in rela_ua()
852 Valtype val = elfcpp::Swap_unaligned<valsize, big_endian>::readval(wv); in rela_ua()
864 elfcpp::Swap_unaligned<valsize, big_endian>::writeval(wv, in rela_ua()
868 template<int valsize>
878 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
[all …]
H A Dsparc.cc539 template<int valsize>
543 typename elfcpp::Elf_types<valsize>::Elf_Addr dst_mask, in rela()
547 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
549 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in rela()
555 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | reloc); in rela()
560 template<int valsize>
564 typename elfcpp::Elf_types<valsize>::Elf_Addr dst_mask, in rela()
567 typename elfcpp::Swap<valsize, big_endian>::Valtype addend) in rela() argument
569 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
571 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in rela()
[all …]
H A Ddwarf_reader.cc1422 template <int valsize>
1423 inline typename elfcpp::Valtype_base<valsize>::Valtype
1426 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
1428 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(source); in read_from_pointer()
1430 return_value = elfcpp::Swap_unaligned<valsize, false>::readval(source); in read_from_pointer()
1435 template <int valsize>
1436 inline typename elfcpp::Valtype_base<valsize>::Valtype
1439 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
1441 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(*source); in read_from_pointer()
1443 return_value = elfcpp::Swap_unaligned<valsize, false>::readval(*source); in read_from_pointer()
[all …]
H A Ddwarf_reader.h739 template <int valsize>
740 inline typename elfcpp::Valtype_base<valsize>::Valtype
744 template <int valsize>
745 inline typename elfcpp::Valtype_base<valsize>::Valtype
H A Daarch64.cc5023 template<int valsize>
5030 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in update_view()
5032 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in update_view()
5036 elfcpp::Swap<valsize, big_endian>::writeval(wv, in update_view()
5044 template<int valsize>
5054 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in update_view_two_parts()
5056 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in update_view_two_parts()
5058 elfcpp::Swap<valsize, big_endian>::writeval(wv, in update_view_two_parts()
5113 template<int valsize>
5128 This::template update_view<valsize>(view, immed, in reloc_common()
[all …]
H A Dpowerpc.cc1524 template<int valsize>
1529 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_signed()
1530 limit <<= ((valsize - 1) >> 1); in has_overflow_signed()
1531 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_signed()
1535 template<int valsize>
1539 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_unsigned()
1540 limit <<= ((valsize - 1) >> 1); in has_overflow_unsigned()
1541 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_unsigned()
1545 template<int valsize>
1549 return (has_overflow_unsigned<valsize>(value) in has_overflow_bitfield()
[all …]
H A Dmips.cc4274 template<int valsize>
4279 return (Bits<valsize>::has_overflow32(value) in check_overflow()
4283 return (Bits<valsize>::has_overflow(value) in check_overflow()
/dflybsd-src/contrib/binutils-2.34/gold/
H A Dint_encoding.h100 template <int valsize>
102 typename elfcpp::Valtype_base<valsize>::Valtype value) in insert_into_vector()
104 unsigned char buffer[valsize / 8]; in insert_into_vector()
106 elfcpp::Swap_unaligned<valsize, true>::writeval(buffer, value); in insert_into_vector()
108 elfcpp::Swap_unaligned<valsize, false>::writeval(buffer, value); in insert_into_vector()
109 destination->insert(destination->end(), buffer, buffer + valsize / 8); in insert_into_vector()
114 template <int valsize>
115 typename elfcpp::Valtype_base<valsize>::Valtype
118 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
120 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(source); in read_from_pointer()
[all …]
H A Dreloc.h324 template<int valsize>
358 template<int valsize>
366 return (Bits<valsize>::has_overflow32(value) in check_overflow()
370 return (Bits<valsize>::has_overflow(value) in check_overflow()
375 return (Bits<valsize>::has_unsigned_overflow32(value) in check_overflow()
379 return (Bits<valsize>::has_unsigned_overflow(value) in check_overflow()
384 return (Bits<valsize>::has_signed_unsigned_overflow32(value) in check_overflow()
388 return (Bits<valsize>::has_signed_unsigned_overflow64(value) in check_overflow()
399 template<int valsize>
403 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rel()
[all …]
H A Ddwarf_reader.cc1437 template <int valsize>
1438 inline typename elfcpp::Valtype_base<valsize>::Valtype
1441 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
1443 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(source); in read_from_pointer()
1445 return_value = elfcpp::Swap_unaligned<valsize, false>::readval(source); in read_from_pointer()
1450 template <int valsize>
1451 inline typename elfcpp::Valtype_base<valsize>::Valtype
1454 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
1456 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(*source); in read_from_pointer()
1458 return_value = elfcpp::Swap_unaligned<valsize, false>::readval(*source); in read_from_pointer()
[all …]
H A Ddwarf_reader.h739 template <int valsize>
740 inline typename elfcpp::Valtype_base<valsize>::Valtype
744 template <int valsize>
745 inline typename elfcpp::Valtype_base<valsize>::Valtype
/dflybsd-src/contrib/grep/lib/
H A Dargmatch.c83 const void *vallist, size_t valsize) in argmatch() argument
107 || memcmp ((char const *) vallist + valsize * matchind, in argmatch()
108 (char const *) vallist + valsize * i, valsize)) in argmatch()
145 const void *vallist, size_t valsize) in argmatch_valid() argument
155 || memcmp (last_val, (char const *) vallist + valsize * i, valsize)) in argmatch_valid()
158 last_val = (char const *) vallist + valsize * i; in argmatch_valid()
176 const void *vallist, size_t valsize, in __xargmatch_internal() argument
179 ptrdiff_t res = argmatch (arg, arglist, vallist, valsize); in __xargmatch_internal()
186 argmatch_valid (arglist, vallist, valsize); in __xargmatch_internal()
197 const void *vallist, size_t valsize) in argmatch_to_argument() argument
[all …]
H A Dargmatch.h53 void const *vallist, size_t valsize) _GL_ATTRIBUTE_PURE;
79 void const *vallist, size_t valsize);
91 void const *vallist, size_t valsize,
106 void const *vallist, size_t valsize)
/dflybsd-src/sys/kern/
H A Duipc_socket.c2086 size_t valsize; in soopt_to_kbuf() local
2097 if ((valsize = sopt->sopt_valsize) < minlen) in soopt_to_kbuf()
2099 if (valsize > len) in soopt_to_kbuf()
2100 sopt->sopt_valsize = valsize = len; in soopt_to_kbuf()
2102 bcopy(sopt->sopt_val, buf, valsize); in soopt_to_kbuf()
2286 size_t valsize; in soopt_from_kbuf() local
2305 valsize = szmin(len, sopt->sopt_valsize); in soopt_from_kbuf()
2306 sopt->sopt_valsize = valsize; in soopt_from_kbuf()
2308 bcopy(buf, sopt->sopt_val, valsize); in soopt_from_kbuf()
2478 size_t valsize; in soopt_to_mbuf() local
[all …]
H A Duipc_syscalls.c1234 sopt.sopt_valsize = uap->valsize; in sys_setsockopt()
1291 int error, valsize, valszmax, mflag = 0; in sys_getsockopt() local
1294 error = copyin(uap->avalsize, &valsize, sizeof(valsize)); in sys_getsockopt()
1298 valsize = 0; in sys_getsockopt()
1303 sopt.sopt_valsize = valsize; in sys_getsockopt()
1328 valsize = sopt.sopt_valsize; in sys_getsockopt()
1329 error = copyout(&valsize, uap->avalsize, sizeof(valsize)); in sys_getsockopt()
/dflybsd-src/sys/net/ipfw3_nat/
H A Dip_fw3_nat.c477 size_t valsize; in ip_fw3_ctl_nat_get_cfg() local
482 valsize = sopt->sopt_valsize; in ip_fw3_ctl_nat_get_cfg()
489 if (len >= valsize) { in ip_fw3_ctl_nat_get_cfg()
497 if (len > valsize) { in ip_fw3_ctl_nat_get_cfg()
/dflybsd-src/sys/netgraph7/ksocket/
H A Dng_ksocket.c845 const int valsize = msg->header.arglen - sizeof(*ksopt); in ng_ksocket_rcvmsg() local
849 if (valsize < 0) in ng_ksocket_rcvmsg()
859 sopt.sopt_valsize = valsize; in ng_ksocket_rcvmsg()
/dflybsd-src/sys/netgraph/ksocket/
H A Dng_ksocket.c823 const int valsize = msg->header.arglen - sizeof(*ksopt); in ng_ksocket_rcvmsg() local
827 if (valsize < 0) in ng_ksocket_rcvmsg()
837 sopt.sopt_valsize = valsize; in ng_ksocket_rcvmsg()
/dflybsd-src/usr.bin/ktrdump/
H A Dktrdump.c1275 va_list_push_integral(struct my_va_list *valist, void *val, size_t valsize, in va_list_push_integral() argument
1280 switch (valsize) { in va_list_push_integral()
1293 if ((valist->gp_offset + valsize) <= 48) { /* got a free reg */ in va_list_push_integral()
/dflybsd-src/sys/sys/
H A Dsysproto.h357 int valsize; char valsize_[PAD_(int)]; member