/reactos/dll/win32/riched20/ |
H A D | para.c | 94 di->member.para.prev_marked->member.para.next_marked = di->member.para.next_marked; in remove_marked_para() 95 di->member.para.next_marked->member.para.prev_marked = di->member.para.prev_marked; in remove_marked_para() 135 …if (!iter->member.para.next_marked || di->member.para.nCharOfs < iter->member.para.next_marked->me… in add_marked_para() 210 run->member.run.para = ¶->member.para; in ME_MakeFirstParagraph() 212 para->member.para.eop_run = &run->member.run; in ME_MakeFirstParagraph() 581 end_run->member.run.para = run->member.run.para; in ME_SplitParagraph() 601 pp->member.run.para = &new_para->member.para; in ME_SplitParagraph() 654 run_para->member.para.pCell = run_para->member.para.pCell->member.cell.parent_cell; in ME_SplitParagraph() 660 && !new_para->member.para.next_para->member.para.pCell->member.cell.prev_cell) in ME_SplitParagraph() 759 tp->member.para.fmt = pNext->member.para.fmt; in ME_JoinParagraphs() [all …]
|
H A D | table.c | 106 para->member.para.pCell = prev_para->member.para.pCell; in ME_InsertTableRowStartAtParagraph() 215 if (p->member.para.pCell != pPrev->member.para.pCell) in ME_CheckTablesForCorruption() 238 assert(p->member.para.pCell->member.cell.parent_cell in ME_CheckTablesForCorruption() 240 if (pPrev->member.para.pCell != p->member.para.pCell) in ME_CheckTablesForCorruption() 431 insertedCell->member.cell.border = cell->member.cell.border; in ME_AppendTableRow() 438 insertedCell->member.cell.border = cell->member.cell.border; in ME_AppendTableRow() 441 para->member.para.fmt = prevTableEnd->member.para.fmt; in ME_AppendTableRow() 474 cell = para->member.para.next_para->member.para.pCell; in ME_SelectOrInsertNextCell() 476 cell = para->member.para.prev_para->member.para.pCell; in ME_SelectOrInsertNextCell() 483 cell->member.cell.next_cell->member.cell.next_cell) in ME_SelectOrInsertNextCell() [all …]
|
H A D | wrap.c | 141 run = &item->member.run; in split_run_extents() 209 ME_Cell *cell = ¶->member.para.pCell->member.cell; in ME_BeginRow() 364 row->member.row.pt.x = row->member.row.nLMargin + shift; in ME_InsertRowStart() 368 p->member.run.pt.x += row->member.row.nLMargin+shift; in ME_InsertRowStart() 586 run = &p->member.run; in ME_WrapHandleRun() 751 ME_CanJoinRuns(&p->member.run, &p->next->member.run)) { in ME_PrepareParagraphForWrapping() 1019 item->member.para.nWidth = cell->member.cell.pt.x + cell->member.cell.nWidth; in adjust_para_y() 1062 item->member.para.pCell != item->member.para.next_para->member.para.pCell) in adjust_para_y() 1065 ME_Cell *cell = &item->member.para.pCell->member.cell; in adjust_para_y() 1084 c->pt.x = item->member.para.pCell->member.cell.pt.x; in adjust_para_y() [all …]
|
H A D | run.c | 131 p->member.run.nCharOfs, p->member.run.nCharOfs+ofsp, ofsp+ofs, in ME_CheckCharOffsets() 132 p->member.run.len, debugstr_run( &p->member.run ), in ME_CheckCharOffsets() 134 p->member.run.style->fmt.dwMask & p->member.run.style->fmt.dwEffects); in ME_CheckCharOffsets() 161 return pPara->member.para.nCharOfs + pRun->member.run.nCharOfs + nOfs; in ME_CharOfsFromRunOfs() 245 p->member.run.len += pNext->member.run.len; in ME_JoinRuns() 269 new_run->member.run.nCharOfs = run->member.run.nCharOfs + nOffset; in ME_SplitRunSimple() 270 new_run->member.run.len = run->member.run.len - nOffset; in ME_SplitRunSimple() 271 new_run->member.run.para = run->member.run.para; in ME_SplitRunSimple() 348 pDI->member.run.nCharOfs = insert_before->member.run.nCharOfs; in ME_InsertRunAtCursor() 350 pDI->member.run.para = insert_before->member.run.para; in ME_InsertRunAtCursor() [all …]
|
H A D | caret.c | 263 *height = pSizeRun->member.run.nAscent + pSizeRun->member.run.nDescent; in ME_GetCursorCoordinates() 265 *y = c.rcView.top + para->member.para.pt.y + row->member.row.nBaseline in ME_GetCursorCoordinates() 266 + run->member.run.pt.y - pSizeRun->member.run.nAscent in ME_GetCursorCoordinates() 969 cell = para->member.para.next_para->member.para.pCell; in ME_FindPixelPosInTableRow() 980 if (y < para->member.para.pt.y + para->member.para.nHeight) in ME_FindPixelPosInTableRow() 1071 if (y < p->member.para.pt.y + p->member.para.nHeight) in ME_FindPixelPos() 1087 if (y < p->member.row.pt.y + p->member.row.nHeight) break; in ME_FindPixelPos() 1310 x = pRun->member.run.pt.x + pRun->member.run.nWidth; in ME_GetXForArrow() 1394 x >= cell->member.cell.next_cell->member.cell.pt.x) in ME_MoveCursorLines() 1448 yp = p->member.para.prev_para->member.para.pt.y; in ME_ArrowPageUp() [all …]
|
H A D | list.c | 101 *para = p->member.para.prev_para; in ME_PrevRun() 166 if (item->member.run.reobj) in ME_DestroyDisplayItem() 168 list_remove(&item->member.run.reobj->entry); in ME_DestroyDisplayItem() 169 ME_DeleteReObject(item->member.run.reobj); in ME_DestroyDisplayItem() 171 heap_free( item->member.run.glyphs ); in ME_DestroyDisplayItem() 172 heap_free( item->member.run.clusters ); in ME_DestroyDisplayItem() 173 ME_ReleaseStyle(item->member.run.style); in ME_DestroyDisplayItem() 200 !pItem->member.cell.next_cell ? ", END" : in ME_DumpDocument() 205 if (pItem->member.para.nFlags & MEPF_ROWSTART) in ME_DumpDocument() 207 if (pItem->member.para.nFlags & MEPF_ROWEND) in ME_DumpDocument() [all …]
|
H A D | row.c | 50 nCount + item->member.para.nRows <= nRow) in ME_FindRowWithNumber() 52 nCount += item->member.para.nRows; in ME_FindRowWithNumber() 53 item = item->member.para.next_para; in ME_FindRowWithNumber() 70 item->member.para.next_para->member.para.nCharOfs <= nOfs) in ME_RowNumberFromCharOfs() 72 nRow += item->member.para.nRows; in ME_RowNumberFromCharOfs() 73 item = item->member.para.next_para; in ME_RowNumberFromCharOfs() 77 ME_DisplayItem *next_para = item->member.para.next_para; in ME_RowNumberFromCharOfs() 79 nOfs -= item->member.para.nCharOfs; in ME_RowNumberFromCharOfs() 86 if (item->member.run.nCharOfs > nOfs) in ME_RowNumberFromCharOfs()
|
H A D | writer.c | 334 if (item->member.run.para != prev_para) in ME_StreamOutRTFFontAndColorTbl() 337 if (item->member.run.para->fmt.wNumbering) in ME_StreamOutRTFFontAndColorTbl() 340 if ((pCell = item->member.para.pCell)) in ME_StreamOutRTFFontAndColorTbl() 351 prev_para = item->member.run.para; in ME_StreamOutRTFFontAndColorTbl() 405 cell = para->member.para.next_para->member.para.pCell; in ME_StreamOutRTFTableProps() 430 cell = cell->member.cell.next_cell; in ME_StreamOutRTFTableProps() 431 } while (cell->member.cell.next_cell); in ME_StreamOutRTFTableProps() 437 PARAFORMAT2 *pFmt = ¶->member.para.fmt; in ME_StreamOutRTFTableProps() 542 PARAFORMAT2 *fmt = ¶->member.para.fmt; in ME_StreamOutRTFParaProps() 548 prev_para = ¶->member.para.prev_para->member.para; in ME_StreamOutRTFParaProps() [all …]
|
H A D | paint.c | 57 if (item->member.para.pCell in ME_PaintContent() 58 != item->member.para.next_para->member.para.pCell) in ME_PaintContent() 61 cell = &ME_FindItemBack(item->member.para.next_para, diCell)->member.cell; in ME_PaintContent() 66 if (item->member.para.pCell && !(item->member.para.nFlags & MEPF_ROWEND) && in ME_PaintContent() 67 item->member.para.pCell != item->member.para.prev_para->member.para.pCell) in ME_PaintContent() 70 ys -= item->member.para.pCell->member.cell.yTextOffset; in ME_PaintContent() 939 ME_Cell *cell = ¶->next_para->member.para.pCell->member.cell; in ME_DrawParagraph() 942 ME_Cell *cell = ¶->prev_para->member.para.pCell->member.cell; in ME_DrawParagraph() 997 run = &p->member.run; in ME_DrawParagraph() 1027 rc.bottom = c->pt.y + p->member.cell.pt.y + p->member.cell.nHeight; in ME_DrawParagraph() [all …]
|
H A D | editor.c | 280 p1->member.para.next_para = p2; in ME_MakeText() 281 p2->member.para.prev_para = p1; in ME_MakeText() 282 p2->member.para.nCharOfs = 0; in ME_MakeText() 2433 nChars = endPara->member.para.nCharOfs - startPara->member.para.nCharOfs; in ME_UpdateSelectionLinkAttribute() 2504 para->member.para.prev_para->member.para.nFlags & MEPF_ROWSTART && in handle_enter() 2505 !para->member.para.prev_para->member.para.nCharOfs) in handle_enter() 2522 para->member.para.next_para->member.para.nFlags |= MEPF_ROWSTART; in handle_enter() 4319 nCharOfs = para->member.para.nCharOfs + item->member.run.nCharOfs; in ME_HandleMessage() 4345 nNextLineOfs = item_end->member.para.nCharOfs - endRun->member.run.len; in ME_HandleMessage() 4453 pt.x = pRun->member.run.pt.x + ME_PointFromChar(editor, &pRun->member.run, nOffset, TRUE); in ME_HandleMessage() [all …]
|
H A D | undo.c | 341 add_undo_set_para_fmt( editor, ¶->member.para ); in ME_PlayUndoItem() 342 para->member.para.fmt = undo->u.set_para_fmt.fmt; in ME_PlayUndoItem() 343 para->member.para.border = undo->u.set_para_fmt.border; in ME_PlayUndoItem() 390 bFixRowStart = this_para->member.para.nFlags & MEPF_ROWSTART; in ME_PlayUndoItem() 395 this_para->member.para.nFlags &= ~MEPF_ROWSTART; in ME_PlayUndoItem() 397 new_para = ME_SplitParagraph(editor, tmp.pRun, tmp.pRun->member.run.style, in ME_PlayUndoItem() 400 new_para->member.para.nFlags |= MEPF_ROWSTART; in ME_PlayUndoItem() 401 new_para->member.para.fmt = undo->u.split_para.fmt; in ME_PlayUndoItem() 402 new_para->member.para.border = undo->u.split_para.border; in ME_PlayUndoItem() 405 ME_DisplayItem *pCell = new_para->member.para.pCell; in ME_PlayUndoItem() [all …]
|
H A D | style.c | 138 #define COPY_STYLE_ITEM(mask, member) \ argument 141 fmt.member = mod->member;\ 144 #define COPY_STYLE_ITEM_MEMCPY(mask, member) \ argument 147 CopyMemory(fmt.member, mod->member, sizeof(mod->member));\ 483 ME_AddRefStyle(from->pRun->member.run.style); in ME_GetInsertStyle() 484 return from->pRun->member.run.style; in ME_GetInsertStyle() 496 ME_Run *pRun = &pRunItem->member.run; in ME_GetInsertStyle() 503 ME_AddRefStyle(pPrevItem->member.run.style); in ME_GetInsertStyle() 504 return pPrevItem->member.run.style; in ME_GetInsertStyle() 508 ME_AddRefStyle(pRunItem->member.run.style); in ME_GetInsertStyle() [all …]
|
/reactos/drivers/bus/acpi/include/ |
H A D | list.h | 185 #define list_entry(ptr, type, member) \ argument 186 ((type *)((char *)(ptr)-(uintptr_t)(&((type *)0)->member))) 221 #define list_for_each_entry(pos, head, member) \ argument 222 for (pos = list_entry((head)->next, typeof(*pos), member); \ 223 &pos->member != (head); \ 224 pos = list_entry(pos->member.next, typeof(*pos), member)) 233 #define list_for_each_entry_safe(pos, n, head, member) \ argument 235 n = list_entry(pos->member.next, typeof(*pos), member); \ 237 pos = n, n = list_entry(n->member.next, typeof(*n), member)) 247 for (pos = list_entry(pos->member.next, typeof(*pos), member); \ [all …]
|
H A D | glue.h | 15 #define container_of(ptr, type, member) (type *)( (char *)(ptr) - offsetof(type,member) ) argument
|
/reactos/sdk/tools/hhpcomp/chmc/ |
H A D | list.h | 190 #define list_entry(ptr, type, member) \ argument 191 ((type *)((char *)(ptr)-(size_t)(&((type *)0)->member))) 193 #define list_entry(ptr, type, member) \ argument 230 #define list_for_each_entry(pos, head, member) \ argument 231 for (pos = list_entry((head)->next, typeof(*pos), member); \ 232 &pos->member != (head); \ 233 pos = list_entry(pos->member.next, typeof(*pos), member)) 242 #define list_for_each_entry_safe(pos, n, head, member) \ argument 244 n = list_entry(pos->member.next, typeof(*pos), member); \ 245 &pos->member != (head); \ [all …]
|
/reactos/drivers/filesystems/ext2/inc/linux/ |
H A D | list.h | 191 #define list_entry(ptr, type, member) \ argument 192 ((type *)((char *)(ptr)-(char *)(&((type *)0)->member))) 232 #define list_for_each_entry(pos, head, type, member) \ argument 233 for (pos = list_entry((head)->next, type, member), \ 234 prefetch(pos->member.next); \ 235 &pos->member != (head); \ 236 pos = list_entry(pos->member.next, type, member), \ 237 prefetch(pos->member.next)) 250 n = list_entry(pos->member.next, type, member); \ 251 &pos->member != (head); \ [all …]
|
H A D | rbtree.h | 130 #define rb_entry(ptr, type, member) container_of(ptr, type, member) argument
|
/reactos/sdk/lib/3rdparty/stlport/test/unit/ |
H A D | uninitialized_test.cpp | 31 NotTrivialCopyStruct() : member(0) {} in NotTrivialCopyStruct() 34 int member; member 38 TrivialCopyStruct() : member(0) {} in TrivialCopyStruct() 41 int member; member 97 CPPUNIT_ASSERT( (*it).member == 1 ); in copy_test() 110 (*it).member = 0; in copy_test() 118 CPPUNIT_ASSERT( (*it).member == 0 ); in copy_test() 120 CPPUNIT_ASSERT( (*it).member == 1 ); in copy_test() 134 (*it).member = -1; in copy_test() 140 CPPUNIT_ASSERT( (*it).member == 1 ); in copy_test() [all …]
|
/reactos/dll/win32/wbemprox/ |
H A D | qualifier.c | 41 WCHAR *member; member 66 heap_free( set->member ); in qualifier_set_Release() 115 if (member && name) in create_qualifier_enum() 119 swprintf( query, fmtW, class, member, name ); in create_qualifier_enum() 121 else if (member) in create_qualifier_enum() 123 len = lstrlenW( class ) + lstrlenW( member ) + ARRAY_SIZE(fmt2W); in create_qualifier_enum() 125 swprintf( query, fmt2W, class, member ); in create_qualifier_enum() 152 hr = create_qualifier_enum( class, member, name, &iter ); in get_qualifier_value() 241 hr = create_qualifier_enum( set->class, set->member, NULL, &iter ); in qualifier_set_GetNames() 307 if (!member) set->member = NULL; in WbemQualifierSet_create() [all …]
|
/reactos/dll/win32/wintrust/ |
H A D | crypt.c | 360 while ((member = CryptCATEnumerateMember(hcat, member))) in CryptCATAdminEnumCatalogFromHash() 666 if (!member) in CryptCATEnumerateMember() 668 if (!(member = HeapAlloc(GetProcessHeap(), 0, sizeof(*member)))) in CryptCATEnumerateMember() 673 member->cbStruct = sizeof(*member); in CryptCATEnumerateMember() 674 member->pwszFileName = member->pwszReferenceTag = NULL; in CryptCATEnumerateMember() 675 member->dwReserved = 0; in CryptCATEnumerateMember() 682 else member->dwReserved++; in CryptCATEnumerateMember() 693 member->sEncodedIndirectData.cbData = member->sEncodedMemberInfo.cbData = 0; in CryptCATEnumerateMember() 694 member->sEncodedIndirectData.pbData = member->sEncodedMemberInfo.pbData = NULL; in CryptCATEnumerateMember() 759 if (!member->sEncodedMemberInfo.cbData || !member->sEncodedIndirectData.cbData) in CryptCATEnumerateMember() [all …]
|
/reactos/sdk/include/asm/ |
H A D | genincdata.c | 47 #define OFFSET(name, struct, member) {TYPE_CONSTANT, #name, FIELD_OFFSET(struct, member)} argument 48 #define RELOFFSET(name, struct, member, to) {TYPE_CONSTANT, #name, FIELD_OFFSET(struct, member) - F… argument
|
/reactos/dll/win32/wbemdisp/ |
H A D | locator.c | 193 static HRESULT WINAPI property_Invoke( ISWbemProperty *iface, DISPID member, REFIID riid, in property_Invoke() argument 207 hr = ITypeInfo_Invoke( typeinfo, &property->ISWbemProperty_iface, member, flags, in property_Invoke() 503 struct member struct 515 struct member *members; argument 747 DISPID member, in object_Invoke() argument 764 if (member <= DISPID_BASE_METHOD) in object_Invoke() 781 if (!(name = get_member_name( object, member ))) in object_Invoke() 1222 DISPID member, in objectset_Invoke() argument 1618 DISPID member, in services_Invoke() argument 2103 DISPID member, in locator_Invoke() argument [all …]
|
/reactos/sdk/tools/widl/ |
H A D | write_sltg.c | 968 struct sltg_member_header member; in add_structure_typeinfo() local 1023 member.res00 = 0x0001; in add_structure_typeinfo() 1024 member.res02 = 0xffff; in add_structure_typeinfo() 1025 member.res04 = 0x01; in add_structure_typeinfo() 1027 append_data(&data, &member, sizeof(member)); in add_structure_typeinfo() 1425 struct sltg_member_header member; in add_interface_typeinfo() local 1506 member.res00 = 0x0001; in add_interface_typeinfo() 1507 member.res02 = 0xffff; in add_interface_typeinfo() 1508 member.res04 = 0x01; in add_interface_typeinfo() 1509 member.extra = func_data_size; in add_interface_typeinfo() [all …]
|
/reactos/sdk/lib/3rdparty/freetype/src/truetype/ |
H A D | ttsubpix.c | 770 if ( ft_strcmp( FAMILY_CLASS_Rules[i].member[j], "" ) == 0 ) in is_member_of_family_class() 772 if ( ft_strcmp( FAMILY_CLASS_Rules[i].member[j], in is_member_of_family_class() 805 if ( ft_strcmp( STYLE_CLASS_Rules[i].member[j], "" ) == 0 ) in is_member_of_style_class() 807 if ( ft_strcmp( STYLE_CLASS_Rules[i].member[j], in is_member_of_style_class()
|
/reactos/dll/directx/wine/d3dcompiler_43/ |
H A D | reflection.c | 204 if (member) in free_type_member() 206 HeapFree(GetProcessHeap(), 0, member->name); in free_type_member() 931 if (!strcmp(member->name, name)) in d3dcompiler_shader_reflection_type_GetMemberTypeByName() 934 return &member->type->ID3D11ShaderReflectionType_iface; in d3dcompiler_shader_reflection_type_GetMemberTypeByName() 1189 if (!copy_name(data + offset, &member->name)) in d3dcompiler_parse_type_members() 1194 TRACE("Member name: %s.\n", debugstr_a(member->name)); in d3dcompiler_parse_type_members() 1199 member->type = get_reflection_type(ref, data, offset); in d3dcompiler_parse_type_members() 1200 if (!member->type) in d3dcompiler_parse_type_members() 1203 HeapFree(GetProcessHeap(), 0, member->name); in d3dcompiler_parse_type_members() 1207 read_dword(ptr, &member->offset); in d3dcompiler_parse_type_members() [all …]
|