Home
last modified time | relevance | path

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

/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/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/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.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/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/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/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormatSymbols.java1843 Map<String, String> stringMap = null; in processResource() local
1856 stringMap = new HashMap<>(); in processResource()
1857 maps.put(path, stringMap); in processResource()
1859 assert stringMap != null; in processResource()
1860 stringMap.put(keyString, value.getString()); in processResource()
1863 assert stringMap == null; in processResource()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateFormatSymbols.java1801 Map<String, String> stringMap = null; in processResource() local
1814 stringMap = new HashMap<>(); in processResource()
1815 maps.put(path, stringMap); in processResource()
1817 assert stringMap != null; in processResource()
1818 stringMap.put(keyString, value.getString()); in processResource()
1821 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.cpp1679 Hashtable* stringMap = NULL; in processResource() local
1695 stringMap = mapRefs.create(FALSE, errorCode); in processResource()
1696 if (stringMap == NULL) { in processResource()
1700 maps.put(path, stringMap, errorCode); in processResource()
1702 stringMap->setValueDeleter(uprv_deleteUObject); in processResource()
1704 U_ASSERT(stringMap != NULL); in processResource()
1709 stringMap->put(keyUString, valueUString.orphan(), errorCode); in processResource()
1713 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()
/external/llvm-project/lld/ELF/
DSyntheticSections.h422 llvm::DenseMap<StringRef, unsigned> stringMap; variable
DSyntheticSections.cpp1211 auto r = stringMap.insert(std::make_pair(s, this->size)); in addString()