HomeSort by relevance Sort by last modified time
    Searched refs:argName (Results 1 - 25 of 160) sorted by null

1 2 3 4 5 6 7

  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/
Assert.java 34 * @param argName - the name of the parameter; used in the exception message
37 public static void isNull(Object arg, String argName) {
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null");
46 * @param argName - the name of the parameter; used in the exception message
49 public static void notNull(Object arg, String argName) {
51 throw new AssertFailedException("The value of \"" + argName + "\" is null");
81 * @param argName - the name of the parameter; used in the exception message
84 public static void notNullOrEmpty(Collection collection, String argName) {
85 notNull(collection, argName);
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty");
    [all...]
  /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/util/
Assert.java 34 * @param argName - the name of the parameter; used in the exception message
37 public static void isNull(Object arg, String argName) {
39 throw new AssertFailedException("The value for \"" + argName + "\" must be null");
46 * @param argName - the name of the parameter; used in the exception message
49 public static void notNull(Object arg, String argName) {
51 throw new AssertFailedException("The value of \"" + argName + "\" is null");
81 * @param argName - the name of the parameter; used in the exception message
84 public static void notNullOrEmpty(Collection collection, String argName) {
85 notNull(collection, argName);
87 throw new AssertFailedException("The \"" + argName + "\" Collection is empty");
    [all...]
  /cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
Preconditions.java 32 * @param argName Name of the argument
40 public static int checkBitFlags(String argName, int arg, String flagsName, int flags) {
43 String.format("Argument '%s' must have flags '%s' set", argName, flagsName));
52 * @param argName Name of the argument
60 public static <T> T checkEquals(String argName, T arg,
66 argName, expectedName, arg, expectedValue));
79 * @param argName Name of the argument
85 public static <T> T checkNotNull(String argName, T arg) {
87 throw new NullPointerException("Argument '" + argName + "' must not be null");
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
Preconditions.java 36 * @param argName Name of the argument
44 public static int checkBitFlags(String argName, int arg, String flagsName, int flags) {
47 String.format("Argument '%s' must have flags '%s' set", argName, flagsName));
56 * @param argName Name of the argument
64 public static <T> T checkEquals(String argName, T arg,
70 argName, expectedName, arg, expectedValue));
83 * @param argName Name of the argument
89 public static <T> T checkNotNull(String argName, T arg) {
91 throw new NullPointerException("Argument '" + argName + "' must not be null");
  /frameworks/native/opengl/tools/glgen/src/
CFunc.java 57 public void addArgument(String argName, CType argType) {
58 argNames.add(argName);
156 String argName = "";
164 argName = tokens[i++];
165 if (argName.startsWith("*")) {
167 argName = argName.substring(1, argName.length());
169 if (argName.endsWith(",")) {
170 argName = argName.substring(0, argName.length() - 1)
    [all...]
JFunc.java 80 public void addArgument(String argName, JType argType, int cindex) {
81 argNames.add(argName);
87 bufferArgNames.add(argName);
91 bufferArgNames.add(argName);
  /external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/
MessagePatternUtilDemo.java 112 for (String argName : args) {
114 System.out.print(argName);
117 System.out.print(", " + argName);
156 String argName = arg.getName();
158 argName = "arg_" + argName; // Prefix for numbered argument.
162 System.out.println(prefix + operator + " " + argName);
169 genCodeForPlural(arg.getComplexStyle(), depth, firstResult, argName);
172 genCodeForSelect(arg.getComplexStyle(), depth, firstResult, argName);
180 String argName) {
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/templates/
SetFolders.java 50 String argName = arg.getName();
51 if (argName.equals("projectName")) { //$NON-NLS-1$
53 } else if (argName.equals("sourceFolders")) { //$NON-NLS-1$
55 } else if (argName.equals("outputFolders")) { //$NON-NLS-1$
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/
LeftRecursiveRules.stg 50 recRule(ruleName, precArgDef, argName, alts, setResultAction, buildAST,
  /build/blueprint/
ninja_strings.go 331 func validateArgName(argName string) error {
332 err := validateNinjaName(argName)
343 if strings.ContainsRune(argName, '.') {
344 return fmt.Errorf("%q contains a '.' character", argName)
348 if argName == builtin {
349 return fmt.Errorf("%q conflicts with Ninja built-in", argName)
357 for _, argName := range argNames {
358 err := validateArgName(argName)
scope.go 53 isArg(argName string) bool
77 for argName := range argNames {
78 _, err := scope.LookupVariable(argName)
80 arg := &argVariable{argName}
324 for _, argName := range argNames {
325 argNamesSet[argName] = true
405 func (r *localRule) isArg(argName string) bool {
406 return r.argNames[argName]
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
PreconditionPreparer.java 60 String argName = parts[0];
63 setOption(argName, argValue);
  /external/messageformat/java/com/ibm/icu/simple/
MessageFormat.java 119 * argNameOrNumber = argName | argNumber
120 * argName = [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+
502 private boolean argNameMatches(int partIndex, String argName, int argNumber) {
505 msgPattern.partSubstringMatches(part, argName) :
    [all...]
  /system/tools/hidl/
Type.cpp 254 const std::string &argName,
259 argName,
425 const std::string &argName,
439 out << argName;
ArrayType.h 112 const std::string &argName,
Interface.h 100 const std::string &argName,
VectorType.cpp 472 const std::string &argName,
486 << argName
524 argName,
541 argName,
Type.h 174 const std::string &argName,
250 const std::string &argName,
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
MessageRegressionTest.java     [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
MessageRegressionTest.java     [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
MessageFormat.java 121 * argNameOrNumber = argName | argNumber
122 * argName = [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+
536 private boolean argNameMatches(int partIndex, String argName, int argNumber) {
539 msgPattern.partSubstringMatches(part, argName) :
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
MessageFormat.java 120 * argNameOrNumber = argName | argNumber
121 * argName = [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+
547 private boolean argNameMatches(int partIndex, String argName, int argNumber) {
550 msgPattern.partSubstringMatches(part, argName) :
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
msgfmt.h 122 * argNameOrNumber = argName | argNumber
123 * argName = [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+
    [all...]
  /prebuilts/tools/common/m2/repository/commons-cli/commons-cli/1.3.1/
commons-cli-1.3.1.jar 
  /external/icu/icu4c/source/i18n/
msgfmt.cpp 572 UBool MessageFormat::argNameMatches(int32_t partIndex, const UnicodeString& argName, int32_t argNumber) {
575 msgPattern.partSubstringMatches(part, argName) :
927 // Does linear search to find the match for an ArgName.
967 : startIndex(start), argName(name), offset(off),
981 const UnicodeString &argName;
    [all...]

Completed in 848 milliseconds

1 2 3 4 5 6 7