/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
H A D | SDL_x11mouse.c | 34 /* The implementation dependent data for the window manager cursor */ 40 void X11_FreeWMCursor(_THIS, WMcursor *cursor) argument 44 XFreeCursor(SDL_Display, cursor->x_cursor); 48 SDL_free(cursor); 54 WMcursor *cursor; local 64 /* Allocate the cursor memory */ 65 cursor = (WMcursor *)SDL_malloc(sizeof(WMcursor)); 66 if ( cursor == NULL ) { 75 SDL_free(cursor); 81 SDL_free(cursor); 146 X11_ShowWMCursor(_THIS, WMcursor *cursor) argument [all...] |
/external/qemu/util/ |
H A D | path.c | 118 follow_path(const struct pathelem *cursor, const char *name) argument 126 return cursor->pathname; 129 return follow_path(cursor->parent, name + namelen); 132 return follow_path(cursor, name + namelen); 134 for (i = 0; i < cursor->num_entries; i++) 135 if (strneq(name, namelen, cursor->entries[i]->name)) 136 return follow_path(cursor->entries[i], name + namelen);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | AbstractCursorTest.java | 24 private TestCursor cursor; field in class:AbstractCursorTest 28 cursor = new TestCursor(); 33 cursor.theTable.add("Foobar"); 34 assertThat(cursor.moveToFirst(), equalTo(true)); 35 assertThat(cursor.getCount(), equalTo(1)); 40 assertThat(cursor.moveToFirst(), equalTo(false)); 41 assertThat(cursor.getCount(), equalTo(0)); 46 cursor.theTable.add("Foobar"); 47 cursor.theTable.add("Bletch"); 49 assertThat(cursor [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
H A D | AnnotatedBytes.java | 71 private int cursor; field in class:AnnotatedBytes 91 * Moves the cursor to a new location 96 cursor = offset; 100 * Moves the cursor forward or backward by some amount 102 * @param offset The amount to move the cursor 105 cursor += offset; 109 annotate(offset - cursor, msg, formatArgs); 123 if (startLimit != -1 && endLimit != -1 && (cursor < startLimit || cursor >= endLimit)) { 133 int exclusiveEndOffset = cursor [all...] |
/external/chromium_org/athena/env/ |
H A D | athena_env_impl.cc | 19 #include "ui/base/cursor/cursor.h" 20 #include "ui/base/cursor/image_cursors.h" 111 virtual void SetCursor(gfx::NativeCursor cursor, 113 image_cursors_->SetPlatformCursor(&cursor); 114 cursor.set_device_scale_factor(image_cursors_->GetScale()); 115 delegate->CommitCursor(cursor); 118 ApplyCursor(cursor); variable 152 // Sets |cursor| as the active cursor withi 153 ApplyCursor(gfx::NativeCursor cursor) argument [all...] |
/external/chromium_org/chrome/browser/background/ |
H A D | background_application_list_model_unittest.cc | 486 ExtensionCollection::iterator cursor = extensions->begin(); local 487 if (cursor == extensions->end()) { 498 ++cursor; 500 scoped_refptr<Extension> extension = cursor->get(); 506 extensions->erase(cursor); 523 ExtensionCollection::iterator cursor = extensions->begin(); local 524 if (cursor == extensions->end()) { 535 ++cursor; 537 scoped_refptr<Extension> extension = cursor->get();
|
/external/chromium_org/chrome/browser/chromeos/input_method/ |
H A D | mock_input_method_engine.cc | 24 int cursor, 19 SetComposition( int context_id, const char* text, int selection_start, int selection_end, int cursor, const std::vector<SegmentInfo>& segments, std::string* error) argument
|
/external/chromium_org/chrome/browser/history/android/ |
H A D | sqlite_cursor.cc | 57 SQLiteCursor* cursor = new SQLiteCursor(column_names, statement, service, local 59 return Java_SQLiteCursor_create(env, reinterpret_cast<intptr_t>(cursor));
|
/external/chromium_org/components/plugins/renderer/ |
H A D | webview_plugin.cc | 167 WebCursorInfo& cursor) { 181 current_cursor_ = cursor; 183 cursor = current_cursor_; 233 void WebViewPlugin::didChangeCursor(const WebCursorInfo& cursor) { argument 234 current_cursor_ = cursor; 166 handleInputEvent(const WebInputEvent& event, WebCursorInfo& cursor) argument
|
/external/chromium_org/components/policy/core/common/ |
H A D | preg_parser_win.cc | 52 // Returns the character at |cursor| and increments it, unless the end is here 54 int NextChar(const uint8** cursor, const uint8* end) { argument 56 if (*cursor + sizeof(base::char16) > end) 59 int result = **cursor | (*(*cursor + 1) << 8); 60 *cursor += sizeof(base::char16); 65 bool ReadFieldBinary(const uint8** cursor, argument 72 const uint8* field_end = *cursor + size; 73 if (field_end <= *cursor || field_end > end) 75 std::copy(*cursor, field_en 80 ReadField32(const uint8** cursor, const uint8* end, uint32* data) argument 91 ReadFieldString(const uint8** cursor, const uint8* end, base::string16* str) argument 247 const uint8* cursor = mapped_file.data() + kHeaderSize; local [all...] |
/external/chromium_org/content/browser/indexed_db/ |
H A D | indexed_db_transaction.cc | 190 void IndexedDBTransaction::RegisterOpenCursor(IndexedDBCursor* cursor) { argument 191 open_cursors_.insert(cursor); 194 void IndexedDBTransaction::UnregisterOpenCursor(IndexedDBCursor* cursor) { argument 195 open_cursors_.erase(cursor);
|
/external/chromium_org/content/browser/renderer_host/input/ |
H A D | touch_emulator.cc | 112 WebCursor* cursor, float scale, int resource_id) { 125 cursor->InitFromCursorInfo(cursor_info); 111 InitCursorFromResource( WebCursor* cursor, float scale, int resource_id) argument
|
/external/chromium_org/content/child/indexed_db/ |
H A D | indexed_db_dispatcher_unittest.cc | 137 explicit CursorCallbacks(scoped_ptr<WebIDBCursor>* cursor) argument 138 : cursor_(cursor) {} 142 virtual void onSuccess(WebIDBCursor* cursor, 147 cursor_->reset(cursor); 169 // First case: successful cursor open. 171 scoped_ptr<WebIDBCursor> cursor; local 174 // Make a cursor request. This should record the transaction id. 183 new CursorCallbacks(&cursor)); 187 EXPECT_FALSE(cursor.get()); 195 // Now simululate the cursor respons 212 scoped_ptr<WebIDBCursor> cursor; local 268 scoped_ptr<WebIDBCursor> cursor; local [all...] |
/external/chromium_org/content/renderer/ |
H A D | render_widget_fullscreen_pepper.cc | 171 // This cursor info is ignored, we always set the cursor directly from 173 WebCursorInfo cursor; 198 result |= widget_->plugin()->HandleInputEvent(mouse, &cursor); 203 result |= widget_->plugin()->HandleInputEvent(mouse, &cursor); 206 result |= widget_->plugin()->HandleInputEvent(mouse, &cursor); 213 result |= widget_->plugin()->HandleInputEvent(mouse, &cursor); 220 bool result = widget_->plugin()->HandleInputEvent(event, &cursor); 249 widget_->plugin()->HandleInputEvent(context_menu_event, &cursor); 320 const blink::WebCursorInfo& cursor) { 319 DidChangeCursor( const blink::WebCursorInfo& cursor) argument [all...] |
/external/chromium_org/extensions/shell/browser/ |
H A D | shell_desktop_controller.cc | 23 #include "ui/base/cursor/cursor.h" 24 #include "ui/base/cursor/image_cursors.h" 96 virtual void SetCursor(gfx::NativeCursor cursor, 98 image_cursors_->SetPlatformCursor(&cursor); 99 cursor.set_device_scale_factor(image_cursors_->GetScale()); 100 delegate->CommitCursor(cursor); 103 ApplyCursor(cursor); variable 137 // Sets |cursor| as the active cursor withi 138 ApplyCursor(gfx::NativeCursor cursor) argument [all...] |
/external/chromium_org/mojo/aura/ |
H A D | window_tree_host_mojo.cc | 140 void WindowTreeHostMojo::SetCursorNative(gfx::NativeCursor cursor) { argument
|
/external/chromium_org/native_client_sdk/src/examples/api/mouse_cursor/ |
H A D | mouse_cursor.cc | 55 PP_MouseCursor_Type cursor = local 57 if (cursor == PP_MOUSECURSOR_TYPE_CUSTOM) { 59 pp::MouseCursor::SetCursor(this, cursor, custom_cursor_, hot_spot); 61 pp::MouseCursor::SetCursor(this, cursor);
|
/external/chromium_org/remoting/host/ |
H A D | video_scheduler.cc | 110 void VideoScheduler::OnMouseCursor(webrtc::MouseCursor* cursor) { argument 113 scoped_ptr<webrtc::MouseCursor> owned_cursor(cursor); 121 cursor_proto->set_width(cursor->image()->size().width()); 122 cursor_proto->set_height(cursor->image()->size().height()); 123 cursor_proto->set_hotspot_x(cursor->hotspot().x()); 124 cursor_proto->set_hotspot_y(cursor->hotspot().y()); 127 uint8_t* current_row = cursor->image()->data(); 128 for (int y = 0; y < cursor->image()->size().height(); ++y) { 131 current_row + cursor->image()->size().width() * 133 current_row += cursor [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/ |
H A D | IDBBindingUtilities.cpp | 122 // Ensure request wrapper is kept alive at least as long as the cursor wrapper, 124 v8::Handle<v8::Value> cursor = toV8(impl->idbCursor(), creationContext, isolate); local 126 V8HiddenValue::setHiddenValue(isolate, cursor->ToObject(), V8HiddenValue::idbCursorRequest(isolate), request); 127 return cursor; 130 // Ensure request wrapper is kept alive at least as long as the cursor wrapper, 132 v8::Handle<v8::Value> cursor = toV8(impl->idbCursorWithValue(), creationContext, isolate); local 134 V8HiddenValue::setHiddenValue(isolate, cursor->ToObject(), V8HiddenValue::idbCursorRequest(isolate), request); 135 return cursor;
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
H A D | IDBRequest.cpp | 175 void IDBRequest::setPendingCursor(IDBCursor* cursor) argument 181 ASSERT(cursor == getResultCursor()); 184 m_pendingCursor = cursor; 202 void IDBRequest::setResultCursor(IDBCursor* cursor, IDBKey* key, IDBKey* primaryKey, PassRefPtr<SharedBuffer> value, PassOwnPtr<Vector<WebBlobInfo> > blobInfo) argument 210 onSuccessInternal(IDBAny::create(cursor)); 273 IDBCursor* cursor = 0; local 276 cursor = IDBCursor::create(backend, m_cursorDirection, this, m_source.get(), m_transaction.get()); 279 cursor = IDBCursorWithValue::create(backend, m_cursorDirection, this, m_source.get(), m_transaction.get()); 284 setResultCursor(cursor, key, primaryKey, value, blobInfo); 306 // Value should be null, signifying the end of the cursor' [all...] |
/external/chromium_org/third_party/freetype/src/cff/ |
H A D | cffgload.h | 150 FT_Byte* cursor; member in struct:CFF_Decoder_Zone_
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | strmatch.cpp | 93 int32_t cursor = offset; local 94 if (limit < cursor) { 100 if (cursor > limit && 101 keyChar == text.charAt(cursor)) { 102 --cursor; 108 subm->matches(text, cursor, limit, incremental); 118 matchStart = cursor+1; 123 if (incremental && cursor == limit) { 131 // Don't need the cursor < limit check if 134 if (cursor < limi [all...] |
/external/chromium_org/third_party/webrtc/base/ |
H A D | ifaddrs-android.cc | 211 struct ifaddrs* cursor = addrs; local 212 while (cursor) { 213 delete[] cursor->ifa_name; 214 delete cursor->ifa_addr; 215 delete cursor->ifa_netmask; 216 last = cursor; 217 cursor = cursor->ifa_next;
|
/external/chromium_org/ui/aura/ |
H A D | window_tree_host.cc | 141 void WindowTreeHost::SetCursor(gfx::NativeCursor cursor) { argument 142 last_cursor_ = cursor; 145 SetCursorNative(cursor); 149 // Clear any existing mouse hover effects when the cursor becomes invisible. 150 // Note we do not need to dispatch a mouse enter when the cursor becomes
|
H A D | window_tree_host_ozone.cc | 102 void WindowTreeHostOzone::SetCursorNative(gfx::NativeCursor cursor) { argument 103 platform_window_->SetCursor(cursor.platform());
|