Home
last modified time | relevance | path

Searched refs:current_pos (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/chrome/common/
Dcontent_settings_pattern_parser.cc66 size_t current_pos = 0; in Parse() local
72 current_pos = pattern_spec.find( in Parse()
74 if (current_pos != std::string::npos) { in Parse()
75 scheme_component = Component(start, current_pos); in Parse()
76 start = current_pos + strlen(content::kStandardSchemeSeparator); in Parse()
77 current_pos = start; in Parse()
79 current_pos = start; in Parse()
88 if (pattern_spec[current_pos] == '[') in Parse()
89 current_pos = pattern_spec.find("]", start); in Parse()
91 if (current_pos == std::string::npos) in Parse()
[all …]
/external/chromium_org/gpu/command_buffer/service/
Dprogram_cache.cc116 size_t current_pos = shader0_size + shader1_size; in ComputeProgramHash() local
122 memcpy(&buffer.get()[current_pos], it->first.c_str(), name_size); in ComputeProgramHash()
123 current_pos += name_size; in ComputeProgramHash()
125 buffer[current_pos++] = value >> 24; in ComputeProgramHash()
126 buffer[current_pos++] = value >> 16; in ComputeProgramHash()
127 buffer[current_pos++] = value >> 8; in ComputeProgramHash()
128 buffer[current_pos++] = value; in ComputeProgramHash()
/external/llvm/include/llvm/Support/
Draw_ostream.h85 uint64_t tell() const { return current_pos() + GetNumBytesInBuffer(); } in tell()
268 virtual uint64_t current_pos() const = 0;
329 virtual uint64_t current_pos() const LLVM_OVERRIDE { return pos; } in current_pos() function
434 virtual uint64_t current_pos() const LLVM_OVERRIDE { return OS.size(); } in current_pos() function
458 virtual uint64_t current_pos() const LLVM_OVERRIDE;
484 virtual uint64_t current_pos() const LLVM_OVERRIDE;
Draw_os_ostream.h33 virtual uint64_t current_pos() const LLVM_OVERRIDE;
/external/chromium_org/ui/views/controls/scrollbar/
Dnative_scroll_bar.cc97 int current_pos) { in Update() argument
98 ScrollBar::Update(viewport_size, content_size, current_pos); in Update()
101 native_wrapper_->Update(viewport_size, content_size, current_pos); in Update()
Dnative_scroll_bar_wrapper.h27 virtual void Update(int viewport_size, int content_size, int current_pos) = 0;
Dscroll_bar.cc22 void ScrollBar::Update(int viewport_size, int content_size, int current_pos) { in Update() argument
Dscroll_bar.h75 virtual void Update(int viewport_size, int content_size, int current_pos);
Dnative_scroll_bar.h59 int current_pos) OVERRIDE;
/external/chromium_org/cc/layers/
Dscrollbar_layer_impl_base.cc47 void ScrollbarLayerImplBase::SetCurrentPos(float current_pos) { in SetCurrentPos() argument
48 if (current_pos_ == current_pos) in SetCurrentPos()
50 current_pos_ = current_pos; in SetCurrentPos()
Dscrollbar_layer_impl_base.h21 float current_pos() const { return current_pos_; } in current_pos() function
22 void SetCurrentPos(float current_pos);
/external/chromium_org/chrome/browser/history/
Dhistory_backend_android.cc96 int current_pos, in MoveStatement() argument
98 DCHECK_LE(-1, current_pos); in MoveStatement()
101 int cur = current_pos; in MoveStatement()
102 if (current_pos > destination) { in MoveStatement()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dstun.cc160 size_t current_pos = kStunHeaderSize; in ValidateMessageIntegrity() local
162 while (current_pos < size) { in ValidateMessageIntegrity()
165 attr_type = talk_base::GetBE16(&data[current_pos]); in ValidateMessageIntegrity()
166 attr_length = talk_base::GetBE16(&data[current_pos + sizeof(attr_type)]); in ValidateMessageIntegrity()
171 current_pos + attr_length > size) { in ValidateMessageIntegrity()
179 current_pos += sizeof(attr_type) + sizeof(attr_length) + attr_length; in ValidateMessageIntegrity()
181 current_pos += (4 - (attr_length % 4)); in ValidateMessageIntegrity()
190 size_t mi_pos = current_pos; in ValidateMessageIntegrity()
191 talk_base::scoped_ptr<char[]> temp_data(new char[current_pos]); in ValidateMessageIntegrity()
192 memcpy(temp_data.get(), data, current_pos); in ValidateMessageIntegrity()
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
Dcpp.py2686 current_pos = Position(line_number, control_match.end() - 1)
2692 open_paren_pos = current_pos
2696 current_pos = close_paren_pos
2698 end_line_of_conditional = current_pos.row
2701 current_pos = _find_in_lines(r'\S', lines, current_pos, None)
2702 if not current_pos:
2706 if lines[current_pos.row][current_pos.column] == '{':
2710 error(current_pos.row, 'whitespace/braces', 4,
2718 current_pos = close_expression(lines, current_pos)
2719 if current_pos.column < 0:
[all …]
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_win.cc1151 int current_pos, in WordBreakProc() argument
1169 if (current_pos < 2) { in WordBreakProc()
1182 WordBreakProc(edit_text, current_pos - 1, num_bytes, WB_LEFTBREAK); in WordBreakProc()
1197 if (WordBreakProc(edit_text, current_pos, num_bytes, WB_ISDELIMITER)) { in WordBreakProc()
1200 return current_pos + 1; in WordBreakProc()
1206 WordBreakProc(edit_text, current_pos, num_bytes, WB_RIGHTBREAK); in WordBreakProc()
1217 return !!(WordBreakProc(edit_text, current_pos, num_bytes, WB_CLASSIFY) & in WordBreakProc()
1222 if (IsWhitespace(edit_text[current_pos])) { in WordBreakProc()
1227 while ((current_pos < (length - 1)) && in WordBreakProc()
1228 (edit_text[current_pos] == 0x13)) { in WordBreakProc()
[all …]
/external/chromium_org/ui/base/test/
Dui_controls_internal_win.cc260 POINT current_pos; in SendMouseMoveImpl() local
261 ::GetCursorPos(&current_pos); in SendMouseMoveImpl()
262 if (x == current_pos.x && y == current_pos.y) { in SendMouseMoveImpl()
/external/chromium/chrome/browser/automation/
Dui_controls_win.cc244 POINT current_pos; in SendMouseMoveImpl() local
245 ::GetCursorPos(&current_pos); in SendMouseMoveImpl()
246 if (x == current_pos.x && y == current_pos.y) { in SendMouseMoveImpl()
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io/
Dhandlers.c773 int current_pos; in HandleGethostbyname() local
815 current_pos = non_variable_len; in HandleGethostbyname()
818 current_pos += sprintf(*output + current_pos, in HandleGethostbyname()
822 sprintf(*output + current_pos, "\1%s", inet6_addr_str); in HandleGethostbyname()
/external/llvm/lib/Support/
Draw_os_ostream.cpp30 uint64_t raw_os_ostream::current_pos() const { return OS.tellp(); } in current_pos() function in raw_os_ostream
/external/chromium_org/base/
Dsync_socket_win.cc103 DWORD GetNextChunkSize(size_t current_pos, size_t max_size) { in GetNextChunkSize() argument
105 return static_cast<DWORD>(((max_size - current_pos) <= UINT_MAX) ? in GetNextChunkSize()
106 (max_size - current_pos) : UINT_MAX); in GetNextChunkSize()
/external/chromium_org/chrome/browser/history/android/
Dandroid_history_provider_service.cc125 int current_pos, in MoveStatement() argument
136 current_pos, destination); in MoveStatement()
138 request->ForwardResultAsync(request->handle(), current_pos); in MoveStatement()
/external/chromium_org/ui/views/controls/
Dscroll_view.cc44 int CheckScrollBounds(int viewport_size, int content_size, int current_pos) { in CheckScrollBounds() argument
46 if (current_pos < 0) in CheckScrollBounds()
48 if (current_pos > max) in CheckScrollBounds()
50 return current_pos; in CheckScrollBounds()
/external/chromium_org/chrome_frame/test/
Durl_request_test.cc26 LARGE_INTEGER current_pos; in AppendToStream() local
30 reinterpret_cast<ULARGE_INTEGER*>(&current_pos))); in AppendToStream()
36 ASSERT_HRESULT_SUCCEEDED(s->Seek(current_pos, STREAM_SEEK_SET, NULL)); in AppendToStream()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_debug.cpp93 uint64_t current_pos() const { return pos; } in current_pos() function in raw_debug_ostream
96 uint64_t current_pos() { return pos; } in current_pos() function in raw_debug_ostream
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
Dlp_bld_debug.cpp93 uint64_t current_pos() const { return pos; } in current_pos() function in raw_debug_ostream
96 uint64_t current_pos() { return pos; } in current_pos() function in raw_debug_ostream

12