Home
last modified time | relevance | path

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

/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/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/lottie/lottie/src/main/java/com/airbnb/lottie/
DTextDelegate.java17 private final Map<String, String> stringMap = new HashMap<>(); field in TextDelegate
55 stringMap.put(input, output); in setText()
71 stringMap.remove(input); in invalidateText()
79 stringMap.clear(); in invalidateAllText()
84 if (cacheText && stringMap.containsKey(input)) { in getTextInternal()
85 return stringMap.get(input); in getTextInternal()
89 stringMap.put(input, text); in getTextInternal()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/preprocessor/
DPpContext.h160 const char* getString(int atom) const { return stringMap[atom]->c_str(); } in getString()
167 TVector<const TString*> stringMap; // these point into the TString in atomMap variable
180 if (stringMap.size() < (size_t)atom + 1) in addAtomFixed()
181 stringMap.resize(atom + 100, &badToken); in addAtomFixed()
182 stringMap[atom] = &it->first; in addAtomFixed()
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
DPpContext.h160 const char* getString(int atom) const { return stringMap[atom]->c_str(); } in getString()
167 TVector<const TString*> stringMap; // these point into the TString in atomMap variable
180 if (stringMap.size() < (size_t)atom + 1) in addAtomFixed()
181 stringMap.resize(atom + 100, &badToken); in addAtomFixed()
182 stringMap[atom] = &it->first; in addAtomFixed()
/external/auto/value/src/test/java/com/google/auto/value/extension/toprettystring/
DToPrettyStringTest.java910 StringMap stringMap = new StringMap(); in fixedTypeParameters() local
911 stringMap.putAll(ImmutableMap.of("A", "a", "B", "b")); in fixedTypeParameters()
914 stringList, stringMap); in fixedTypeParameters()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormatSymbols.java1858 Map<String, String> stringMap = null; in processResource() local
1871 stringMap = new HashMap<>(); in processResource()
1872 maps.put(path, stringMap); in processResource()
1874 assert stringMap != null; in processResource()
1875 stringMap.put(keyString, value.getString()); in processResource()
1878 assert stringMap == null; in processResource()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormatSymbols.java1817 Map<String, String> stringMap = null; in processResource() local
1830 stringMap = new HashMap<>(); in processResource()
1831 maps.put(path, stringMap); in processResource()
1833 assert stringMap != null; in processResource()
1834 stringMap.put(keyString, value.getString()); in processResource()
1837 assert stringMap == null; in processResource()
/external/libxml2/
Dxmlregexp.c297 xmlChar **stringMap; member
497 xmlChar **stringMap; in xmlRegEpxFromParse() local
525 stringMap = xmlMalloc(ret->nbAtoms * sizeof(char *)); in xmlRegEpxFromParse()
526 if (stringMap == NULL) { in xmlRegEpxFromParse()
535 xmlFree(stringMap); in xmlRegEpxFromParse()
545 if (xmlStrEqual(stringMap[j], value)) { in xmlRegEpxFromParse()
552 stringMap[nbatoms] = xmlStrdup(value); in xmlRegEpxFromParse()
553 if (stringMap[nbatoms] == NULL) { in xmlRegEpxFromParse()
555 xmlFree(stringMap[i]); in xmlRegEpxFromParse()
557 xmlFree(stringMap); in xmlRegEpxFromParse()
[all …]
/external/icu/icu4c/source/i18n/
Ddtfmtsym.cpp1683 Hashtable* stringMap = NULL; in processResource() local
1699 stringMap = mapRefs.create(FALSE, errorCode); in processResource()
1700 if (stringMap == NULL) { in processResource()
1704 maps.put(path, stringMap, errorCode); in processResource()
1706 stringMap->setValueDeleter(uprv_deleteUObject); in processResource()
1708 U_ASSERT(stringMap != NULL); in processResource()
1713 stringMap->put(keyUString, valueUString.orphan(), errorCode); in processResource()
1717 U_ASSERT(stringMap == NULL); in processResource()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DMapForProto2Test.java344 Map<Integer, String> stringMap = builder.getMutableInt32ToStringField(); in testMutableMapLifecycle() local
345 stringMap.put(1, "1"); in testMutableMapLifecycle()
348 stringMap.put(2, "2"); in testMutableMapLifecycle()
DMapTest.java347 Map<Integer, String> stringMap = builder.getMutableInt32ToStringField(); in testMutableMapLifecycle() local
348 stringMap.put(1, "1"); in testMutableMapLifecycle()
351 stringMap.put(2, "2"); in testMutableMapLifecycle()