Home
last modified time | relevance | path

Searched refs:new_pos (Results 1 – 21 of 21) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Ddecoder.py210 (element, new_pos) = decode_value(buffer, pos)
214 pos = new_pos + tag_len
215 if buffer[new_pos:pos] != tag_bytes or new_pos >= end:
217 if new_pos > end:
219 return new_pos
242 (result, new_pos) = decode_value(buffer, pos)
243 return (modify_value(result), new_pos)
266 new_pos = pos + value_size
267 result = local_unpack(format, buffer[pos:new_pos])[0]
268 return (result, new_pos)
[all …]
/external/chromium/chrome/browser/ui/find_bar/
Dfind_bar_controller.cc161 gfx::Rect new_pos = view_location; in GetLocationForFindbarView() local
167 avoid_overlapping_rect.Intersects(new_pos)) { in GetLocationForFindbarView()
169 new_pos.set_x(avoid_overlapping_rect.x() + in GetLocationForFindbarView()
174 if (new_pos.x() + new_pos.width() > dialog_bounds.width()) in GetLocationForFindbarView()
175 new_pos = view_location; // Reset. in GetLocationForFindbarView()
177 new_pos.set_x(avoid_overlapping_rect.x() - new_pos.width() - in GetLocationForFindbarView()
181 if (new_pos.x() < 0) in GetLocationForFindbarView()
182 new_pos = view_location; // Reset. in GetLocationForFindbarView()
186 return new_pos; in GetLocationForFindbarView()
/external/chromium/chrome/browser/ui/views/
Ddropdown_bar_host_win.cc35 void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos, in SetWidgetPositionNative() argument
46 ::SetWindowPos(host_->GetNativeView(), HWND_TOP, new_pos.x(), new_pos.y(), in SetWidgetPositionNative()
47 new_pos.width(), new_pos.height(), swp_flags); in SetWidgetPositionNative()
Dfind_bar_host.cc121 gfx::Rect new_pos = GetDialogPosition(selection_rect); in MoveWindowIfNecessary() local
122 SetDialogPosition(new_pos, no_redraw); in MoveWindowIfNecessary()
261 gfx::Rect new_pos = FindBarController::GetLocationForFindbarView( local
267 new_pos.Offset(0, std::min(0, -animation_offset()));
269 return new_pos;
272 void FindBarHost::SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw) { argument
273 if (new_pos.IsEmpty())
279 UpdateWindowEdges(new_pos);
281 SetWidgetPositionNative(new_pos, no_redraw);
Ddropdown_bar_host.h71 virtual void SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw) = 0;
137 void UpdateWindowEdges(const gfx::Rect& new_pos);
143 void SetWidgetPositionNative(const gfx::Rect& new_pos, bool no_redraw);
Ddropdown_bar_host_gtk.cc25 void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos, in SetWidgetPositionNative() argument
27 host_->SetBounds(new_pos); in SetWidgetPositionNative()
Ddropdown_bar_host.cc200 void DropdownBarHost::UpdateWindowEdges(const gfx::Rect& new_pos) { in UpdateWindowEdges() argument
206 int w = new_pos.width() - 6; // -6 positions us at the left edge of the in UpdateWindowEdges()
208 int h = new_pos.height(); in UpdateWindowEdges()
283 int difference = new_pos.right() - kAddedWidth - widget_bounds.right() - in UpdateWindowEdges()
Dfind_bar_host.h95 virtual void SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw);
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DANTLRStringStream.js116 var new_pos = this.p+i-1;
117 if (new_pos>=this.n || new_pos<0) {
120 return this.data.charAt(new_pos);
/external/dbus/dbus/
Ddbus-marshal-basic.h233 int *new_pos);
240 int *new_pos);
256 int *new_pos);
Ddbus-marshal-basic.c470 int *new_pos) in _dbus_marshal_read_uint32() argument
474 if (new_pos) in _dbus_marshal_read_uint32()
475 *new_pos = pos + 4; in _dbus_marshal_read_uint32()
510 int *new_pos) in _dbus_marshal_read_basic() argument
606 if (new_pos) in _dbus_marshal_read_basic()
607 *new_pos = pos; in _dbus_marshal_read_basic()
1530 int *new_pos) in _dbus_marshal_read_fixed_multi() argument
1550 if (new_pos) in _dbus_marshal_read_fixed_multi()
1551 *new_pos = pos + array_len; in _dbus_marshal_read_fixed_multi()
/external/qemu/audio/
Dfmodaudio.c455 int live, dead, new_pos, len; in fmod_run_in() local
467 new_pos = FSOUND_Record_GetPosition (); in fmod_run_in()
468 if (new_pos < 0) { in fmod_run_in()
473 len = audio_ring_dist (new_pos, hw->wpos, hw->samples); in fmod_run_in()
/external/protobuf/python/google/protobuf/
Dreflection.py840 (tag_bytes, new_pos) = local_ReadTag(buffer, pos)
843 new_pos = local_SkipField(buffer, new_pos, end, tag_bytes)
844 if new_pos == -1:
846 pos = new_pos
848 pos = field_decoder(buffer, new_pos, end, self, field_dict)
/external/libvpx/mkvparser/
Dmkvparser.hpp828 long ParseCluster(long long& cluster_pos, long long& new_pos) const;
829 bool AddCluster(long long cluster_pos, long long new_pos);
Dmkvparser.cpp6144 long long new_pos = -1; in Load() local
6253 new_pos = pos + size; in Load()
6281 m_pos = new_pos; //designates position just beyond timecode payload in Load()
/external/gtest/scripts/
Dpump.py359 new_pos = Cursor(pos.line + 1, 0)
360 yield MakeToken(lines, pos, new_pos, 'exp')
361 pos = new_pos
/external/chromium/testing/gtest/scripts/
Dpump.py359 new_pos = Cursor(pos.line + 1, 0)
360 yield MakeToken(lines, pos, new_pos, 'exp')
361 pos = new_pos
/external/chromium/chrome/browser/ui/gtk/
Dfind_bar_gtk.cc436 gfx::Rect new_pos = FindBarController::GetLocationForFindbarView( in GetDialogPosition() local
439 return new_pos; in GetDialogPosition()
/external/chromium/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_cocoa_controller.mm484 gfx::Rect new_pos = FindBarController::GetLocationForFindbarView(
487 return new_pos.x();
/external/v8/src/
Druntime.cc3681 int new_pos = search.Search(subject, match_end); in SearchStringMultiple() local
3682 if (new_pos >= 0) { in SearchStringMultiple()
3684 if (new_pos > match_end) { in SearchStringMultiple()
3687 new_pos); in SearchStringMultiple()
3689 pos = new_pos; in SearchStringMultiple()
/external/dbus/
DChangeLog.pre-1-014188 Set array_len and new_pos correctly.