Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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 …]
/third_party/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 …]
/third_party/typescript/tests/baselines/reference/
DindexSignatureTypeInference.types23 var stringMap: StringMap<Function>;
24 >stringMap : StringMap<Function>
35 var v1 = numberMapToArray(stringMap); // Ok
37 >numberMapToArray(stringMap) : Function[]
39 >stringMap : StringMap<Function>
47 var v1 = stringMapToArray(stringMap); // Ok
49 >stringMapToArray(stringMap) : Function[]
51 >stringMap : StringMap<Function>
DindexSignatureTypeInference.js14 var stringMap: StringMap<Function>; variable
18 var v1 = numberMapToArray(stringMap); // Ok
20 var v1 = stringMapToArray(stringMap); // Ok
25 var stringMap; variable
28 var v1 = numberMapToArray(stringMap); // Ok
30 var v1 = stringMapToArray(stringMap); // Ok
DindexSignatureTypeInference.symbols41 var stringMap: StringMap<Function>;
42 >stringMap : Symbol(stringMap, Decl(indexSignatureTypeInference.ts, 12, 3))
55 var v1 = numberMapToArray(stringMap); // Ok
58 >stringMap : Symbol(stringMap, Decl(indexSignatureTypeInference.ts, 12, 3))
65 var v1 = stringMapToArray(stringMap); // Ok
68 >stringMap : Symbol(stringMap, Decl(indexSignatureTypeInference.ts, 12, 3))
DindexSignatureTypeInference.errors.txt19 var stringMap: StringMap<Function>;
23 var v1 = numberMapToArray(stringMap); // Ok
31 var v1 = stringMapToArray(stringMap); // Ok
DkeyofAndIndexedAccess.js504 stringMap: { [oldId: string]: string }
507 stringMap[x]; // Should be OK.
1004 function updateIds2(obj, key, stringMap) { argument
1006 stringMap[x]; // Should be OK.
1329 }, K extends keyof T>(obj: T, key: K, stringMap: {
DkeyofAndIndexedAccess.types1779 >updateIds2 : <T extends { [x: string]: string; }, K extends keyof T>(obj: T, key: K, stringMap: { …
1788 stringMap: { [oldId: string]: string }
1789 >stringMap : { [oldId: string]: string; }
1799 stringMap[x]; // Should be OK.
1800 >stringMap[x] : string
1801 >stringMap : { [oldId: string]: string; }
DkeyofAndIndexedAccess.errors.txt538 stringMap: { [oldId: string]: string }
541 stringMap[x]; // Should be OK.
DkeyofAndIndexedAccess.symbols1828 stringMap: { [oldId: string]: string }
1829 >stringMap : Symbol(stringMap, Decl(keyofAndIndexedAccess.ts, 501, 11))
1838 stringMap[x]; // Should be OK.
1839 >stringMap : Symbol(stringMap, Decl(keyofAndIndexedAccess.ts, 501, 11))
/third_party/typescript/tests/cases/conformance/types/typeRelationships/typeInference/
DindexSignatureTypeInference.ts13 var stringMap: StringMap<Function>;
17 var v1 = numberMapToArray(stringMap); // Ok
19 var v1 = stringMapToArray(stringMap); // Ok
/third_party/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()
/third_party/vk-gl-cts/external/vulkan-docs/src/katex/contrib/
Drender-a11y-string.js130 var stringMap = {
263 ret = str in openMap ? openMap[str] : stringMap[str] || str;
265 ret = str in closeMap ? closeMap[str] : stringMap[str] || str;
271 ret = stringMap[str] || str;
Drender-a11y-string.mjs18 const stringMap = { variable
151 ret = str in openMap ? openMap[str] : stringMap[str] || str;
153 ret = str in closeMap ? closeMap[str] : stringMap[str] || str;
159 ret = stringMap[str] || str;
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DDateFormatSymbols.java1703 Map<String, String> stringMap = null; in processResource() local
1716 stringMap = new HashMap<>(); in processResource()
1717 maps.put(path, stringMap); in processResource()
1719 assert stringMap != null; in processResource()
1720 stringMap.put(keyString, value.getString()); in processResource()
1723 assert stringMap == null; in processResource()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormatSymbols.java1761 Map<String, String> stringMap = null; in processResource() local
1774 stringMap = new HashMap<>(); in processResource()
1775 maps.put(path, stringMap); in processResource()
1777 assert stringMap != null; in processResource()
1778 stringMap.put(keyString, value.getString()); in processResource()
1781 assert stringMap == null; in processResource()
/third_party/node/deps/icu-small/source/i18n/
Ddtfmtsym.cpp1685 Hashtable* stringMap = nullptr; in processResource() local
1701 stringMap = mapRefs.create(false, errorCode); in processResource()
1702 if (stringMap == nullptr) { in processResource()
1706 maps.put(path, stringMap, errorCode); in processResource()
1708 stringMap->setValueDeleter(uprv_deleteUObject); in processResource()
1710 U_ASSERT(stringMap != nullptr); in processResource()
1715 stringMap->put(keyUString, valueUString.orphan(), errorCode); in processResource()
1719 U_ASSERT(stringMap == nullptr); in processResource()
/third_party/skia/third_party/externals/icu/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()
/third_party/icu/icu4c/source/i18n/
Ddtfmtsym.cpp1677 Hashtable* stringMap = NULL; in processResource() local
1693 stringMap = mapRefs.create(false, errorCode); in processResource()
1694 if (stringMap == NULL) { in processResource()
1698 maps.put(path, stringMap, errorCode); in processResource()
1700 stringMap->setValueDeleter(uprv_deleteUObject); in processResource()
1702 U_ASSERT(stringMap != NULL); in processResource()
1707 stringMap->put(keyUString, valueUString.orphan(), errorCode); in processResource()
1711 U_ASSERT(stringMap == NULL); in processResource()
/third_party/typescript/tests/cases/conformance/types/keyof/
DkeyofAndIndexedAccess.ts506 stringMap: { [oldId: string]: string }
509 stringMap[x]; // Should be OK.
/third_party/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()