Home
last modified time | relevance | path

Searched refs:cbUPX (Results 1 – 9 of 9) sorted by relevance

/dports/editors/calligra/calligra-3.2.1/filters/words/msword-odf/wv2/src/
H A Dstyles.cpp249 wvlog << "cbUPX: " << cbUPX << endl; in read()
252 if (offset + cbUPX > grupxLen) { in read()
256 for ( U16 j = 0; j < cbUPX; ++j ) { in read()
679 U16 cbUPX = readU16( data ); in unwrapStyle() local
683 cbUPX -= 2; in unwrapStyle()
685 cbUPX = qMin(cbUPX, U16(m_std->grupxLen - 4)); in unwrapStyle()
693 U16 datapos = 4 + cbUPX + 2; in unwrapStyle()
695 data += cbUPX; in unwrapStyle()
698 cbUPX = readU16( data ); in unwrapStyle()
701 cbUPX = qMin(cbUPX, U16(m_std->grupxLen - datapos)); in unwrapStyle()
[all …]
/dports/textproc/wv/wv-1.2.9/
H A Dstylesheet.c97 if (item->grupxf[i].cbUPX == 0) in wvReleaseSTD()
323 item->grupxf[i].cbUPX = read_16ubit (fd); in wvGetSTD()
327 if (item->grupxf[i].cbUPX == 0) in wvGetSTD()
333 (U8 *) wvMalloc (item->grupxf[i].cbUPX); in wvGetSTD()
334 for (j = 0; j < item->grupxf[i].cbUPX; j++) in wvGetSTD()
344 if (item->grupxf[i].cbUPX - 2) in wvGetSTD()
346 (U8 *) wvMalloc (item->grupxf[i].cbUPX - 2); in wvGetSTD()
358 wvStream_offset (fd, item->grupxf[i].cbUPX); in wvGetSTD()
359 pos += item->grupxf[i].cbUPX; in wvGetSTD()
505 item->std[i].grupxf[0].cbUPX)); in wvGenerateStyle()
[all …]
H A Dpap.c40 if (upxf->cbUPX <= 2) in wvAddPAPXFromBucket()
42 wvTrace (("no is %d\n", upxf->cbUPX)); in wvAddPAPXFromBucket()
45 while (i < upxf->cbUPX - 2) in wvAddPAPXFromBucket()
65 if (i < upxf->cbUPX - 2) in wvAddPAPXFromBucket()
79 if (upxf->cbUPX <= 2) in wvAddPAPXFromBucket6()
85 while (i < upxf->cbUPX - 2) in wvAddPAPXFromBucket6()
110 if (i < upxf->cbUPX - 2) in wvAddPAPXFromBucket6()
334 upxf.cbUPX = papx->cb; in wvAssembleSimplePAP()
609 upxf.cbUPX = myPAPX.cb; in wvAssembleSimplePAP()
622 upxf.cbUPX = papx->cb; in wvAssembleSimplePAP()
[all …]
H A Dchp.c44 while (i < upxf->cbUPX) in wvAddCHPXFromBucket()
104 while (i < upxf->cbUPX) in wvAddCHPXFromBucket6()
113 while (i < upxf->cbUPX) in wvAddCHPXFromBucket6()
554 while (i < src->cbUPX) in wvMergeCHPXFromBucket()
632 if (src->cbUPX == 0) in wvUpdateCHPXBucket()
636 for (i = 0; i < src->cbUPX; i++) in wvUpdateCHPXBucket()
641 while (i < src->cbUPX) in wvUpdateCHPXBucket()
666 while (i < src->cbUPX) in wvUpdateCHPXBucket()
680 src->cbUPX = len; in wvUpdateCHPXBucket()
681 for (i = 0; i < src->cbUPX; i++) in wvUpdateCHPXBucket()
[all …]
H A Dsprm.c2003 upxf.cbUPX = dread_8ubit (NULL, &pointer); in wvApplysprmCMajority()
2005 upxf.upx.chpx.grpprl = (U8 *) wvMalloc (upxf.cbUPX); in wvApplysprmCMajority()
2007 for (i = 0; i < upxf.cbUPX; i++) in wvApplysprmCMajority()
2126 upxf.cbUPX = dread_8ubit (NULL, &pointer); in wvApplysprmCMajority50()
2128 upxf.upx.chpx.grpprl = (U8 *) wvMalloc (upxf.cbUPX); in wvApplysprmCMajority50()
2130 for (i = 0; i < upxf.cbUPX; i++) in wvApplysprmCMajority50()
H A Dwv.h1614 U16 cbUPX; member
/dports/textproc/wv2/wv2-0.4.2/src/
H A Dstyles.cpp185 U16 cbUPX = stream->readU16(); // size of the next UPX in read() local
187 cbUPX += 2; // ...and correct the size in read()
189 wvlog << "cbUPX: " << cbUPX << std::endl; in read()
191 for ( U16 j = 0; j < cbUPX; ++j ) { in read()
197 offset += cbUPX; // adjust the offset in the grupx array in read()
417 U16 cbUPX = readU16( data ); in unwrapStyle() local
421 cbUPX -= 2; in unwrapStyle()
426 data += cbUPX; in unwrapStyle()
432 cbUPX = readU16( data ); in unwrapStyle()
606 U16 cbUPX = readU16( srcGrpprl ); in mergeUpechpx() local
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/filter/ww8/
H A Dww8par2.cxx3671 sal_Int16 cbUPX(0); in ImportUPX() local
3672 mpStStrm->ReadInt16( cbUPX ); in ImportUPX()
3676 if ( cbUPX > nLen ) in ImportUPX()
3677 cbUPX = nLen; // shrink cbUPX to nLen in ImportUPX()
3679 if( (1 < cbUPX) || ( (0 < cbUPX) && !bPAP ) ) in ImportUPX()
3686 cbUPX-= 2; in ImportUPX()
3690 if( 0 < cbUPX ) in ImportUPX()
3694 ImportSprms( nPos, cbUPX, bPAP ); in ImportUPX()
3696 if ( mpStStrm->Tell() != nPos + cbUPX ) in ImportUPX()
3697 mpStStrm->Seek( nPos+cbUPX ); in ImportUPX()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/filter/ww8/
H A Dww8par2.cxx3666 sal_Int16 cbUPX(0); in ImportUPX() local
3667 mpStStrm->ReadInt16( cbUPX ); in ImportUPX()
3671 if ( cbUPX > nLen ) in ImportUPX()
3672 cbUPX = nLen; // shrink cbUPX to nLen in ImportUPX()
3674 if( (1 < cbUPX) || ( (0 < cbUPX) && !bPAP ) ) in ImportUPX()
3681 cbUPX-= 2; in ImportUPX()
3685 if( 0 < cbUPX ) in ImportUPX()
3689 ImportSprms( nPos, cbUPX, bPAP ); in ImportUPX()
3691 if ( mpStStrm->Tell() != nPos + cbUPX ) in ImportUPX()
3692 mpStStrm->Seek( nPos+cbUPX ); in ImportUPX()
[all …]