Home
last modified time | relevance | path

Searched refs:argName (Results 1 – 25 of 36) sorted by relevance

12

/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/core/util/
DAssert.java37 public static void isNull(Object arg, String argName) { in isNull() argument
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null"); in isNull()
49 public static void notNull(Object arg, String argName) { in notNull() argument
51 throw new AssertFailedException("The value of \"" + argName + "\" is null"); in notNull()
84 public static void notNullOrEmpty(Collection collection, String argName) { in notNullOrEmpty() argument
85 notNull(collection, argName); in notNullOrEmpty()
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty"); in notNullOrEmpty()
98 public static void notNullOrEmpty(Map map, String argName) { in notNullOrEmpty() argument
99 notNull(map, argName); in notNullOrEmpty()
101 throw new AssertFailedException("The \"" + argName + "\" Map is empty"); in notNullOrEmpty()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessageRegression.java794 String argName = "something_stupid"; in testBugTestsWithNamesArguments() local
795 … MessageFormat mf = new MessageFormat("{"+ argName + "}, {" + argName + "}, {" + argName + "}"); in testBugTestsWithNamesArguments()
800 if (!objs.get(argName).toString().equals("z")) in testBugTestsWithNamesArguments()
801 errln("argument0: \"" + objs.get(argName) + "\""); in testBugTestsWithNamesArguments()
803 mf.applyPattern("{" + argName + ",number,#.##}, {" + argName + ",number,#.#}"); in testBugTestsWithNamesArguments()
805 oldobjs.put(argName, new Double(3.1415)); in testBugTestsWithNamesArguments()
814 if (((Number)newobjs.get(argName)).doubleValue() != 3.1) // was (Double) [alan] in testBugTestsWithNamesArguments()
815 errln( "newobjs.get(argName) = " + newobjs.get(argName)); in testBugTestsWithNamesArguments()
/external/messageformat/java/com/ibm/icu/simple/
DMessageFormat.java502 private boolean argNameMatches(int partIndex, String argName, int argNumber) { in argNameMatches() argument
505 msgPattern.partSubstringMatches(part, argName) : in argNameMatches()
1554 String argName=msgPattern.getSubstring(part); in format() local
1568 argId = argName; in format()
1571 if(argName.equals(nameValuePairs[nvIndex].toString())) { in format()
1582 argId = argName; in format()
1583 if(argsMap!=null && argsMap.containsKey(argName)) { in format()
1584 arg=argsMap.get(argName); in format()
1594 dest.append("{"+argName+"}"); in format()
1651 new PluralSelectorContext(i, argName, number, offset); in format()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessageFormat.java546 private boolean argNameMatches(int partIndex, String argName, int argNumber) { in argNameMatches() argument
549 msgPattern.partSubstringMatches(part, argName) : in argNameMatches()
1637 String argName=msgPattern.getSubstring(part); in format() local
1651 argId = argName; in format()
1652 if(argsMap!=null && argsMap.containsKey(argName)) { in format()
1653 arg=argsMap.get(argName); in format()
1663 dest.append("{"+argName+"}"); in format()
1741 new PluralSelectorContext(i, argName, number, offset); in format()
2009 private int findFirstPluralNumberArg(int msgStart, String argName) { in findFirstPluralNumberArg() argument
2021 if(argName.length()!=0 && (argType==ArgType.NONE || argType==ArgType.SIMPLE)) { in findFirstPluralNumberArg()
[all …]
/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp569 UBool MessageFormat::argNameMatches(int32_t partIndex, const UnicodeString& argName, int32_t argNum… in argNameMatches() argument
572 msgPattern.partSubstringMatches(part, argName) : in argNameMatches()
964 : startIndex(start), argName(name), offset(off), in PluralSelectorContext()
978 const UnicodeString &argName; member in __anon4abf48d60111::PluralSelectorContext
1041 UnicodeString argName = msgPattern.getSubstring(*part); in format() local
1051 arg = getArgFromListByName(arguments, argumentNames, cnt, argName); in format()
1061 UnicodeString(LEFT_CURLY_BRACE).append(argName).append(RIGHT_CURLY_BRACE)); in format()
1132 PluralSelectorContext context(i, argName, *arg, offset, success); in format()
1281 MessageFormat::findFirstPluralNumberArg(int32_t msgStart, const UnicodeString &argName) const { in findFirstPluralNumberArg()
1293 … if(!argName.isEmpty() && (argType==UMSGPAT_ARG_TYPE_NONE || argType==UMSGPAT_ARG_TYPE_SIMPLE)) { in findFirstPluralNumberArg()
[all …]

12