Searched defs:CharRange (Results 1 – 2 of 2) sorted by relevance
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_edit_view_gtk.h | 58 struct CharRange { struct 59 CharRange() : cp_min(0), cp_max(0) { } in CharRange() function 60 CharRange(int n, int x) : cp_min(n), cp_max(x) { } in CharRange() argument 63 int selection_min() const { return std::min(cp_min, cp_max); } in selection_min() 64 int selection_max() const { return std::max(cp_min, cp_max); } in selection_max() 67 int cp_min; // For a selection: Represents the start. 68 int cp_max; // For a selection: Represents the end (insert position).
|
/external/clang/lib/ARCMigrate/ |
D | TransformActions.cpp | 65 struct CharRange { struct in __anonbf9cd27d0111::TransformActionsImpl 66 FullSourceLoc Begin, End; 68 CharRange(CharSourceRange range, SourceManager &srcMgr, Preprocessor &PP) { in CharRange() function 81 RangeComparison compareWith(const CharRange &RHS) const { in compareWith() 98 static RangeComparison compare(SourceRange LHS, SourceRange RHS, in compare()
|