Home
last modified time | relevance | path

Searched refs:stringMap (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DUnicodeMap.java61 private TreeMap<String,T> stringMap; field in UnicodeMap
85 stringMap = null; in clear()
121 if (stringMap != null) { in hashCode()
122 result = 37*result + stringMap.hashCode(); in hashCode()
137 that.stringMap = stringMap == null ? null : (TreeMap<String, T>) stringMap.clone(); in cloneAsThawed()
409 if (stringMap == null) {
410 stringMap = new TreeMap<String,T>();
412 stringMap.put(string, value);
414 } else if (stringMap != null) {
415 if (stringMap.remove(string) != null) {
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DUnicodeMap.java62 private TreeMap<String,T> stringMap; field in UnicodeMap
86 stringMap = null; in clear()
122 if (stringMap != null) { in hashCode()
123 result = 37*result + stringMap.hashCode(); in hashCode()
138 that.stringMap = stringMap == null ? null : (TreeMap<String, T>) stringMap.clone(); in cloneAsThawed()
410 if (stringMap == null) {
411 stringMap = new TreeMap<String,T>();
413 stringMap.put(string, value);
415 } else if (stringMap != null) {
416 if (stringMap.remove(string) != null) {
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormatSymbols.java1699 Map<String, String> stringMap = null; in processResource() local
1712 stringMap = new HashMap<String, String>(); in processResource()
1713 maps.put(path, stringMap); in processResource()
1715 assert stringMap != null; in processResource()
1716 stringMap.put(keyString, value.getString()); in processResource()
1719 assert stringMap == null; in processResource()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormatSymbols.java1740 Map<String, String> stringMap = null; in processResource() local
1753 stringMap = new HashMap<String, String>(); in processResource()
1754 maps.put(path, stringMap); in processResource()
1756 assert stringMap != null; in processResource()
1757 stringMap.put(keyString, value.getString()); in processResource()
1760 assert stringMap == null; in processResource()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DMapForProto2LiteTest.java242 Map<Integer, String> stringMap = builder.getMutableInt32ToStringField(); in testMutableMapLifecycle() local
243 stringMap.put(1, "1"); in testMutableMapLifecycle()
246 stringMap.put(2, "2"); in testMutableMapLifecycle()
DMapForProto2Test.java221 Map<Integer, String> stringMap = builder.getMutableInt32ToStringField(); in testMutableMapLifecycle() local
222 stringMap.put(1, "1"); in testMutableMapLifecycle()
225 stringMap.put(2, "2"); in testMutableMapLifecycle()
DMapTest.java222 Map<Integer, String> stringMap = builder.getMutableInt32ToStringField(); in testMutableMapLifecycle() local
223 stringMap.put(1, "1"); in testMutableMapLifecycle()
226 stringMap.put(2, "2"); in testMutableMapLifecycle()
/external/libxml2/
Dxmlregexp.c289 xmlChar **stringMap; member
463 xmlChar **stringMap; in xmlRegEpxFromParse() local
491 stringMap = xmlMalloc(ret->nbAtoms * sizeof(char *)); in xmlRegEpxFromParse()
492 if (stringMap == NULL) { in xmlRegEpxFromParse()
501 xmlFree(stringMap); in xmlRegEpxFromParse()
511 if (xmlStrEqual(stringMap[j], value)) { in xmlRegEpxFromParse()
518 stringMap[nbatoms] = xmlStrdup(value); in xmlRegEpxFromParse()
519 if (stringMap[nbatoms] == NULL) { in xmlRegEpxFromParse()
521 xmlFree(stringMap[i]); in xmlRegEpxFromParse()
523 xmlFree(stringMap); in xmlRegEpxFromParse()
[all …]
/external/icu/icu4c/source/i18n/
Ddtfmtsym.cpp1672 Hashtable* stringMap = NULL; in processResource() local
1688 stringMap = stringMapPtr.getAlias(); in processResource()
1689 maps.put(path, stringMap, errorCode); in processResource()
1691 mapRefs.addElement(stringMap, errorCode); in processResource()
1695 stringMap->setValueDeleter(uprv_deleteUObject); in processResource()
1697 U_ASSERT(stringMap != NULL); in processResource()
1702 stringMap->put(keyUString, valueUString.orphan(), errorCode); in processResource()
1706 U_ASSERT(stringMap == NULL); in processResource()