Searched refs:anchor (Results 176 - 200 of 617) sorted by path

1234567891011>>

/external/chromium_org/third_party/re2/re2/
H A Dset.h20 Set(const RE2::Options& options, RE2::Anchor anchor);
/external/chromium_org/third_party/re2/re2/testing/
H A Dbacktrack.cc227 Anchor anchor,
236 anchor = kAnchored;
245 bool anchored = anchor == kAnchored;
225 UnsafeSearchBacktrack(const StringPiece& text, const StringPiece& context, Anchor anchor, MatchKind kind, StringPiece* match, int nmatch) argument
H A Dexhaustive_tester.cc59 static void PrintResult(const RE2& re, const StringPiece& input, RE2::Anchor anchor, StringPiece *m, int n) { argument
60 if (!re.Match(input, 0, input.size(), anchor, m, n)) {
H A Dregexp_benchmark.cc106 Prog::Anchor anchor, bool expect_match);
802 Prog::Anchor anchor, bool expect_match) {
809 CHECK_EQ(prog->SearchDFA(text, NULL, anchor, Prog::kFirstMatch,
819 Prog::Anchor anchor, bool expect_match) {
825 CHECK_EQ(prog->SearchNFA(text, NULL, anchor, Prog::kFirstMatch, NULL, 0),
833 Prog::Anchor anchor, bool expect_match) {
840 CHECK_EQ(prog->SearchOnePass(text, text, anchor, Prog::kFirstMatch, NULL, 0),
848 Prog::Anchor anchor, bool expect_match) {
854 CHECK_EQ(prog->SearchBitState(text, text, anchor, Prog::kFirstMatch, NULL, 0),
862 Prog::Anchor anchor, boo
801 SearchDFA(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument
818 SearchNFA(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument
832 SearchOnePass(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument
847 SearchBitState(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument
861 SearchPCRE(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument
873 SearchRE2(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument
889 SearchCachedDFA(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument
906 SearchCachedNFA(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument
920 SearchCachedOnePass(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument
934 SearchCachedBitState(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument
947 SearchCachedPCRE(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument
959 SearchCachedRE2(int iters, const char* regexp, const StringPiece& text, Prog::Anchor anchor, bool expect_match) argument
[all...]
H A Dtester.cc123 // Returns string representation of anchor kind.
124 static string FormatAnchor(Prog::Anchor anchor) { argument
125 switch (anchor) {
282 Prog::Anchor anchor,
306 prog_->UnsafeSearchBacktrack(text, context, anchor, kind_,
317 prog_->SearchNFA(text, context, anchor, kind_,
327 result->matched = prog_->SearchDFA(text, context, anchor, kind_, NULL,
337 prog_->SearchDFA(text, context, anchor, kind_, result->submatch,
356 anchor == Prog::kUnanchored ||
362 result->matched = prog_->SearchOnePass(text, context, anchor, kind
279 RunSearch(Engine type, const StringPiece& orig_text, const StringPiece& orig_context, Prog::Anchor anchor, Result *result) argument
474 RunCase(const StringPiece& text, const StringPiece& context, Prog::Anchor anchor) argument
552 LogMatch(const char* prefix, Engine e, const StringPiece& text, const StringPiece& context, Prog::Anchor anchor) argument
599 TestCase(const StringPiece& text, const StringPiece& context, Prog::Anchor anchor) argument
[all...]
H A Dtester.h63 Prog::Anchor anchor);
69 Prog::Anchor anchor,
73 const StringPiece& context, Prog::Anchor anchor);
101 Prog::Anchor anchor);
103 // Run TestCase(text, text, anchor) for all anchoring modes.
106 // Run TestCase(text, context, anchor) for all anchoring modes.
/external/chromium_org/third_party/re2/util/
H A Dpcre.cc108 pcre* PCRE::Compile(Anchor anchor) { argument
124 if (anchor != ANCHOR_BOTH) {
464 Anchor anchor,
468 pcre* re = (anchor == ANCHOR_BOTH) ? re_full_ : re_partial_;
495 if (anchor != UNANCHORED)
559 Anchor anchor,
566 int matches = TryMatch(text, 0, anchor, true, vec, vecsize);
598 Anchor anchor,
606 bool b = DoMatchImpl(text, anchor, consumed, args, n, vec, vecsize);
462 TryMatch(const StringPiece& text, int startpos, Anchor anchor, bool empty_ok, int *vec, int vecsize) const argument
558 DoMatchImpl(const StringPiece& text, Anchor anchor, int* consumed, const Arg* const* args, int n, int* vec, int vecsize) const argument
597 DoMatch(const StringPiece& text, Anchor anchor, int* consumed, const Arg* const args[], int n) const argument
H A Dpcre.h141 // anchor your match at the beginning of the string. For example, you
224 EnabledExecOptions = 0x0000, // TODO: use to replace anchor flag
356 // Like Consume(..), but does not anchor the match at the beginning of the
460 Anchor anchor,
485 Anchor anchor,
500 Anchor anchor,
508 pcre* Compile(Anchor anchor);
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
H A Dcodemirror.js972 if (cmp(here.anchor, there.anchor) != 0 || cmp(here.head, there.head) != 0) return false;
978 out[i] = new Range(copyPos(this.ranges[i].anchor), copyPos(this.ranges[i].head));
997 function Range(anchor, head) {
998 this.anchor = anchor; this.head = head;
1002 from: function() { return minPos(this.anchor, this.head); },
1003 to: function() { return maxPos(this.anchor, this.head); },
1005 return this.head.line == this.anchor.line && this.head.ch == this.anchor
[all...]
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dlstrlib.c600 int anchor = (*p == '^'); local
601 if (anchor) {
602 p++; lp--; /* skip anchor character */
622 } while (s1++ < ms.src_end && !anchor);
741 int anchor = (*p == '^'); local
749 if (anchor) {
750 p++; lp--; /* skip anchor character */
771 if (anchor) break;
/external/chromium_org/third_party/sqlite/src/contrib/
H A Dsqlitecon.tcl445 $w mark set anchor $p
465 if {[catch {$w index anchor}]} {
466 $w mark set anchor $cur
468 set anchor [$w index anchor]
469 if {[$w compare $cur != $anchor] || (abs($v(pressX) - $x) >= 3)} {
475 if {[$w compare $cur < anchor]} {
477 set last anchor
479 set first anchor
/external/chromium_org/third_party/sqlite/src/ext/rtree/
H A Dviewrtree.tcl32 label .status -font courier -anchor w
33 label .title -anchor w -text "Node 1:" -background white -borderwidth 0
/external/chromium_org/tools/perf/page_sets/
H A Dpolymer.py103 def __init__(self, page_set, anchor, scrolling_page=False):
108 anchor: string indicating which subpage to load (matches the element
114 url=('http://www.polymer-project.org/components/%s/demo.html' % anchor),
/external/chromium_org/ui/app_list/views/
H A Dapp_list_view.cc65 // The distance between the arrow tip and edge of the anchor view.
175 views::View* anchor,
179 SetAnchorView(anchor);
172 InitAsBubbleAttachedToAnchor( gfx::NativeView parent, int initial_apps_page, views::View* anchor, const gfx::Vector2d& anchor_offset, views::BubbleBorder::Arrow arrow, bool border_accepts_events) argument
H A Dapp_list_view.h49 // Initializes the widget and use a given |anchor| plus an |anchor_offset| for
53 views::View* anchor,
/external/chromium_org/ui/base/models/
H A Dlist_selection_model.cc149 anchor_ == rhs.anchor() &&
H A Dlist_selection_model.h19 // anchor: the index of the last tab the user clicked on. Extending the
22 // Typically there is only one selected item, in which case the anchor and
34 // See class description for details of the anchor.
35 void set_anchor(int anchor) { anchor_ = anchor; } argument
36 int anchor() const { return anchor_; } function in class:ui::ListSelectionModel
50 // updates the anchor and active indices.
60 // Sets the anchor, active and selection to |index|.
66 // Adds |index| to the selection. This does not change the active or anchor
71 // anchor indice
[all...]
H A Dlist_selection_model_unittest.cc18 // 'active=X anchor=X selection=X X X...'.
21 " anchor=" + base::IntToString(model.anchor()) +
35 EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model));
42 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model));
49 EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model));
57 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model));
62 EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model));
69 EXPECT_EQ("active=1 anchor=1 selection=1", StateAsString(model));
74 EXPECT_EQ("active=-1 anchor
[all...]
/external/chromium_org/ui/base/touch/
H A Dtouch_editing_controller.h56 virtual void OpenContextMenu(const gfx::Point& anchor) = 0;
/external/chromium_org/ui/file_manager/file_manager/audio_player/elements/
H A Dcontrol_panel.js9 * Moves |target| element above |anchor| element, in order to match the
12 * @param {HTMLElement} anchor Anchor element.
14 function matchBottomLine(target, anchor) {
16 var anchorRect = anchor.getBoundingClientRect();
/external/chromium_org/ui/file_manager/file_manager/foreground/css/
H A Dfile_manager.css263 #directory-tree .tree-row[anchor],
272 #directory-tree:focus .tree-row[anchor] {
280 #directory-tree:focus .tree-row[anchor] {
/external/chromium_org/ui/gfx/
H A Dtransform_util.cc277 Transform GetScaleTransform(const Point& anchor, float scale) { argument
279 transform.Translate(anchor.x() * (1 - scale),
280 anchor.y() * (1 - scale));
H A Dtransform_util.h16 // Returns a scale transform at |anchor| point.
17 GFX_EXPORT Transform GetScaleTransform(const Point& anchor, float scale);
/external/chromium_org/ui/views/bubble/
H A Dtray_bubble_view.cc80 View* anchor,
84 anchor_(anchor),
95 // Sets the bubble on top of the anchor when it has no arrow.
122 // Position the bubble on top of the anchor.
132 // Note: tray_arrow_offset_ is relative to the anchor widget.
167 // anchor (without the bubble tip the bubble should be flush to the shelf).
293 View* anchor,
312 return new TrayBubbleView(parent_window, anchor, delegate, *init_params);
316 View* anchor,
319 : BubbleDelegateView(anchor, init_param
79 TrayBubbleBorder(View* owner, View* anchor, TrayBubbleView::InitParams params) argument
292 Create(gfx::NativeView parent_window, View* anchor, Delegate* delegate, InitParams* init_params) argument
315 TrayBubbleView(gfx::NativeView parent_window, View* anchor, Delegate* delegate, const InitParams& init_params) argument
[all...]
H A Dtray_bubble_view.h14 // Ash status area). Mostly this handles custom anchor location and arrow and
45 // AnchorAlignment determines to which side of the anchor the bubble will
116 views::View* anchor,
172 views::View* anchor,

Completed in 705 milliseconds

1234567891011>>