Home
last modified time | relevance | path

Searched refs:mapLookup (Results 1 – 25 of 74) sorted by relevance

123

/dports/java/apache-commons-lang/commons-lang-2.6-src/src/test/java/org/apache/commons/lang/text/
H A DStrLookupTest.java55 assertEquals("value", StrLookup.mapLookup(map).lookup("key")); in testMapLookup()
56 assertEquals("2", StrLookup.mapLookup(map).lookup("number")); in testMapLookup()
57 assertEquals(null, StrLookup.mapLookup(map).lookup(null)); in testMapLookup()
58 assertEquals(null, StrLookup.mapLookup(map).lookup("")); in testMapLookup()
59 assertEquals(null, StrLookup.mapLookup(map).lookup("other")); in testMapLookup()
64 assertEquals(null, StrLookup.mapLookup(map).lookup(null)); in testMapLookup_nullMap()
65 assertEquals(null, StrLookup.mapLookup(map).lookup("")); in testMapLookup_nullMap()
66 assertEquals(null, StrLookup.mapLookup(map).lookup("any")); in testMapLookup_nullMap()
/dports/lang/ghc/ghc-8.10.7/compiler/cmm/
H A DCmmProcPoint.hs200 in case mapLookup id env of
207 let nreached id = case mapLookup id env `orElse`
250 case mapLookup bid procMap of
260 where graph = mapLookup procId graphEnv `orElse` mapEmpty
266 expectJust "ppLiveness" $ mapLookup pp liveness
322 add_if_pp id rst = case mapLookup id procLabels of
328 let b = expectJust "block in env" $ mapLookup ppId blockEnv
346 = case expectJust "pp label" $ mapLookup bid procLabels of
367 case mapLookup bid procLabels of
381 compare (expectJust "block_order" $ mapLookup bid block_order)
[all …]
H A DCmmContFlowOpt.hs153 | Just k' <- mapLookup k env
170 | Just entry_blk <- mapLookup entry_id new_blocks
215 , Just blk' <- mapLookup b' blocks
237 , Just blk' <- mapLookup b' blocks
281 case mapLookup l blocks of
315 numPreds bid = mapLookup bid backEdges `orElse` 0
354 decPreds bid edges = case mapLookup bid edges of
398 lookup id = mapLookup id env `orElse` id
H A DCmmBuildInfoTables.hs524 , Just cafs <- [mapLookup l cafEnv] ]
537 , Just info <- [mapLookup (g_entry g) (info_tbls top_info)]
540 , Just cafs <- [mapLookup (g_entry g) cafEnv]
551 , Just info <- [mapLookup (g_entry g) (info_tbls top_info)]
697 case [ (l,b) | b <- blockids, Just l <- [mapLookup b staticFuns] ] of
856 | otherwise = info_tbl { cit_srt = mapLookup l srt_env }
864 mapLookup (g_entry g) (info_tbls top_info)
868 (newInfo, srtEntries) = case mapLookup (g_entry g) funSRTEnv of
872 (info_tbl { cit_srt = mapLookup (g_entry g) srt_env }, [])
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/unix/native/libjava/
H A Djava_props_md.c78 mapLookup(char* map[], const char* key, char** value) { in mapLookup() function
194 if (mapLookup(locale_aliases, temp, &p)) { in ParseLocale()
239 if (language != NULL && mapLookup(language_names, language, std_language) == 0) { in ParseLocale()
247 if (mapLookup(country_names, country, std_country) == 0) { in ParseLocale()
258 mapLookup(script_names, variant, std_script); in ParseLocale()
262 mapLookup(variant_names, variant, std_variant); in ParseLocale()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/unix/native/libjava/
H A Djava_props_md.c78 mapLookup(char* map[], const char* key, char** value) { in mapLookup() function
194 if (mapLookup(locale_aliases, temp, &p)) { in ParseLocale()
239 if (language != NULL && mapLookup(language_names, language, std_language) == 0) { in ParseLocale()
247 if (mapLookup(country_names, country, std_country) == 0) { in ParseLocale()
258 mapLookup(script_names, variant, std_script); in ParseLocale()
262 mapLookup(variant_names, variant, std_variant); in ParseLocale()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/unix/native/libjava/
H A Djava_props_md.c78 mapLookup(char* map[], const char* key, char** value) { in mapLookup() function
194 if (mapLookup(locale_aliases, temp, &p)) { in ParseLocale()
239 if (language != NULL && mapLookup(language_names, language, std_language) == 0) { in ParseLocale()
247 if (mapLookup(country_names, country, std_country) == 0) { in ParseLocale()
258 mapLookup(script_names, variant, std_script); in ParseLocale()
262 mapLookup(variant_names, variant, std_variant); in ParseLocale()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/unix/native/libjava/
H A Djava_props_md.c78 mapLookup(char* map[], const char* key, char** value) { in mapLookup() function
194 if (mapLookup(locale_aliases, temp, &p)) { in ParseLocale()
239 if (language != NULL && mapLookup(language_names, language, std_language) == 0) { in ParseLocale()
247 if (mapLookup(country_names, country, std_country) == 0) { in ParseLocale()
258 mapLookup(script_names, variant, std_script); in ParseLocale()
262 mapLookup(variant_names, variant, std_variant); in ParseLocale()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/unix/native/libjava/
H A Djava_props_md.c78 mapLookup(char* map[], const char* key, char** value) { in mapLookup() function
194 if (mapLookup(locale_aliases, temp, &p)) { in ParseLocale()
239 if (language != NULL && mapLookup(language_names, language, std_language) == 0) { in ParseLocale()
247 if (mapLookup(country_names, country, std_country) == 0) { in ParseLocale()
258 mapLookup(script_names, variant, std_script); in ParseLocale()
262 mapLookup(variant_names, variant, std_variant); in ParseLocale()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.base/unix/native/libjava/
H A Djava_props_md.c78 mapLookup(char* map[], const char* key, char** value) { in mapLookup() function
194 if (mapLookup(locale_aliases, temp, &p)) { in ParseLocale()
239 if (language != NULL && mapLookup(language_names, language, std_language) == 0) { in ParseLocale()
247 if (mapLookup(country_names, country, std_country) == 0) { in ParseLocale()
258 mapLookup(script_names, variant, std_script); in ParseLocale()
262 mapLookup(variant_names, variant, std_variant); in ParseLocale()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/unix/native/libjava/
H A Djava_props_md.c78 mapLookup(char* map[], const char* key, char** value) { in mapLookup() function
194 if (mapLookup(locale_aliases, temp, &p)) { in ParseLocale()
239 if (language != NULL && mapLookup(language_names, language, std_language) == 0) { in ParseLocale()
247 if (mapLookup(country_names, country, std_country) == 0) { in ParseLocale()
258 mapLookup(script_names, variant, std_script); in ParseLocale()
262 mapLookup(variant_names, variant, std_variant); in ParseLocale()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/unix/native/libjava/
H A Djava_props_md.c78 mapLookup(char* map[], const char* key, char** value) { in mapLookup() function
194 if (mapLookup(locale_aliases, temp, &p)) { in ParseLocale()
239 if (language != NULL && mapLookup(language_names, language, std_language) == 0) { in ParseLocale()
247 if (mapLookup(country_names, country, std_country) == 0) { in ParseLocale()
258 mapLookup(script_names, variant, std_script); in ParseLocale()
262 mapLookup(variant_names, variant, std_variant); in ParseLocale()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/solaris/native/java/lang/
H A Djava_props_md.c83 mapLookup(char* map[], const char* key, char** value) { in mapLookup() function
199 if (mapLookup(locale_aliases, temp, &p)) { in ParseLocale()
244 if (language != NULL && mapLookup(language_names, language, std_language) == 0) { in ParseLocale()
252 if (mapLookup(country_names, country, std_country) == 0) { in ParseLocale()
263 mapLookup(script_names, variant, std_script); in ParseLocale()
267 mapLookup(variant_names, variant, std_variant); in ParseLocale()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/solaris/native/java/lang/
H A Djava_props_md.c83 mapLookup(char* map[], const char* key, char** value) { in mapLookup() function
199 if (mapLookup(locale_aliases, temp, &p)) { in ParseLocale()
244 if (language != NULL && mapLookup(language_names, language, std_language) == 0) { in ParseLocale()
252 if (mapLookup(country_names, country, std_country) == 0) { in ParseLocale()
263 mapLookup(script_names, variant, std_script); in ParseLocale()
267 mapLookup(variant_names, variant, std_variant); in ParseLocale()
/dports/mail/libmilter/sendmail-8.16.1/contrib/
H A DsocketmapServer.pl55 my $value = mapLookup($mapName, $key);
66 sub mapLookup { subroutine
/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Cmm/Dataflow/
H A DLabel.hs86 mapLookup (Label k) (LM m) = mapLookup k m function
134 lookupTM k m = mapLookup k m
145 lookupFact = mapLookup
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Cmm/Dataflow/
H A DLabel.hs89 mapLookup (Label k) (LM m) = mapLookup k m function
140 lookupTM k m = mapLookup k m
152 lookupFact = mapLookup
/dports/lang/ghc/ghc-8.10.7/compiler/cmm/Hoopl/
H A DLabel.hs86 mapLookup (Label k) (LM m) = mapLookup k m function
131 lookupTM k m = mapLookup k m
142 lookupFact = mapLookup
/dports/lang/ghc/ghc-8.10.7/compiler/nativeGen/
H A DBlockLayout.hs435 | Just (c1_e,c1) <- mapLookup from chainEnds
436 , Just (c2_f,c2) <- mapLookup to chainFronts
524 cFrom = expectJust "mergeChains:chainMap:from" $ mapLookup from chains
525 cTo = expectJust "mergeChains:chainMap:to" $ mapLookup to chains
584 , Just predChain <- mapLookup from chainEnds
585 , Just succChain <- mapLookup to chainStarts
634 , Just predChain <- mapLookup from chainEnds
645 , Just succChain <- mapLookup to chainStarts
794 getBlock bid = expectJust "Block placment" $ mapLookup bid blockMap
H A DCFG.hs316 in case mapLookup to cuts of
322 case mapLookup from m of
389 getSuccessorEdges m bid = maybe lookupError mapToList (mapLookup bid m)
396 | Just wm <- mapLookup from m
397 , Just info <- mapLookup to wm
454 | Just wm <- mapLookup bid m
830 | Just doms <- mapLookup from domMap
964 toVertex blockId = expectJust "mkGlobalWeights" $ mapLookup blockId vertexMapping
1124 s1Level = mapLookup s1 loopLevels
1125 s2Level = mapLookup s2 loopLevels
[all …]
/dports/net-mgmt/cricket/cricket-1.0.5/lib/Common/
H A DMap.pm95 my($inst) = mapLookup($name, $target);
118 sub mapLookup { subroutine
/dports/net-im/psi/psi-1.5/src/tools/optionstree/
H A Doptionstree.cpp157 QString OptionsTree::mapLookup(const QString &basename, const QVariant &key) const in mapLookup() function in OptionsTree
170 return getOption(mapLookup(basename, key) + '.' + node); in mapGet()
176 return getOption(mapLookup(basename, key) + '.' + node); in mapGet()
/dports/lang/ghc/ghc-8.10.7/compiler/nativeGen/RegAlloc/Graph/
H A DSpillCost.hs25 import Hoopl.Collections (mapLookup)
99 , Just rsLiveEntry <- mapLookup blockId blockLive
153 | Just freq <- join (mapLookup bid <$> freqs)
/dports/java/apache-commons-lang/commons-lang-2.6-src/src/main/java/org/apache/commons/lang/text/
H A DStrLookup.java93 public static StrLookup mapLookup(Map map) { in mapLookup() method in StrLookup
H A DStrSubstitutor.java222 this(StrLookup.mapLookup(valueMap), DEFAULT_PREFIX, DEFAULT_SUFFIX, DEFAULT_ESCAPE); in StrSubstitutor()
234 this(StrLookup.mapLookup(valueMap), prefix, suffix, DEFAULT_ESCAPE); in StrSubstitutor()
247 this(StrLookup.mapLookup(valueMap), prefix, suffix, escape); in StrSubstitutor()

123