Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 3310) sorted by relevance

12345678910>>...133

/AOO41X/main/ucb/source/ucp/ftp/
H A Dftpdirp.cxx107 for (const sal_Char *p = pBuffer; in parseDOS() local
108 eState != STATE_ERROR && *p; in parseDOS()
109 ++p) in parseDOS()
114 if (*p >= '0' && *p <= '9') in parseDOS()
116 nMonth = *p - '0'; in parseDOS()
120 else if (!ascii_isWhitespace(*p)) in parseDOS()
125 if (*p >= '0' && *p <= '9') in parseDOS()
127 nMonth = 10 * nMonth + (*p - '0'); in parseDOS()
137 else if (ascii_isWhitespace(*p)) in parseDOS()
143 else if ((*p == '.' || *p == '-') && nMonth && nMonth <= 12) in parseDOS()
[all …]
/AOO41X/main/basic/source/sbx/
H A Dsbxint.cxx35 sal_Int16 ImpGetInteger( const SbxValues* p ) in ImpGetInteger() argument
40 switch( +p->eType ) in ImpGetInteger()
47 nRes = p->nChar; break; in ImpGetInteger()
49 nRes = p->nByte; break; in ImpGetInteger()
52 nRes = p->nInteger; break; in ImpGetInteger()
55 if( p->nUShort > (sal_uInt16) SbxMAXINT ) in ImpGetInteger()
60 nRes = (sal_Int16) p->nUShort; in ImpGetInteger()
63 if( p->nLong > SbxMAXINT ) in ImpGetInteger()
67 else if( p->nLong < SbxMININT ) in ImpGetInteger()
72 nRes = (sal_Int16) p->nLong; in ImpGetInteger()
[all …]
H A Dsbxexec.cxx60 static const xub_Unicode* SkipWhitespace( const xub_Unicode* p ) in SkipWhitespace() argument
62 while( *p && ( *p == ' ' || *p == '\t' ) ) in SkipWhitespace()
63 p++; in SkipWhitespace()
64 return p; in SkipWhitespace()
70 static const xub_Unicode* Symbol( const xub_Unicode* p, XubString& rSym, const SbxSimpleCharClass& … in Symbol() argument
74 if( *p == '[' ) in Symbol()
76 rSym = ++p; in Symbol()
77 while( *p && *p != ']' ) in Symbol()
78 p++, nLen++; in Symbol()
79 p++; in Symbol()
[all …]
H A Dsbxstr.cxx43 ::rtl::OUString ImpGetString( const SbxValues* p ) in ImpGetString() argument
49 switch( +p->eType ) in ImpGetString()
56 ImpPutChar( &aTmp, p->nChar ); break; in ImpGetString()
58 ImpPutByte( &aTmp, p->nByte ); break; in ImpGetString()
60 ImpPutInteger( &aTmp, p->nInteger ); break; in ImpGetString()
62 ImpPutBool( &aTmp, p->nUShort ); break; in ImpGetString()
64 ImpPutUShort( &aTmp, p->nUShort ); break; in ImpGetString()
66 ImpPutLong( &aTmp, p->nLong ); break; in ImpGetString()
68 ImpPutULong( &aTmp, p->nULong ); break; in ImpGetString()
70 ImpPutSingle( &aTmp, p->nSingle ); break; in ImpGetString()
[all …]
H A Dsbxbyte.cxx30 sal_uInt8 ImpGetByte( const SbxValues* p ) in ImpGetByte() argument
35 switch( +p->eType ) in ImpGetByte()
42 if( p->nChar > SbxMAXBYTE ) in ImpGetByte()
47 nRes = (sal_uInt8) p->nChar; in ImpGetByte()
50 nRes = (sal_uInt8) p->nByte; break; in ImpGetByte()
53 if( p->nInteger > SbxMAXBYTE ) in ImpGetByte()
57 else if( p->nInteger < 0 ) in ImpGetByte()
62 nRes = (sal_uInt8) p->nInteger; in ImpGetByte()
66 if( p->nUShort > (sal_uInt16) SbxMAXBYTE ) in ImpGetByte()
71 nRes = (sal_uInt8) p->nUShort; in ImpGetByte()
[all …]
H A Dsbxchar.cxx35 xub_Unicode ImpGetChar( const SbxValues* p ) in ImpGetChar() argument
40 switch( +p->eType ) in ImpGetChar()
47 nRes = p->nChar; break; in ImpGetChar()
49 nRes = (xub_Unicode) p->nByte; in ImpGetChar()
53 if( p->nInteger < SbxMINCHAR ) in ImpGetChar()
58 nRes = (xub_Unicode) p->nInteger; in ImpGetChar()
62 nRes = (xub_Unicode) p->nUShort; in ImpGetChar()
65 if( p->nLong > SbxMAXCHAR ) in ImpGetChar()
69 else if( p->nLong < SbxMINCHAR ) in ImpGetChar()
74 nRes = (xub_Unicode) p->nLong; in ImpGetChar()
[all …]
H A Dsbxuint.cxx30 sal_uInt16 ImpGetUShort( const SbxValues* p ) in ImpGetUShort() argument
35 switch( +p->eType ) in ImpGetUShort()
42 nRes = p->nChar; in ImpGetUShort()
45 nRes = p->nByte; break; in ImpGetUShort()
48 if( p->nInteger < 0 ) in ImpGetUShort()
53 nRes = p->nInteger; in ImpGetUShort()
57 nRes = p->nUShort; in ImpGetUShort()
60 if( p->nLong > SbxMAXUINT ) in ImpGetUShort()
64 else if( p->nLong < 0 ) in ImpGetUShort()
69 nRes = (sal_uInt16) p->nLong; in ImpGetUShort()
[all …]
H A Dsbxulng.cxx30 sal_uInt32 ImpGetULong( const SbxValues* p ) in ImpGetULong() argument
35 switch( +p->eType ) in ImpGetULong()
42 nRes = p->nChar; in ImpGetULong()
45 nRes = p->nByte; break; in ImpGetULong()
48 if( p->nInteger < 0 ) in ImpGetULong()
53 nRes = p->nInteger; in ImpGetULong()
57 nRes = p->nUShort; in ImpGetULong()
60 if( p->nLong < 0 ) in ImpGetULong()
65 nRes = p->nLong; in ImpGetULong()
68 nRes = p->nULong; break; in ImpGetULong()
[all …]
H A Dsbxlng.cxx30 sal_Int32 ImpGetLong( const SbxValues* p ) in ImpGetLong() argument
35 switch( +p->eType ) in ImpGetLong()
42 nRes = p->nChar; break; in ImpGetLong()
44 nRes = p->nByte; break; in ImpGetLong()
47 nRes = p->nInteger; break; in ImpGetLong()
50 nRes = p->nUShort; break; in ImpGetLong()
52 nRes = p->nLong; break; in ImpGetLong()
54 if( p->nULong > SbxMAXLNG ) in ImpGetLong()
59 nRes = (sal_Int32) p->nULong; in ImpGetLong()
62 if( p->nSingle > SbxMAXLNG ) in ImpGetLong()
[all …]
H A Dsbxcurr.cxx39 SbxINT64 ImpGetCurrency( const SbxValues* p ) in ImpGetCurrency() argument
44 switch( +p->eType ) in ImpGetCurrency()
51 nRes = ImpDoubleToCurrency( (double)p->nChar ); break; in ImpGetCurrency()
53 nRes = ImpDoubleToCurrency( (double)p->nByte ); break; in ImpGetCurrency()
56 nRes = ImpDoubleToCurrency( (double)p->nInteger ); break; in ImpGetCurrency()
59 nRes = ImpDoubleToCurrency( (double)p->nUShort ); break; in ImpGetCurrency()
61 nRes = p->nLong64; break; in ImpGetCurrency()
63 nRes = ImpDoubleToCurrency( (double)p->nLong ); in ImpGetCurrency()
66 nRes = ImpDoubleToCurrency( (double)p->nULong ); in ImpGetCurrency()
69 nRes = ImpDoubleToCurrency( (double)p->nInt64 ); in ImpGetCurrency()
[all …]
H A Dsbxbool.cxx36 enum SbxBOOL ImpGetBool( const SbxValues* p ) in ImpGetBool() argument
39 switch( +p->eType ) in ImpGetBool()
46 nRes = p->nChar ? SbxTRUE : SbxFALSE; break; in ImpGetBool()
48 nRes = p->nByte ? SbxTRUE : SbxFALSE; break; in ImpGetBool()
51 nRes = p->nInteger ? SbxTRUE : SbxFALSE; break; in ImpGetBool()
54 nRes = p->nUShort ? SbxTRUE : SbxFALSE; break; in ImpGetBool()
56 nRes = p->nLong ? SbxTRUE : SbxFALSE; break; in ImpGetBool()
58 nRes = p->nULong ? SbxTRUE : SbxFALSE; break; in ImpGetBool()
60 nRes = p->nSingle ? SbxTRUE : SbxFALSE; break; in ImpGetBool()
63 nRes = p->nDouble ? SbxTRUE : SbxFALSE; break; in ImpGetBool()
[all …]
H A Dsbxsng.cxx30 float ImpGetSingle( const SbxValues* p ) in ImpGetSingle() argument
35 switch( +p->eType ) in ImpGetSingle()
42 nRes = p->nChar; break; in ImpGetSingle()
44 nRes = p->nByte; break; in ImpGetSingle()
47 nRes = p->nInteger; break; in ImpGetSingle()
50 nRes = p->nUShort; break; in ImpGetSingle()
52 nRes = (float) p->nLong; break; in ImpGetSingle()
54 nRes = (float) p->nULong; break; in ImpGetSingle()
56 nRes = p->nSingle; break; in ImpGetSingle()
58 nRes = (float) p->nInt64; break; in ImpGetSingle()
[all …]
H A Dsbxdbl.cxx31 double ImpGetDouble( const SbxValues* p ) in ImpGetDouble() argument
34 switch( +p->eType ) in ImpGetDouble()
41 nRes = p->nChar; break; in ImpGetDouble()
43 nRes = p->nByte; break; in ImpGetDouble()
46 nRes = p->nInteger; break; in ImpGetDouble()
49 nRes = p->nUShort; break; in ImpGetDouble()
51 nRes = p->nLong; break; in ImpGetDouble()
53 nRes = p->nULong; break; in ImpGetDouble()
55 nRes = p->nSingle; break; in ImpGetDouble()
58 nRes = p->nDouble; break; in ImpGetDouble()
[all …]
H A Dsbxdec.cxx432 SbxDecimal* ImpCreateDecimal( SbxValues* p ) in ImpCreateDecimal() argument
435 if( !p ) in ImpCreateDecimal()
438 SbxDecimal*& rpDecimal = p->pDecimal; in ImpCreateDecimal()
446 (void)p; in ImpCreateDecimal()
451 SbxDecimal* ImpGetDecimal( const SbxValues* p ) in ImpGetDecimal() argument
457 SbxDataType eType = p->eType; in ImpGetDecimal()
458 if( eType == SbxDECIMAL && p->pDecimal ) in ImpGetDecimal()
460 pnDecRes = new SbxDecimal( *p->pDecimal ); in ImpGetDecimal()
475 pnDecRes->setChar( p->nChar ); break; in ImpGetDecimal()
477 pnDecRes->setByte( p->nByte ); break; in ImpGetDecimal()
[all …]
H A Dsbxdate.cxx37 double ImpGetDate( const SbxValues* p ) in ImpGetDate() argument
40 switch( +p->eType ) in ImpGetDate()
47 nRes = p->nChar; break; in ImpGetDate()
49 nRes = p->nByte; break; in ImpGetDate()
52 nRes = p->nInteger; break; in ImpGetDate()
55 nRes = p->nUShort; break; in ImpGetDate()
57 nRes = (double) p->nLong; break; in ImpGetDate()
59 nRes = (double) p->nULong; break; in ImpGetDate()
61 nRes = p->nSingle; break; in ImpGetDate()
64 nRes = p->nDouble; break; in ImpGetDate()
[all …]
H A Dsbxarray.cxx158 const SbxVarEntryPtr p = new SbxVarEntry; in GetRef32() local
159 pData->push_back( p ); in GetRef32()
176 const SbxVarEntryPtr p = new SbxVarEntry; in GetRef() local
177 pData->push_back( p ); in GetRef()
298 SbxVarEntryPtr p = new SbxVarEntry; in Insert32() local
299 *((SbxVariableRef*) p) = pVar; in Insert32()
304 (*p)->Convert( eType ); in Insert32()
307 pData->push_back( p ); in Insert32()
311 pData->insert( pData->begin() + nIdx, p ); in Insert32()
365 void SbxArray::Merge( SbxArray* p ) in Merge() argument
[all …]
/AOO41X/main/sc/source/core/tool/
H A Daddress.cxx79 static const sal_Unicode* lcl_ParseQuotedName( const sal_Unicode* p, String& rName ) in lcl_ParseQuotedName() argument
82 if (*p != '\'') in lcl_ParseQuotedName()
83 return p; in lcl_ParseQuotedName()
85 const sal_Unicode* pStart = p; in lcl_ParseQuotedName()
87 for (++p; *p; ++p) in lcl_ParseQuotedName()
89 if (*p == '\'') in lcl_ParseQuotedName()
94 rName += *p; in lcl_ParseQuotedName()
101 return p; in lcl_ParseQuotedName()
103 rName += *p; in lcl_ParseQuotedName()
104 cPrev = *p; in lcl_ParseQuotedName()
[all …]
/AOO41X/main/tools/source/inet/
H A Dinetmime.cxx180 for (const sal_uInt32 * p = m_pRanges;;) in contains() local
182 if (nChar < *p++) in contains()
184 if (nChar <= *p++) in contains()
202 for (sal_Unicode * p = pBuffer; pBegin != pEnd;) in appendISO88591() local
203 *p++ = sal_uChar(*pBegin++); in appendISO88591()
229 for (Node * p = m_pFirst; p; p = p->m_pNext) in includes() local
230 if (!(p->m_bDisabled || p->m_aCharset.contains(nChar))) in includes()
231 p->m_bDisabled = true; in includes()
239 for (Node * p = m_pFirst; p; p = p->m_pNext) in getPreferredEncoding() local
240 if (!p->m_bDisabled) in getPreferredEncoding()
[all …]
/AOO41X/main/sw/source/core/bastyp/
H A Dbparr.cxx39 #define CHECKIDX( p, n, i, c ) argument
43 #define CHECKIDX( p, n, i, c ) CheckIdx( p, n, i, c ); argument
94 BlockInfo* p = ppInf[ cur ]; in Move() local
95 ElementPtr pElem = p->pData[ from - p->nStart ]; in Move()
113 BlockInfo* p = *pp; in ForEach() local
114 sal_uInt16 nElem = sal_uInt16( nStart - p->nStart ); in ForEach()
115 ElementPtr* pElem = p->pData + nElem; in ForEach()
116 nElem = p->nElem - nElem; in ForEach()
126 p = *++pp; in ForEach()
127 pElem = p->pData; in ForEach()
[all …]
/AOO41X/main/offapi/com/sun/star/accessibility/
H A DAccessibleRole.idl31 <p>This collection of constans defines the set of possible roles of
37 <type>XAccessibleContext</type> interface.</p>
39 <p>We are using constants instead of a more typesafe enum. The reason
42 here.</p>
44 <p>For some roles there exist two labels with the same value. Please
46 deprecated and will be removed in the future. </p>
57 <p>The object contains some Accessible information, but its role is
58 not known.</p>
72 <p>See alse <const>FRAME</const>, <const>GLASS_PANE</const>, and
73 <const>LAYERED_PANE</const>.</p>
[all …]
/AOO41X/main/ucb/source/regexp/
H A Dregexp.cxx70 sal_Unicode const * p = *pBegin; in matchStringIgnoreCase() local
75 if (pEnd - p < qEnd - q) in matchStringIgnoreCase()
80 sal_Unicode c1 = *p++; in matchStringIgnoreCase()
90 *pBegin = p; in matchStringIgnoreCase()
104 sal_Unicode const * p = pBegin; in matches() local
105 if (matchStringIgnoreCase(&p, pEnd, m_aPrefix)) in matches()
107 sal_Unicode const * pBlock1Begin = p; in matches()
120 bMatches = p == pEnd || *p == '/' || *p == '?' || *p == '#'; in matches()
126 if (p == pEnd || *p == '/' || *p == '?' || *p == '#') in matches()
128 ++p; in matches()
[all …]
/AOO41X/main/tools/source/fsys/
H A Durlobj.cxx660 sal_Unicode const * p = *begin; in parseScheme() local
661 if (p != end && INetMIME::isAlpha(*p)) { in parseScheme()
663 ++p; in parseScheme()
664 } while (p != end in parseScheme()
665 && (INetMIME::isAlphanumeric(*p) || *p == '+' || *p == '-' in parseScheme()
666 || *p == '.')); in parseScheme()
669 if (end - p > 1 && p[0] == ':' && p[1] != fragmentDelimiter in parseScheme()
670 && p - *begin >= 2) in parseScheme()
673 rtl::OUString(*begin, p - *begin).toAsciiLowerCase()); in parseScheme()
674 *begin = p + 1; in parseScheme()
[all …]
/AOO41X/main/sal/rtl/source/
H A Dmath.cxx437 typename T::Char * p = pBuf; in doubleToString() local
439 *p++ = static_cast< typename T::Char >('-'); in doubleToString()
449 *p++ = static_cast< typename T::Char >('0'); in doubleToString()
452 *p++ = cDecSeparator; in doubleToString()
457 *p++ = static_cast< typename T::Char >('0'); in doubleToString()
498 sal_Int32 sLen = static_cast< long >(p-pBuf)-1; in doubleToString()
501 p = pBuf; in doubleToString()
504 *p++ = static_cast< typename T::Char >('1'); in doubleToString()
505 *p++ = static_cast< typename T::Char >('0'); in doubleToString()
509 *p++ = static_cast< typename T::Char >('1'); in doubleToString()
[all …]
/AOO41X/main/offapi/com/sun/star/text/
H A DDocumentIndexLevelFormat.idl41 <p>
44 </p>
47 <p>TokenType</p>
48 <p>Values:</p>
51 <p>TokenEntryNumber - chapter number, used in content indexes
52 only</p>
55 <p>TokenEntryText - text of the entry
56 </p>
59 <p>TokenTabStop - tab stop
60 </p>
[all …]
/AOO41X/main/tools/inc/tools/
H A Dsolar.h51 #define DELETEZ( p ) ( delete p,p = 0 ) argument
87 inline sal_uInt8 SVBT8ToByte ( const SVBT8 p ) { return p[0]; } in SVBT8ToByte() argument
88 inline sal_uInt16 SVBT16ToShort( const SVBT16 p ) { return (sal_uInt16)p[0] in SVBT16ToShort() argument
89 + ((sal_uInt16)p[1] << 8); } in SVBT16ToShort()
90 inline sal_uInt32 SVBT32ToUInt32 ( const SVBT32 p ) { return (sal_uInt32)p[0] in SVBT32ToUInt32() argument
91 + ((sal_uInt32)p[1] << 8) in SVBT32ToUInt32()
92 + ((sal_uInt32)p[2] << 16) in SVBT32ToUInt32()
93 + ((sal_uInt32)p[3] << 24); } in SVBT32ToUInt32()
95 inline double SVBT64ToDouble( const SVBT64 p ) { double n; in SVBT64ToDouble() argument
96 ((sal_uInt8*)&n)[0] = p[0]; in SVBT64ToDouble()
[all …]

12345678910>>...133