Home
last modified time | relevance | path

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

/dports/shells/elvish/elvish-0.17.0/pkg/ui/
H A Dstyle.go24 addIf := func(b bool, code string) {
29 addIf(s.Bold, "1")
30 addIf(s.Dim, "2")
31 addIf(s.Italic, "3")
32 addIf(s.Underlined, "4")
33 addIf(s.Blink, "5")
34 addIf(s.Inverse, "7")
/dports/mail/davmail/davmail-src-6.0.1-3390/src/java/davmail/ldap/
H A DLdapConnection.java817 …protected void addIf(Map<String, Object> attributes, Set<String> returningAttributes, String name,… in addIf() method in LdapConnection
920 addIf(attributes, returningAttributes, "objectClass", objectClasses); in sendComputerContext()
921 addIf(attributes, returningAttributes, "apple-generateduid", COMPUTER_GUID); in sendComputerContext()
922 addIf(attributes, returningAttributes, "apple-serviceinfo", getServiceInfo()); in sendComputerContext()
924 addIf(attributes, returningAttributes, "apple-xmlplist", getServiceInfo()); in sendComputerContext()
925 addIf(attributes, returningAttributes, "apple-serviceslocator", "::anyService"); in sendComputerContext()
926 addIf(attributes, returningAttributes, "cn", getCurrentHostName()); in sendComputerContext()
/dports/security/hs-cryptol/cryptol-2.11.0/_cabal_deps/sbv-8.12/Data/SBV/SMT/
H A DSMTLib2.hs1245 PB_AtMost k -> "(<= " ++ addIf (repeat 1) ++ " " ++ show k ++ ")"
1246 PB_AtLeast k -> "(>= " ++ addIf (repeat 1) ++ " " ++ show k ++ ")"
1247 PB_Exactly k -> "(= " ++ addIf (repeat 1) ++ " " ++ show k ++ ")"
1248 PB_Le cs k -> "(<= " ++ addIf cs ++ " " ++ show k ++ ")"
1249 PB_Ge cs k -> "(>= " ++ addIf cs ++ " " ++ show k ++ ")"
1250 PB_Eq cs k -> "(= " ++ addIf cs ++ " " ++ show k ++ ")"
1252 where addIf :: [Int] -> String
1253addIf cs = "(+ " ++ unwords ["(ite " ++ a ++ " " ++ show c ++ " 0)" | (a, c) <- zip args cs] ++ ")" function
/dports/security/hs-cryptol/cryptol-2.11.0/_cabal_deps/sbv-8.12/Data/SBV/Compilers/
H A DC.hs609 PB_AtMost k -> addIf (repeat 1) <+> text "<=" <+> int k
610 PB_AtLeast k -> addIf (repeat 1) <+> text ">=" <+> int k
611 PB_Exactly k -> addIf (repeat 1) <+> text "==" <+> int k
612 PB_Le cs k -> addIf cs <+> text "<=" <+> int k
613 PB_Ge cs k -> addIf cs <+> text ">=" <+> int k
614 PB_Eq cs k -> addIf cs <+> text "==" <+> int k
616 where addIf :: [Int] -> Doc
617addIf cs = parens $ fsep $ intersperse (text "+") [parens (a <+> text "?" <+> int c <+> text ":" <… function
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/laravel/framework/src/Illuminate/Support/
H A DMessageBag.php77 public function addIf($boolean, $key, $message) function in Illuminate\\Support\\MessageBag
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/mesh/
H A Dqgsmeshcalcnode.cpp138 dsu.addIf( leftDatasetGroup, rightDatasetGroup, condition ); in calculate()
H A Dqgsmeshcalcutils.h118 void addIf( QgsMeshMemoryDatasetGroup &trueGroup,
H A Dqgsmeshcalcutils.cpp778 void QgsMeshCalcUtils::addIf( QgsMeshMemoryDatasetGroup &trueGroup, in addIf() function in QgsMeshCalcUtils
/dports/graphics/qgis/qgis-3.22.3/src/core/mesh/
H A Dqgsmeshcalcutils.h148 void addIf( QgsMeshMemoryDatasetGroup &trueGroup,
H A Dqgsmeshcalcnode.cpp264 dsu.addIf( leftDatasetGroup, rightDatasetGroup, condition ); in calculate()
H A Dqgsmeshcalcutils.cpp860 void QgsMeshCalcUtils::addIf( QgsMeshMemoryDatasetGroup &trueGroup, in addIf() function in QgsMeshCalcUtils
/dports/devel/py-cheetah3/Cheetah3-3.2.6/Cheetah/
H A DCompiler.py641 def addIf(self, expr, lineCol=None): member in MethodCompiler
670 self.addIf('if not (' + expr + ')')
H A DParser.py2737 self._compiler.addIf(expr, lineCol=lineCol)
2749 self._compiler.addIf(expr, lineCol=lineCol)
/dports/print/scribus-devel/scribus-1.5.7/codegen/cheetah/Cheetah/
H A DCompiler.py591 def addIf(self, expr, lineCol=None): member in MethodCompiler
620 self.addIf('if not (' + expr + ')')
H A DParser.py2612 self._compiler.addIf(expr, lineCol=lineCol)
2623 self._compiler.addIf(expr, lineCol=lineCol)