Searched defs:cursor (Results 126 - 150 of 439) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/icu/source/i18n/
H A Dfuncrepl.cpp81 int32_t& cursor)
85 int32_t len = replacer->toReplacer()->replace(text, start, limit, cursor);
78 replace(Replaceable& text, int32_t start, int32_t limit, int32_t& cursor) argument
H A Duni2name.cpp89 int32_t cursor = offsets.start; local
96 while (cursor < limit) {
97 UChar32 c = text.char32At(cursor);
103 text.handleReplaceBetween(cursor, cursor+clen, str);
105 cursor += len; // advance cursor and adjust for new text
108 cursor += clen;
114 offsets.start = cursor;
/external/chromium_org/third_party/skia/tools/
H A DCrashHandler.cpp24 unw_cursor_t cursor; local
25 unw_init_local(&cursor, &context);
28 while (unw_step(&cursor) > 0) {
32 unw_get_proc_name(&cursor, mangled, kMax, &offset);
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/bootstrap/
H A Dscanner.c18 #define YYCURSOR cursor
21 #define YYFILL(n) {cursor = fill(s, cursor);}
23 #define RETURN(i) {s->cur = cursor; return i;}
38 fill(Scanner *s, unsigned char *cursor) argument
46 cursor -= cnt;
55 cursor = &buf[cursor - s->bot];
68 return cursor;
77 unsigned char *cursor local
216 unsigned char *cursor = s->cur; local
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dscanner.c18 #define YYCURSOR cursor
21 #define YYFILL(n) {cursor = fill(s, cursor);}
23 #define RETURN(i) {s->cur = cursor; return i;}
38 fill(Scanner *s, unsigned char *cursor) argument
46 cursor -= cnt;
55 cursor = &buf[cursor - s->bot];
68 return cursor;
77 unsigned char *cursor local
216 unsigned char *cursor = s->cur; local
[all...]
/external/chromium_org/ui/aura/test/
H A Dtest_cursor_client.cc26 void TestCursorClient::SetCursor(gfx::NativeCursor cursor) { argument
/external/chromium_org/ui/base/cursor/
H A Dcursor_loader_win.cc5 #include "ui/base/cursor/cursor_loader_win.h"
9 #include "ui/base/cursor/cursor.h"
145 void CursorLoaderWin::SetPlatformCursor(gfx::NativeCursor* cursor) { argument
146 if (cursor->native_type() != kCursorCustom) {
147 if (cursor->platform()) {
148 cursor->SetPlatformCursor(cursor->platform());
150 const wchar_t* cursor_id = GetCursorId(*cursor);
157 cursor
[all...]
H A Dcursor_loader_x11.cc5 #include "ui/base/cursor/cursor_loader_x11.h"
13 #include "ui/base/cursor/cursor.h"
14 #include "ui/base/cursor/cursor_util.h"
24 // Returns X font cursor shape from an Aura cursor.
201 void CursorLoaderX11::SetPlatformCursor(gfx::NativeCursor* cursor) { argument
202 DCHECK(cursor);
205 if (IsImageCursor(*cursor))
206 xcursor = ImageCursorFromNative(*cursor);
[all...]
H A Dimage_cursors.cc5 #include "ui/base/cursor/image_cursors.h"
11 #include "ui/base/cursor/cursor.h"
12 #include "ui/base/cursor/cursor_loader.h"
13 #include "ui/base/cursor/cursors_aura.h"
146 void ImageCursors::SetPlatformCursor(gfx::NativeCursor* cursor) { argument
147 cursor_loader_->SetPlatformCursor(cursor);
/external/chromium_org/ui/base/cursor/ozone/
H A Dbitmap_cursor_factory_ozone.cc5 #include "ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h"
9 #include "ui/base/cursor/cursors_aura.h"
15 BitmapCursorOzone* ToBitmapCursorOzone(PlatformCursor cursor) { argument
16 return static_cast<BitmapCursorOzone*>(cursor);
19 PlatformCursor ToPlatformCursor(BitmapCursorOzone* cursor) { argument
20 return static_cast<PlatformCursor>(cursor);
83 BitmapCursorOzone* cursor = new BitmapCursorOzone(bitmap, hotspot); local
84 cursor->AddRef(); // Balanced by UnrefImageCursor.
85 return ToPlatformCursor(cursor);
93 BitmapCursorOzone* cursor local
99 RefImageCursor(PlatformCursor cursor) argument
103 UnrefImageCursor(PlatformCursor cursor) argument
115 scoped_refptr<BitmapCursorOzone> cursor = CreateDefaultBitmapCursor(type); local
[all...]
/external/chromium_org/ui/ozone/platform/dri/
H A Ddri_surface_factory_unittest.cc140 SkBitmap cursor; local
141 // Buffers 0 and 1 are the cursor buffers.
142 cursor.setInfo(dri_->buffers()[1]->getCanvas()->imageInfo());
143 EXPECT_TRUE(dri_->buffers()[1]->getCanvas()->readPixels(&cursor, 0, 0));
146 for (int i = 0; i < cursor.height(); ++i) {
147 for (int j = 0; j < cursor.width(); ++j) {
149 EXPECT_EQ(SK_ColorWHITE, cursor.getColor(j, i));
152 cursor.getColor(j, i));
/external/chromium_org/ui/ozone/platform/test/
H A Dtest_window.cc74 void TestWindow::SetCursor(PlatformCursor cursor) { argument
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_native_cursor_manager.cc9 #include "ui/base/cursor/cursor_loader.h"
26 gfx::NativeCursor cursor(type);
27 cursor_loader_->SetPlatformCursor(&cursor);
28 return cursor;
53 gfx::NativeCursor cursor,
55 gfx::NativeCursor new_cursor = cursor;
52 SetCursor( gfx::NativeCursor cursor, wm::NativeCursorManagerDelegate* delegate) argument
/external/icu/icu4c/source/i18n/
H A Dfuncrepl.cpp81 int32_t& cursor)
85 int32_t len = replacer->toReplacer()->replace(text, start, limit, cursor);
78 replace(Replaceable& text, int32_t start, int32_t limit, int32_t& cursor) argument
H A Duni2name.cpp89 int32_t cursor = offsets.start; local
96 while (cursor < limit) {
97 UChar32 c = text.char32At(cursor);
103 text.handleReplaceBetween(cursor, cursor+clen, str);
105 cursor += len; // advance cursor and adjust for new text
108 cursor += clen;
114 offsets.start = cursor;
/external/libunwind/src/arm/
H A DGstep.c36 arm_exidx_step (struct cursor *c)
82 static void adjust_ip(struct cursor *c)
113 unw_handle_signal_frame (unw_cursor_t *cursor) argument
115 struct cursor *c = (struct cursor *) cursor;
124 ret = unw_is_signal_frame (cursor);
174 /* Update the dwarf cursor.
204 unw_step (unw_cursor_t *cursor) argument
206 struct cursor *
[all...]
/external/libunwind/src/ia64/
H A DGstep.c30 linux_sigtramp (struct cursor *c, ia64_loc_t prev_cfm_loc,
64 linux_interrupt (struct cursor *c, ia64_loc_t prev_cfm_loc,
93 hpux_sigtramp (struct cursor *c, ia64_loc_t prev_cfm_loc,
171 check_rbs_switch (struct cursor *c)
222 update_frame_state (struct cursor *c)
346 unw_step (unw_cursor_t *cursor) argument
348 struct cursor *c = (struct cursor *) cursor;
351 Debug (1, "(cursor
[all...]
/external/libunwind/src/unwind/
H A Dunwind-internal.h45 unw_cursor_t cursor; member in struct:_Unwind_Context
54 ((unw_getcontext (uc) < 0 || unw_init_local (&(context)->cursor, uc) < 0) \
84 ret = unw_step (&context->cursor);
118 || unw_get_proc_info (&context->cursor, &pi) < 0)
126 if (unw_get_reg (&context->cursor, UNW_REG_IP, &ip) < 0)
140 unw_resume (&context->cursor);
/external/libunwind/tests/
H A Dppc64-test-altivec.c43 unw_cursor_t cursor; local
54 if (unw_init_local (&cursor, &uc) < 0)
62 if ((ret = unw_get_reg (&cursor, UNW_REG_IP, &ip)) < 0)
67 if ((ret = unw_get_reg (&cursor, UNW_REG_SP, &sp)) < 0)
72 if ((ret = unw_get_fpreg (&cursor, UNW_PPC64_V30, &vr)) < 0)
95 unw_get_proc_name (&cursor, proc_name_buffer,
109 ret = unw_step (&cursor);
112 unw_get_reg (&cursor, UNW_REG_IP, &ip);
H A Dtest-async-sig.c70 unw_cursor_t cursor; local
83 if (unw_init_local (&cursor, &uc) < 0)
88 unw_get_reg (&cursor, UNW_REG_IP, &ip);
89 unw_get_reg (&cursor, UNW_REG_SP, &sp);
94 ret = unw_get_proc_name (&cursor, name, sizeof (name), &off);
113 ret = unw_step (&cursor);
116 unw_get_reg (&cursor, UNW_REG_IP, &ip);
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysmouse.cc36 /* The implementation dependent data for the window manager cursor */
45 WMcursor *cursor; local
59 /* Allocate the cursor */
60 cursor = (WMcursor *)SDL_malloc(sizeof(WMcursor));
61 if ( cursor == NULL ) {
65 cursor->bits = (char *)SDL_malloc(4+2*((allowed_x/8)*allowed_y));
66 if ( cursor->bits == NULL ) {
67 SDL_free(cursor);
71 cursor->bits[0] = allowed_y; /* Size of the cursor */
107 BE_ShowWMCursor(_THIS, WMcursor *cursor) argument
122 BE_FreeWMCursor(_THIS, WMcursor *cursor) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
H A DSDL_macmouse.c41 /* The implementation dependent data for the window manager cursor */
47 void Mac_FreeWMCursor(_THIS, WMcursor *cursor) argument
49 SDL_free(cursor);
55 WMcursor *cursor; local
58 /* Allocate the cursor memory */
59 cursor = (WMcursor *)SDL_malloc(sizeof(WMcursor));
60 if ( cursor == NULL ) {
64 SDL_memset(cursor, 0, sizeof(*cursor));
75 SDL_memcpy(&cursor
91 Mac_ShowWMCursor(_THIS, WMcursor *cursor) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_mouse.c34 void ph_FreeWMCursor(_THIS, WMcursor *cursor) argument
48 SDL_free(cursor);
53 WMcursor* cursor; local
57 /* Allocate and initialize the cursor memory */
58 if ((cursor = (WMcursor*)SDL_malloc(sizeof(WMcursor))) == NULL)
63 SDL_memset(cursor,0,sizeof(WMcursor));
65 cursor->ph_cursor = (PhCursorDef_t *) SDL_malloc(sizeof(PhCursorDef_t) + 32*4*2);
67 if (cursor->ph_cursor == NULL)
69 SDL_SetError("ph_CreateWMCursor(): cursor malloc failed !\n");
73 SDL_memset(cursor
112 ph_GetWMPhCursor(WMcursor *cursor) argument
117 ph_ShowWMCursor(_THIS, WMcursor* cursor) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
H A DSDL_gsmouse.c33 /* The implementation dependent data for the window manager cursor */
39 void GS_FreeWMCursor(_THIS, WMcursor *cursor) argument
51 static void GS_MoveCursor(_THIS, SDL_Cursor *cursor, int x, int y) argument
69 /* Remove the cursor image from the DMA area */
85 /* Only draw the new cursor if there was one passed in */
86 if ( cursor ) {
88 cursor->area.x = (x - cursor->hot_x);
89 cursor->area.y = (y - cursor
134 SDL_Cursor *cursor; local
[all...]
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestcursor.c6 /* This is an example 16x16 cursor
58 /* another test cursor: smaller than 16x16, and with an odd height */
146 SDL_Cursor *cursor[3]; local
163 cursor[0] = SDL_CreateCursor((Uint8 *)cursor_data, (Uint8 *)cursor_mask,
165 if (cursor[0]==NULL) {
166 fprintf(stderr, "Couldn't initialize test cursor: %s\n",SDL_GetError());
170 cursor[1] = create_arrow_cursor();
171 if (cursor[1]==NULL) {
172 fprintf(stderr, "Couldn't initialize arrow cursor: %s\n",SDL_GetError());
173 SDL_FreeCursor(cursor[
[all...]

Completed in 593 milliseconds

1234567891011>>