Searched refs:TextSlice (Results 1 – 2 of 2) sorted by relevance
40 class TextSlice { class48 static TextSlice* allocate(std::size_t max_size) { in allocate()50 TextSlice* t = (TextSlice*)oneapi::tbb::tbb_allocator<char>().allocate(sizeof(TextSlice) + in allocate()92 TextSlice* next_slice = nullptr;122 TextSlice* t = next_slice; in operator ()()141 TextSlice* operator()(TextSlice* input) const;144 TextSlice* MyTransformFunc::operator()(TextSlice* input) const { in operator ()()148 TextSlice* out = TextSlice::allocate(2 * MAX_CHAR_PER_INPUT_SLICE); in operator ()()174 void operator()(TextSlice* item) const;179 void MyOutputFunc::operator()(TextSlice* out) const { in operator ()()[all …]
70 class TextSlice {79 …TextSlice* t = (TextSlice*)oneapi::tbb::tbb_allocator<char>().allocate( sizeof(TextSlice)+max_size…84 // Free this TextSlice object120 oneapi::tbb::make_filter<TextSlice*,TextSlice*>(177 oneapi::tbb::filter<TextSlice*,TextSlice*> f2(oneapi::tbb::filter_mode::parallel, 203 file and free the ``TextSlice``.249 TextSlice* operator()( TextSlice* input ) const;253 TextSlice* MyTransformFunc::operator()( TextSlice* input ) const {257 TextSlice* out = TextSlice::allocate( 2*MAX_CHAR_PER_INPUT_SLICE );289 TextSlice* next_slice = NULL;[all …]