Home
last modified time | relevance | path

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

12345678910>>...17

/trunk/main/winaccessibility/source/UAccCOM/
H A DAccEditableText.cpp332 pos = ouValue.indexOf(L"Position=", pos); in get_AnyFromOLECHAR()
333 if(pos != -1) in get_AnyFromOLECHAR()
338 ouSubValue = ouValue.copy(pos + 9, posComma - pos - 9); in get_AnyFromOLECHAR()
343 pos = ouValue.indexOf(L"TabAlign=", pos); in get_AnyFromOLECHAR()
349 ouSubValue = ouValue.copy(pos + 9, posComma - pos - 9); in get_AnyFromOLECHAR()
354 pos = ouValue.indexOf(L"DecimalChar=", pos); in get_AnyFromOLECHAR()
365 pos = ouValue.indexOf(L"FillChar=", pos); in get_AnyFromOLECHAR()
436 pos = ouValue.indexOf(L"Mode=", pos); in get_AnyFromOLECHAR()
437 if(pos != -1) in get_AnyFromOLECHAR()
442 ouSubValue = ouValue.copy(pos + 5, posComma - pos - 5); in get_AnyFromOLECHAR()
[all …]
/trunk/main/desktop/source/deployment/misc/
H A Ddp_ucb.cxx130 for ( sal_Int32 pos = 0; pos < infos.getLength(); ++pos ) in create_folder() local
221 sal_Int32 pos = 0; in readLine() local
231 pos = file.indexOf( LF, pos ); in readLine()
237 if (pos > 0 && file[ pos - 1 ] == CR) in readLine()
248 (file[ pos ] == ' ' || file[ pos ] == '\t')) in readLine()
265 pos = next_lf + 1; in readLine()
277 sal_Int32 pos = 0; in readProperties() local
286 pos = file.indexOf( LF, pos ); in readProperties()
287 if (pos < 0) { // EOF in readProperties()
293 if (pos > 0 && file[ pos - 1 ] == CR) in readProperties()
[all …]
/trunk/main/sw/source/core/bastyp/
H A Dbparr.cxx164 if( p->nStart <= pos && p->nEnd >= pos ) in Index2Block()
167 if( !pos ) in Index2Block()
173 if( p->nStart <= pos && p->nEnd >= pos ) in Index2Block()
180 if( p->nStart <= pos && p->nEnd >= pos ) in Index2Block()
192 if( p->nStart <= pos && p->nEnd >= pos ) in Index2Block()
238 memmove( ppInf + pos+1, ppInf + pos , in InsBlock()
242 ppInf[ pos ] = p; in InsBlock()
244 if( pos ) in InsBlock()
348 pos -= p->nStart; in Insert()
380 pos -= p->nStart; in Remove()
[all …]
/trunk/main/soltools/support/
H A Dsimstr.cxx292 if (pos < 0 || pos > len) in insert()
298 result[pos] = c; in insert()
299 memcpy(result+pos+1,sz+pos,len-pos+1); in insert()
336 if (pos < 0 || pos > len) in insert()
343 memcpy(result+pos+S.len,sz+pos,len-pos+1); in insert()
382 if (pos >= len || pos < 0 || anzahl < 1) in remove()
385 int anz = len - pos < anzahl ? len - pos : anzahl; in remove()
390 memcpy(result+pos,sz+pos+anz,len-pos-anz+1); in remove()
470 int pos; in remove_all() local
527 if (pos != NO_POS) in take_first_token()
[all …]
/trunk/main/xml2cmp/source/support/
H A Dlist.hxx54 unsigned pos,
134 if ( pos > len ) in insert()
142 inhalt[pos] = elem_; in insert()
149 List<XX>::remove(unsigned pos) in remove() argument
151 if ( pos >= len ) in remove()
224 if ( pos > this->len ) in insert()
228 memmove(this->inhalt[pos+1], this->inhalt[pos], (this->len-pos) * sizeof(XY*) ); in insert()
229 this->inhalt[pos] = elem_; in insert()
237 if (!this->is_valid_index(pos) ) in remove()
240 delete this->inhalt[pos]; in remove()
[all …]
/trunk/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 …]
/trunk/main/soltools/inc/
H A Dst_list.hxx63 unsigned pos,
72 unsigned pos );
131 unsigned pos,
134 unsigned pos );
181 if ( pos > len ) in Insert()
189 inhalt[pos] = elem_; in Insert()
198 if ( pos >= len ) in Remove()
303 if ( pos > this->len ) in Insert()
307 …memmove( DynamicList<XY>::inhalt+pos+1, DynamicList<XY>::inhalt+pos, (DynamicList<XY>::len-pos) * … in Insert()
308 this->inhalt[pos] = elem_; in Insert()
[all …]
/trunk/main/vcl/source/glyphs/
H A Dgraphite_features.cxx60 size_t pos = 0; in GrFeatureParser() local
72 if (features.compare(pos, nEquals - pos, ISO_LANG) == 0) in GrFeatureParser()
74 pos = nEquals + 1; in GrFeatureParser()
106 if (isCharId(features, pos, nEquals - pos)) in GrFeatureParser()
107 maSettings[mnNumSettings].id = getCharId(features, pos, nEquals - pos); in GrFeatureParser()
108 else maSettings[mnNumSettings].id = getIntValue(features, pos, nEquals - pos); in GrFeatureParser()
109 pos = nEquals + 1; in GrFeatureParser()
115 if (isCharId(features, pos, nFeatEnd - pos)) in GrFeatureParser()
116 maSettings[mnNumSettings].value = getCharId(features, pos, nFeatEnd - pos); in GrFeatureParser()
118 maSettings[mnNumSettings].value= getIntValue(features, pos, nFeatEnd - pos); in GrFeatureParser()
[all …]
/trunk/main/javainstaller2/src/JavaSetup/org/openoffice/setup/InstallerHelper/
H A DLinuxHelper.java124 if ( pos > -1 ) { in analyzeVersionString()
144 if ( pos > -1 ) { in analyzeVersionString()
147 if ( pos == -1 ) { in analyzeVersionString()
158 if ( pos > -1 ) in analyzeVersionString()
168 pos = versionString.lastIndexOf("."); in analyzeVersionString()
169 if ( pos > -1 ) { in analyzeVersionString()
240 int pos = version.indexOf("."); in getInstalledMinor() local
241 if ( pos > -1 ) { in getInstalledMinor()
244 pos = reduced.indexOf("."); in getInstalledMinor()
245 if ( pos > -1 ) { in getInstalledMinor()
[all …]
H A DSolarisHelper.java161 int pos = version.indexOf(","); in getMainVersion() local
162 if ( pos > -1 ) { in getMainVersion()
172 int pos = version.indexOf("="); in getPackageRevision() local
173 if ( pos > -1 ) { in getPackageRevision()
182 int pos = -1; in getVectorOfNumbers() local
185 pos = version.indexOf("."); in getVectorOfNumbers()
186 if ( pos > -1 ) { in getVectorOfNumbers()
191 } while ( pos > -1 ); in getVectorOfNumbers()
329 if ( pos > -1 ) { in getVersionString()
349 if ( pos > -1 ) { in getInstalledMinor()
[all …]
/trunk/main/i18nutil/source/utility/
H A Dcasefolding.cxx57 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()
87 sal_Int16 address = CaseMappingIndex[str[pos] >> 8] << 8; in getValue()
89 dummy.map[0] = str[pos]; in getValue()
91 if (address >= 0 && (CaseMappingValue[address += (str[pos] & 0xFF)].type & nMappingType)) { in getValue()
95 return getConditionalValue(str, pos, len, aLocale, nMappingType); in getValue()
[all …]
/trunk/main/writerfilter/source/doctok/
H A DWW8Table.cxx47 WW8sprmTDefTable::get_tc(sal_uInt32 pos) in get_tc() argument
62 WW8sprmTTableBorders::get_rgbbrc(sal_uInt32 pos) in get_rgbbrc() argument
65 (new WW8BRC(*this, 0x3 + pos * WW8BRC::getSize())); in get_rgbbrc()
82 return getU32(0x3 + 4 * pos); in get_cellBottomColor()
99 return getU32(0x3 + 4 * pos); in get_cellLeftColor()
116 return getU32(0x3 + 4 * pos); in get_cellTopColor()
133 return getU32(0x3 + 4 * pos); in get_cellRightColor()
156 WW8sprmTDefTableShd::get_shd(sal_uInt32 pos) in get_shd() argument
159 (new WW8SHD(*this, 0x3 + pos * WW8SHD::getSize())); in get_shd()
175 WW8sprmTCellShd::get_shd(sal_uInt32 pos) in get_shd() argument
[all …]
/trunk/main/sw/qa/core/
H A Dbigpointerarray-new.cxx64 ElementPtr BigPtrArray::operator[](sal_uLong pos) const in operator []()
67 return container_[pos]; in operator []()
70 void BigPtrArray::Insert(const ElementPtr& rElem, sal_uLong pos) in Insert() argument
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()
89 container_.erase(container_.begin() + pos, container_.begin() + pos + n); in Remove()
97 rElem->pos_ = pos; in Replace()
[all …]
/trunk/main/canvas/source/directx/
H A Ddx_surfacebitmap.cxx686 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()
729 sal_uInt32 *pDst = (sal_uInt32 *)((((BYTE *)aLockedRect.pBits)+(pos.Y*aLockedRect.Pitch))+pos.X); in setPixel()
749 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < aSize.Width, in getPixel()
751 ENSURE_ARG_OR_THROW( pos.Y >= 0 && pos.Y < aSize.Height, in getPixel()
756 if( Gdiplus::Ok != mpGDIPlusBitmap->GetPixel( pos.X, pos.Y, &aColor ) ) in getPixel()
763 ENSURE_ARG_OR_THROW( pos.X >= 0 && pos.X < maSize.getX(), 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()
/trunk/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()
233 buf.append( pos ); in checkParameters()
234 OSL_ASSERT( pos == xNewParam->getPosition() && in checkParameters()
358 for ( sal_Int32 pos = 0; pos < len; ++pos ) in checkService() local
361 xNewCtor = pNewCtors[pos]; in checkService()
363 xExistingCtor = pExistingCtors[pos]; in checkService()
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/i18n/
H A D_XBreakIterator.java434 int pos = 0; in _getLineBreak() local
440 pos++; in _getLineBreak()
445 bRes = breakPos <= pos && breakPos > 0; in _getLineBreak()
472 log.println("Position = " + pos) ; in _beginOfScript()
474 tRes.tested("beginOfScript()", pos == 2) ; in _beginOfScript()
487 log.println("Position = " + pos) ; in _endOfScript()
489 tRes.tested("endOfScript()", pos == 4) ; in _endOfScript()
502 log.println("Position = " + pos) ; in _nextScript()
504 tRes.tested("nextScript()", pos == 4) ; in _nextScript()
517 log.println("Position = " + pos) ; in _previousScript()
[all …]
/trunk/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 ()()
/trunk/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()
718 cwi[pos] = atoi(keyword); in parseCharWidths()
975 int pos = 0, error = ok, tcount = 0, tokenlen; in parseTrackKernData() local
1083 int pos = 0, error = ok, pcount = 0, tokenlen; in parsePairKernData() local
1132 fi->pkd[pos].xamt = atoi(keyword); in parsePairKernData()
1272 if (pcount != fi->ccd[pos].numOfPieces) in parseCompCharData()
1276 else pos++; in parseCompCharData()
1280 fi->ccd[pos].pieces = (Pcc *) in parseCompCharData()
[all …]
/trunk/main/i18npool/source/breakiterator/
H A Dbreakiterator_th.cxx90 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()
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()
145 nextCellIndex[pos] = end; in makeIndex()
146 previousCellIndex[pos] = start; in makeIndex()
[all …]
/trunk/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()
134 sal_Int32 pos = getFilterTagPos( aName ); in getFilter() local
138 if ( pos > -1 ) in getFilter()
139 theFilter = m_vFilters.at( pos ).second; in getFilter()
144 pos = -1; in getFilter()
[all …]
/trunk/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()
/trunk/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
147 m_nWikiArticleStart = pos; in handleStartTag()
166 m_nHTMLArticleEnd = pos; in handleStartTag()
170 m_nNoArticleInd = pos; in handleStartTag()
174 m_nErrorInd = pos; in handleStartTag()
[all …]
/trunk/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 …]
/trunk/main/toolkit/workben/layout/
H A Deditor.cxx321 if ( pos < nChildrenLen ) in addChild()
424 Widget *getChild( int pos ) in getChild() argument
426 if ( pos >= 0 && pos < (signed) maChildren.size() ) in getChild()
1453 if ( pos > 0 && pos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK()
1454 upPressed( pos ); in IMPL_LINK()
1462 if ( pos < mpListBox->GetEntryCount() && pos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK()
1463 downPressed( pos ); in IMPL_LINK()
1472 removePressed( pos ); in IMPL_LINK()
1480 itemSelected( pos ); in IMPL_LINK()
1531 if ( pos == -1 ) in selectWidget()
[all …]

Completed in 147 milliseconds

12345678910>>...17