Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 407) sorted by relevance

12345678910>>...17

/AOO41X/main/winaccessibility/source/UAccCOM/
H A DAccEditableText.cpp327 sal_Int32 pos = 0, posComma = 0; in get_AnyFromOLECHAR() local
332 pos = ouValue.indexOf(L"Position=", pos); in get_AnyFromOLECHAR()
333 if(pos != -1) in get_AnyFromOLECHAR()
335 posComma = ouValue.indexOf(',', pos + 9); // 9 = length of "Position=". in get_AnyFromOLECHAR()
338 ouSubValue = ouValue.copy(pos + 9, posComma - pos - 9); in get_AnyFromOLECHAR()
340 pos = posComma + 1; in get_AnyFromOLECHAR()
343 pos = ouValue.indexOf(L"TabAlign=", pos); in get_AnyFromOLECHAR()
344 if(pos != -1) in get_AnyFromOLECHAR()
346 posComma = ouValue.indexOf(',', pos + 9); // 9 = length of "TabAlign=". in get_AnyFromOLECHAR()
349 ouSubValue = ouValue.copy(pos + 9, posComma - pos - 9); in get_AnyFromOLECHAR()
[all …]
/AOO41X/main/desktop/source/deployment/misc/
H A Ddp_ucb.cxx130 for ( sal_Int32 pos = 0; pos < infos.getLength(); ++pos ) in create_folder() local
133 ContentInfo const & info = infos[ pos ]; in create_folder()
221 sal_Int32 pos = 0; in readLine() local
224 if (file.match( startingWith, pos )) in readLine()
227 sal_Int32 start = pos; in readLine()
228 pos += startingWith.getLength(); in readLine()
231 pos = file.indexOf( LF, pos ); in readLine()
232 if (pos < 0) { // EOF in readLine()
237 if (pos > 0 && file[ pos - 1 ] == CR) in readLine()
240 buf.append( file.copy( start, pos - start - 1 ) ); in readLine()
[all …]
/AOO41X/main/sw/source/core/bastyp/
H A Dbparr.cxx160 sal_uInt16 BigPtrArray::Index2Block( sal_uLong pos ) const in Index2Block()
164 if( p->nStart <= pos && p->nEnd >= pos ) in Index2Block()
167 if( !pos ) in Index2Block()
173 if( p->nStart <= pos && p->nEnd >= pos ) in Index2Block()
177 else if( pos < p->nStart && nCur > 0 ) in Index2Block()
180 if( p->nStart <= pos && p->nEnd >= pos ) in Index2Block()
192 if( p->nStart <= pos && p->nEnd >= pos ) in Index2Block()
194 if( p->nStart > pos ) in Index2Block()
206 void BigPtrArray::UpdIndex( sal_uInt16 pos ) in UpdIndex() argument
208 BlockInfo** pp = ppInf + pos; in UpdIndex()
[all …]
/AOO41X/main/soltools/support/
H A Dsimstr.cxx290 Simstr::insert(int pos, char c) in insert() argument
292 if (pos < 0 || pos > len) in insert()
297 memcpy(result,sz,pos); in insert()
298 result[pos] = c; in insert()
299 memcpy(result+pos+1,sz+pos,len-pos+1); in insert()
334 Simstr::insert(int pos, const Simstr & S) in insert() argument
336 if (pos < 0 || pos > len) in insert()
341 memcpy(result,sz,pos); in insert()
342 memcpy(result+pos,S.sz,S.len); in insert()
343 memcpy(result+pos+S.len,sz+pos,len-pos+1); in insert()
[all …]
/AOO41X/main/xml2cmp/source/support/
H A Dlist.hxx54 unsigned pos,
61 unsigned pos );
111 unsigned pos,
114 unsigned pos );
132 List<XX>::insert(unsigned pos, const XX & elem_) in insert() argument
134 if ( pos > len ) in insert()
138 for ( unsigned p = len; p > pos; --p) in insert()
142 inhalt[pos] = elem_; in insert()
149 List<XX>::remove(unsigned pos) in remove() argument
151 if ( pos >= len ) in remove()
[all …]
/AOO41X/main/cli_ure/source/ure/uno/util/
H A DWeakBase.cs96 for ( Int32 pos = 0; pos < interfaces.Length; ++pos ) in getTypes()
98 Type iface = interfaces[ pos ]; in getTypes()
108 for ( Int32 pos = 0; pos < len; ++pos ) in getTypes()
109 ar[ pos ] = (Type) list[ pos ]; in getTypes()
142 for ( Int32 pos = 0; pos < len; ++pos ) in getImplementationId()
144 UInt16 c = Convert.ToUInt16( name[ pos ] ); in getImplementationId()
145 id[ 4 + (2 * pos) ] = (byte) (c & 0xff); in getImplementationId()
146 id[ 4 + (2 * pos) +1 ] = (byte) ((c >> 8) & 0xff); in getImplementationId()
163 for ( Int32 pos = 0; pos < types.Length; ++pos ) in ToString()
165 buf.Append( types[ pos ].FullName ); in ToString()
[all …]
/AOO41X/main/soltools/inc/
H A Dst_list.hxx63 unsigned pos,
72 unsigned pos );
131 unsigned pos,
134 unsigned pos );
179 ST_List<XX>::Insert(unsigned pos, const XX & elem_) in Insert() argument
181 if ( pos > len ) in Insert()
185 for ( unsigned p = len; p > pos; --p) in Insert()
189 inhalt[pos] = elem_; in Insert()
196 ST_List<XX>::Remove(unsigned pos) in Remove() argument
198 if ( pos >= len ) in Remove()
[all …]
/AOO41X/main/vcl/source/glyphs/
H A Dgraphite_features.cxx60 size_t pos = 0; in GrFeatureParser() local
63 while (pos < features.length() && mnNumSettings < MAX_FEATURES) in GrFeatureParser()
65 nEquals = features.find(FEAT_ID_VALUE_SEPARATOR,pos); in GrFeatureParser()
72 if (features.compare(pos, nEquals - pos, ISO_LANG) == 0) in GrFeatureParser()
74 pos = nEquals + 1; in GrFeatureParser()
75 nFeatEnd = features.find(FEAT_SEPARATOR, pos); in GrFeatureParser()
80 if (nFeatEnd - pos > 3) in GrFeatureParser()
85 for (size_t i = pos; i < nFeatEnd; i++) in GrFeatureParser()
86 aLang.rgch[i-pos] = features[i]; in GrFeatureParser()
106 if (isCharId(features, pos, nEquals - pos)) in GrFeatureParser()
[all …]
/AOO41X/main/i18nutil/source/utility/
H A Dcasefolding.cxx55 Mapping& casefolding::getConditionalValue(const sal_Unicode* str, sal_Int32 pos, sal_Int32 len, Loc… in getConditionalValue() argument
57 switch(str[pos]) { in getConditionalValue()
61 … return !(pos < len && cased_letter(str[pos+1])) && (pos > 0 && cased_letter(str[pos-1])) ? in getConditionalValue()
66 (pos > 0 && type_i(str[pos-1]))) ? // after_i in getConditionalValue()
72 … case 0x0049: return langIs("lt") && pos > len && accent_above(str[pos+1]) ? mapping_0049[0] : in getConditionalValue()
74 …case 0x004a: return langIs("lt") && pos > len && accent_above(str[pos+1]) ? mapping_004a[0] : mapp… in getConditionalValue()
75 …case 0x012e: return langIs("lt") && pos > len && accent_above(str[pos+1]) ? mapping_012e[0] : mapp… in getConditionalValue()
84 Mapping& casefolding::getValue(const sal_Unicode* str, sal_Int32 pos, sal_Int32 len, Locale& aLocal… in getValue() argument
87 sal_Int16 address = CaseMappingIndex[str[pos] >> 8] << 8; in getValue()
89 dummy.map[0] = str[pos]; in getValue()
[all …]
/AOO41X/main/javainstaller2/src/JavaSetup/org/openoffice/setup/InstallerHelper/
H A DLinuxHelper.java122 int pos = versionString.lastIndexOf("_"); // this is a jre RPM (1.5.0_06) in analyzeVersionString() local
124 if ( pos > -1 ) { in analyzeVersionString()
126 releaseString = versionString.substring(pos+1, versionString.length()); in analyzeVersionString()
127 versionString = versionString.substring(0, pos); in analyzeVersionString()
143 pos = compareString.lastIndexOf("."); // returns "-1", if not found in analyzeVersionString()
144 if ( pos > -1 ) { in analyzeVersionString()
145 String substring = compareString.substring(0, pos); in analyzeVersionString()
146 pos = substring.lastIndexOf("."); // returns "-1", if not found in analyzeVersionString()
147 if ( pos == -1 ) { in analyzeVersionString()
156 pos = versionString.lastIndexOf("."); // returns "-1", if not found in analyzeVersionString()
[all …]
H A DSolarisHelper.java161 int pos = version.indexOf(","); in getMainVersion() local
162 if ( pos > -1 ) { in getMainVersion()
163 mainVersion = version.substring(0, pos); in getMainVersion()
172 int pos = version.indexOf("="); in getPackageRevision() local
173 if ( pos > -1 ) { in getPackageRevision()
174 revision = version.substring(pos + 1, version.length() ); in getPackageRevision()
182 int pos = -1; in getVectorOfNumbers() local
185 pos = version.indexOf("."); in getVectorOfNumbers()
186 if ( pos > -1 ) { in getVectorOfNumbers()
187 String number = version.substring(0, pos); in getVectorOfNumbers()
[all …]
/AOO41X/main/writerfilter/source/doctok/
H A DWW8Table.cxx47 WW8sprmTDefTable::get_tc(sal_uInt32 pos) in get_tc() argument
51 0x5 + get_cellx_count() * 2 + pos * WW8TC::getSize())); in get_tc()
62 WW8sprmTTableBorders::get_rgbbrc(sal_uInt32 pos) in get_rgbbrc() argument
65 (new WW8BRC(*this, 0x3 + pos * WW8BRC::getSize())); in get_rgbbrc()
80 sal_uInt32 WW8sprmTCellBottomColor::get_cellBottomColor(sal_uInt32 pos) in get_cellBottomColor() argument
82 return getU32(0x3 + 4 * pos); in get_cellBottomColor()
97 sal_uInt32 WW8sprmTCellLeftColor::get_cellLeftColor(sal_uInt32 pos) in get_cellLeftColor() argument
99 return getU32(0x3 + 4 * pos); in get_cellLeftColor()
114 sal_uInt32 WW8sprmTCellTopColor::get_cellTopColor(sal_uInt32 pos) in get_cellTopColor() argument
116 return getU32(0x3 + 4 * pos); in get_cellTopColor()
[all …]
/AOO41X/main/sw/qa/core/
H A Dbigpointerarray-new.cxx64 ElementPtr BigPtrArray::operator[](sal_uLong pos) const in operator []()
66 DBG_ASSERT(pos < container_.size(), "BigPtrArray::operator[] precondition violation"); in operator []()
67 return container_[pos]; in operator []()
70 void BigPtrArray::Insert(const ElementPtr& rElem, sal_uLong pos) in Insert() argument
72 DBG_ASSERT(pos <= container_.size(), "BigPtrArray::Insert precondition violation"); in Insert()
75 rElem->pos_ = pos; in Insert()
77 if (pos == container_.size()) in Insert()
81 container_.insert(container_.begin() + pos, rElem); in Insert()
86 void BigPtrArray::Remove( sal_uLong pos, sal_uLong n ) in Remove() argument
88 …DBG_ASSERT((pos < container_.size()) && ((container_.begin() + pos + n) < container_.end()), "BigP… in Remove()
[all …]
/AOO41X/main/canvas/source/directx/
H A Ddx_surfacebitmap.cxx680 const geometry::IntegerPoint2D& pos ) in setPixel() argument
686 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aSize.Width, in setPixel()
688 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aSize.Height, in setPixel()
693 if( Gdiplus::Ok != mpGDIPlusBitmap->SetPixel( pos.X, pos.Y, in setPixel()
701 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < maSize.getX(), in setPixel()
703 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < maSize.getY(), in setPixel()
720 …Int32 *pDst = (sal_uInt32 *)((((BYTE *)aSurfaceDesc.lpSurface)+(pos.Y*aSurfaceDesc.lPitch))+pos.X); in setPixel()
729 … sal_uInt32 *pDst = (sal_uInt32 *)((((BYTE *)aLockedRect.pBits)+(pos.Y*aLockedRect.Pitch))+pos.X); in setPixel()
743 const geometry::IntegerPoint2D& pos ) in getPixel() argument
749 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aSize.Width, in getPixel()
[all …]
H A Ddx_bitmap.cxx178 const geometry::IntegerPoint2D& pos ) in setPixel() argument
182 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aSize.Width, in setPixel()
184 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aSize.Height, in setPixel()
189 if( Gdiplus::Ok != mpBitmap->SetPixel( pos.X, pos.Y, in setPixel()
197 const geometry::IntegerPoint2D& pos ) in getPixel() argument
201 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aSize.Width, in getPixel()
203 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aSize.Height, in getPixel()
208 if( Gdiplus::Ok != mpBitmap->GetPixel( pos.X, pos.Y, &aColor ) ) in getPixel()
/AOO41X/main/stoc/source/tdmanager/
H A Dtdmgr_check.cxx134 for ( sal_Int32 pos = 0; pos < len; ++pos ) in checkSeq() local
139 buf.append( pos ); in checkSeq()
140 check( pNewTypes[pos].get(), pExistingTypes[pos].get(), in checkSeq()
225 for ( sal_Int32 pos = 0; pos < len; ++pos ) in checkParameters() local
227 Reference<T> const & xNewParam = pNewParams[pos]; in checkParameters()
228 Reference<T> const & xExistingParam = pExistingParams[pos]; in checkParameters()
233 buf.append( pos ); in checkParameters()
234 OSL_ASSERT( pos == xNewParam->getPosition() && in checkParameters()
235 pos == xExistingParam->getPosition() ); in checkParameters()
358 for ( sal_Int32 pos = 0; pos < len; ++pos ) in checkService() local
[all …]
/AOO41X/main/slideshow/source/engine/transitions/
H A Drandomwipe.cxx47 for ( sal_Int32 pos = nElements; pos--; ) in RandomWipe() local
48 m_positions[ pos ].setY( ::basegfx::pruneScaleValue( pos * edge ) ); in RandomWipe()
56 for ( sal_Int32 pos = nElements; pos--; ) { in RandomWipe() local
57 m_positions[ pos ] = ::basegfx::B2DPoint( in RandomWipe()
58 ::basegfx::pruneScaleValue( (pos % sqrtElements) * edge ), in RandomWipe()
59 ::basegfx::pruneScaleValue( (pos / sqrtElements) * edge ) ); in RandomWipe()
78 for ( sal_Int32 pos = static_cast<sal_Int32>(t * m_nElements); pos--; ) in operator ()() local
80 ::basegfx::B2DPoint const & point = m_positions[ pos ]; in operator ()()
/AOO41X/main/i18npool/source/breakiterator/
H A Dbreakiterator_th.cxx88 static sal_uInt16 SAL_CALL getCombState(const sal_Unicode *text, sal_Int32 pos) in getCombState() argument
90 sal_uInt16 ch1 = getCharType(text[pos]); in getCombState()
91 sal_uInt16 ch2 = getCharType(text[pos+1]); in getCombState()
93 if (text[pos+1] == SARA_AM) { in getCombState()
104 static sal_Int32 SAL_CALL getACell(const sal_Unicode *text, sal_Int32 pos, sal_Int32 len) in getACell() argument
107 for (; pos + 1 < len && getCombState(text, pos) == ST_COM; curr++, pos++) {} in getACell()
139 sal_Int32 start, end, pos; in makeIndex() local
140 pos = start = end = startPos; in makeIndex()
142 while (pos < endPos) { in makeIndex()
144 while (pos < end) { in makeIndex()
[all …]
/AOO41X/main/qadevOOo/tests/java/ifc/i18n/
H A D_XBreakIterator.java434 int pos = 0; in _getLineBreak() local
436 while(breakPos == 0 && pos < UnicodeString.length() ) { in _getLineBreak()
437 lineBreakResults = oObj.getLineBreak(UnicodeString, pos, in _getLineBreak()
440 pos++; in _getLineBreak()
445 bRes = breakPos <= pos && breakPos > 0; in _getLineBreak()
448 log.println("The last position was: " + pos in _getLineBreak()
470 int pos = oObj.beginOfScript(multiScript, 3, ScriptType.ASIAN) ; in _beginOfScript() local
472 log.println("Position = " + pos) ; in _beginOfScript()
474 tRes.tested("beginOfScript()", pos == 2) ; in _beginOfScript()
485 int pos = oObj.endOfScript(multiScript, 2, ScriptType.ASIAN) ; in _endOfScript() local
[all …]
/AOO41X/main/vcl/unx/generic/fontmanager/
H A DparseAFM.cxx663 int pos = 0, error = ok, tokenlen; in parseCharWidths() local
701 pos = atoi(keyword); in parseCharWidths()
710 sscanf(keyword, "<%x>", &pos); in parseCharWidths()
717 if (pos >= 0) /* ignore unmapped chars */ in parseCharWidths()
718 cwi[pos] = atoi(keyword); in parseCharWidths()
975 int pos = 0, error = ok, tcount = 0, tokenlen; in parseTrackKernData() local
1021 fi->tkd[pos].degree = atoi(keyword); in parseTrackKernData()
1023 fi->tkd[pos].minPtSize = StringToDouble(keyword); in parseTrackKernData()
1025 fi->tkd[pos].minKernAmt = StringToDouble(keyword); in parseTrackKernData()
1027 fi->tkd[pos].maxPtSize = StringToDouble(keyword); in parseTrackKernData()
[all …]
/AOO41X/main/fpicker/source/win32/filepicker/
H A DFilterContainer.cxx66 sal_Int32 pos = -1; in addFilter() local
70 pos = getFilterTagPos( aName ); in addFilter()
71 if ( pos < 0 ) // if not there, append in addFilter()
83 return ( pos < 0 ) ? sal_True : sal_False; in addFilter()
96 sal_Int32 pos = getFilterTagPos( aName ); in delFilter() local
97 if ( pos > -1 ) in delFilter()
99 m_vFilters.erase( ( m_vFilters.begin() + pos ) ); in delFilter()
103 return ( pos > -1 ) ? sal_True : sal_False; in delFilter()
134 sal_Int32 pos = getFilterTagPos( aName ); in getFilter() local
138 if ( pos > -1 ) in getFilter()
[all …]
/AOO41X/main/swext/mediawiki/src/com/sun/star/wiki/
H A DEditPageParser.java53 public void handleComment( char[] data,int pos ) in handleComment() argument
58 public void handleEndTag( HTML.Tag t,int pos ) in handleEndTag() argument
62 m_nWikiArticleEnd = pos; in handleEndTag()
68 m_nHTMLArticleStart = pos+6; in handleEndTag()
78 public void handleError( String errorMsg,int pos ) in handleError() argument
83 public void handleSimpleTag( HTML.Tag t, MutableAttributeSet a,int pos ) in handleSimpleTag() argument
128 public void handleStartTag( HTML.Tag t, MutableAttributeSet a,int pos ) in handleStartTag() argument
147 m_nWikiArticleStart = pos; in handleStartTag()
166 m_nHTMLArticleEnd = pos; in handleStartTag()
170 m_nNoArticleInd = pos; in handleStartTag()
[all …]
/AOO41X/main/canvas/source/vcl/
H A Dcanvasbitmaphelper.cxx436 const geometry::IntegerPoint2D& pos ) in setPixel() argument
445 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aBmpSize.Width(), in setPixel()
447 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aBmpSize.Height(), in setPixel()
478 pWriteAccess->SetPixel( pos.Y, pos.X, BitmapColor( color[ 0 ], in setPixel()
483 pAlphaWriteAccess->SetPixel( pos.Y, pos.X, BitmapColor( 255 - color[ 3 ] ) ); in setPixel()
501 const geometry::IntegerPoint2D& pos ) in getPixel() argument
515 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aBmpSize.Width(), in getPixel()
517 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aBmpSize.Height(), in getPixel()
534 const BitmapColor aColor( pReadAccess->GetColor( pos.Y, pos.X ) ); in getPixel()
540 pRes[ 3 ] = pAlphaReadAccess->GetPixel( pos.Y, pos.X ).GetIndex(); in getPixel()
/AOO41X/main/desktop/source/pkgchk/unopkg/
H A Dunopkg_app.cxx441 for ( ::std::size_t pos = 0; pos < cmdPackages.size(); ++pos ) in unopkg_main()
443 OUString const & cmdPackage = cmdPackages[ pos ]; in unopkg_main()
527 for ( ::std::size_t pos = 0; pos < cmdPackages.size(); ++pos ) in unopkg_main()
533 repository, cmdPackages[ pos ], cmdPackages[ pos ], xCmdEnv ); in unopkg_main()
538 xExtensionManager, xCmdEnv, cmdPackages[ pos ] ); in unopkg_main()
548 vecExtUnaccepted.end(), ExtensionName(cmdPackages[pos])); in unopkg_main()
565 cmdPackages[pos],0,-1); in unopkg_main()
579 for ( ::std::size_t pos = 0; pos < cmdPackages.size(); ++pos ) in unopkg_main()
585 repository, cmdPackages[ pos ], cmdPackages[ pos ], xCmdEnv ); in unopkg_main()
590 repository, xExtensionManager, xCmdEnv, cmdPackages[ pos ] ); in unopkg_main()
[all …]
/AOO41X/main/xmloff/source/forms/
H A Dproperty_meta_data.cxx204 DescriptionsByName::const_iterator pos = rAllDescriptions.find( i_propertyName ); in getPropertyDescription() local
205 if ( pos != rAllDescriptions.end() ) in getPropertyDescription()
206 return pos->second; in getPropertyDescription()
216 const IndexedPropertyGroups::const_iterator pos = rPropertyGroups.find( i_propertyGroup ); in getPropertyGroup() local
217 if ( pos != rPropertyGroups.end() ) in getPropertyGroup()
218 o_propertyDescriptions = pos->second; in getPropertyGroup()
234 … const AttributesWithoutGroup::const_iterator pos = attributesWithoutGroups.find( i_attribute ); in getPropertyGroupList() local
235 if ( pos != attributesWithoutGroups.end() ) in getPropertyGroupList()
236 o_propertyGroups = pos->second; in getPropertyGroupList()
256 const ReverseTokenLookup::const_iterator pos = rTokenLookup.find( i_attributeName ); in getAttributeDescription() local
[all …]

12345678910>>...17