Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DUnicodeMap.java66 private TreeMap<String,T> stringMap; field in UnicodeMap
90 stringMap = null; in clear()
126 if (stringMap != null) { in hashCode()
127 result = 37*result + stringMap.hashCode(); in hashCode()
142 that.stringMap = stringMap == null ? null : (TreeMap<String, T>) stringMap.clone(); in cloneAsThawed()
414 if (stringMap == null) {
415 stringMap = new TreeMap<String,T>();
417 stringMap.put(string, value);
419 } else if (stringMap != null) {
420 if (stringMap.remove(string) != null) {
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DUnicodeMap.java63 private TreeMap<String,T> stringMap; field in UnicodeMap
87 stringMap = null; in clear()
123 if (stringMap != null) { in hashCode()
124 result = 37*result + stringMap.hashCode(); in hashCode()
139 that.stringMap = stringMap == null ? null : (TreeMap<String, T>) stringMap.clone(); in cloneAsThawed()
411 if (stringMap == null) {
412 stringMap = new TreeMap<String,T>();
414 stringMap.put(string, value);
416 } else if (stringMap != null) {
417 if (stringMap.remove(string) != null) {
[all …]
/external/opencensus-java/contrib/log_correlation/log4j2/src/main/java/io/opencensus/contrib/logcorrelation/log4j2/
DContextDataUtils.java61 private static void putProperties(Collection<Property> properties, StringMap stringMap) { in putProperties() argument
63 stringMap.putValue(property.getName(), property.getValue()); in putProperties()
124 SortedArrayStringMap stringMap; in getShareableContextAndTracingData() local
126 stringMap = new SortedArrayStringMap(ThreadContext.getImmutableContext()); in getShareableContextAndTracingData()
129 stringMap = new SortedArrayStringMap(contextData.size() + 3); in getShareableContextAndTracingData()
130 stringMap.putAll(contextData); in getShareableContextAndTracingData()
136 stringMap.putValue( in getShareableContextAndTracingData()
139 stringMap.putValue( in getShareableContextAndTracingData()
142 stringMap.putValue( in getShareableContextAndTracingData()
145 return stringMap; in getShareableContextAndTracingData()
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
DPpContext.h159 const char* getString(int atom) const { return stringMap[atom]->c_str(); } in getString()
166 TVector<const TString*> stringMap; // these point into the TString in atomMap variable
179 if (stringMap.size() < (size_t)atom + 1) in addAtomFixed()
180 stringMap.resize(atom + 100, &badToken); in addAtomFixed()
181 stringMap[atom] = &it->first; in addAtomFixed()
/external/opencensus-java/contrib/log_correlation/log4j2/src/test/java/io/opencensus/contrib/logcorrelation/log4j2/
DOpenCensusTraceContextDataInjectorTest.java140 private static void assertContainsOnlyDefaultTracingEntries(StringMap stringMap) { in assertContainsOnlyDefaultTracingEntries() argument
141 assertThat(stringMap.toMap()) in assertContainsOnlyDefaultTracingEntries()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormatSymbols.java1698 Map<String, String> stringMap = null; in processResource() local
1711 stringMap = new HashMap<String, String>(); in processResource()
1712 maps.put(path, stringMap); in processResource()
1714 assert stringMap != null; in processResource()
1715 stringMap.put(keyString, value.getString()); in processResource()
1718 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.cpp1676 Hashtable* stringMap = NULL; in processResource() local
1692 stringMap = stringMapPtr.getAlias(); in processResource()
1693 maps.put(path, stringMap, errorCode); in processResource()
1695 mapRefs.addElement(stringMap, errorCode); in processResource()
1699 stringMap->setValueDeleter(uprv_deleteUObject); in processResource()
1701 U_ASSERT(stringMap != NULL); in processResource()
1706 stringMap->put(keyUString, valueUString.orphan(), errorCode); in processResource()
1710 U_ASSERT(stringMap == NULL); in processResource()