Home
last modified time | relevance | path

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

12

/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/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.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/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.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.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/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/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/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.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.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/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/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.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.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/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/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/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.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/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/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
DMessagePatternUtilDemo.java110 for (String argName : args) { in genCode()
112 System.out.print(argName); in genCode()
115 System.out.print(", " + argName); in genCode()
154 String argName = arg.getName(); in genCode() local
156 argName = "arg_" + argName; // Prefix for numbered argument. in genCode()
160 System.out.println(prefix + operator + " " + argName); in genCode()
167 genCodeForPlural(arg.getComplexStyle(), depth, firstResult, argName); in genCode() local
170 genCodeForSelect(arg.getComplexStyle(), depth, firstResult, argName); in genCode() local
178 String argName) { in genCodeForPlural() argument
186 String pluralNumber = offset == 0. ? argName : argName + " - " + offset; in genCodeForPlural()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMessageRegression.java798 String argName = "something_stupid"; in testBugTestsWithNamesArguments() local
799 … MessageFormat mf = new MessageFormat("{"+ argName + "}, {" + argName + "}, {" + argName + "}"); in testBugTestsWithNamesArguments()
804 if (!objs.get(argName).toString().equals("z")) in testBugTestsWithNamesArguments()
805 errln("argument0: \"" + objs.get(argName) + "\""); in testBugTestsWithNamesArguments()
807 mf.applyPattern("{" + argName + ",number,#.##}, {" + argName + ",number,#.#}"); in testBugTestsWithNamesArguments()
809 oldobjs.put(argName, new Double(3.1415)); in testBugTestsWithNamesArguments()
818 if (((Number)newobjs.get(argName)).doubleValue() != 3.1) // was (Double) [alan] in testBugTestsWithNamesArguments()
819 errln( "newobjs.get(argName) = " + newobjs.get(argName)); in testBugTestsWithNamesArguments()
/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 …]

12