/dports/graphics/tesseract/tesseract-5.0.0/src/api/ |
H A D | altorenderer.cpp | 170 ResultIterator *res_it = GetIterator(); in GetAltoText() local 171 while (!res_it->Empty(RIL_BLOCK)) { in GetAltoText() 172 if (res_it->Empty(RIL_WORD)) { in GetAltoText() 173 res_it->Next(RIL_WORD); in GetAltoText() 177 if (res_it->IsAtBeginningOf(RIL_BLOCK)) { in GetAltoText() 183 if (res_it->IsAtBeginningOf(RIL_PARA)) { in GetAltoText() 185 AddBoxToAlto(res_it, RIL_PARA, alto_str); in GetAltoText() 196 AddBoxToAlto(res_it, RIL_WORD, alto_str); in GetAltoText() 211 res_it->Next(RIL_SYMBOL); in GetAltoText() 212 } while (!res_it->Empty(RIL_BLOCK) && !res_it->IsAtBeginningOf(RIL_WORD)); in GetAltoText() [all …]
|
H A D | hocrrenderer.cpp | 191 while (!res_it->Empty(RIL_BLOCK)) { in GetHOCRText() 192 if (res_it->Empty(RIL_WORD)) { in GetHOCRText() 193 res_it->Next(RIL_WORD); in GetHOCRText() 198 if (res_it->IsAtBeginningOf(RIL_BLOCK)) { in GetHOCRText() 205 if (res_it->IsAtBeginningOf(RIL_PARA)) { in GetHOCRText() 207 para_is_ltr = res_it->ParagraphIsLtr(); in GetHOCRText() 221 switch (res_it->BlockType()) { in GetHOCRText() 273 switch (res_it->WordDirection()) { in GetHOCRText() 302 res_it->GetUTF8Text(RIL_SYMBOL)); in GetHOCRText() 363 res_it->Next(RIL_SYMBOL); in GetHOCRText() [all …]
|
H A D | lstmboxrenderer.cpp | 47 LTRResultIterator *res_it = GetLTRIterator(); in GetLSTMBoxText() local 48 while (!res_it->Empty(RIL_BLOCK)) { in GetLSTMBoxText() 49 if (res_it->Empty(RIL_SYMBOL)) { in GetLSTMBoxText() 50 res_it->Next(RIL_SYMBOL); in GetLSTMBoxText() 54 if (!(res_it->IsAtBeginningOf(RIL_TEXTLINE))) { in GetLSTMBoxText() 55 if (res_it->IsAtBeginningOf(RIL_WORD)) { in GetLSTMBoxText() 61 if (res_it->IsAtBeginningOf(RIL_TEXTLINE)) { in GetLSTMBoxText() 70 res_it->BoundingBox(RIL_TEXTLINE, &left, &top, &right, &bottom); in GetLSTMBoxText() 73 res_it->Next(RIL_SYMBOL); in GetLSTMBoxText() 74 } while (!res_it->Empty(RIL_BLOCK) && !res_it->IsAtBeginningOf(RIL_SYMBOL)); in GetLSTMBoxText() [all …]
|
H A D | wordstrboxrenderer.cpp | 41 LTRResultIterator *res_it = GetLTRIterator(); in GetWordStrBoxText() local 42 while (!res_it->Empty(RIL_BLOCK)) { in GetWordStrBoxText() 43 if (res_it->Empty(RIL_WORD)) { in GetWordStrBoxText() 44 res_it->Next(RIL_WORD); in GetWordStrBoxText() 48 if (res_it->IsAtBeginningOf(RIL_TEXTLINE)) { in GetWordStrBoxText() 60 res_it->BoundingBox(RIL_TEXTLINE, &left, &top, &right, &bottom); in GetWordStrBoxText() 69 wordstr_box_str += std::unique_ptr<const char[]>(res_it->GetUTF8Text(RIL_WORD)).get(); in GetWordStrBoxText() 71 res_it->Next(RIL_WORD); in GetWordStrBoxText() 72 } while (!res_it->Empty(RIL_BLOCK) && !res_it->IsAtBeginningOf(RIL_WORD)); in GetWordStrBoxText() 85 delete res_it; in GetWordStrBoxText()
|
H A D | pdfrenderer.cpp | 355 while (!res_it->Empty(RIL_BLOCK)) { in GetPDFTextObjects() 356 if (res_it->IsAtBeginningOf(RIL_BLOCK)) { in GetPDFTextObjects() 362 if (res_it->IsAtBeginningOf(RIL_TEXTLINE)) { in GetPDFTextObjects() 364 res_it->Baseline(RIL_TEXTLINE, &x1, &y1, &x2, &y2); in GetPDFTextObjects() 368 if (res_it->Empty(RIL_WORD)) { in GetPDFTextObjects() 369 res_it->Next(RIL_WORD); in GetPDFTextObjects() 381 switch (res_it->WordDirection()) { in GetPDFTextObjects() 398 res_it->Baseline(RIL_WORD, &word_x1, &word_y1, &word_x2, &word_y2); in GetPDFTextObjects() 458 res_it->Next(RIL_SYMBOL); in GetPDFTextObjects() 459 } while (!res_it->Empty(RIL_BLOCK) && !res_it->IsAtBeginningOf(RIL_WORD)); in GetPDFTextObjects() [all …]
|
H A D | baseapi.cpp | 1399 while (!res_it->Empty(RIL_BLOCK)) { in GetTSVText() 1400 if (res_it->Empty(RIL_WORD)) { in GetTSVText() 1401 res_it->Next(RIL_WORD); in GetTSVText() 1406 if (res_it->IsAtBeginningOf(RIL_BLOCK)) { in GetTSVText() 1419 if (res_it->IsAtBeginningOf(RIL_PARA)) { in GetTSVText() 1472 res_it->Next(RIL_SYMBOL); in GetTSVText() 1473 } while (!res_it->Empty(RIL_BLOCK) && !res_it->IsAtBeginningOf(RIL_WORD)); in GetTSVText() 1760 PAGE_RES_IT res_it(page_res_); in AllWordConfidences() local 1761 for (res_it.restart_page(); res_it.word() != nullptr; res_it.forward()) { in AllWordConfidences() 1767 for (res_it.restart_page(); res_it.word() != nullptr; res_it.forward()) { in AllWordConfidences() [all …]
|
/dports/graphics/tesseract/tesseract-5.0.0/src/ccmain/ |
H A D | ltrresultiterator.cpp | 67 eol = res_it.row() != res_it.prev_row(); in GetUTF8Text() 71 eop = res_it.block() != res_it.prev_block() || in GetUTF8Text() 72 res_it.row()->row->para() != res_it.prev_row()->row->para(); in GetUTF8Text() 77 } while (level == RIL_BLOCK && res_it.block() == res_it.prev_block()); in GetUTF8Text() 113 res_it.forward(); in Confidence() 114 } while (res_it.block() == res_it.prev_block()); in Confidence() 122 res_it.forward(); in Confidence() 123 } while (res_it.block() == res_it.prev_block() && in Confidence() 124 res_it.row()->row->para() == res_it.prev_row()->row->para()); in Confidence() 132 res_it.forward(); in Confidence() [all …]
|
/dports/graphics/mupdf/mupdf-1.18.0-source/source/fitz/ |
H A D | tessocr.cpp | 299 while (!res_it->Empty(tesseract::RIL_BLOCK)) 301 if (res_it->Empty(tesseract::RIL_WORD)) 303 res_it->Next(tesseract::RIL_WORD); 307 res_it->BoundingBox(tesseract::RIL_TEXTLINE, 310 res_it->BoundingBox(tesseract::RIL_WORD, 313 font_name = res_it->WordFontAttributes(&bold, 327 res_it->BoundingBox(tesseract::RIL_SYMBOL, 333 res_it->Next(tesseract::RIL_SYMBOL); 335 while (!res_it->Empty(tesseract::RIL_BLOCK) && 336 !res_it->IsAtBeginningOf(tesseract::RIL_WORD)); [all …]
|
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/otiai10/gosseract/v2/ |
H A D | tessbridge.cpp | 125 ResultIterator* res_it = api->GetIterator(); in GetBoundingBoxesVerbose() local 126 while (!res_it->Empty(RIL_BLOCK)) { in GetBoundingBoxesVerbose() 127 if (res_it->Empty(RIL_WORD)) { in GetBoundingBoxesVerbose() 128 res_it->Next(RIL_WORD); in GetBoundingBoxesVerbose() 132 if (res_it->IsAtBeginningOf(RIL_BLOCK)) { in GetBoundingBoxesVerbose() 138 if (res_it->IsAtBeginningOf(RIL_PARA)) { in GetBoundingBoxesVerbose() 143 if (res_it->IsAtBeginningOf(RIL_TEXTLINE)) { in GetBoundingBoxesVerbose() 155 box_array->boxes[box_array->length].word = res_it->GetUTF8Text(RIL_WORD); in GetBoundingBoxesVerbose() 156 box_array->boxes[box_array->length].confidence = res_it->Confidence(RIL_WORD); in GetBoundingBoxesVerbose() 157 …res_it->BoundingBox(RIL_WORD, &box_array->boxes[box_array->length].x1, &box_array->boxes[box_array… in GetBoundingBoxesVerbose() [all …]
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/ |
H A D | comestible_test.cpp | 132 item res_it = food_or_food_container( recipe_obj.create_result() ); variable 133 const bool is_food = res_it.is_food(); 134 const bool has_override = res_it.has_flag( STATIC( flag_id( "NUTRIENT_OVERRIDE" ) ) ); 145 if( res_it.type->comestible ) { 146 default_calories = res_it.type->comestible->default_nutrition.kcal(); 148 if( res_it.charges > 0 ) { 149 default_calories *= res_it.charges;
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/ |
H A D | comestible_test.cpp | 132 item res_it = food_or_food_container( recipe_obj.create_result() ); variable 133 const bool is_food = res_it.is_food(); 134 const bool has_override = res_it.has_flag( STATIC( flag_id( "NUTRIENT_OVERRIDE" ) ) ); 145 if( res_it.type->comestible ) { 146 default_calories = res_it.type->comestible->default_nutrition.kcal(); 148 if( res_it.charges > 0 ) { 149 default_calories *= res_it.charges;
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/trace_processor/python/ |
H A D | example.py | 49 res_it = tp.query('select * from slice limit 10') 50 for row in res_it:
|
/dports/math/viennacl/ViennaCL-1.7.1/viennacl/linalg/detail/spai/ |
H A D | spai-dynamic.hpp | 198 for (typename SparseVectorT::const_iterator res_it = res.begin(); res_it != res.end(); ++res_it) in buildAugmentedIndexSet() local 200 if (!isInIndexSet(J, res_it->first) && (std::fabs(res_it->second) > tag.getResidualThreshold())) in buildAugmentedIndexSet() 203 sparse_inner_prod(res, A_v_c[res_it->first], inprod); in buildAugmentedIndexSet() 204 sparse_norm_2(A_v_c[res_it->first], norm2); in buildAugmentedIndexSet() 205 p.push_back(std::pair<unsigned int, NumericT>(res_it->first, (inprod*inprod)/(norm2*norm2))); in buildAugmentedIndexSet()
|
/dports/math/fcl05/fcl-0.5.0/src/broadphase/ |
H A D | broadphase_SaP.cpp | 515 …std::vector<EndPoint*>::const_iterator res_it = std::upper_bound(velist[axis].begin(), velist[axis… in collide_() local 521 if(res_it != velist[axis].end()) in collide_() 522 end_pos = *res_it; in collide_() 581 …std::vector<EndPoint*>::const_iterator res_it = std::upper_bound(velist[axis].begin(), velist[axis… in distance_() local 587 if(res_it != velist[axis].end()) in distance_() 588 end_pos = *res_it; in distance_()
|
/dports/math/fcl/fcl-0.7.0/include/fcl/broadphase/ |
H A D | broadphase_SaP-inl.h | 574 const auto res_it = std::upper_bound(velist[axis].begin(), velist[axis].end(), &dummy, in collide_() local 580 if(res_it != velist[axis].end()) in collide_() 581 end_pos = *res_it; in collide_() 682 const auto res_it = std::upper_bound(velist[axis].begin(), velist[axis].end(), &dummy, in distance_() local 688 if(res_it != velist[axis].end()) in distance_() 689 end_pos = *res_it; in distance_()
|
/dports/devel/py-grpcio/grpcio-1.43.0/src/core/ext/xds/ |
H A D | xds_client.cc | 1000 auto res_it = it->second.find(name.id); in AcceptLdsUpdateLocked() local 1001 if (res_it != it->second.end()) { in AcceptLdsUpdateLocked() 1002 res_it->second->MaybeCancelTimer(); in AcceptLdsUpdateLocked() 1100 auto res_it = it->second.find(name.id); in AcceptRdsUpdateLocked() local 1101 if (res_it != it->second.end()) { in AcceptRdsUpdateLocked() 1102 res_it->second->MaybeCancelTimer(); in AcceptRdsUpdateLocked() 1157 auto res_it = it->second.find(name.id); in AcceptCdsUpdateLocked() local 1158 if (res_it != it->second.end()) { in AcceptCdsUpdateLocked() 1159 res_it->second->MaybeCancelTimer(); in AcceptCdsUpdateLocked() 1252 if (res_it != it->second.end()) { in AcceptEdsUpdateLocked() [all …]
|
/dports/math/casadi/casadi-3.5.5/casadi/core/ |
H A D | function.cpp | 331 auto res_it=res.begin(); in buf_out() local 334 res_it->resize(nnz_out(i)); in buf_out() 335 buf_res[i] = get_ptr(*res_it++); in buf_out() 342 auto res_it=res.begin(); in buf_out() local 345 casadi_assert_dev(*res_it!=0); in buf_out() 346 (*res_it)->resize(nnz_out(i)); in buf_out() 347 buf_res[i] = get_ptr(**res_it++); in buf_out()
|
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/GraphMol/MolStandardize/Wrap/ |
H A D | testMolStandardize.py | 723 res_it = iter(res) 727 t = next(res_it) 733 res_it = iter(res) 737 t = next(res_it)
|
/dports/math/stp/stp-2.3.3/lib/ToSat/ |
H A D | BitBlaster.cpp | 769 typename BBNodeVec::iterator res_it = tmp_res.begin(); in BBTerm() local 771 res_it + arg_width; // first bit of extended part in BBTerm() 775 for (; res_it < res_ext; (res_it++, bb_it++)) in BBTerm() 777 *res_it = *bb_it; in BBTerm() 780 for (; res_it < res_end; (res_it++)) in BBTerm() 782 *res_it = msb; in BBTerm()
|
/dports/astro/celestia-gtk/celestia-1.6.1/ |
H A D | celestia.iss | 98 Source: "locale\res_it.dll"; DestDir: "{app}/locale"; Flags: ignoreversion
|
/dports/astro/celestia/celestia-1.6.1/ |
H A D | celestia.iss | 98 Source: "locale\res_it.dll"; DestDir: "{app}/locale"; Flags: ignoreversion
|