Searched refs:Swap (Results 1 - 25 of 33) sorted by relevance

12

/haiku-buildtools/gcc/gcc/testsuite/gcc.misc-tests/
H A Dsort2.c30 boolean Swap; local
33 Swap = 0;
39 Swap = 1;
42 while (Swap);
/haiku-buildtools/gcc/gcc/testsuite/go.test/test/fixedbugs/
H A Dissue5515.go22 func (s Slice) Swap(i, j int) { func
29 Swap(i, j int)
33 data.Swap(0, 4)
/haiku-buildtools/binutils/elfcpp/
H A Delfcpp_swap.h219 // Swap is a template based on size and on whether the target is big
227 struct Swap struct in namespace:elfcpp
248 // We need to specialize the 8-bit version of Swap to avoid
253 struct Swap<8, big_endian> struct in namespace:elfcpp
446 { return Swap<size, big_endian>::readval(
451 { Swap<size, big_endian>::writeval(reinterpret_cast<Valtype*>(wv), v); }
462 return ((static_cast<Valtype>(Swap<32, true>::readval(wv)) << 32)
463 | static_cast<Valtype>(Swap<32, true>::readval(wv + 4)));
471 Swap<32, true>::writeval(wv, static_cast<Valtype32>(v >> 32));
472 Swap<3
[all...]
/haiku-buildtools/binutils/gold/
H A Dsparc.cc544 typename elfcpp::Swap<size, big_endian>::Valtype value,
545 typename elfcpp::Swap<size, big_endian>::Valtype addend)
547 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype;
549 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv);
555 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | reloc);
567 typename elfcpp::Swap<valsize, big_endian>::Valtype addend)
569 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype;
571 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv);
577 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | reloc);
588 typename elfcpp::Swap<siz
[all...]
H A Dmips.cc969 typedef typename elfcpp::Swap<8, big_endian>::Valtype Valtype8;
970 typedef typename elfcpp::Swap<16, big_endian>::Valtype Valtype16;
971 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype32;
1582 typedef typename elfcpp::Swap<size, big_endian>::Valtype Valtype;
1970 typedef typename elfcpp::Swap<size, big_endian>::Valtype Valtype;
2051 elfcpp::Swap<size, big_endian>::writeval(this->got_view_ + offset, value);
2787 typedef typename elfcpp::Swap<size, big_endian>::Valtype Valtype;
3285 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype32;
3286 typedef typename elfcpp::Swap<size, big_endian>::Valtype Valtype;
4252 typedef typename elfcpp::Swap<siz
[all...]
H A Dehframe.cc159 elfcpp::Swap<32, big_endian>::writeval(oview + 4, eh_frame_offset);
177 elfcpp::Swap<32, big_endian>::writeval(oview + 8,
202 elfcpp::Swap<32, big_endian>::writeval(pfde,
204 elfcpp::Swap<32, big_endian>::writeval(pfde + 4,
248 pc = elfcpp::Swap<16, big_endian>::readval(p);
254 pc = elfcpp::Swap<32, big_endian>::readval(p);
353 elfcpp::Swap<32, big_endian>::writeval(oview + offset,
359 elfcpp::Swap<32, big_endian>::writeval(oview + offset + 4,
384 elfcpp::Swap<32, big_endian>::writeval(oview + offset + 8, spoffset);
385 elfcpp::Swap<3
[all...]
H A Darm.cc798 elfcpp::Swap<32, big_endian>::writeval(view,
802 elfcpp::Swap<32, big_endian>::writeval(view,
805 elfcpp::Swap<32, big_endian>::writeval(view,
3097 static inline typename elfcpp::Swap<32, big_endian>::Valtype
3099 typename elfcpp::Swap<32, big_endian>::Valtype val)
3108 static inline typename elfcpp::Swap<32, big_endian>::Valtype
3110 typename elfcpp::Swap<32, big_endian>::Valtype val,
3111 typename elfcpp::Swap<32, big_endian>::Valtype x)
3131 static inline typename elfcpp::Swap<32, big_endian>::Valtype
3133 typename elfcpp::Swap<3
[all...]
H A Dreloc.h403 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype;
405 Valtype addend = elfcpp::Swap<valsize, big_endian>::readval(wv);
407 elfcpp::Swap<valsize, big_endian>::
436 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype;
438 Valtype addend = elfcpp::Swap<valsize, big_endian>::readval(wv);
440 elfcpp::Swap<valsize, big_endian>::
468 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype;
471 elfcpp::Swap<valsize, big_endian>::writeval(wv, value);
485 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype;
488 elfcpp::Swap<valsiz
[all...]
H A Dgdb-index.cc1232 elfcpp::Swap<32, false>::writeval(pov, gdb_index_version);
1235 elfcpp::Swap<32, false>::writeval(pov, gdb_index_hdr_size);
1238 elfcpp::Swap<32, false>::writeval(pov, this->tu_offset_);
1241 elfcpp::Swap<32, false>::writeval(pov, this->addr_offset_);
1244 elfcpp::Swap<32, false>::writeval(pov, this->symtab_offset_);
1247 elfcpp::Swap<32, false>::writeval(pov, this->cu_pool_offset_);
1257 elfcpp::Swap<64, false>::writeval(pov, cu.cu_offset);
1258 elfcpp::Swap<64, false>::writeval(pov + 8, cu.cu_length);
1268 elfcpp::Swap<64, false>::writeval(pov, tu.tu_offset);
1269 elfcpp::Swap<6
[all...]
H A Dincremental.h715 typedef elfcpp::Swap<32, big_endian> Swap32;
753 typedef elfcpp::Swap<size, big_endian> Swap; typedef in class:gold::Incremental_inputs_reader
754 typedef elfcpp::Swap<16, big_endian> Swap16;
755 typedef elfcpp::Swap<32, big_endian> Swap32;
756 typedef elfcpp::Swap<64, big_endian> Swap64;
1034 info.sh_offset = Swap::readval(p + 8);
1035 info.sh_size = Swap::readval(p + 8 + size / 8);
1191 { return elfcpp::Swap<32, big_endian>::readval(this->p_ + 4 * n); }
1232 { return elfcpp::Swap<3
[all...]
H A Dnacl.h211 if ((elfcpp::Swap<32, big_endian>::readval(note_data + 0)
213 && (elfcpp::Swap<32, big_endian>::readval(note_data + 4)
215 && (elfcpp::Swap<32, big_endian>::readval(note_data + 8)
H A Ddynobj.cc1021 elfcpp::Swap<size, big_endian>::writeval(p, bucketcount);
1023 elfcpp::Swap<size, big_endian>::writeval(p, chaincount);
1028 elfcpp::Swap<size, big_endian>::writeval(p, bucket[i]);
1034 elfcpp::Swap<size, big_endian>::writeval(p, chain[i]);
1192 elfcpp::Swap<32, big_endian>::writeval(phash, 1);
1194 elfcpp::Swap<32, big_endian>::writeval(phash + 4, unhashed_dynsym_count);
1196 elfcpp::Swap<32, big_endian>::writeval(phash + 8, 1);
1198 elfcpp::Swap<32, big_endian>::writeval(phash + 12, 0);
1200 elfcpp::Swap<size, big_endian>::writeval(phash + 16, 0);
1202 elfcpp::Swap<3
[all...]
H A Daarch64.cc78 typedef typename elfcpp::Swap<32, big_endian>::Valtype Insntype;
546 typedef typename elfcpp::Swap<size, big_endian>::Valtype Valtype;
560 elfcpp::Swap<size, big_endian>::writeval(wv, x);
1118 typedef typename elfcpp::Swap<32, big_endian>::Valtype Insntype;
1125 elfcpp::Swap<32, big_endian>::writeval(ip, this->erratum_insn());
1127 elfcpp::Swap<32, big_endian>::writeval(ip + i, insns[i]);
1307 typedef typename elfcpp::Swap<32, big_endian>::Valtype Insntype;
1312 elfcpp::Swap<32, big_endian>::writeval(ip + i, insns[i]);
1626 elfcpp::Swap<32, big_endian>::writeval(
1970 typedef typename elfcpp::Swap<3
[all...]
H A Dtilegx.cc818 typename elfcpp::Swap<size, big_endian>::Valtype addend,
822 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype;
824 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv);
836 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | (reloc<<doffset));
845 typename elfcpp::Swap<size, big_endian>::Valtype addend,
873 typename elfcpp::Swap<size, big_endian>::Valtype addend,
878 typedef typename elfcpp::Swap<valsize, big_endian>::Valtype Valtype;
880 Valtype val = elfcpp::Swap<valsize, big_endian>::readval(wv);
893 elfcpp::Swap<valsize, big_endian>::writeval(wv, val | reloc);
904 typename elfcpp::Swap<siz
[all...]
H A Dpowerpc.cc944 elfcpp::Swap<size, big_endian>::writeval(oview + p->second, p->first);
1689 typedef typename elfcpp::Swap<fieldsize, big_endian>::Valtype Valtype;
1691 elfcpp::Swap<fieldsize, big_endian>::writeval(wv, value);
1703 typedef typename elfcpp::Swap<fieldsize, big_endian>::Valtype Valtype;
1705 Valtype val = elfcpp::Swap<fieldsize, big_endian>::readval(wv);
1709 elfcpp::Swap<fieldsize, big_endian>::writeval(wv, val | reloc);
1732 Valtype val = elfcpp::Swap<fieldsize, big_endian>::readval(view);
1846 typedef typename elfcpp::Swap<32, big_endian>::Valtype Valtype;
1848 Valtype val = elfcpp::Swap<32, big_endian>::readval(wv);
1852 elfcpp::Swap<3
[all...]
H A Dincremental.cc108 typedef elfcpp::Swap<size, big_endian> Swap; typedef in class:gold::Output_section_incremental_inputs
109 typedef elfcpp::Swap<16, big_endian> Swap16;
110 typedef elfcpp::Swap<32, big_endian> Swap32;
111 typedef elfcpp::Swap<64, big_endian> Swap64;
1606 Swap::writeval(pov + 8, out_offset);
1607 Swap::writeval(pov + 8 + sizeof_addr, sh_size);
1856 elfcpp::Swap<32, big_endian>::writeval(pov, this->info_.sym_index);
1857 elfcpp::Swap<32, big_endian>::writeval(pov + 4, this->info_.input_index);
1887 elfcpp::Swap<3
[all...]
H A Ds390.cc909 typedef typename elfcpp::Swap<fieldsize, true>::Valtype Valtype;
911 Valtype val = elfcpp::Swap<fieldsize, true>::readval(view);
914 elfcpp::Swap<fieldsize, true>::writeval(wv, val | value);
987 // Swap doesn't take 24-bit fields well...
1298 elfcpp::Swap<32, true>::writeval(pov + 24, got_address);
1414 elfcpp::Swap<32, true>::writeval(pov + 24, got_address + got_offset);
1431 elfcpp::Swap<32, true>::writeval(pov + 24, got_offset);
1454 elfcpp::Swap<32, true>::writeval(pov + 28, plt_rel_offset);
1572 elfcpp::Swap<size, true>::writeval(got_pov,
1703 elfcpp::Swap<siz
[all...]
H A Dreloc.cc1156 elfcpp::Swap<32, big_endian>::writeval(pov, r_type);
1157 elfcpp::Swap<32, big_endian>::writeval(pov + 4, out_shndx);
1158 elfcpp::Swap<size, big_endian>::writeval(pov + 8, offset);
1159 elfcpp::Swap<size, big_endian>::writeval(pov + 8 + sizeof_addr, addend);
1453 typedef typename elfcpp::Swap<size, big_endian>::Valtype Valtype;
/haiku-buildtools/gcc/gcc/testsuite/go.test/test/bench/garbage/
H A Dstats.go39 func (t T) Swap(i, j int) { t[i], t[j] = t[j], t[i] } func
/haiku-buildtools/gcc/libsanitizer/sanitizer_common/
H A Dsanitizer_deadlock_detector.h80 Swap(recursive_locks[i], recursive_locks[n_recursive_locks]);
91 Swap(all_locks_with_contexts_[i],
163 Swap(edges_[i], edges_[n_edges_ - 1]);
H A Dsanitizer_common.h335 template<class T> void Swap(T& a, T& b) {
435 Swap((*v)[j], (*v)[p]);
443 Swap((*v)[0], (*v)[i]);
454 Swap((*v)[j], (*v)[max_ind]);
H A Dsanitizer_common_interceptors.inc1479 Swap(pglob->gl_closedir, glob_copy.gl_closedir);
1480 Swap(pglob->gl_readdir, glob_copy.gl_readdir);
1481 Swap(pglob->gl_opendir, glob_copy.gl_opendir);
1482 Swap(pglob->gl_lstat, glob_copy.gl_lstat);
1483 Swap(pglob->gl_stat, glob_copy.gl_stat);
1488 Swap(pglob->gl_closedir, glob_copy.gl_closedir);
1489 Swap(pglob->gl_readdir, glob_copy.gl_readdir);
1490 Swap(pglob->gl_opendir, glob_copy.gl_opendir);
1491 Swap(pglob->gl_lstat, glob_copy.gl_lstat);
1492 Swap(pglo
[all...]
/haiku-buildtools/gcc/gcc/testsuite/go.test/test/bench/shootout/
H A Dk-nucleotide-parallel.go70 func (kn kNucArray) Swap(i, j int) { kn[i], kn[j] = kn[j], kn[i] } func
H A Dk-nucleotide.go71 func (kn kNucArray) Swap(i, j int) { kn[i], kn[j] = kn[j], kn[i] } func
/haiku-buildtools/gcc/gcc/testsuite/go.test/test/chan/
H A Dsieve2.go58 func (h *PeekChHeap) Swap(i, j int) { func

Completed in 539 milliseconds

12