/trunk/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 …]
|
/trunk/main/crashrep/source/unx/ |
H A D | main.cxx | 145 string::size_type pos = 0; in xml_encode() local 150 for( pos = 0; (pos = temp.find( '&', pos )) != string::npos; pos += 4 ) in xml_encode() 151 temp.replace( pos, 1, "&" ); in xml_encode() 153 for( pos = 0; (pos = temp.find( '<', pos )) != string::npos; pos += 4 ) in xml_encode() 154 temp.replace( pos, 1, "<" ); in xml_encode() 156 for( pos = 0; (pos = temp.find( '>', pos )) != string::npos; pos += 4 ) in xml_encode() 157 temp.replace( pos, 1, ">" ); in xml_encode() 588 size_t pos = aDir.rfind( '/' ); in setup_program_dir() local 590 assert( pos != string::npos ); in setup_program_dir() 592 g_strProgramDir = aDir.substr( 0, pos + 1 ); in setup_program_dir() [all …]
|
/trunk/main/svx/source/form/ |
H A D | formcontrolling.cxx | 180 …FeatureDescriptions::const_iterator pos = ::std::find_if( rDescriptions.begin(), rDescriptions.end… in getControllerFeatureSlotIdForURL() local 181 return ( pos != rDescriptions.end() ) ? pos->nSlotId : -1; in getControllerFeatureSlotIdForURL() 188 …FeatureDescriptions::const_iterator pos = ::std::find_if( rDescriptions.begin(), rDescriptions.end… in getControllerFeatureURLForSlotId() local 189 …OSL_ENSURE( pos != rDescriptions.end(), "FeatureSlotTranslation::getControllerFeatureURLForSlotId:… in getControllerFeatureURLForSlotId() 190 return ( pos != rDescriptions.end() ) ? pos->sURL : ::rtl::OUString(); in getControllerFeatureURLForSlotId() 203 …FeatureDescriptions::const_iterator pos = ::std::find_if( rDescriptions.begin(), rDescriptions.end… in getFormFeatureForSlotId() local 204 …OSL_ENSURE( pos != rDescriptions.end(), "FeatureSlotTranslation::getFormFeatureForSlotId: not foun… in getFormFeatureForSlotId() 205 return ( pos != rDescriptions.end() ) ? pos->nFormFeature : -1; in getFormFeatureForSlotId() 212 …FeatureDescriptions::const_iterator pos = ::std::find_if( rDescriptions.begin(), rDescriptions.end… in getSlotIdForFormFeature() local 213 …OSL_ENSURE( pos != rDescriptions.end(), "FeatureSlotTranslation::getSlotIdForFormFeature: not foun… in getSlotIdForFormFeature() [all …]
|
/trunk/main/comphelper/source/misc/ |
H A D | namedvaluecollection.cxx | 262 NamedValueRepository::const_iterator pos = m_pImpl->aValues.find( _rValueName ); in get_ensureType() local 263 if ( pos != m_pImpl->aValues.end() ) in get_ensureType() 267 const_cast< void* >( pos->second.getValue() ), pos->second.getValueType().getTypeLibType(), in get_ensureType() 282 aBuffer.append ( pos->second.getValueType().getTypeName() ); in get_ensureType() 293 NamedValueRepository::const_iterator pos = m_pImpl->aValues.find( _rValueName ); in impl_get() local 294 if ( pos != m_pImpl->aValues.end() ) in impl_get() 295 return pos->second; in impl_get() 305 return ( pos != m_pImpl->aValues.end() ); in impl_has() 319 NamedValueRepository::iterator pos = m_pImpl->aValues.find( _rValueName ); in impl_remove() local 320 if ( pos == m_pImpl->aValues.end() ) in impl_remove() [all …]
|
/trunk/main/sw/source/filter/ww8/dump/ |
H A D | msvbasic.cxx | 419 unsigned int pos = 0; in DecompressVBA() local 445 int pos2 = pos%WINDOWLEN; in DecompressVBA() 486 c = aHistory[(pos-distance-1)%WINDOWLEN]; in DecompressVBA() 487 aHistory[pos%WINDOWLEN] = c; in DecompressVBA() 488 pos++; in DecompressVBA() 503 if ((pos != 0) && ((pos%WINDOWLEN) == 0) && (clean)) in DecompressVBA() 516 if (xVBAStream->Read(&aHistory[pos%WINDOWLEN],1)) in DecompressVBA() 518 pos++; in DecompressVBA() 528 if (pos%WINDOWLEN) in DecompressVBA() 529 Output(pos%WINDOWLEN,aHistory); in DecompressVBA() [all …]
|
/trunk/main/l10ntools/source/ |
H A D | xmlparse.cxx | 147 pChildList->Insert( pChild, pos ); in AddChild() 449 XMLHashMap::iterator pos = XMLStrings->begin(); in ~XMLFile() local 450 for( ; pos != XMLStrings->end() ; ++pos ){ in ~XMLFile() 497 for(XMLHashMap::iterator pos=XMLStrings->begin(); pos!=XMLStrings->end();++pos){ in View() local 499 LangHashMap* elem=pos->second; in View() 540 elem=pos->second; in InsertL10NElement() 601 … for( XMLHashMap::iterator pos = obj.XMLStrings->begin() ; pos != obj.XMLStrings->end() ; ++pos ) in operator =() local 603 LangHashMap* elem=pos->second; in operator =() 663 pElement->SetPos( pos ); in SearchL10NElements() 1428 for(HashMap::iterator pos = lMap.begin(); pos != lMap.end() ; ++pos){ in dump() local [all …]
|
H A D | helpmerge.cxx | 92 for(XMLHashMap::iterator pos = rElem_in->begin();pos != rElem_in->end(); ++pos){ in Dump() local 93 Dump(pos->second,pos->first); in Dump() 198 std::vector<ByteString>::iterator pos; in CreateSDF() local 201 for( pos = order.begin(); pos != order.end() ; ++pos ) in CreateSDF() 203 posm = aXMLStrHM->find( *pos ); in CreateSDF() 446 …for(XMLHashMap::iterator pos=aXMLStrHM->begin();pos!=aXMLStrHM->end();++pos) // Merge every l10… in MergeSingleFile() local 449 aLangHM = pos->second; in MergeSingleFile() 454 pResData.sGId = pos->first; in MergeSingleFile() 701 if( pos != -1 ){ 702 parent->AddChild(xmldefault , pos+1 ); [all …]
|
/trunk/main/extensions/source/propctrlr/ |
H A D | genericpropertyhandler.cxx | 442 PropertyMap::const_iterator pos = m_aProperties.find( _rPropertyName ); in convertToPropertyValue() local 443 if ( pos == m_aProperties.end() ) in convertToPropertyValue() 451 if ( pos->second.Type.getTypeClass() == TypeClass_ENUM ) in convertToPropertyValue() 469 PropertyMap::const_iterator pos = m_aProperties.find( _rPropertyName ); in convertToControlValue() local 470 if ( pos == m_aProperties.end() ) in convertToControlValue() 478 if ( pos->second.Type.getTypeClass() == TypeClass_ENUM ) in convertToControlValue() 644 PropertyMap::const_iterator pos = m_aProperties.find( _rPropertyName ); in describePropertyLine() local 645 if ( pos == m_aProperties.end() ) in describePropertyLine() 650 switch ( pos->second.Type.getTypeClass() ) in describePropertyLine() 654 impl_getEnumConverter( pos->second.Type )->getDescriptions(), in describePropertyLine() [all …]
|
/trunk/main/toolkit/src2xml/source/ |
H A D | srcparser.py | 105 self.pos = 0 106 while self.pos < len(self.tokens): 110 token = self.tokens[self.pos] 112 self.pos += 1 119 self.tokens[self.pos:self.pos+1] = macro.tokens 128 pos = macro.vars[mtoken] 129 valtokens = values[pos] 136 self.tokens[self.pos:self.pos+lastPos+1] = newtokens 155 tk = self.tokens[self.pos+i] 159 print(self.tokens[self.pos+j], end=' ')
|
/trunk/main/scripting/source/provider/ |
H A D | ActiveMSPList.cxx | 140 ScriptComponent_map::const_iterator pos = m_mScriptComponents.find( xNormalized ); in getMSPFromInvocationContext() local 141 if ( pos == m_mScriptComponents.end() ) in getMSPFromInvocationContext() 149 msp = pos->second; in getMSPFromInvocationContext() 179 ScriptComponent_map::const_iterator pos = m_mScriptComponents.find( xNormalized ); in getMSPFromStringContext() local 180 if ( pos == m_mScriptComponents.end() ) in getMSPFromStringContext() 187 msp = pos->second; in getMSPFromStringContext() 232 ScriptComponent_map::const_iterator pos = m_mScriptComponents.find( xNormalized ); in addActiveMSP() local 233 if ( pos == m_mScriptComponents.end() ) in addActiveMSP() 264 ScriptComponent_map::iterator pos = m_mScriptComponents.find( xNormalized ); in disposing() local 265 if ( pos != m_mScriptComponents.end() ) in disposing() [all …]
|
/trunk/main/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/ |
H A D | ImageElementContext.java | 67 public void setRowStyle(final int pos, final String styleName) in setRowStyle() argument 69 rowStyles[pos] = styleName; in setRowStyle() 72 public void setColStyle(final int pos, final String styleName) in setColStyle() argument 74 colStyles[pos] = styleName; in setColStyle() 77 public String getRowStyle(final int pos) in getRowStyle() argument 79 return rowStyles[pos]; in getRowStyle() 82 public String getColStyle(final int pos) in getColStyle() argument 84 return colStyles[pos]; in getColStyle()
|
/trunk/main/slideshow/source/engine/shapes/ |
H A D | drawinglayeranimation.cxx | 639 basegfx::B2DPoint pos, clipPos; in updateShapeAttributes() local 646 pos.setX( fZeroEquiv + (fMixerState * (fOneEquiv - fZeroEquiv)) ); in updateShapeAttributes() 648 clipPos.setX( -pos.getX() ); in updateShapeAttributes() 649 clipPos.setY( -pos.getY() ); in updateShapeAttributes() 653 pos.setX( pos.getX() + (fPaintWidth-fScrollWidth) / 2.0 ); in updateShapeAttributes() 663 clipPos.setX( -pos.getX() ); in updateShapeAttributes() 664 clipPos.setY( -pos.getY() ); in updateShapeAttributes() 668 pos.setY( pos.getY() + (fPaintHeight-fScrollHeight) / 2.0 ); in updateShapeAttributes() 685 pos *= aTransform; in updateShapeAttributes() 688 pos += parentBounds.getCenter(); in updateShapeAttributes() [all …]
|
/trunk/main/l10ntools/source/filter/utils/ |
H A D | ConfigHelper.java | 104 int pos = lCommandLineArgs[arg].indexOf('='); in ConfigHelper() local 105 if (pos != -1) in ConfigHelper() 107 java.lang.String sArg = lCommandLineArgs[arg].substring(0,pos); in ConfigHelper() 108 java.lang.String sValue = lCommandLineArgs[arg].substring(pos+1); in ConfigHelper() 116 pos = lCommandLineArgs[arg].lastIndexOf('-'); in ConfigHelper() 117 if (pos == -1) in ConfigHelper() 118 pos = lCommandLineArgs[arg].lastIndexOf('/'); in ConfigHelper() 119 if (pos != -1) in ConfigHelper() 121 java.lang.String sArg = lCommandLineArgs[arg].substring(pos+1); in ConfigHelper()
|
/trunk/main/dbaccess/source/ui/uno/ |
H A D | textconnectionsettings_uno.cxx | 205 PropertyValues::const_iterator pos = m_aPropertyValues.find( _nHandle ); in setFastPropertyValue_NoBroadcast() local 206 if ( pos != m_aPropertyValues.end() ) in setFastPropertyValue_NoBroadcast() 208 pos->second->setPropertyValue( _rValue ); in setFastPropertyValue_NoBroadcast() 221 PropertyValues::const_iterator pos = m_aPropertyValues.find( _nHandle ); in convertFastPropertyValue() local 222 if ( pos != m_aPropertyValues.end() ) in convertFastPropertyValue() 226 pos->second->getPropertyValue( _rOldValue ); in convertFastPropertyValue() 240 PropertyValues::const_iterator pos = m_aPropertyValues.find( _nHandle ); in getFastPropertyValue() local 241 if ( pos != m_aPropertyValues.end() ) in getFastPropertyValue() 243 pos->second->getPropertyValue( _rValue ); in getFastPropertyValue()
|
/trunk/main/wizards/com/sun/star/wizards/ui/ |
H A D | ButtonList.java | 63 private Size pos; field in ButtonList 114 int nXPos = pos.Width + 1; in create() 115 int nYPos = pos.Height + (m_aButtonSize.Height + gap.Height) * rows + gap.Height; in create() 166 Integer.valueOf(pos.Width), in create() 167 …Integer.valueOf(pos.Height + (m_aButtonSize.Height + gap.Height) * rows + gap.Height + imageTextHe… in create() 178 …Integer.valueOf(pos.Width + (m_aButtonSize.Width + gap.Width) * cols + gap.Width - btnSize.intValu… in create() 190 Integer.valueOf(pos.Width + btnSize.intValue() + 1), in create() 276 return pos.Width + _col * (m_aButtonSize.Width + gap.Width) + gap.Width; in getButtonPosX() 281 return pos.Height + _row * (m_aButtonSize.Height + gap.Height) + gap.Height; in getButtonPosY() 511 return pos; in getPos() [all …]
|
H A D | ImageList.java | 76 private Size pos; field in ImageList 174 new Integer(pos.Width), in create() 175 new Integer(pos.Height), in create() 240 new Integer(pos.Width + 1), in create() 241 new Integer(pos.Height + (imageSize.Height + gap.Height) * rows + gap.Height), in create() 257 new Integer(pos.Width), in create() 281 new Integer(pos.Width + btnSize.intValue() + 1), in create() 377 return pos.Width + col * (imageSize.Width + gap.Width) + gap.Width; in getImagePosX() 382 return pos.Height + row * (imageSize.Height + gap.Height) + gap.Height; in getImagePosY() 661 return pos; in getPos() [all …]
|
/trunk/main/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/ |
H A D | hyphenimp.cxx | 379 int * pos = NULL; // array of [hyphenation point] minus [deletion position] in hyphenate() local 393 &rep, &pos, &cut, minLead, minTrail, in hyphenate() 409 if (pos) free(pos); in hyphenate() 444 hit = hit && (hyphens[i]&1) && ((i + leftrep - pos[i]) < Leading); in hyphenate() 445 hit = hit && ((i + leftrep - pos[i]) >= (minLead-1) ); in hyphenate() 453 nHyphenationPosAlt = i - pos[i]; in hyphenate() 454 nHyphenationPosAltHyph = i + leftrep - pos[i]; in hyphenate() 524 if (pos) free(pos); in hyphenate() 653 &rep, &pos, &cut, minLead, minTrail, in createPossibleHyphens() 669 if (pos) free(pos); in createPossibleHyphens() [all …]
|
/trunk/main/sw/source/filter/ww1/ |
H A D | w1filter.cxx | 561 aStr.Erase( 0, pos ); in Out() 590 sFormel.Erase( pos ); in Out() 594 sFormel.Erase( pos ); in Out() 635 pos = aStr.Search(' '); in Out() 637 aStr.Erase(0, pos ); in Out() 653 pos = aStr.Search(' '); in Out() 655 aStr.Erase(0, pos ); in Out() 838 pos = aStr.Search(' '); in Out() 840 aStr.Erase(0, pos ); in Out() 872 aStr.Erase(0, pos ); in Out() [all …]
|
/trunk/main/canvas/inc/canvas/base/ |
H A D | doublebitmapbase.hxx | 109 …const ::com::sun::star::geometry::IntegerPoint2D& pos ) throw (::com::sun::star::lang::Illegal… in setPixel() 113 verifyInput(bitmapLayout, pos, this); in setPixel() 114 verifyIndexRange(pos, getSize() ); in setPixel() 121 BaseType::maCanvasHelper.setPixel( color, bitmapLayout, pos ); in setPixel() 125 …const ::com::sun::star::geometry::IntegerPoint2D& pos ) throw (::com::sun::star::lang::IndexOut… in getPixel() 129 verifyInput(pos, this); in getPixel() 130 verifyIndexRange(pos, getSize() ); in getPixel() 135 pos ); in getPixel()
|
H A D | floatbitmapbase.hxx | 111 …const ::com::sun::star::geometry::IntegerPoint2D& pos ) throw (::com::sun::star::lang::Illegal… in setPixel() 115 verifyInput(bitmapLayout, pos, in setPixel() 117 verifyIndexRange(pos, getSize() ); in setPixel() 124 BaseType::maCanvasHelper.setPixel( color, bitmapLayout, pos ); in setPixel() 128 …const ::com::sun::star::geometry::IntegerPoint2D& pos ) throw (::com::sun::star::lang::IndexOutO… in getPixel() 132 verifyInput(pos, in getPixel() 134 verifyIndexRange(pos, getSize() ); in getPixel() 139 pos ); in getPixel()
|
H A D | integerbitmapbase.hxx | 109 …const ::com::sun::star::geometry::IntegerPoint2D& pos ) throw (::com::sun::star::lang::IllegalAr… in setPixel() 111 tools::verifyArgs(bitmapLayout, pos, in setPixel() 114 tools::verifyIndexRange(pos, BaseType::getSize() ); in setPixel() 121 BaseType::maCanvasHelper.setPixel( color, bitmapLayout, pos ); in setPixel() 125 …const ::com::sun::star::geometry::IntegerPoint2D& pos ) throw (::com::sun::star::lang::IndexOutOfB… in getPixel() 127 tools::verifyArgs(pos, in getPixel() 130 tools::verifyIndexRange(pos, BaseType::getSize() ); in getPixel() 135 pos ); in getPixel()
|
/trunk/main/xml2cmp/source/support/ |
H A D | sistr.cxx | 215 Simstr::remove(int pos, int anzahl) in remove() argument 217 if (pos >= len || pos < 0 || anzahl < 1) in remove() 220 int anz = len - pos < anzahl ? len - pos : anzahl; in remove() 224 memcpy(result,sz,pos); in remove() 225 memcpy(result+pos,sz+pos+anz,len-pos-anz+1); in remove()
|
/trunk/main/desktop/source/deployment/registry/package/ |
H A D | dp_package.cxx | 521 for ( sal_Int32 pos = 0; pos < len; ++pos ) in disposing() local 522 try_dispose( p[ pos ] ); in disposing() 548 for ( sal_Int32 pos = bundle.getLength(); pos--; ) in isRegistered_() local 550 Reference<deployment::XPackage> const & xPackage = bundle[ pos ]; in isRegistered_() 876 for ( sal_Int32 pos = 0; pos < len; ++pos ) in processPackage_() local 914 for ( ; pos--; ) in processPackage_() 917 bundle[ pos ]->revokePackage( in processPackage_() 951 for ( sal_Int32 pos = bundle.getLength(); pos--; ) in processPackage_() local 959 bundle[ pos ]->revokePackage( xSubAbortChannel, xCmdEnv ); in processPackage_() 1159 for ( sal_Int32 pos = bundle.getLength(); pos--; ) in exportTo() local [all …]
|
/trunk/main/dbaccess/qa/complex/dbaccess/ |
H A D | RowSet.java | 99 int pos = m_resultSet.getRow(); in run() local 106 …e("ResultSetMovementStress wrong position: " + i + " Pos1: " + pos + " Pos2: " + pos2, pos == pos2… in run() 258 final int pos = m_resultSet.getRow(); in testPosition() local 259 …tTrue(location + ": value/position do not match: " + pos + " (pos) != " + val + " (val)", val == p… in testPosition() 536 int pos = 1; in testCursorMove() local 542 …ng[RowSetEventListener.COLUMN_VALUE] == -1) || calling[RowSetEventListener.COLUMN_VALUE] == pos++); in testCursorMove() 544 …ng[RowSetEventListener.CURSOR_MOVED] == -1) || calling[RowSetEventListener.CURSOR_MOVED] == pos++); in testCursorMove() 546 …ling[RowSetEventListener.ROW_CHANGED] == -1) || calling[RowSetEventListener.ROW_CHANGED] == pos++); in testCursorMove() 548 …ling[RowSetEventListener.IS_MODIFIED] == -1) || calling[RowSetEventListener.IS_MODIFIED] == pos++); in testCursorMove() 550 …EW] || calling[RowSetEventListener.IS_NEW] == -1) || calling[RowSetEventListener.IS_NEW] == pos++); in testCursorMove() [all …]
|
/trunk/main/i18npool/source/breakiterator/ |
H A D | xdictionary.cxx | 150 sal_Int32 pos = 0; in getLongestMatch() local 152 while (pos < len && dstr[pos] == str[pos]) { pos++; } in getLongestMatch() 154 if (pos == len) in getLongestMatch() 194 sal_Bool xdictionary::seekSegment(const rtl::OUString &rText, sal_Int32 pos, in seekSegment() argument 198 segBoundary.endPos = segBoundary.startPos = pos; in seekSegment() 200 indexUtf16 = pos; in seekSegment() 210 indexUtf16 = pos; in seekSegment()
|