Home
last modified time | relevance | path

Searched refs:_swap (Results 1 – 25 of 502) sorted by relevance

12345678910>>...21

/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Core/IO/
H A DBinaryHelper.hh87 short int read_short(FILE* _in, bool _swap=false);
91 int read_int(FILE* _in, bool _swap=false);
95 float read_float(FILE* _in, bool _swap=false);
99 double read_double(FILE* _in, bool _swap=false);
103 short int read_short(std::istream& _in, bool _swap=false);
107 int read_int(std::istream& _in, bool _swap=false);
111 float read_float(std::istream& _in, bool _swap=false);
115 double read_double(std::istream& _in, bool _swap=false);
124 void write_int(int _i, FILE* _out, bool _swap=false);
128 void write_float(float _f, FILE* _out, bool _swap=false);
[all …]
H A DOMFormat.hh535 bool _swap,
544 bool _swap,
554 bool _swap) in store() argument
600 bool _swap ) in store() argument
609 bool _swap ) in store() argument
619 bool _swap ) in store() argument
630 bool _swap ) in store() argument
641 _swap ); in vector_store()
649 bool _swap ) in restore() argument
660 bool _swap ) in restore() argument
[all …]
H A DBinaryHelper.cc90 if (_swap) { in read_int()
105 if (_swap) { in read_float()
120 if (_swap) { in read_double()
147 if (_swap) { in read_int()
162 if (_swap) { in read_float()
177 if (_swap) { in read_double()
206 if (_swap) { in write_int()
221 if (_swap) { in write_float()
236 if (_swap) { in write_double()
265 if (_swap) { in write_int()
[all …]
H A DOMFormatT_impl.hh72 bool _swap, in store() argument
82 return store( _os, v, _swap ); in store()
87 return store( _os, v, _swap ); in store()
92 return store( _os, v, _swap ); in store()
97 return store( _os, v, _swap ); in store()
110 bool _swap, in store() argument
120 return store( _os, v, _swap ); in store()
125 return store( _os, v, _swap ); in store()
130 return store( _os, v, _swap ); in store()
149 bool _swap, in restore() argument
[all …]
H A DSR_binary_spec.hh95 bool _swap=false) { \
97 if (_swap) reverse_byte_order(tmp); \
103 bool _swap=false) { \
146 bool _swap=false) { \
156 bool _swap=false) { \
176 bool _swap=false) { \
186 bool _swap=false) { \
273 return binary<status_t>::store(_os, v, _swap); in store()
280 size_t b = binary<status_t>::restore(_os, v, _swap); in restore()
292 FunctorStore( std::ostream& _os, bool _swap) : os_(_os), swap_(_swap) { } in FunctorStore()
[all …]
H A DSR_binary_vector_of_fundamentals.inl16 size_t store(std::ostream& _os, const value_type& _v, bool _swap=false) { \
19 if (_swap) \
21 FunctorStore<elem_type>(_os,_swap) ); \
29 static size_t restore(std::istream& _is, value_type& _v, bool _swap=false) { \
32 if ( _swap) \
34 FunctorRestore<elem_type>(_is, _swap) ); \
H A DStoreRestore.hh97 size_t store( std::ostream& _os, const T& _v, bool _swap=false) in store() argument
98 { return binary< T >::store( _os, _v, _swap ); } in store()
101 size_t restore( std::istream& _is, T& _v, bool _swap=false) in restore() argument
102 { return binary< T >::restore( _is, _v, _swap ); } in restore()
H A DSR_binary_vector_of_string.inl27 size_t store(std::ostream& _os, const value_type& _v, bool _swap=false)
30 FunctorStore<elem_type>(_os, _swap) );
34 size_t restore(std::istream& _is, value_type& _v, bool _swap=false)
37 FunctorRestore<elem_type>(_is, _swap) );
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Core/IO/reader/
H A DOMReader.cc315 bytes_ += vector_restore(_is, v3f, _swap); in read_binary_vertex_chunk()
324 bytes_ += vector_restore(_is, v3d, _swap); in read_binary_vertex_chunk()
369 bytes_ += vector_restore(_is, v2f, _swap); in read_binary_vertex_chunk()
382 bytes_ += vector_restore(_is, v3uc, _swap); in read_binary_vertex_chunk()
395 bytes_ += restore(_is, status, _swap); in read_binary_vertex_chunk()
533 bytes_ += vector_restore(_is, v3uc, _swap); in read_binary_face_chunk()
545 bytes_ += restore(_is, status, _swap); in read_binary_face_chunk()
598 bytes_ += restore(_is, status, _swap); in read_binary_edge_chunk()
675 bytes_ += restore(_is, status, _swap); in read_binary_halfedge_chunk()
744 bytes += (b=_bp->restore( _is, _swap )); in restore_binary_custom_data()
[all …]
H A DOMReader.hh130 bool _swap) const;
135 bool _swap) const;
140 bool _swap) const;
145 bool _swap) const;
150 bool _swap) const;
155 bool _swap) const;
/dports/math/openmesh/OpenMesh-8.1/Doc/Tutorial/10-persistence/
H A Dpersistence.cc124 bytes = IO::store( _os, _v.ival, _swap ); in store()
125 bytes += IO::store( _os, _v.dval, _swap ); in store()
126 bytes += IO::store( _os, _v.bval, _swap ); in store()
127 bytes += IO::store( _os, _v.vec4fval, _swap ); in store()
134 bytes = IO::restore( _is, _v.ival, _swap ); in restore()
135 bytes += IO::restore( _is, _v.dval, _swap ); in restore()
136 bytes += IO::restore( _is, _v.bval, _swap ); in restore()
178 bytes += IO::store( _os, N, _swap ); in store()
196 bytes += IO::restore( _is, N, _swap ); in restore()
202 bytes += IO::restore( _is, key, _swap ); in restore()
[all …]
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Examples/Tutorial10/
H A Dpersistence.cc124 bytes = IO::store( _os, _v.ival, _swap ); in store()
125 bytes += IO::store( _os, _v.dval, _swap ); in store()
126 bytes += IO::store( _os, _v.bval, _swap ); in store()
127 bytes += IO::store( _os, _v.vec4fval, _swap ); in store()
134 bytes = IO::restore( _is, _v.ival, _swap ); in restore()
135 bytes += IO::restore( _is, _v.dval, _swap ); in restore()
136 bytes += IO::restore( _is, _v.bval, _swap ); in restore()
178 bytes += IO::store( _os, N, _swap ); in store()
196 bytes += IO::restore( _is, N, _swap ); in restore()
203 bytes += IO::restore( _is, key, _swap ); in restore()
[all …]
/dports/x11/libICE/libICE-1.0.10/src/
H A DICElibint.h192 #define EXTRACT_CARD16(_pBuf, _swap, _val) \ argument
196 if (_swap) \
200 #define EXTRACT_CARD32(_pBuf, _swap, _val) \ argument
204 if (_swap) \
209 #define EXTRACT_STRING(_pBuf, _swap, _string) \ argument
212 EXTRACT_CARD16 (_pBuf, _swap, _len); \
221 #define EXTRACT_LISTOF_STRING(_pBuf, _swap, _count, _strings) \ argument
225 EXTRACT_STRING (_pBuf, _swap, _strings[_i]); \
229 #define SKIP_STRING(_pBuf, _swap, _end, _bail) \ argument
232 EXTRACT_CARD16 (_pBuf, _swap, _len); \
[all …]
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/
H A DMapper43.h10 bool _swap; variable
24 _swap = false; in InitMapper()
37 Stream(_irqCounter, _irqEnabled, _reg, _swap); in StreamState()
57 SetCpuMemoryMapping(0x6000, 0x7FFF, _swap ? 0 : 2, PrgMemoryType::PrgRom); in UpdateState()
59 SelectPRGPage(3, _swap ? 8 : 9); in UpdateState()
67 case 0x4120: _swap = value & 0x01; UpdateState(); break; in WriteRegister()
/dports/science/quantum-espresso/q-e-qe-6.7.0/clib/
H A Dqsort.c24 static int (*_comp)(unsigned,unsigned), (*_swap)(unsigned,unsigned); variable
29 _swap = swap; in Qsort()
55 (*_swap)(ub,lb); in _rearr()
57 if(lb != ub) (*_swap)(lb,ub); in _rearr()
/dports/games/openbor3482/openbor-2c1ecd7/engine/source/gamelib/
H A Dtriangle.c16 #define _swap(va, vb) {vsw=va;va=vb;vb=vsw;} macro
68 if (v1->x > v2->x) _swap(v1, v2); in draw_triangle_list()
69 if (v1->x > v3->x) _swap(v1, v3); in draw_triangle_list()
70 if (v2->x > v3->x) _swap(v2, v3); in draw_triangle_list()
79 if (v1->y > v2->y) _swap(v1, v2); in draw_triangle_list()
80 if (v1->y > v3->y) _swap(v1, v3); in draw_triangle_list()
81 if (v2->y > v3->y) _swap(v2, v3); in draw_triangle_list()
256 #undef _swap
/dports/games/openbor3711/openbor-6ec17fa/engine/source/gamelib/
H A Dtriangle.c17 #define _swap(va, vb) {vsw=va;va=vb;vb=vsw;} macro
68 if (v1->x > v2->x) _swap(v1, v2); in draw_triangle_list()
69 if (v1->x > v3->x) _swap(v1, v3); in draw_triangle_list()
70 if (v2->x > v3->x) _swap(v2, v3); in draw_triangle_list()
79 if (v1->y > v2->y) _swap(v1, v2); in draw_triangle_list()
80 if (v1->y > v3->y) _swap(v1, v3); in draw_triangle_list()
81 if (v2->y > v3->y) _swap(v2, v3); in draw_triangle_list()
259 #undef _swap
/dports/science/py-scipy/scipy-1.7.1/scipy/sparse/
H A Dcompressed.py352 order = self._swap('CF')[0]
354 M, N = self._swap(self.shape)
644 M, N = self._swap(self.shape)
660 M, N = self._swap(self.shape)
683 _, N = self._swap(self.shape)
709 M, N = self._swap(self.shape)
741 M, N = self._swap(self.shape)
769 M, N = self._swap(self.shape)
784 M, N = self._swap(self.shape)
799 i, j = self._swap((row, col))
[all …]
/dports/www/trafficserver/trafficserver-9.1.1/include/tscore/
H A DPriorityQueue.h63 void _swap(uint32_t, uint32_t);
128 _swap(0, _v.size() - 1); in pop()
152 _swap(original_index, _v.size() - 1); in erase()
197 PriorityQueue<T, Comp>::_swap(uint32_t i, uint32_t j) in _swap() function
221 _swap(parent, index); in _bubble_up()
253 _swap(smaller, index); in _bubble_down()
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Core/Utils/
H A DProperty.hh148 virtual size_t store( std::ostream& _ostr, bool _swap ) const override in store()
151 return IO::store(_ostr, data_, _swap ); in store()
154 bytes += IO::store( _ostr, data_[i], _swap ); in store()
158 virtual size_t restore( std::istream& _istr, bool _swap ) override in restore() argument
161 return IO::restore(_istr, data_, _swap ); in restore()
164 bytes += IO::restore( _istr, data_[i], _swap ); in restore()
429 size_t store( std::ostream& _ostr, bool _swap ) const override in store()
430 { return IO::store( _ostr, data_, _swap ); } in store()
432 size_t restore( std::istream& _istr, bool _swap ) override in restore() argument
433 { return IO::restore( _istr, data_, _swap ); } in restore()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryWriter.cpp600 if (_swap) in writeMachHeader()
642 if (_swap) in writeSingleSegmentLoadCommand()
661 if (_swap) in writeSingleSegmentLoadCommand()
691 if (_swap) in writeSegmentLoadCommands()
711 if (_swap) in writeSegmentLoadCommands()
730 if (_swap) in writeSegmentLoadCommands()
766 if (_swap) in writeVersionMinLoadCommand()
791 if (_swap) in writeLoadCommands()
865 if (_swap) in writeLoadCommands()
878 if (_swap) in writeLoadCommands()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryWriter.cpp600 if (_swap) in writeMachHeader()
642 if (_swap) in writeSingleSegmentLoadCommand()
661 if (_swap) in writeSingleSegmentLoadCommand()
691 if (_swap) in writeSegmentLoadCommands()
711 if (_swap) in writeSegmentLoadCommands()
730 if (_swap) in writeSegmentLoadCommands()
766 if (_swap) in writeVersionMinLoadCommand()
791 if (_swap) in writeLoadCommands()
865 if (_swap) in writeLoadCommands()
878 if (_swap) in writeLoadCommands()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryWriter.cpp600 if (_swap) in writeMachHeader()
642 if (_swap) in writeSingleSegmentLoadCommand()
661 if (_swap) in writeSingleSegmentLoadCommand()
691 if (_swap) in writeSegmentLoadCommands()
711 if (_swap) in writeSegmentLoadCommands()
730 if (_swap) in writeSegmentLoadCommands()
766 if (_swap) in writeVersionMinLoadCommand()
791 if (_swap) in writeLoadCommands()
865 if (_swap) in writeLoadCommands()
878 if (_swap) in writeLoadCommands()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/tools/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryWriter.cpp600 if (_swap) in writeMachHeader()
642 if (_swap) in writeSingleSegmentLoadCommand()
661 if (_swap) in writeSingleSegmentLoadCommand()
691 if (_swap) in writeSegmentLoadCommands()
711 if (_swap) in writeSegmentLoadCommands()
730 if (_swap) in writeSegmentLoadCommands()
766 if (_swap) in writeVersionMinLoadCommand()
791 if (_swap) in writeLoadCommands()
865 if (_swap) in writeLoadCommands()
878 if (_swap) in writeLoadCommands()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lld/lib/ReaderWriter/MachO/
H A DMachONormalizedFileBinaryWriter.cpp600 if (_swap) in writeMachHeader()
642 if (_swap) in writeSingleSegmentLoadCommand()
661 if (_swap) in writeSingleSegmentLoadCommand()
691 if (_swap) in writeSegmentLoadCommands()
711 if (_swap) in writeSegmentLoadCommands()
730 if (_swap) in writeSegmentLoadCommands()
766 if (_swap) in writeVersionMinLoadCommand()
791 if (_swap) in writeLoadCommands()
865 if (_swap) in writeLoadCommands()
878 if (_swap) in writeLoadCommands()
[all …]

12345678910>>...21