Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 969) sorted by relevance

12345678910>>...39

/trunk/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/
H A DPrecedenceTable.java46 private static HashMap map; field in PrecedenceTable
48 map = new HashMap();
50 map.put("%", new Integer(UNARY_PRECEDENCE));
51 map.put("+", new Integer(ADDOP_PRECEDENCE));
52 map.put("-", new Integer(ADDOP_PRECEDENCE));
53 map.put("*", new Integer(MULTOP_PRECEDENCE));
54 map.put("/", new Integer(MULTOP_PRECEDENCE));
55 map.put("(", new Integer(PAREN_PRECEDENCE));
56 map.put(")", new Integer(PAREN_PRECEDENCE));
57 map.put(",", new Integer(COMMA_PRECEDENCE));
[all …]
/trunk/main/comphelper/qa/complex/comphelper/
H A DMap.java111 XMap map = com.sun.star.container.EnumerableMap.create( connection.getComponentContext(), in impl_checkMappings() local
113 assertTrue( _context + ": key types do not match", map.getKeyType().equals( keyType ) ); in impl_checkMappings()
114 … assertTrue( _context + ": value types do not match", map.getValueType().equals( valueType ) ); in impl_checkMappings()
117 assertTrue( _context + ": initially created map is not empty", map.hasElements() ); in impl_checkMappings()
118 impl_putAll( map, _keys, _values ); in impl_checkMappings()
119 assertTrue( _context + ": map filled with values is still empty", !map.hasElements() ); in impl_checkMappings()
121 impl_ceckContent( map, _keys, _values, _context ); in impl_checkMappings()
128 _values[i], map.remove( _keys[i] ) ); in impl_checkMappings()
130 assertTrue( _context + ":map not empty after removing all elements", map.hasElements() ); in impl_checkMappings()
133 impl_putAll( map, _keys, _values ); in impl_checkMappings()
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/helper/
H A DClParser.java159 Properties map = new Properties(); in getMapping() local
160 map.setProperty("-cs", "ConnectionString"); in getMapping()
161 map.setProperty("-tb", "TestBase"); in getMapping()
162 map.setProperty("-tdoc", "TestDocumentPath"); in getMapping()
163 map.setProperty("-objdsc", "DescriptionPath"); in getMapping()
164 map.setProperty("-cmd", "AppExecutionCommand"); in getMapping()
165 map.setProperty("-o", "TestJob"); in getMapping()
166 map.setProperty("-sce", "TestJob"); in getMapping()
167 map.setProperty("-p", "TestJob"); in getMapping()
168 map.setProperty("-aca", "AdditionalConnectionArguments"); in getMapping()
[all …]
/trunk/main/ridljar/java/ridl/src/main/java/com/sun/star/lib/util/
H A DWeakMap.java90 return map.size(); in size()
103 return map.isEmpty(); in isEmpty()
117 return map.containsKey(key); in containsKey()
131 return map.containsValue(value); in containsValue()
146 return map.get(key); in get()
163 return map.put(key, new Entry(key, value, queue)); in put()
177 return map.remove(key); in remove()
194 map.put(k, new Entry(k, e.getValue(), queue)); in putAll()
205 map.clear(); in clear()
216 return map.keySet(); in keySet()
[all …]
/trunk/main/i18npool/source/transliteration/
H A Dtransliteration_body.cxx152 Mapping &map = casefolding::getValue(in, i, nCount, aLocale, nMappingType); in transliterate()
153 for (sal_Int32 k = 0; k < map.nmap; k++) { in transliterate()
156 out[j++] = map.map[k]; in transliterate()
183 const Mapping &map = casefolding::getValue( in, i, nCount, aLocale, nTmpMappingType ); in transliterate() local
184 nOffCount += map.nmap; in transliterate()
201 const Mapping &map = casefolding::getValue( in, i, nCount, aLocale, nTmpMappingType ); in transliterate() local
202 for (sal_Int32 k = 0; k < map.nmap; k++) in transliterate()
205 out[j++] = map.map[k]; in transliterate()
238 const Mapping &map = casefolding::getValue( in, i, nCount, aLocale, nTmpMappingType ); in transliterate() local
239 for (sal_Int32 k = 0; k < map.nmap; k++) in transliterate()
[all …]
/trunk/main/udkapi/com/sun/star/container/
H A DXMap.idl39 /** describes a map between keys and values.
41 <p>Keys in the map are unique, and each key maps to exactly one value.</p>
43 …<p>Locating elements in the map, both values and keys, requires a notion of equality of two object…
54 /** denotes the type of the keys in the map.
60 /** denotes the type of the values in the map.
66 /** clears the map, removing all key-value pairs from it.
69 if the map is not mutable.
74 /** determines whether a mapping for he given key exists in the map
77 is the key whose presence in the map is to be tested.
79 <TRUE/> if and only if the map contains a mapping for the given key.
[all …]
H A DXEnumerableMap.idl44 <p>You can create enumerators for the keys of the map, its values, and its key-value pairs.</p>
47 map's content. Such an iterator is not affected by changes done to the map after creation of
50 <p>On the contrary, an enumerator which is <em>non-isolated</em> works directly on the map data.
51 …This is less expensive than an <em>isolated</em> enumerator, but means that changes to the map whi…
63 /** creates a enumerator for the keys of the map
66 controls whether the newly create enumerator should be isolated from the map.
74 /** creates a enumerator for the values of the map
77 controls whether the newly create enumerator should be isolated from the map.
85 /** creates a enumerator for the key-value pairs of the map
88 holding the key-value-pairs which are part of the map.</p>
[all …]
H A DEnumerableMap.idl39 …<p>For the keys put into the map using <member>XMap::put</member> or <member>createImmutable</memb…
58 …<p>For the values put into the map using <member>XMap::put</member> or <member>createImmutable</me…
61 <ul><li>The <VOID/> value will be accepted to be put into the map.</p>
75 …m>non-isolated</em> enumerators. The latter one will be automatically disposed when the map changes
86 denotes the type of the keys in the to-be-created map
88 denotes the type of the values in the to-be-created map
102 <p>The resulting map is immutable, so later alter operations on it will fail
106 denotes the type of the keys in the to-be-created map
108 denotes the type of the values in the to-be-created map
110 denote the values contained in the to-be-created map
/trunk/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/
H A DUninstallationPrologueCtrl.java71 HashMap map = Converter.convertVectorToHashmap(infoFileContent); in getInfoFileData() local
83 return map; in getInfoFileData()
86 private void setNewInstallData(HashMap map) { in setNewInstallData() argument
89 data.setPackagePath((String)map.get("PackagePath")); in setNewInstallData()
90 data.setAdminFileNameReloc((String)map.get("AdminFileReloc")); in setNewInstallData()
91 data.setAdminFileNameRelocNoDepends((String)map.get("AdminFileRelocNoDepends")); in setNewInstallData()
92 data.setAdminFileNameNoReloc((String)map.get("AdminFileNoReloc")); in setNewInstallData()
93 data.setAdminFileNameNoRelocNoDepends((String)map.get("AdminFileNoRelocNoDepends")); in setNewInstallData()
94 data.setDatabasePath((String)map.get("DatabasePath")); in setNewInstallData()
95 data.setInstallDir((String)map.get("InstallationDir")); in setNewInstallData()
[all …]
/trunk/main/offapi/com/sun/star/xml/dom/
H A DXNamedNodeMap.idl42 The number of nodes in this map.
57 Returns the indexth item in the map.
64 DOMException - NOT_FOUND_ERR: Raised if there is no node named name in this map.
65 NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
72 …OT_FOUND_ERR: Raised if there is no node with the specified namespaceURI and localName in this map.
73 NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
80 …CUMENT_ERR: Raised if arg was created from a different document than the one that created this map.
81 NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
83 … other than an Attr node into an Element's map of attributes, or a non-Entity node into the Docume…
90 …CUMENT_ERR: Raised if arg was created from a different document than the one that created this map.
[all …]
/trunk/main/offapi/com/sun/star/embed/
H A DEmbedMapUnits.idl32 /** contains list of possible map modes supported by embedded object.
39 /** In this type of map mode one logical point is equal to one-hundredth
45 /** In this type of map mode one logical point is equal to one-tenth
51 /** In this type of map mode one logical point is equal to one
57 /** In this type of map mode one logical point is equal to one
63 /** In this type of map mode one logical point is equal to one-thousandth
69 /** In this type of map mode one logical point is equal to one-hundredth
75 /** In this type of map mode one logical point is equal to one-tenth
81 /** In this type of map mode one logical point is equal to one inch.
86 /** In this type of map mode one logical point is equal to one
[all …]
/trunk/main/codemaker/source/javamaker/
H A Dclassfile.hxx210 typedef std::map< rtl::OString, sal_uInt16 > Map;
243 std::map< rtl::OString, sal_uInt16 > m_utf8Infos;
244 std::map< sal_Int32, sal_uInt16 > m_integerInfos;
245 std::map< sal_Int64, sal_uInt16 > m_longInfos;
246 std::map< float, sal_uInt16 > m_floatInfos;
247 std::map< double, sal_uInt16 > m_doubleInfos;
248 std::map< sal_uInt16, sal_uInt16 > m_classInfos;
249 std::map< sal_uInt16, sal_uInt16 > m_stringInfos;
250 std::map< sal_uInt32, sal_uInt16 > m_fieldrefInfos;
251 std::map< sal_uInt32, sal_uInt16 > m_methodrefInfos;
[all …]
H A Dclassfile.cxx512 std::map< sal_Int32, sal_uInt16 >::iterator i(m_integerInfos.find(value)); in addIntegerInfo()
520 std::map< sal_Int32, sal_uInt16 >::value_type(value, index)).second) in addIntegerInfo()
528 std::map< float, sal_uInt16 >::iterator i(m_floatInfos.find(value)); in addFloatInfo()
538 std::map< float, sal_uInt16 >::value_type(value, index)).second) in addFloatInfo()
546 std::map< sal_Int64, sal_uInt16 >::iterator i(m_longInfos.find(value)); in addLongInfo()
554 std::map< sal_Int64, sal_uInt16 >::value_type(value, index)).second) in addLongInfo()
562 std::map< double, sal_uInt16 >::iterator i(m_doubleInfos.find(value)); in addDoubleInfo()
572 std::map< double, sal_uInt16 >::value_type(value, index)).second) in addDoubleInfo()
731 std::map< rtl::OString, sal_uInt16 >::iterator i(m_utf8Infos.find(value)); in addUtf8Info()
748 std::map< rtl::OString, sal_uInt16 >::value_type(value, index)). in addUtf8Info()
[all …]
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DMapToXNameAccessAdapter.java33 protected final Map<String,Object> map; field in MapToXNameAccessAdapter
37 public MapToXNameAccessAdapter(Map<String,Object> map, Object lock, Type elementType) { in MapToXNameAccessAdapter() argument
38 this.map = map; in MapToXNameAccessAdapter()
50 object = map.get(key); in getByName()
61 String[] names = new String[map.size()]; in getElementNames()
63 for (Map.Entry<String,Object> entry : map.entrySet()) { in getElementNames()
73 return map.containsKey(key); in hasByName()
88 return !map.isEmpty(); in hasElements()
H A DMapToXNameContainerAdapter.java34 public MapToXNameContainerAdapter(Map<String,Object> map, Object lock, Type elementType) { in MapToXNameContainerAdapter() argument
35 super(map, lock, elementType); in MapToXNameContainerAdapter()
45 if (map.containsKey(key)) { in insertByName()
48 map.put(key, value); in insertByName()
56 if (map.containsKey(key)) { in removeByName()
57 map.remove(key); in removeByName()
71 if (!map.containsKey(key)) { in replaceByName()
74 map.put(key, value); in replaceByName()
/trunk/main/javaunohelper/com/sun/star/lib/uno/helper/
H A DMultiTypeInterfaceContainer.java34 private Map<Object,InterfaceContainer> map= new HashMap<Object,InterfaceContainer>(); field in MultiTypeInterfaceContainer
50 if ( (size=map.size()) > 0) in getContainedTypes()
55 for (Map.Entry<Object,InterfaceContainer> entry : map.entrySet()) in getContainedTypes()
88 return map.get(key); in getContainer()
100 InterfaceContainer cont= map.get(ckey); in addInterface()
109 map.put(ckey, cont); in addInterface()
118 InterfaceContainer cont= map.get(key); in removeInterface()
132 it= map.values().iterator(); in disposeAndClear()
140 Iterator<InterfaceContainer> it= map.values().iterator(); in clear()
/trunk/main/autodoc/inc/cosv/tpl/
H A Dtpltools.hxx61 const std::map< KEY, VAL > &
71 const std::map< KEY, VAL > &
79 const std::map< KEY, VAL > &
161 find_in_map( const std::map< KEY, VAL > & i_rMap, in find_in_map()
164 typename std::map< KEY, VAL >::const_iterator in find_in_map()
173 value_from_map( const std::map< KEY, VAL > & i_rMap, in value_from_map()
176 typename std::map< KEY, VAL >::const_iterator in value_from_map()
185 value_from_map( const std::map< KEY, VAL > & i_rMap, in value_from_map()
189 typename std::map< KEY, VAL >::const_iterator in value_from_map()
/trunk/main/i18nutil/source/utility/
H A Dcasefolding.cxx89 dummy.map[0] = str[pos]; in getValue()
97 for (int map = CaseMappingValue[address].value; in getValue() local
98 map < CaseMappingValue[address].value + MaxCaseMappingExtras; map++) { in getValue()
99 if (CaseMappingExtra[map].type & nMappingType) { in getValue()
100 if (CaseMappingExtra[map].type & ValueTypeNotValue) in getValue()
103 return CaseMappingExtra[map]; in getValue()
110 dummy.map[0] = CaseMappingValue[address].value; in getValue()
140 c = e.element.map[e.current++]; in getNextChar()
/trunk/main/dbaccess/source/core/recovery/
H A Ddbdocrecovery.cxx325 for ( MapCompTypeToCompDescs::const_iterator map = aMapCompDescs.begin(); in saveModifiedSubComponents() local
326 map != aMapCompDescs.end(); in saveModifiedSubComponents()
327 ++map in saveModifiedSubComponents()
331 …SubComponentRecovery::getComponentsStorageName( map->first ), ElementModes::WRITE | ElementModes::… in saveModifiedSubComponents()
332 lcl_writeObjectMap_throw( m_pData->aContext, xComponentsStor, map->second ); in saveModifiedSubComponents()
370 for ( MapCompTypeToCompDescs::const_iterator map = aMapCompDescs.begin(); in recoverSubDocuments() local
371 map != aMapCompDescs.end(); in recoverSubDocuments()
372 ++map in recoverSubDocuments()
375 const SubComponentType eComponentType = map->first; in recoverSubDocuments()
382 for ( MapStringToCompDesc::const_iterator stor = map->second.begin(); in recoverSubDocuments()
[all …]
/trunk/main/connectivity/source/inc/ado/
H A DADatabaseMetaDataResultSet.hxx68 ::std::map<sal_Int32, TInt2IntMap > m_aValueRange;
69 ::std::map<sal_Int32, TInt2IntMap >::iterator m_aValueRangeIter;
71 … ::std::map<sal_Int32, ::std::map< ::rtl::OUString,sal_Int32> > m_aStrValueRange;
72 … ::std::map<sal_Int32, ::std::map< ::rtl::OUString,sal_Int32> >::iterator m_aStrValueRangeIter;
74 … ::std::map<sal_Int32, ::std::map< sal_Int32,::rtl::OUString> > m_aIntValueRange;
75 … ::std::map<sal_Int32, ::std::map< sal_Int32,::rtl::OUString> >::iterator m_aIntValueRangeIter;
209 sal_Int32 map = column; in mapColumn() local
214 map = m_aColMapping[column]; in mapColumn()
217 return map; in mapColumn()
/trunk/main/writerfilter/source/dmapper/
H A DThemeTable.cxx47 std::map<sal_uInt32, std::map<sal_uInt32, ::rtl::OUString> > m_themeFontMap;
49 std::map<sal_uInt32, ::rtl::OUString> m_currentFontThemeEntry;
125 m_pImpl->m_currentFontThemeEntry = std::map<sal_uInt32, rtl::OUString>(); in lcl_sprm()
171 std::map<sal_uInt32, ::rtl::OUString> tmpThemeFontMap; in getFontNameForTheme()
197 …std::map<sal_uInt32, ::rtl::OUString>::const_iterator Iter = tmpThemeFontMap.find(NS_ooxml::LN_CT_… in getFontNameForTheme()
205 …std::map<sal_uInt32, ::rtl::OUString>::const_iterator Iter = tmpThemeFontMap.find(NS_ooxml::LN_CT_… in getFontNameForTheme()
213 …std::map<sal_uInt32, ::rtl::OUString>::const_iterator Iter = tmpThemeFontMap.find(NS_ooxml::LN_CT_… in getFontNameForTheme()
/trunk/test/testcommon/source/org/openoffice/test/vcl/
H A DIDList.java41 private HashMap<String, String> map = new HashMap<String, String>(); field in IDList
51 private void readFile(File file, HashMap<String, String> map) { in readFile() argument
63 map.put(parts[0], parts[1]); in readFile()
84 map.clear(); in load()
104 readFile(file, map); in load()
109 String value = map.get(id); in getId()
113 value = map.get(id.substring(++i)); in getId()
/trunk/main/javainstaller2/src/JavaSetup/org/openoffice/setup/Util/
H A DConverter.java36 static public String[] convertHashmapToStringArray(HashMap map) { in convertHashmapToStringArray() argument
38 int size = map.size(); in convertHashmapToStringArray()
41 Iterator m = map.entrySet().iterator(); in convertHashmapToStringArray()
55 HashMap map = new HashMap(); in convertVectorToHashmap() local
71 map.put(key, value); in convertVectorToHashmap()
74 return map; in convertVectorToHashmap()
/trunk/main/sal/qa/rtl_strings/
H A Dmakefile.mk51 SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
70 SHL2VERSIONMAP = $(PRJ)$/qa$/export.map
89 SHL3VERSIONMAP = $(PRJ)$/qa$/export.map
103 SHL4VERSIONMAP = $(PRJ)$/qa$/export.map
116 SHL5VERSIONMAP = $(PRJ)$/qa$/export.map
129 SHL6VERSIONMAP = $(PRJ)$/qa$/export.map
/trunk/main/jurt/java/jurt/src/main/java/com/sun/star/lib/uno/protocols/urp/
H A DCache.java46 Entry e = (Entry) map.get(content); in add()
49 if (map.size() < maxSize) { in add()
51 e = new Entry(content, map.size(), null, first); in add()
60 map.remove(last.content); in add()
76 map.put(content, e); in add()
113 private final HashMap map = new HashMap(); // from Object to Entry field in Cache

12345678910>>...39