Lines Matching refs:p

111 sal_uInt16 Ww1Style::ReadName( sal_uInt8*&p, sal_uInt16& rnCountBytes, sal_uInt16 stc )  in ReadName()  argument
113 sal_uInt8 nCountBytes = SVBT8ToByte(p); in ReadName()
114 p++; in ReadName()
168 SetName( String( (sal_Char*)p, nCountBytes, RTL_TEXTENCODING_MS_1252 )); in ReadName()
169 p += nCountBytes; in ReadName()
176 sal_uInt16 Ww1Style::ReadChpx( sal_uInt8*&p, sal_uInt16& rnCountBytes ) in ReadChpx() argument
178 sal_uInt16 nCountBytes = SVBT8ToByte(p); in ReadChpx()
179 p++; in ReadChpx()
186 memcpy( &aChpx, p, nCountBytes ); in ReadChpx()
187 p += nCountBytes; in ReadChpx()
194 sal_uInt16 Ww1Style::ReadPapx(sal_uInt8*&p, sal_uInt16& rnCountBytes) in ReadPapx() argument
196 sal_uInt16 nCountBytes = SVBT8ToByte(p); in ReadPapx()
197 p++; in ReadPapx()
201 pPapx = new Ww1SprmPapx(p, nCountBytes); in ReadPapx()
202 p += nCountBytes; in ReadPapx()
207 pPapx = new Ww1SprmPapx(p, 0); in ReadPapx()
211 sal_uInt16 Ww1Style::ReadEstcp(sal_uInt8*&p, sal_uInt16& rnCountBytes) in ReadEstcp() argument
213 stcNext = SVBT8ToByte(p); in ReadEstcp()
214 p++; in ReadEstcp()
216 stcBase = SVBT8ToByte(p); in ReadEstcp()
217 p++; in ReadEstcp()
242 sal_uInt8* p = del; in Ww1StyleSheet() local
243 cstcStd = SVBT16ToShort(p); in Ww1StyleSheet()
244 p += sizeof(SVBT16); in Ww1StyleSheet()
246 ReadNames(p, cbStshf); in Ww1StyleSheet()
247 ReadChpx(p, cbStshf); in Ww1StyleSheet()
248 ReadPapx(p, cbStshf); in Ww1StyleSheet()
249 ReadEstcp(p, cbStshf); in Ww1StyleSheet()
256 sal_uInt16 Ww1StyleSheet::ReadNames( sal_uInt8*& p, sal_uInt16& rnCountBytes ) in ReadNames() argument
258 sal_uInt16 nCountBytes = SVBT16ToShort(p); in ReadNames()
259 p += sizeof(SVBT16); in ReadNames()
267 aStyles[stc].ReadName(p, nCountBytes, stc); in ReadNames()
274 sal_uInt16 Ww1StyleSheet::ReadChpx(sal_uInt8*& p, sal_uInt16& rnCountBytes) in ReadChpx() argument
276 sal_uInt16 nCountBytes = SVBT16ToShort(p); in ReadChpx()
277 p += sizeof(SVBT16); in ReadChpx()
285 aStyles[stc].ReadChpx(p, nCountBytes); in ReadChpx()
292 sal_uInt16 Ww1StyleSheet::ReadPapx(sal_uInt8*& p, sal_uInt16& rnCountBytes) in ReadPapx() argument
294 sal_uInt16 nCountBytes = SVBT16ToShort(p); in ReadPapx()
295 p += sizeof(SVBT16); in ReadPapx()
303 aStyles[stc].ReadPapx(p, nCountBytes); in ReadPapx()
310 sal_uInt16 Ww1StyleSheet::ReadEstcp(sal_uInt8*& p, sal_uInt16& rnCountBytes) in ReadEstcp() argument
312 sal_uInt16 iMac = SVBT16ToShort(p); in ReadEstcp()
313 p += sizeof(SVBT16); in ReadEstcp()
319 aStyles[stc].ReadEstcp(p, rnCountBytes); in ReadEstcp()
352 W1_FFN* p = pA; in Ww1Fonts() local
356 nNextSiz = p->cbFfnM1Get() + 1; in Ww1Fonts()
363 p = (W1_FFN *)(((char*)p) + nNextSiz); in Ww1Fonts()
371 for(i=1, p=pA; i<nMax; i++) in Ww1Fonts()
373 p = (W1_FFN*)(((char*)p) + p->cbFfnM1Get() + 1); in Ww1Fonts()
374 pFontA[i] = p; in Ww1Fonts()
428 : p(NULL), in Ww1Sprm()
437 if ((p = new sal_uInt8[nCountBytes]) != NULL) in Ww1Sprm()
439 memcpy(p, x, nCountBytes); in Ww1Sprm()
446 : p(NULL), in Ww1Sprm()
458 || (p = new sal_uInt8[nCountBytes]) != NULL) in Ww1Sprm()
461 || rStream.Read(p, nCountBytes) == (sal_uLong)nCountBytes) in Ww1Sprm()
469 delete p; in ~Ww1Sprm()
532 pSprm = p + pArr[index]; in Fill()
548 sal_uInt8* psik = p; in ReCalc()
568 psik = p; in ReCalc()
741 : p(0), nCountBytes(nInCountBytes), iMac(0), nItemSize(nInItemSize), in Ww1Plc()
750 if ((p = new sal_uInt8[nCountBytes]) != NULL) in Ww1Plc()
752 if (rFib.GetStream().Read(p, nCountBytes) == (sal_uLong)nCountBytes) in Ww1Plc()
767 delete p; in ~Ww1Plc()
782 ulRet = SVBT32ToUInt32(p + sizeof(SVBT32) * nIndex); in Where()
791 pRet = p + (iMac + 1) * sizeof(SVBT32) + in GetData()
838 sal_Char* p = pA; in Ww1StringList() local
842 nNextSiz = *p + 1; in Ww1StringList()
849 p = p + nNextSiz; in Ww1StringList()
858 p = pA; in Ww1StringList()
859 sal_uInt8 nL = *p; in Ww1StringList()
862 p += nL + 1; // Neues Laengen-Byte in Ww1StringList()
863 nL = *p; // merke Laenge in Ww1StringList()
864 *p = '\0'; // mach C-String draus in Ww1StringList()
867 pIdxA[i] = p + 1; // Ptr auf C-String in Ww1StringList()
931 const sal_uInt8* p = pPos[0]->GetData( nPlcIdx[0] ); in GetHandle() local
932 if( p ) in GetHandle()
933 return SVBT16ToShort( p ); in GetHandle()
986 sal_Bool Ww1FkpPap::Fill(sal_uInt16 nIndex, sal_uInt8*& p, sal_uInt16& rnCountBytes) in Fill() argument
1003 p = aFkp + nOffset; in Fill()
1007 p = NULL; in Fill()