/AliOS-Things-master/components/SDL2/src/video/wayland/ |
A D | SDL_waylandmouse.c | 150 SDL_Cursor *cursor; in Wayland_CreateCursor() local 152 cursor = calloc(1, sizeof (*cursor)); in Wayland_CreateCursor() 153 if (cursor) { in Wayland_CreateCursor() 194 return cursor; in Wayland_CreateCursor() 200 SDL_Cursor *cursor; in CreateCursorFromWlCursor() local 202 cursor = calloc(1, sizeof (*cursor)); in CreateCursorFromWlCursor() 203 if (cursor) { in CreateCursorFromWlCursor() 224 return cursor; in CreateCursorFromWlCursor() 297 if (!cursor) in Wayland_FreeCursor() 314 SDL_free(cursor); in Wayland_FreeCursor() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsmouse.c | 77 cursor = SDL_calloc(1, sizeof(*cursor)); in WIN_CreateDefaultCursor() 78 if (cursor) { in WIN_CreateDefaultCursor() 84 return cursor; in WIN_CreateDefaultCursor() 149 cursor = SDL_calloc(1, sizeof(*cursor)); in WIN_CreateCursor() 150 if (cursor) { in WIN_CreateCursor() 157 return cursor; in WIN_CreateCursor() 185 cursor = SDL_calloc(1, sizeof(*cursor)); in WIN_CreateSystemCursor() 186 if (cursor) { in WIN_CreateSystemCursor() 196 return cursor; in WIN_CreateSystemCursor() 205 SDL_free(cursor); in WIN_FreeCursor() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/android/ |
A D | SDL_androidmouse.c | 61 SDL_Cursor *cursor; in Android_WrapCursor() local 63 cursor = SDL_calloc(1, sizeof(*cursor)); in Android_WrapCursor() 64 if (cursor) { in Android_WrapCursor() 69 cursor->driverdata = data; in Android_WrapCursor() 71 SDL_free(cursor); in Android_WrapCursor() 72 cursor = NULL; in Android_WrapCursor() 79 return cursor; in Android_WrapCursor() 116 SDL_free(cursor->driverdata); in Android_FreeCursor() 117 SDL_free(cursor); in Android_FreeCursor() 146 if (!cursor) { in Android_ShowCursor() [all …]
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | ftstream.c | 42 stream->cursor = 0; in FT_Stream_OpenMemory() 336 stream->cursor = 0; in FT_Stream_ExitFrame() 370 stream->cursor = p; in FT_Stream_GetUShort() 389 stream->cursor = p; in FT_Stream_GetUShortLE() 408 stream->cursor = p; in FT_Stream_GetUOffset() 426 stream->cursor = p; in FT_Stream_GetULong() 444 stream->cursor = p; in FT_Stream_GetULongLE() 728 FT_Byte* cursor; in FT_Stream_ReadFields() local 734 cursor = stream->cursor; in FT_Stream_ReadFields() 752 cursor = stream->cursor; in FT_Stream_ReadFields() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/winrt/ |
A D | SDL_winrtmouse.cpp | 55 SDL_Cursor *cursor; in WINRT_CreateSystemCursor() local 77 cursor = (SDL_Cursor *) SDL_calloc(1, sizeof(*cursor)); in WINRT_CreateSystemCursor() 78 if (cursor) { in WINRT_CreateSystemCursor() 86 cursor->driverdata = (void *) theCursor; in WINRT_CreateSystemCursor() 91 return cursor; in WINRT_CreateSystemCursor() 101 WINRT_FreeCursor(SDL_Cursor * cursor) in WINRT_FreeCursor() argument 103 if (cursor->driverdata) { in WINRT_FreeCursor() 104 CoreCursor ^* theCursor = (CoreCursor ^*) cursor->driverdata; in WINRT_FreeCursor() 108 SDL_free(cursor); in WINRT_FreeCursor() 112 WINRT_ShowCursor(SDL_Cursor * cursor) in WINRT_ShowCursor() argument [all …]
|
/AliOS-Things-master/components/SDL2/src/video/alios/ |
A D | SDL_AliOS_mouse.c | 38 static int AliOS_ShowCursor(SDL_Cursor * cursor); 39 static void AliOS_FreeCursor(SDL_Cursor * cursor); 53 SDL_Cursor *cursor; in AliOS_CreateCursor() local 56 cursor = SDL_malloc(sizeof(SDL_Cursor)); in AliOS_CreateCursor() 62 cursor->driverdata = curdata; in AliOS_CreateCursor() 65 return cursor; in AliOS_CreateCursor() 76 AliOS_ShowCursor(SDL_Cursor * cursor) in AliOS_ShowCursor() argument 83 if (cursor) { in AliOS_ShowCursor() 84 surface = ((AliOS_CursorData *)cursor->driverdata)->surface; in AliOS_ShowCursor() 104 AliOS_FreeCursor(SDL_Cursor * cursor) in AliOS_FreeCursor() argument [all …]
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11mouse.c | 78 cursor = SDL_calloc(1, sizeof(*cursor)); in X11_CreateDefaultCursor() 79 if (cursor) { in X11_CreateDefaultCursor() 86 return cursor; in X11_CreateDefaultCursor() 114 return cursor; in X11_CreateXCursorCursor() 200 return cursor; in X11_CreatePixmapCursor() 208 cursor = SDL_calloc(1, sizeof(*cursor)); in X11_CreateCursor() 209 if (cursor) { in X11_CreateCursor() 225 return cursor; in X11_CreateCursor() 255 cursor = SDL_calloc(1, sizeof(*cursor)); in X11_CreateSystemCursor() 256 if (cursor) { in X11_CreateSystemCursor() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/directfb/ |
A D | SDL_DirectFB_mouse.c | 86 SDL_Cursor *cursor; in DirectFB_CreateDefaultCursor() local 90 SDL_DFB_ALLOC_CLEAR( cursor, sizeof(*cursor)); in DirectFB_CreateDefaultCursor() 104 cursor->driverdata = curdata; in DirectFB_CreateDefaultCursor() 125 return cursor; in DirectFB_CreateDefaultCursor() 139 SDL_Cursor *cursor; in DirectFB_CreateCursor() local 147 SDL_DFB_ALLOC_CLEAR( cursor, sizeof(*cursor)); in DirectFB_CreateCursor() 172 return cursor; in DirectFB_CreateCursor() 181 SDL_DFB_CURSORDATA(cursor); in DirectFB_ShowCursor() 195 if (cursor) in DirectFB_ShowCursor() 222 SDL_DFB_CURSORDATA(cursor); in DirectFB_FreeCursor() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/raspberry/ |
A D | SDL_rpimouse.c | 67 SDL_Cursor *cursor; in RPI_CreateCursor() local 75 cursor = (SDL_Cursor *) SDL_calloc(1, sizeof(*cursor)); in RPI_CreateCursor() 76 if (cursor == NULL) { in RPI_CreateCursor() 83 SDL_free(cursor); in RPI_CreateCursor() 105 cursor->driverdata = curdata; in RPI_CreateCursor() 107 return cursor; in RPI_CreateCursor() 131 if (cursor != global_cursor) { in RPI_ShowCursor() 144 global_cursor = cursor; in RPI_ShowCursor() 147 if (cursor == NULL) { in RPI_ShowCursor() 208 if (cursor != NULL) { in RPI_FreeCursor() [all …]
|
/AliOS-Things-master/components/freetype/src/psaux/ |
A D | psconv.c | 88 FT_Byte* p = *cursor; in PS_Conv_Strtol() 138 *cursor = p; in PS_Conv_Strtol() 185 *cursor = p; in PS_Conv_ToInt() 288 *cursor = p; in PS_Conv_ToFixed() 448 *cursor = p; 471 p = *cursor; in PS_Conv_ASCIIHexDecode() 506 *cursor = p + r; in PS_Conv_ASCIIHexDecode() 539 *cursor = p; in PS_Conv_ASCIIHexDecode() 562 p = *cursor; in PS_Conv_EexecDecode() 580 *cursor = p + n; in PS_Conv_EexecDecode() [all …]
|
A D | psconv.h | 30 PS_Conv_Strtol( FT_Byte** cursor, 36 PS_Conv_ToInt( FT_Byte** cursor, 40 PS_Conv_ToFixed( FT_Byte** cursor, 46 PS_Conv_StringDecode( FT_Byte** cursor, 53 PS_Conv_ASCIIHexDecode( FT_Byte** cursor, 59 PS_Conv_EexecDecode( FT_Byte** cursor,
|
A D | psobjs.c | 86 table->cursor = 0; in ps_table_new() 218 table->cursor += length; in ps_table_add() 604 parser->cursor = cur; in ps_parser_skip_PS_token() 634 cur = parser->cursor; in ps_parser_to_token() 714 parser->cursor = cur; in ps_parser_to_token() 958 *cursor = cur; 975 len = cur - *cursor; 982 *cursor = cur; 1382 cur = parser->cursor; in ps_parser_to_bytes() 1416 parser->cursor = cur; in ps_parser_to_bytes() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/emscripten/ |
A D | SDL_emscriptenmouse.c | 39 SDL_Cursor* cursor; in Emscripten_CreateCursorFromString() local 43 if (cursor) { in Emscripten_CreateCursorFromString() 47 SDL_free(cursor); in Emscripten_CreateCursorFromString() 53 cursor->driverdata = curdata; in Emscripten_CreateCursorFromString() 59 return cursor; in Emscripten_CreateCursorFromString() 186 Emscripten_FreeCursor(SDL_Cursor* cursor) in Emscripten_FreeCursor() argument 189 if (cursor) { in Emscripten_FreeCursor() 196 SDL_free(cursor->driverdata); in Emscripten_FreeCursor() 199 SDL_free(cursor); in Emscripten_FreeCursor() 204 Emscripten_ShowCursor(SDL_Cursor* cursor) in Emscripten_ShowCursor() argument [all …]
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_mouse.c | 159 SDL_Cursor *cursor; in _initArrowCursor() local 189 return cursor; in _initArrowCursor() 201 SDL_Cursor *cursor; in mouse_createFreeCursor() local 207 if (cursor == NULL) { in mouse_createFreeCursor() 212 SDL_FreeCursor(cursor); in mouse_createFreeCursor() 228 SDL_Cursor *cursor; in mouse_createFreeColorCursor() local 239 if (cursor == NULL) { in mouse_createFreeColorCursor() 313 SDL_Cursor *cursor; in mouse_setCursor() local 319 if (cursor == NULL) { in mouse_setCursor() 324 SDL_SetCursor(cursor); in mouse_setCursor() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/ |
A D | SDL_kmsdrmmouse.c | 91 SDL_Cursor *cursor; in KMSDRM_CreateCursor() local 171 cursor = (SDL_Cursor *) SDL_calloc(1, sizeof(*cursor)); in KMSDRM_CreateCursor() 172 if (!cursor) { in KMSDRM_CreateCursor() 179 SDL_free(cursor); in KMSDRM_CreateCursor() 279 cursor->driverdata = curdata; in KMSDRM_CreateCursor() 281 return cursor; in KMSDRM_CreateCursor() 287 if (cursor) { in KMSDRM_CreateCursor() 288 SDL_free(cursor); in KMSDRM_CreateCursor() 324 if (!cursor) { in KMSDRM_ShowCursor() 391 if (cursor) { in KMSDRM_FreeCursor() [all …]
|
/AliOS-Things-master/components/freetype/src/type42/ |
A D | t42parse.c | 318 cur = parser->root.cursor; in t42_parse_encoding() 343 parser->root.cursor++; in t42_parse_encoding() 397 cur = parser->root.cursor; in t42_parse_encoding() 552 if ( parser->root.cursor >= limit || *parser->root.cursor++ != '[' ) in t42_parse_sfnts() 567 cur = parser->root.cursor; in t42_parse_sfnts() 571 parser->root.cursor++; in t42_parse_sfnts() 588 parser->root.cursor = cur; in t42_parse_sfnts() 776 cur = parser->root.cursor; in t42_parse_charstrings() 838 cur = parser->root.cursor; in t42_parse_charstrings() 1060 parser->root.cursor = base; in t42_parse_dict() [all …]
|
/AliOS-Things-master/components/littlevgl/src/lv_objx/ |
A D | lv_ta.c | 101 ext->cursor.state = 1; in lv_ta_create() 109 ext->cursor.pos = 0; in lv_ta_create() 110 ext->cursor.click_pos = 1; in lv_ta_create() 161 ext->cursor.style = copy_ext->cursor.style; in lv_ta_create() 162 ext->cursor.pos = copy_ext->cursor.pos; in lv_ta_create() 163 ext->cursor.valid_x = copy_ext->cursor.valid_x; in lv_ta_create() 164 ext->cursor.type = copy_ext->cursor.type; in lv_ta_create() 548 ext->cursor.pos = pos; in lv_ta_set_cursor_pos() 882 ext->cursor.state = 1; in lv_ta_set_cursor_blink_time() 944 return ext->cursor.pos; in lv_ta_get_cursor_pos() [all …]
|
/AliOS-Things-master/components/SDL2/src/events/ |
A D | SDL_mouse.c | 666 while (cursor) { 669 cursor = next; 890 SDL_Cursor *cursor; local 931 return cursor; 939 SDL_Cursor *cursor; local 967 if (cursor) { 974 return cursor; 989 if (cursor) { 994 return cursor; 1007 if (cursor) { [all …]
|
/AliOS-Things-master/components/SDL2/src/audio/directsound/ |
A D | SDL_directsound.c | 186 DWORD cursor = 0; in DSOUND_WaitDevice() local 254 DWORD cursor = 0; in DSOUND_GetDeviceBuf() local 272 cursor /= this->spec.size; in DSOUND_GetDeviceBuf() 276 DWORD spot = cursor; in DSOUND_GetDeviceBuf() 286 this->hidden->lastchunk = cursor; in DSOUND_GetDeviceBuf() 287 cursor = (cursor + 1) % this->hidden->num_buffers; in DSOUND_GetDeviceBuf() 288 cursor *= this->spec.size; in DSOUND_GetDeviceBuf() 314 DWORD junk, cursor, ptr1len, ptr2len; in DSOUND_CaptureFromDevice() local 358 DWORD junk, cursor; in DSOUND_FlushCapture() local 360 h->lastchunk = cursor / this->spec.size; in DSOUND_FlushCapture() [all …]
|
/AliOS-Things-master/components/freetype/src/lzw/ |
A D | ftlzw.c | 80 FT_Byte* cursor; member 122 zip->cursor = zip->limit; in ft_lzw_file_init() 162 zip->cursor = zip->limit; in ft_lzw_file_reset() 178 zip->cursor = zip->buffer; in ft_lzw_file_fill_output() 182 zip->limit = zip->cursor + count; in ft_lzw_file_fill_output() 201 FT_ULong delta = (FT_ULong)( zip->limit - zip->cursor ); in ft_lzw_file_skip_output() 207 zip->cursor += delta; in ft_lzw_file_skip_output() 256 zip->cursor -= zip->pos - pos; in ft_lzw_file_io() 284 delta = (FT_ULong)( zip->limit - zip->cursor ); in ft_lzw_file_io() 288 FT_MEM_COPY( buffer + result, zip->cursor, delta ); in ft_lzw_file_io() [all …]
|
/AliOS-Things-master/components/SDL2/src/core/linux/ |
A D | SDL_fcitx.c | 159 size_t cursor = 0; in DBus_MessageFilter() local 165 SDL_SendEditingText(buf, cursor, chars); in DBus_MessageFilter() 168 cursor += chars; in DBus_MessageFilter() 361 SDL_Rect *cursor = &fcitx_client.cursor_rect; in SDL_Fcitx_UpdateTextRect() local 364 SDL_memcpy(cursor, rect, sizeof(SDL_Rect)); in SDL_Fcitx_UpdateTextRect() 391 if (cursor->x == -1 && cursor->y == -1 && cursor->w == 0 && cursor->h == 0) { in SDL_Fcitx_UpdateTextRect() 395 cursor->x = 0; in SDL_Fcitx_UpdateTextRect() 396 cursor->y = h; in SDL_Fcitx_UpdateTextRect() 399 x += cursor->x; in SDL_Fcitx_UpdateTextRect() 400 y += cursor->y; in SDL_Fcitx_UpdateTextRect() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoamouse.m | 73 SDL_Cursor *cursor = NULL; 78 cursor = SDL_calloc(1, sizeof(*cursor)); 79 if (cursor) { 85 return cursor; 102 cursor = SDL_calloc(1, sizeof(*cursor)); 103 if (cursor) { 110 return cursor; 161 cursor = SDL_calloc(1, sizeof(*cursor)); 162 if (cursor) { 169 return cursor; [all …]
|
/AliOS-Things-master/components/freetype/src/cid/ |
A D | cidparse.c | 73 if ( ft_strncmp( (char *)stream->cursor, in cid_parser_new() 149 parser->root.cursor = parser->postscript; in cid_parser_new() 150 parser->root.limit = parser->root.cursor + ps_len; in cid_parser_new() 158 arg1 = parser->root.cursor; in cid_parser_new() 161 arg2 = parser->root.cursor; in cid_parser_new() 166 cur = parser->root.cursor; in cid_parser_new() 194 cur = parser->root.cursor; in cid_parser_new()
|
/AliOS-Things-master/components/freetype/src/bzip2/ |
A D | ftbzip2.c | 113 FT_Byte* cursor; member 160 zip->cursor = zip->limit; in ft_bzip2_file_init() 235 zip->cursor = zip->limit; in ft_bzip2_file_reset() 287 zip->cursor = zip->buffer; in ft_bzip2_file_fill_output() 288 bzstream->next_out = (char*)zip->cursor; in ft_bzip2_file_fill_output() 308 if ( zip->limit == zip->cursor ) in ft_bzip2_file_fill_output() 334 delta = (FT_ULong)( zip->limit - zip->cursor ); in ft_bzip2_file_skip_output() 338 zip->cursor += delta; in ft_bzip2_file_skip_output() 390 delta = (FT_ULong)( zip->limit - zip->cursor ); in ft_bzip2_file_io() 394 FT_MEM_COPY( buffer, zip->cursor, delta ); in ft_bzip2_file_io() [all …]
|
/AliOS-Things-master/components/freetype/src/type1/ |
A D | t1parse.c | 124 if ( ft_memcmp( stream->cursor, header_string, header_length ) != 0 ) in check_type1_format() 232 parser->root.cursor = parser->base_dict; in T1_New_Parser() 233 parser->root.limit = parser->root.cursor + parser->base_len; in T1_New_Parser() 368 parser->root.cursor = parser->base_dict; in T1_Get_Private_Dict() 372 cur = parser->root.cursor; in T1_Get_Private_Dict() 384 cur = parser->root.cursor; in T1_Get_Private_Dict() 402 cur = parser->root.cursor; in T1_Get_Private_Dict() 465 parser->root.cursor = cur; in T1_Get_Private_Dict() 499 parser->root.cursor = parser->private_dict; in T1_Get_Private_Dict() 500 parser->root.limit = parser->root.cursor + parser->private_len; in T1_Get_Private_Dict()
|