Home
last modified time | relevance | path

Searched refs:aNumber (Results 1 – 14 of 14) sorted by relevance

/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRRuleMapElement.m44 + (ANTLRRuleMapElement *)newANTLRRuleMapElementWithIndex:(NSNumber *)aNumber
46 return [[ANTLRRuleMapElement alloc] initWithAnIndex:(NSNumber *)aNumber];
49 + (ANTLRRuleMapElement *)newANTLRRuleMapElementWithIndex:(NSNumber *)aNumber RuleNum:(NSNumber *)aR…
51 return [[ANTLRRuleMapElement alloc] initWithAnIndex:aNumber RuleNum:aRuleNum];
63 - (id) initWithAnIndex:(NSNumber *)aNumber
65 if ((self = [super initWithAnIndex:aNumber]) != nil ) {
71 - (id) initWithAnIndex:(NSNumber *)aNumber RuleNum:(NSNumber *)aRuleNum
73 if ((self = [super initWithAnIndex:aNumber]) != nil ) {
DANTLRBaseMapElement.m44 + (ANTLRBaseMapElement *)newANTLRBaseMapElementWithIndex:(NSNumber *)aNumber
46 return [[ANTLRBaseMapElement alloc] initWithAnIndex:(NSNumber *)aNumber];
57 - (id) initWithAnIndex:(NSNumber *)aNumber
60 index = aNumber;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestNumberFormat.java164 public void tryIt(double aNumber) { in tryIt() argument
175 number[i] = aNumber; in tryIt()
232 public void tryIt(int aNumber) { in tryIt() argument
235 String stringNum = fNumberFormat.format(aNumber); in tryIt()
243 if (number != aNumber) { in tryIt()
245 + " Expected:" + aNumber); in tryIt()
DNumberFormatRegressionTest.java333 double aNumber; in checkNBSPPatternRtNum() local
335 aNumber = nf.parse(myString).doubleValue(); in checkNBSPPatternRtNum()
341 if(Math.abs(aNumber-myNumber)>.001) { in checkNBSPPatternRtNum()
342 errln("FAIL: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); in checkNBSPPatternRtNum()
344 logln("PASS: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); in checkNBSPPatternRtNum()
DNumberFormatTest.java1045 double aNumber = 0l; in TestParse() local
1047 aNumber = format.parse(arg).doubleValue(); in TestParse()
1051 logln("parse(" + arg + ") = " + aNumber); in TestParse()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestNumberFormat.java161 public void tryIt(double aNumber) { in tryIt() argument
172 number[i] = aNumber; in tryIt()
229 public void tryIt(int aNumber) { in tryIt() argument
232 String stringNum = fNumberFormat.format(aNumber); in tryIt()
240 if (number != aNumber) { in tryIt()
242 + " Expected:" + aNumber); in tryIt()
DNumberFormatRegressionTest.java330 double aNumber; in checkNBSPPatternRtNum() local
332 aNumber = nf.parse(myString).doubleValue(); in checkNBSPPatternRtNum()
338 if(Math.abs(aNumber-myNumber)>.001) { in checkNBSPPatternRtNum()
339 errln("FAIL: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); in checkNBSPPatternRtNum()
341 logln("PASS: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); in checkNBSPPatternRtNum()
DNumberFormatTest.java1042 double aNumber = 0l; in TestParse() local
1044 aNumber = format.parse(arg).doubleValue(); in TestParse()
1048 logln("parse(" + arg + ") = " + aNumber); in TestParse()
/external/icu/icu4c/source/test/intltest/
Dtsnmfmt.cpp284 IntlTestNumberFormat::tryIt(double aNumber) in tryIt() argument
300 number[i].setDouble(aNumber); in tryIt()
365 IntlTestNumberFormat::tryIt(int32_t aNumber) in tryIt() argument
367 Formattable number(aNumber); in tryIt()
374 errln(UnicodeString("**** FAIL: Formatting ") + aNumber); in tryIt()
390 + ", origValue=" + aNumber in tryIt()
393 if (number.getLong() != aNumber) { in tryIt()
395 + " Expected:" + aNumber); in tryIt()
Dtsnmfmt.h38 void tryIt(double aNumber);
42 void tryIt(int32_t aNumber);
/external/guice/extensions/testlib/test/com/google/inject/testing/fieldbinder/
DBoundFieldModuleTest.java673 @Bind Number aNumber; field in BoundFieldModuleTest.FieldBindableSubclass2
675 FieldBindableSubclass2(Integer anInt, Number aNumber) { in FieldBindableSubclass2() argument
677 this.aNumber = aNumber; in FieldBindableSubclass2()
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/
DTest.java33 public double aNumber; in main() field in Test.Obj
38 this.aNumber = n; in main()
43 return this.aNumber; in main()
64 JSONObject.doubleToString(this.aNumber) + "}"; in main()
/external/clang/test/CodeGenObjC/
Dobjc-literal-tests.m59 NSNumber *aNumber = @'a';
/external/icu/icu4c/source/test/cintltst/
Dcnumtst.c1942 double aNumber = -1.0; in TestNBSPPatternRtNum() local
1949 aNumber = unum_parse(nf, myString, -1, NULL, &status); in TestNBSPPatternRtNum()
1954 if(uprv_fabs(aNumber-myNumber)>.001) { in TestNBSPPatternRtNum()
1955 log_err("FAIL: %s:%d formatted %.2f, parsed into %.2f\n", testcase, line, myNumber, aNumber); in TestNBSPPatternRtNum()
1957 … log_verbose("PASS: %s:%d formatted %.2f, parsed into %.2f\n", testcase, line, myNumber, aNumber); in TestNBSPPatternRtNum()