Home
last modified time | relevance | path

Searched refs:last_position (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/ui/views/controls/scrollbar/
Dscrollbar_unittest.cc22 last_position = position; in ScrollToPosition()
42 int last_position; member in __anon66cea7ac0111::TestScrollBarController
116 EXPECT_EQ(controller_->last_position, 50); in TEST_F()
121 EXPECT_EQ(controller_->last_position, 100); in TEST_F()
125 EXPECT_EQ(controller_->last_position, 100); in TEST_F()
129 EXPECT_EQ(controller_->last_position, 0); in TEST_F()
135 EXPECT_EQ(controller_->last_position, 10); in TEST_F()
138 EXPECT_EQ(controller_->last_position, 0); in TEST_F()
141 EXPECT_EQ(controller_->last_position, 20); in TEST_F()
144 EXPECT_EQ(controller_->last_position, 0); in TEST_F()
/external/chromium_org/chrome/browser/autocomplete/
Dshortcuts_provider.cc325 size_t last_position = 0; in ClassifyAllMatchesInString() local
329 last_position = find_text.length(); in ClassifyAllMatchesInString()
333 if (last_position < text_lowercase.length()) { in ClassifyAllMatchesInString()
335 ACMatchClassification(last_position, ACMatchClassification::NONE)); in ClassifyAllMatchesInString()
352 while (last_position < text_lowercase.length()) { in ClassifyAllMatchesInString()
354 find_words.equal_range(text_lowercase[last_position])); in ClassifyAllMatchesInString()
355 size_t next_character = last_position + 1; in ClassifyAllMatchesInString()
358 size_t word_end = last_position + word.length(); in ClassifyAllMatchesInString()
360 !text_lowercase.compare(last_position, word.length(), word)) { in ClassifyAllMatchesInString()
362 if (match_class.back().offset == last_position) in ClassifyAllMatchesInString()
[all …]
/external/elfutils/libelf/
Delf32_updatefile.c130 char *last_position; in __elfw2() local
207 last_position = ((char *) elf->map_address + elf->start_offset in __elfw2()
303 if (scn_start + dl->data.d.d_off > last_position) in __elfw2()
309 if (last_position < shdr_start) in __elfw2()
312 - last_position, in __elfw2()
313 shdr_start - last_position); in __elfw2()
315 memset (last_position, __libelf_fill_byte, in __elfw2()
319 if (last_position + written in __elfw2()
331 last_position = scn_start + dl->data.d.d_off; in __elfw2()
344 (*fctp) (last_position, dl->data.d.d_buf, in __elfw2()
[all …]
/external/chromium/webkit/glue/media/
Dbuffered_resource_loader_unittest.cc78 void Initialize(const char* url, int first_position, int last_position) { in Initialize() argument
81 last_position_ = last_position; in Initialize()
132 void PartialResponse(int64 first_position, int64 last_position, in PartialResponse() argument
134 PartialResponse(first_position, last_position, instance_size, false, true); in PartialResponse()
137 void PartialResponse(int64 first_position, int64 last_position, in PartialResponse() argument
146 last_position, in PartialResponse()
155 content_length = last_position - first_position + 1; in PartialResponse()
Dbuffered_data_source_unittest.cc60 int64 last_position));
/external/chromium_org/v8/test/mjsunit/
Ddebug-sourceinfo.js67 var last_position = 14312; variable
254 assertEquals(null, script.locationFromPosition(last_position + 1));
257 assertEquals(last_position, script.locationFromPosition(last_position).position);
258 assertEquals(last_line, script.locationFromPosition(last_position).line);
259 assertEquals(last_column, script.locationFromPosition(last_position).column);
/external/v8/test/mjsunit/
Ddebug-sourceinfo.js67 var last_position = 14312; variable
254 assertEquals(null, script.locationFromPosition(last_position + 1));
257 assertEquals(last_position, script.locationFromPosition(last_position).position);
258 assertEquals(last_line, script.locationFromPosition(last_position).line);
259 assertEquals(last_column, script.locationFromPosition(last_position).column);
/external/chromium_org/content/renderer/media/
Dbuffered_resource_loader_unittest.cc78 void Initialize(const char* url, int first_position, int last_position) { in Initialize() argument
81 last_position_ = last_position; in Initialize()
140 void PartialResponse(int64 first_position, int64 last_position, in PartialResponse() argument
142 PartialResponse(first_position, last_position, instance_size, false, true); in PartialResponse()
145 void PartialResponse(int64 first_position, int64 last_position, in PartialResponse() argument
154 last_position, in PartialResponse()
163 content_length = last_position - first_position + 1; in PartialResponse()