/aoo41x/main/winaccessibility/source/UAccCOM/ |
H A D | AccEditableText.cpp | 332 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 …]
|
/aoo41x/main/desktop/source/deployment/misc/ |
H A D | dp_ucb.cxx | 130 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 …]
|
/aoo41x/main/sw/source/core/bastyp/ |
H A D | bparr.cxx | 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() 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 …]
|
/aoo41x/main/soltools/support/ |
H A D | simstr.cxx | 292 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 …]
|
/aoo41x/main/xml2cmp/source/support/ |
H A D | list.hxx | 54 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 …]
|
/aoo41x/main/cli_ure/source/ure/uno/util/ |
H A D | WeakBase.cs | 96 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 D | st_list.hxx | 63 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 …]
|
/aoo41x/main/vcl/source/glyphs/ |
H A D | graphite_features.cxx | 60 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 …]
|
/aoo41x/main/i18nutil/source/utility/ |
H A D | casefolding.cxx | 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() 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 …]
|
/aoo41x/main/writerfilter/source/doctok/ |
H A D | WW8Table.cxx | 47 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 …]
|
/aoo41x/main/javainstaller2/src/JavaSetup/org/openoffice/setup/InstallerHelper/ |
H A D | LinuxHelper.java | 124 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 D | SolarisHelper.java | 161 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 …]
|
/aoo41x/main/sw/qa/core/ |
H A D | bigpointerarray-new.cxx | 64 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 …]
|
/aoo41x/main/canvas/source/directx/ |
H A D | dx_surfacebitmap.cxx | 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() 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 D | dx_bitmap.cxx | 178 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 D | tdmgr_check.cxx | 134 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 …]
|
/aoo41x/main/slideshow/source/engine/transitions/ |
H A D | randomwipe.cxx | 47 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 D | breakiterator_th.cxx | 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() 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 …]
|
/aoo41x/main/qadevOOo/tests/java/ifc/i18n/ |
H A D | _XBreakIterator.java | 434 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 …]
|
/aoo41x/main/vcl/unx/generic/fontmanager/ |
H A D | parseAFM.cxx | 663 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 …]
|
/aoo41x/main/fpicker/source/win32/filepicker/ |
H A D | FilterContainer.cxx | 66 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 …]
|
/aoo41x/main/swext/mediawiki/src/com/sun/star/wiki/ |
H A D | EditPageParser.java | 53 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 …]
|
/aoo41x/main/canvas/source/vcl/ |
H A D | canvasbitmaphelper.cxx | 436 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 D | unopkg_app.cxx | 441 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 D | property_meta_data.cxx | 204 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() 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 257 if ( pos != rTokenLookup.end() ) in getAttributeDescription() [all …]
|