Home
last modified time | relevance | path

Searched refs:cursor (Results 1 – 25 of 176) sorted by relevance

12345678

/reactos/sdk/include/reactos/wine/
H A Dlist.h188 #define LIST_FOR_EACH(cursor,list) \ argument
189 for ((cursor) = (list)->next; (cursor) != (list); (cursor) = (cursor)->next)
193 for ((cursor) = (list)->next, (cursor2) = (cursor)->next; \
194 (cursor) != (list); \
195 (cursor) = (cursor2), (cursor2) = (cursor)->next)
208 (cursor) = (cursor2), \
213 for ((cursor) = (list)->prev; (cursor) != (list); (cursor) = (cursor)->prev)
217 for ((cursor) = (list)->prev, (cursor2) = (cursor)->prev; \
218 (cursor) != (list); \
219 (cursor) = (cursor2), (cursor2) = (cursor)->prev)
[all …]
H A Drbtree.h150 #define WINE_RB_FOR_EACH(cursor, tree) \ argument
151 for ((cursor) = wine_rb_head((tree)->root); (cursor); (cursor) = wine_rb_next(cursor))
160 #define WINE_RB_FOR_EACH_DESTRUCTOR(cursor, cursor2, tree) \ argument
161 for ((cursor) = wine_rb_postorder_head((tree)->root); \
162 (cursor) && (((cursor2) = wine_rb_postorder_next(cursor)) || 1); \
163 (cursor) = (cursor2))
/reactos/sdk/lib/3rdparty/freetype/src/base/
H A Dftstream.c42 stream->cursor = NULL; in FT_Stream_OpenMemory()
372 stream->cursor = p; in FT_Stream_GetUShort()
391 stream->cursor = p; in FT_Stream_GetUShortLE()
410 stream->cursor = p; in FT_Stream_GetUOffset()
428 stream->cursor = p; in FT_Stream_GetULong()
446 stream->cursor = p; in FT_Stream_GetULongLE()
720 FT_Byte* cursor; in FT_Stream_ReadFields() local
729 cursor = stream->cursor; in FT_Stream_ReadFields()
747 cursor = stream->cursor; in FT_Stream_ReadFields()
768 cursor += len; in FT_Stream_ReadFields()
[all …]
/reactos/dll/win32/riched20/
H A Dcaret.c30 cursor->pRun = ME_FindItemFwd(cursor->pPara, diRun); in ME_SetCursorToStart()
38 cursor->nOffset = final_eop ? cursor->pRun->member.run.len : 0; in ME_SetCursorToEnd()
725 cursor->nOffset += cursor->pRun->member.run.nCharOfs; in ME_MoveCursorChars()
755 cursor->nOffset -= cursor->pRun->member.run.nCharOfs; in ME_MoveCursorChars()
766 cursor->nOffset -= cursor->pRun->member.run.len; in ME_MoveCursorChars()
787 cursor->pRun = ME_FindItemFwd(cursor->pPara, diRun); in ME_MoveCursorChars()
790 cursor->nOffset -= cursor->pRun->member.run.len; in ME_MoveCursorChars()
791 cursor->pRun = ME_FindItemFwd(cursor->pRun, diRun); in ME_MoveCursorChars()
832 if (cursor->pRun == pRun && cursor->nOffset == 0) in ME_MoveCursorWords()
1026 cursor->pPara = ME_GetParagraph( cursor->pRun ); in ME_FindRunInRow()
[all …]
H A Dwriter.c1001 ME_Cursor cursor = *start; in ME_StreamOutRTF() local
1003 ME_Cursor endCur = cursor; in ME_StreamOutRTF()
1029 prev_para = cursor.pPara; in ME_StreamOutRTF()
1090 nEnd = (cursor.pRun == endCur.pRun) ? endCur.nOffset : cursor.pRun->member.run.len; in ME_StreamOutRTF()
1094 cursor.nOffset = 0; in ME_StreamOutRTF()
1096 } while (cursor.pRun != endCur.pRun && ME_NextRun(&cursor.pPara, &cursor.pRun, TRUE)); in ME_StreamOutRTF()
1107 ME_Cursor cursor = *start; in ME_StreamOutText() local
1114 if (!cursor.pRun) in ME_StreamOutText()
1123 nLen = min(nChars, cursor.pRun->member.run.len - cursor.nOffset); in ME_StreamOutText()
1154 cursor.nOffset = 0; in ME_StreamOutText()
[all …]
H A Deditor.c596 && !cursor.nOffset && !cursor.pRun->member.run.nCharOfs) in ME_RTFParAttrHook()
631 if (cursor.nOffset || cursor.pRun->member.run.nCharOfs) in ME_RTFParAttrHook()
663 if (cursor.nOffset || cursor.pRun->member.run.nCharOfs) in ME_RTFParAttrHook()
1929 while (cursor.pRun && ME_GetCursorOfs(&cursor) + nLen <= nMax) in ME_FindText()
1965 cursor.nOffset += cursor.pPara->member.para.nCharOfs + cursor.pRun->member.run.nCharOfs; in ME_FindText()
1986 if (cursor.nOffset == cursor.pRun->member.run.len) in ME_FindText()
1988 ME_NextRun(&cursor.pPara, &cursor.pRun, TRUE); in ME_FindText()
2005 while (cursor.pRun && ME_GetCursorOfs(&cursor) - nLen >= nMin) in ME_FindText()
2077 ME_PrevRun(&cursor.pPara, &cursor.pRun, TRUE); in ME_FindText()
2078 cursor.nOffset = cursor.pRun->member.run.len; in ME_FindText()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/psaux/
H A Dpsconv.c88 FT_Byte* p = *cursor; in PS_Conv_Strtol()
142 *cursor = p; in PS_Conv_Strtol()
189 *cursor = p; in PS_Conv_ToInt()
297 *cursor = p; in PS_Conv_ToFixed()
457 *cursor = p;
480 p = *cursor; in PS_Conv_ASCIIHexDecode()
515 *cursor = p + r; in PS_Conv_ASCIIHexDecode()
548 *cursor = p; in PS_Conv_ASCIIHexDecode()
571 p = *cursor; in PS_Conv_EexecDecode()
589 *cursor = p + n; in PS_Conv_EexecDecode()
[all …]
H A Dpsconv.h30 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,
H A Dpsobjs.c88 table->cursor = 0; in ps_table_new()
214 table->cursor += length; in ps_table_add()
603 parser->cursor = cur; in ps_parser_skip_PS_token()
633 cur = parser->cursor; in ps_parser_to_token()
669 parser->cursor = cur; in ps_parser_to_token()
713 parser->cursor = cur; in ps_parser_to_token()
957 *cursor = cur;
981 *cursor = cur;
1391 cur = parser->cursor; in ps_parser_to_bytes()
1425 parser->cursor = cur; in ps_parser_to_bytes()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/type42/
H A Dt42parse.c305 cur = parser->root.cursor; in t42_parse_encoding()
330 parser->root.cursor++; in t42_parse_encoding()
401 cur = parser->root.cursor; in t42_parse_encoding()
563 if ( parser->root.cursor >= limit || *parser->root.cursor++ != '[' ) in t42_parse_sfnts()
581 cur = parser->root.cursor; in t42_parse_sfnts()
585 parser->root.cursor++; in t42_parse_sfnts()
608 parser->root.cursor = cur; in t42_parse_sfnts()
836 cur = parser->root.cursor; in t42_parse_charstrings()
912 cur = parser->root.cursor; in t42_parse_charstrings()
1146 parser->root.cursor = base; in t42_parse_dict()
[all …]
/reactos/base/applications/network/telnet/src/
H A Dtnmain.cpp109 cursor = 0; in cfgets()
162 cursor++; in cfgets()
167 if (cursor > 0) { in cfgets()
184 cursor--; in cfgets()
189 if (cursor>0) cursor = 0; in cfgets()
193 if (cursor<current) cursor = current; in cfgets()
198 strcpy(&buf[cursor],&buf[cursor+1]); in cfgets()
208 if (cursor > 0 ) { in cfgets()
209 strcpy(&buf[cursor-1],&buf[cursor]); in cfgets()
211 cursor--; in cfgets()
[all …]
/reactos/dll/win32/msctf/
H A Dcompartmentmgr.c62 struct list *cursor; member
102 struct list *cursor, *cursor2; in CompartmentMgr_Destructor() local
107 list_remove(cursor); in CompartmentMgr_Destructor()
174 struct list *cursor; in CompartmentMgr_GetCompartment() local
212 struct list *cursor; in CompartmentMgr_ClearCompartment() local
223 list_remove(cursor); in CompartmentMgr_ClearCompartment()
353 This->cursor = list_next(This->values,This->cursor); in CompartmentEnumGuid_Next()
369 This->cursor = list_next(This->values,This->cursor); in CompartmentEnumGuid_Skip()
395 new_This->cursor = This->cursor; in CompartmentEnumGuid_Clone()
423 This->cursor = list_head(values); in CompartmentEnumGuid_Constructor()
[all …]
H A Dmsctf_internal.h88 #define SINK_ENTRY(cursor,type) (LIST_ENTRY(cursor,Sink,entry)->interfaces.p##type) argument
89 #define SINK_FOR_EACH(cursor,list,type,elem) \ argument
90 for ((cursor) = (list)->next, elem = SINK_ENTRY(cursor,type); \
91 (cursor) != (list); \
92 (cursor) = (cursor)->next, elem = SINK_ENTRY(cursor,type))
H A Dthreadmgr.c183 list_remove(cursor); in ThreadMgr_Destructor()
191 list_remove(cursor); in ThreadMgr_Destructor()
837 struct list *cursor; in KeystrokeMgr_IsPreservedKey() local
863 struct list *cursor; in KeystrokeMgr_PreserveKey() local
907 struct list *cursor; in KeystrokeMgr_UnpreserveKey() local
1123 struct list *cursor; in ThreadMgrEventSink_OnInitDocumentMgr() local
1140 struct list *cursor; in ThreadMgrEventSink_OnUninitDocumentMgr() local
1158 struct list *cursor; in ThreadMgrEventSink_OnSetFocus() local
1175 struct list *cursor; in ThreadMgrEventSink_OnPushContext() local
1192 struct list *cursor; in ThreadMgrEventSink_OnPopContext() local
[all …]
/reactos/dll/win32/comctl32/
H A Ddraglist.c63 HCURSOR cursor; member
146 LRESULT cursor = DragList_Notify(hwnd, DL_DRAGGING); in DragList_SubclassWindowProc() local
149 if (data->last_dragging_response != cursor) in DragList_SubclassWindowProc()
151 switch (cursor) in DragList_SubclassWindowProc()
154 data->cursor = LoadCursorW(NULL, (LPCWSTR)IDC_NO); in DragList_SubclassWindowProc()
155 SetCursor(data->cursor); in DragList_SubclassWindowProc()
159 data->cursor = LoadCursorW(COMCTL32_hModule, (LPCWSTR)IDC_COPY); in DragList_SubclassWindowProc()
163 SetCursor(data->cursor); in DragList_SubclassWindowProc()
166 data->cursor = LoadCursorW(NULL, (LPCWSTR)IDC_ARROW); in DragList_SubclassWindowProc()
167 SetCursor(data->cursor); in DragList_SubclassWindowProc()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/lzw/
H A Dftlzw.c79 FT_Byte* cursor; member
121 zip->cursor = zip->limit; in ft_lzw_file_init()
161 zip->cursor = zip->limit; in ft_lzw_file_reset()
177 zip->cursor = zip->buffer; in ft_lzw_file_fill_output()
181 zip->limit = zip->cursor + count; in ft_lzw_file_fill_output()
200 FT_ULong delta = (FT_ULong)( zip->limit - zip->cursor ); in ft_lzw_file_skip_output()
206 zip->cursor += delta; in ft_lzw_file_skip_output()
255 zip->cursor -= zip->pos - pos; in ft_lzw_file_io()
283 delta = (FT_ULong)( zip->limit - zip->cursor ); in ft_lzw_file_io()
287 FT_MEM_COPY( buffer + result, zip->cursor, delta ); in ft_lzw_file_io()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/bzip2/
H A Dftbzip2.c112 FT_Byte* cursor; member
159 zip->cursor = zip->limit; in ft_bzip2_file_init()
234 zip->cursor = zip->limit; in ft_bzip2_file_reset()
258 zip->limit = zip->cursor; in ft_bzip2_file_fill_input()
270 zip->limit = zip->cursor; in ft_bzip2_file_fill_input()
292 zip->cursor = zip->buffer; in ft_bzip2_file_fill_output()
293 bzstream->next_out = (char*)zip->cursor; in ft_bzip2_file_fill_output()
313 if ( zip->limit == zip->cursor ) in ft_bzip2_file_fill_output()
319 zip->limit = zip->cursor; in ft_bzip2_file_fill_output()
344 zip->cursor += delta; in ft_bzip2_file_skip_output()
[all …]
/reactos/sdk/lib/3rdparty/strmbase/
H A Doutputqueue.c51 struct list *cursor, *cursor2; in OutputQueue_FreeSamples() local
52 LIST_FOR_EACH_SAFE(cursor, cursor2, &pOutputQueue->SampleList) in OutputQueue_FreeSamples()
54 QueuedEvent *qev = LIST_ENTRY(cursor, QueuedEvent, entry); in OutputQueue_FreeSamples()
55 list_remove(cursor); in OutputQueue_FreeSamples()
241 struct list *cursor, *cursor2; in OutputQueueImpl_ThreadProc() local
248 LIST_FOR_EACH_SAFE(cursor, cursor2, &pOutputQueue->SampleList) in OutputQueueImpl_ThreadProc()
250 QueuedEvent *qev = LIST_ENTRY(cursor, QueuedEvent, entry); in OutputQueueImpl_ThreadProc()
255 list_remove(cursor); in OutputQueueImpl_ThreadProc()
272 LIST_FOR_EACH_SAFE(cursor, cursor2, &pOutputQueue->SampleList) in OutputQueueImpl_ThreadProc()
274 QueuedEvent *qev = LIST_ENTRY(cursor, QueuedEvent, entry); in OutputQueueImpl_ThreadProc()
[all …]
/reactos/sdk/lib/3rdparty/freetype/src/type1/
H A Dt1load.c894 old_cursor = parser->root.cursor; in parse_blend_design_map()
1205 cur = parser->root.cursor; in read_binary_data()
1307 cur = parser->root.cursor; in parse_encoding()
1332 parser->root.cursor++; in parse_encoding()
1402 cur = parser->root.cursor; in parse_encoding()
1444 cur = parser->root.cursor; in parse_encoding()
1790 cur = parser->root.cursor; in parse_charstrings()
2081 parser->root.cursor = base; in parse_dict()
2094 cur = parser->root.cursor; in parse_dict()
2111 parser->root.cursor += 13; in parse_dict()
[all …]
H A Dt1parse.c124 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()
367 parser->root.cursor = parser->base_dict; in T1_Get_Private_Dict()
371 cur = parser->root.cursor; in T1_Get_Private_Dict()
390 cur = parser->root.cursor; in T1_Get_Private_Dict()
417 cur = parser->root.cursor; in T1_Get_Private_Dict()
482 parser->root.cursor = cur; in T1_Get_Private_Dict()
516 parser->root.cursor = parser->private_dict; in T1_Get_Private_Dict()
517 parser->root.limit = parser->root.cursor + parser->private_len; in T1_Get_Private_Dict()
/reactos/sdk/lib/3rdparty/freetype/src/cid/
H A Dcidparse.c79 if ( ft_strncmp( (char *)stream->cursor, in cid_parser_new()
183 parser->root.cursor = parser->postscript; in cid_parser_new()
184 parser->root.limit = parser->root.cursor + ps_len; in cid_parser_new()
192 arg1 = parser->root.cursor; in cid_parser_new()
195 arg2 = parser->root.cursor; in cid_parser_new()
200 cur = parser->root.cursor; in cid_parser_new()
242 cur = parser->root.cursor; in cid_parser_new()
/reactos/sdk/lib/3rdparty/freetype/src/gzip/
H A Dftgzip.c193 FT_Byte* cursor; member
297 zip->cursor = zip->limit; in ft_gzip_file_init()
371 zip->cursor = zip->limit; in ft_gzip_file_reset()
393 zip->limit = zip->cursor; in ft_gzip_file_fill_input()
405 zip->limit = zip->cursor; in ft_gzip_file_fill_input()
427 zip->cursor = zip->buffer; in ft_gzip_file_fill_output()
428 zstream->next_out = zip->cursor; in ft_gzip_file_fill_output()
448 if ( zip->limit == zip->cursor ) in ft_gzip_file_fill_output()
454 zip->limit = zip->cursor; in ft_gzip_file_fill_output()
479 zip->cursor += delta; in ft_gzip_file_skip_output()
[all …]
/reactos/modules/rostests/winetests/user32/
H A Dcursoricon.c456 HCURSOR cursor; in test_child_process() local
473 ok(cursor != NULL, "CreateIconIndirect returned %p.\n", cursor); in test_child_process()
475 SetCursor(cursor); in test_child_process()
2326 ok(cursor != NULL, "CreateIconIndirect returned %p\n", cursor); in test_SetCursor()
2360 ok( GetCursor() == cursor, "wrong cursor %p/0\n", cursor ); in test_SetCursor()
2375 ok( cursor == 0, "wrong cursor %p/0\n", cursor ); in test_SetCursor()
2535 ok(cursor != NULL, "CreateIconIndirect returned %p\n", cursor); in test_DestroyCursor()
2536 if(!cursor) { in test_DestroyCursor()
2539 SetCursor(cursor); in test_DestroyCursor()
2639 SetCursor(cursor); in test_DestroyCursor()
[all …]
/reactos/dll/win32/windowscodecs/
H A Dbmpdecode.c442 ULONG *cursor, ULONG *bytesread, BYTE *result) in ReadByte() argument
446 if (*bytesread == 0 || *cursor == *bytesread) in ReadByte()
449 *cursor = 0; in ReadByte()
454 if (*cursor < *bytesread) in ReadByte()
455 *result = buffer[(*cursor)++]; in ReadByte()
474 ULONG cursor=0, bytesread=0; in BmpFrameDecode_ReadRLE8() local
509 cursor = 0; in BmpFrameDecode_ReadRLE8()
514 hr = ReadByte(This->stream, rledata, 4096, &cursor, &bytesread, &length); in BmpFrameDecode_ReadRLE8()
598 ULONG cursor=0, bytesread=0; in BmpFrameDecode_ReadRLE4() local
633 cursor = 0; in BmpFrameDecode_ReadRLE4()
[all …]
/reactos/dll/win32/ole32/
H A Dstubmanager.c139 struct list *cursor; in stub_manager_ipid_to_ifstub() local
143 LIST_FOR_EACH( cursor, &m->ifstubs ) in stub_manager_ipid_to_ifstub()
262 struct list *cursor; in stub_manager_delete() local
267 while ((cursor = list_head(&m->ifstubs))) in stub_manager_delete()
269 struct ifstub *ifstub = LIST_ENTRY(cursor, struct ifstub, entry); in stub_manager_delete()
340 struct list *cursor; in get_stub_manager_from_object() local
351 LIST_FOR_EACH( cursor, &apt->stubmgrs ) in get_stub_manager_from_object()
383 struct list *cursor; in get_stub_manager() local
386 LIST_FOR_EACH( cursor, &apt->stubmgrs ) in get_stub_manager()
477 struct list *cursor; in get_stub_manager_from_ipid() local
[all …]

12345678