Searched refs:new_pos (Results 1 - 19 of 19) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
H A Ddecoder.py101 decoder returns a (value, new_pos) pair.
154 """Read a tag from the buffer, and return a (tag_bytes, new_pos) tuple.
210 (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)
[all...]
/external/chromium/chrome/browser/ui/views/
H A Ddropdown_bar_host_win.cc35 void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos, argument
46 ::SetWindowPos(host_->GetNativeView(), HWND_TOP, new_pos.x(), new_pos.y(),
47 new_pos.width(), new_pos.height(), swp_flags);
H A Ddropdown_bar_host_gtk.cc25 void DropdownBarHost::SetWidgetPositionNative(const gfx::Rect& new_pos, argument
27 host_->SetBounds(new_pos);
H A Dfind_bar_host.cc121 gfx::Rect new_pos = GetDialogPosition(selection_rect); local
122 SetDialogPosition(new_pos, no_redraw);
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);
H A 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);
H A Ddropdown_bar_host.cc200 void DropdownBarHost::UpdateWindowEdges(const gfx::Rect& new_pos) { argument
206 int w = new_pos.width() - 6; // -6 positions us at the left edge of the
208 int h = new_pos.height();
283 int difference = new_pos.right() - kAddedWidth - widget_bounds.right() -
H A Dfind_bar_host.h95 virtual void SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw);
/external/chromium/chrome/browser/ui/find_bar/
H A Dfind_bar_controller.cc161 gfx::Rect new_pos = view_location; local
167 avoid_overlapping_rect.Intersects(new_pos)) {
169 new_pos.set_x(avoid_overlapping_rect.x() +
174 if (new_pos.x() + new_pos.width() > dialog_bounds.width())
175 new_pos = view_location; // Reset.
177 new_pos.set_x(avoid_overlapping_rect.x() - new_pos.width() -
181 if (new_pos.x() < 0)
182 new_pos
[all...]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A 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/
H A Ddbus-marshal-basic.h233 int *new_pos);
240 int *new_pos);
256 int *new_pos);
H A Ddbus-marshal-basic.c463 * @param new_pos the new position of the string
470 int *new_pos)
474 if (new_pos)
475 *new_pos = pos + 4;
502 * @param new_pos pointer to update with new position, or #NULL
510 int *new_pos)
606 if (new_pos)
607 *new_pos = pos;
1521 * @param new_pos #NULL or location to store a position after the elements
1530 int *new_pos)
467 _dbus_marshal_read_uint32(const DBusString *str, int pos, int byte_order, int *new_pos) argument
505 _dbus_marshal_read_basic(const DBusString *str, int pos, int type, void *value, int byte_order, int *new_pos) argument
1524 _dbus_marshal_read_fixed_multi(const DBusString *str, int pos, int element_type, void *value, int n_elements, int byte_order, int *new_pos) argument
[all...]
/external/qemu/audio/
H A Dfmodaudio.c455 int live, dead, new_pos, len; local
467 new_pos = FSOUND_Record_GetPosition ();
468 if (new_pos < 0) {
473 len = audio_ring_dist (new_pos, hw->wpos, hw->samples);
/external/protobuf/python/google/protobuf/
H A 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/
H A Dmkvparser.hpp828 long ParseCluster(long long& cluster_pos, long long& new_pos) const;
829 bool AddCluster(long long cluster_pos, long long new_pos);
H A Dmkvparser.cpp6144 long long new_pos = -1;
6253 new_pos = pos + size;
6281 m_pos = new_pos; //designates position just beyond timecode payload
/external/chromium/testing/gtest/scripts/
H A Dpump.py359 new_pos = Cursor(pos.line + 1, 0)
360 yield MakeToken(lines, pos, new_pos, 'exp')
361 pos = new_pos
/external/gtest/scripts/
H A 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/
H A Dfind_bar_gtk.cc436 gfx::Rect new_pos = FindBarController::GetLocationForFindbarView( local
439 return new_pos;
/external/v8/src/
H A Druntime.cc3681 int new_pos = search.Search(subject, match_end);
3682 if (new_pos >= 0) {
3684 if (new_pos > match_end) {
3687 new_pos);
3689 pos = new_pos;

Completed in 494 milliseconds