Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/binutils/dist/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 Dsparc.cc541 template<int valsize>
545 typename elfcpp::Elf_types<valsize>::Elf_Addr dst_mask, in rela()
549 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
551 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in rela()
557 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | reloc); in rela()
562 template<int valsize>
566 typename elfcpp::Elf_types<valsize>::Elf_Addr dst_mask, in rela()
569 typename elfcpp::Swap<valsize, big_endian>::Valtype addend) in rela() argument
571 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
573 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in rela()
[all …]
H A Dtilegx.cc817 template<int valsize>
826 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
828 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in rela()
840 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | (reloc<<doffset)); in rela()
844 template<int valsize>
853 typedef typename elfcpp::Swap_unaligned<valsize, big_endian>::Valtype in rela_ua()
856 Valtype val = elfcpp::Swap_unaligned<valsize, big_endian>::readval(wv); in rela_ua()
868 elfcpp::Swap_unaligned<valsize, big_endian>::writeval(wv, in rela_ua()
872 template<int valsize>
882 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
[all …]
H A Ddwarf_reader.h764 template <int valsize>
765 inline typename elfcpp::Valtype_base<valsize>::Valtype
769 template <int valsize>
770 inline typename elfcpp::Valtype_base<valsize>::Valtype
H A Ddwarf_reader.cc1661 template <int valsize>
1662 inline typename elfcpp::Valtype_base<valsize>::Valtype
1665 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
1667 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(source); in read_from_pointer()
1669 return_value = elfcpp::Swap_unaligned<valsize, false>::readval(source); in read_from_pointer()
1674 template <int valsize>
1675 inline typename elfcpp::Valtype_base<valsize>::Valtype
1678 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
1680 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(*source); in read_from_pointer()
1682 return_value = elfcpp::Swap_unaligned<valsize, false>::readval(*source); in read_from_pointer()
[all …]
H A Daarch64.cc5150 template<int valsize>
5157 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in update_view()
5159 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in update_view()
5163 elfcpp::Swap<valsize, big_endian>::writeval(wv, in update_view()
5171 template<int valsize>
5181 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in update_view_two_parts()
5183 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in update_view_two_parts()
5185 elfcpp::Swap<valsize, big_endian>::writeval(wv, in update_view_two_parts()
5240 template<int valsize>
5255 This::template update_view<valsize>(view, immed, in reloc_common()
[all …]
H A Ds390.cc891 template<int valsize>
896 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_signed()
897 limit <<= ((valsize - 1) >> 1); in has_overflow_signed()
898 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_signed()
902 template<int valsize>
906 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_unsigned()
907 limit <<= ((valsize - 1) >> 1); in has_overflow_unsigned()
908 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_unsigned()
H A Dpowerpc.cc2019 template<int valsize>
2024 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_signed()
2025 limit <<= ((valsize - 1) >> 1); in has_overflow_signed()
2026 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_signed()
2030 template<int valsize>
2034 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_unsigned()
2035 limit <<= ((valsize - 1) >> 1); in has_overflow_unsigned()
2036 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_unsigned()
2040 template<int valsize>
2044 return (has_overflow_unsigned<valsize>(value) in has_overflow_bitfield()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/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 Dsparc.cc541 template<int valsize>
545 typename elfcpp::Elf_types<valsize>::Elf_Addr dst_mask, in rela()
549 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
551 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in rela()
557 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | reloc); in rela()
562 template<int valsize>
566 typename elfcpp::Elf_types<valsize>::Elf_Addr dst_mask, in rela()
569 typename elfcpp::Swap<valsize, big_endian>::Valtype addend) in rela() argument
571 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
573 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in rela()
[all …]
H A Dtilegx.cc817 template<int valsize>
826 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
828 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in rela()
840 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | (reloc<<doffset)); in rela()
844 template<int valsize>
853 typedef typename elfcpp::Swap_unaligned<valsize, big_endian>::Valtype in rela_ua()
856 Valtype val = elfcpp::Swap_unaligned<valsize, big_endian>::readval(wv); in rela_ua()
868 elfcpp::Swap_unaligned<valsize, big_endian>::writeval(wv, in rela_ua()
872 template<int valsize>
882 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in rela()
[all …]
H A Ddwarf_reader.h764 template <int valsize>
765 inline typename elfcpp::Valtype_base<valsize>::Valtype
769 template <int valsize>
770 inline typename elfcpp::Valtype_base<valsize>::Valtype
H A Ddwarf_reader.cc1661 template <int valsize>
1662 inline typename elfcpp::Valtype_base<valsize>::Valtype
1665 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
1667 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(source); in read_from_pointer()
1669 return_value = elfcpp::Swap_unaligned<valsize, false>::readval(source); in read_from_pointer()
1674 template <int valsize>
1675 inline typename elfcpp::Valtype_base<valsize>::Valtype
1678 typename elfcpp::Valtype_base<valsize>::Valtype return_value; in read_from_pointer()
1680 return_value = elfcpp::Swap_unaligned<valsize, true>::readval(*source); in read_from_pointer()
1682 return_value = elfcpp::Swap_unaligned<valsize, false>::readval(*source); in read_from_pointer()
[all …]
H A Daarch64.cc5148 template<int valsize>
5155 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in update_view()
5157 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in update_view()
5161 elfcpp::Swap<valsize, big_endian>::writeval(wv, in update_view()
5169 template<int valsize>
5179 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype; in update_view_two_parts()
5181 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv); in update_view_two_parts()
5183 elfcpp::Swap<valsize, big_endian>::writeval(wv, in update_view_two_parts()
5238 template<int valsize>
5253 This::template update_view<valsize>(view, immed, in reloc_common()
[all …]
H A Ds390.cc891 template<int valsize>
896 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_signed()
897 limit <<= ((valsize - 1) >> 1); in has_overflow_signed()
898 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_signed()
902 template<int valsize>
906 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_unsigned()
907 limit <<= ((valsize - 1) >> 1); in has_overflow_unsigned()
908 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_unsigned()
H A Dpowerpc.cc1995 template<int valsize>
2000 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_signed()
2001 limit <<= ((valsize - 1) >> 1); in has_overflow_signed()
2002 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_signed()
2006 template<int valsize>
2010 Address limit = static_cast<Address>(1) << ((valsize - 1) >> 1); in has_overflow_unsigned()
2011 limit <<= ((valsize - 1) >> 1); in has_overflow_unsigned()
2012 limit <<= ((valsize - 1) - 2 * ((valsize - 1) >> 1)); in has_overflow_unsigned()
2016 template<int valsize>
2020 return (has_overflow_unsigned<valsize>(value) in has_overflow_bitfield()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dargmatch.c86 const char *vallist, size_t valsize) in argmatch() argument
110 || memcmp (vallist + valsize * matchind, in argmatch()
111 vallist + valsize * i, valsize)) in argmatch()
148 const char *vallist, size_t valsize) in argmatch_valid() argument
158 || memcmp (last_val, vallist + valsize * i, valsize)) in argmatch_valid()
161 last_val = vallist + valsize * i; in argmatch_valid()
179 const char *vallist, size_t valsize, in __xargmatch_internal() argument
182 ptrdiff_t res = argmatch (arg, arglist, vallist, valsize); in __xargmatch_internal()
189 argmatch_valid (arglist, vallist, valsize); in __xargmatch_internal()
200 const char *vallist, size_t valsize) in argmatch_to_argument() argument
[all …]
H A Dargmatch.h44 char const *vallist, size_t valsize);
70 char const *vallist, size_t valsize);
82 char const *vallist, size_t valsize,
97 char const *vallist, size_t valsize);
/netbsd-src/sys/kern/
H A Duipc_syscalls.c1149 syscallarg(unsigned int) valsize; in sys_setsockopt()
1157 len = SCARG(uap, valsize); in sys_setsockopt()
1194 unsigned int valsize, len; in getsockopt()
1198 error = copyin(SCARG(uap, avalsize), &valsize, sizeof(valsize)); in getsockopt()
1202 valsize = 0; in getsockopt()
1204 if (valsize > MCLBYTES) in getsockopt()
1210 sockopt_init(&sopt, SCARG(uap, level), SCARG(uap, name), valsize); in getsockopt()
1211 if (copyarg && valsize > 0) { in getsockopt()
1212 error = copyin(SCARG(uap, val), sopt.sopt_data, valsize); in getsockopt()
1191 unsigned int valsize, len; getsockopt() local
[all...]
/netbsd-src/sys/compat/ultrix/
H A Dultrix_misc.c344 SCARG(&ap, valsize) = SCARG(uap, valsize); in ultrix_sys_setsockopt()
377 if (SCARG(&ap, valsize) > MLEN) { in ultrix_sys_setsockopt()
382 SCARG(&ap, valsize)); in ultrix_sys_setsockopt()
385 (u_int)SCARG(&ap, valsize)); in ultrix_sys_setsockopt()
/netbsd-src/lib/libc/time/
H A Dzdump.c258 ptrdiff_t valsize = strlen(val) + 1;
259 if (fakeenv0size < valsize) {
273 fakeenv0size = sumsize(valsize, valsize);
285 memcpy(env[0] + TZeqlen, val, valsize);
/netbsd-src/sys/compat/sunos/
H A Dsunos_misc.c575 if ((unsigned)SCARG(uap, valsize) > MLEN) { in sunos_sys_setsockopt()
579 sockopt_init(&sopt, SCARG(uap, level), name, SCARG(uap, valsize)); in sunos_sys_setsockopt()
582 (u_int)SCARG(uap, valsize)); in sunos_sys_setsockopt()
/netbsd-src/sys/compat/sunos32/
H A Dsunos32_misc.c793 if ((unsigned)SCARG(uap, valsize) > MLEN) { in sunos32_sys_setsockopt()
797 sockopt_init(&sopt, SCARG(uap, level), name, SCARG(uap, valsize)); in sunos32_sys_setsockopt()
800 (u_int)SCARG(uap, valsize)); in sunos32_sys_setsockopt()

12