Home
last modified time | relevance | path

Searched refs:numbers (Results 1 – 25 of 897) sorted by relevance

12345678910>>...36

/external/v8/test/mjsunit/regress/
Dregress-91008.js29 var numbers=new Array(n);
30 for (var i=0;i<n;i++) numbers[i]=i;
31 delete numbers[50];
32 delete numbers[150];
33 delete numbers[25000];
34 delete numbers[n-1];
35 delete numbers[n-2];
36 delete numbers[30];
37 delete numbers[2];
38 delete numbers[1];
[all …]
Dregress-201.js32 var numbers=new Array(n);
33 for (var i=0;i<n;i++) numbers[i]=i;
34 numbers.sort();
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue124/
DBean124.java23 private List<Integer> numbers; field in Bean124
27 this.numbers = new ArrayList<Integer>(3); in Bean124()
28 numbers.add(1); in Bean124()
29 numbers.add(2); in Bean124()
30 numbers.add(3); in Bean124()
33 public Bean124(String a, List<Integer> numbers) { in Bean124() argument
36 this.numbers = numbers; in Bean124()
48 return numbers; in getNumbers()
51 public void setNumbers(List<Integer> numbers) { in setNumbers() argument
52 this.numbers = numbers; in setNumbers()
/external/protobuf/src/google/protobuf/
Ddescriptor_database_unittest.cc408 vector<int> numbers; in TEST_P() local
409 EXPECT_TRUE(database_->FindAllExtensionNumbers("Foo", &numbers)); in TEST_P()
410 ASSERT_EQ(2, numbers.size()); in TEST_P()
411 sort(numbers.begin(), numbers.end()); in TEST_P()
412 EXPECT_EQ(5, numbers[0]); in TEST_P()
413 EXPECT_EQ(32, numbers[1]); in TEST_P()
417 vector<int> numbers; in TEST_P() local
418 EXPECT_TRUE(database_->FindAllExtensionNumbers("corge.Bar", &numbers)); in TEST_P()
420 ASSERT_EQ(1, numbers.size()); in TEST_P()
421 EXPECT_EQ(70, numbers[0]); in TEST_P()
[all …]
/external/clang/test/CodeGenCXX/
Dcp-blocks-linetables.cpp16 enum numbers { enum
20 typedef enum numbers (^myblock)(enum numbers);
28 __block enum numbers x = one; in main()
29 __block enum numbers y = two; in main()
32 myblock CL = ^(enum numbers z) in main()
33 { enum numbers savex = x; in main()
34 { __block enum numbers x = savex; in main()
40 ^ (enum numbers z) { in main()
51 return (enum numbers) four; in main()
56 enum numbers res = (enum numbers)test(CL); in main()
/external/ims/rcs/rcsmanager/src/java/com/android/ims/internal/
DContactNumberUtils.java172 public String[] format(List<String> numbers) { in format() argument
173 if ((numbers == null) || (numbers.size() == 0)) { in format()
177 int size = numbers.size(); in format()
180 String number = numbers.get(i); in format()
190 public String[] format(String[] numbers) { in format() argument
191 if ((numbers == null) || (numbers.length == 0)) { in format()
195 int length = numbers.length; in format()
198 String number = numbers[i]; in format()
207 public int validate(List<String> numbers) { in validate() argument
208 if ((numbers == null) || (numbers.size() == 0)) { in validate()
[all …]
/external/icu/icu4c/source/test/letest/
Dxmlreader.cpp36 static le_uint32 *getHexArray(const UnicodeString &numbers, int32_t &arraySize) in getHexArray() argument
41 while((offset = numbers.indexOf(CH_COMMA, offset + 1)) >= 0) { in getHexArray()
52 while(u_isUWhiteSpace(numbers[start])) { in getHexArray()
56 while((end = numbers.indexOf(CH_COMMA, start)) >= 0) { in getHexArray()
57 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray()
64 while(u_isUWhiteSpace(numbers[start])) { in getHexArray()
70 end = numbers.length(); in getHexArray()
71 while(u_isUWhiteSpace(numbers[end - 1])) { in getHexArray()
75 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray()
82 static float *getFloatArray(const UnicodeString &numbers, int32_t &arraySize) in getFloatArray() argument
[all …]
Dletest.cpp443 le_uint32 *getHexArray(const UnicodeString &numbers, int32_t &arraySize) in getHexArray() argument
448 while((offset = numbers.indexOf(CH_COMMA, offset + 1)) >= 0) { in getHexArray()
459 while(u_isUWhiteSpace(numbers[start])) { in getHexArray()
463 while((end = numbers.indexOf(CH_COMMA, start)) >= 0) { in getHexArray()
464 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray()
471 while(u_isUWhiteSpace(numbers[start])) { in getHexArray()
477 end = numbers.length(); in getHexArray()
478 while(u_isUWhiteSpace(numbers[end - 1])) { in getHexArray()
482 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray()
489 float *getFloatArray(const UnicodeString &numbers, int32_t &arraySize) in getFloatArray() argument
[all …]
/external/icu/icu4c/source/test/perf/leperf/
Dxmlreader.cpp36 static le_uint32 *getHexArray(const UnicodeString &numbers, int32_t &arraySize) in getHexArray() argument
41 while((offset = numbers.indexOf(CH_COMMA, offset + 1)) >= 0) { in getHexArray()
52 while(u_isUWhiteSpace(numbers[start])) { in getHexArray()
56 while((end = numbers.indexOf(CH_COMMA, start)) >= 0) { in getHexArray()
57 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray()
64 while(u_isUWhiteSpace(numbers[start])) { in getHexArray()
70 end = numbers.length(); in getHexArray()
71 while(u_isUWhiteSpace(numbers[end - 1])) { in getHexArray()
75 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray()
82 static float *getFloatArray(const UnicodeString &numbers, int32_t &arraySize) in getFloatArray() argument
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue29/
DBigJavaBean.java26 private List<Integer> numbers; field in BigJavaBean
61 return numbers; in getNumbers()
64 public void setNumbers(List<Integer> numbers) { in setNumbers() argument
65 this.numbers = numbers; in setNumbers()
85 result = prime * result + ((numbers == null) ? 0 : numbers.hashCode()); in hashCode()
120 if (numbers == null) { in equals()
121 if (other.numbers != null) in equals()
123 } else if (!numbers.equals(other.numbers)) in equals()
/external/icu/icu4c/source/samples/plurfmtsample/
Dplurfmtsample.cpp39 int numbers[] = {0, 1, 2, 3, 4, 5, 10, 100, 101, 102}; in PluralFormatExample() local
44 for (int i=0;i<sizeof(numbers)/sizeof(int);i++) { in PluralFormatExample()
47 Formattable argEn[]={Formattable(numbers[i]), Formattable(plfmtEn.format(numbers[i],status))}; in PluralFormatExample()
48 Formattable argSl[]={Formattable(numbers[i]), Formattable(plfmtSl.format(numbers[i],status))}; in PluralFormatExample()
51 …u_printf("%-16d%-16S%-16S\n", numbers[i], msgEn.getTerminatedBuffer(),msgSl.getTerminatedBuffer()); in PluralFormatExample()
64 for (int i=0;i<sizeof(numbers)/sizeof(int);i++) { in PluralFormatExample()
66 Formattable arg[] = {numbers[i]}; in PluralFormatExample()
70 …u_printf("%-16d%-16S%-16S\n", numbers[i], msgEn.getTerminatedBuffer(), msgSl.getTerminatedBuffer()… in PluralFormatExample()
/external/xmlrpcpp/test/
DHelloClient.cpp47 XmlRpcValue numbers; in main() local
48 numbers[0] = 33.33; in main()
49 numbers[1] = 112.57; in main()
50 numbers[2] = 76.1; in main()
51 std::cout << "numbers.size() is " << numbers.size() << std::endl; in main()
52 if (c.execute("Sum", numbers, result)) in main()
58 if (c.execute("NoSuchMethod", numbers, result)) in main()
/external/testng/src/test/java/test/factory/
DVerifyFactoryWithInstanceInfoTest.java10 Map<Integer, Integer> numbers = FactoryWithInstanceInfoTest2.getNumbers(); in mainCheck() local
11 assert null != numbers.get(42) in mainCheck()
13 assert null != numbers.get(43) in mainCheck()
15 assert 2 == numbers.size() in mainCheck()
16 : "Expected 2 numbers, found " + (numbers.size()); in mainCheck()
DVerifyFactoryTest.java10 Map<Integer, Integer> numbers = FactoryTest2.getNumbers(); in mainCheck() local
11 assert null != numbers.get(42) in mainCheck()
13 assert null != numbers.get(43) in mainCheck()
15 assert 2 == numbers.size() in mainCheck()
16 : "Expected 2 numbers, found " + (numbers.size()); in mainCheck()
/external/opencv/cvaux/src/
Dcvcreatehandmask.cpp52 static CvStatus icvCreateHandMask8uC1R(CvSeq * numbers, in icvCreateHandMask8uC1R() argument
62 if( numbers == NULL ) in icvCreateHandMask8uC1R()
65 if( !CV_IS_SEQ_POINT_SET( numbers )) in icvCreateHandMask8uC1R()
72 cvStartReadSeq( numbers, &reader, 0 ); in icvCreateHandMask8uC1R()
74 k_point = numbers->total; in icvCreateHandMask8uC1R()
116 cvCreateHandMask( CvSeq * numbers, IplImage * img_mask, CvRect * roi ) in cvCreateHandMask() argument
134 IPPI_CALL( icvCreateHandMask8uC1R( numbers, img_mask_data, in cvCreateHandMask()
Dcvfindhandregion.cpp58 CvMemStorage * storage, CvSeq ** numbers ) in icvFindHandRegion() argument
180 *numbers = cvCreateSeq( CV_SEQ_POINT_SET, sizeof( CvSeq ), sizeof( CvPoint ), storage ); in icvFindHandRegion()
181 assert( numbers != 0 ); in icvFindHandRegion()
182 if( numbers == NULL ) in icvFindHandRegion()
188 cvStartAppendToSeq( *numbers, &writer ); in icvFindHandRegion()
273 CvMemStorage * storage, CvSeq ** numbers ) in icvFindHandRegionA() argument
452 *numbers = NULL; in icvFindHandRegionA()
470 *numbers = NULL; in icvFindHandRegionA()
500 *numbers = NULL; in icvFindHandRegionA()
534 *numbers = cvCreateSeq( CV_SEQ_POINT_SET, sizeof( CvSeq ), sizeof( CvPoint ), storage ); in icvFindHandRegionA()
[all …]
/external/clang/test/Analysis/
Dretain-release-region-store.m162 NSNumber *numbers[] = {
170 for (unsigned i = 0 ; i < sizeof(numbers) / sizeof(numbers[0]) ; ++i)
171 [numbers[i] release];
175 NSNumber *numbers[] = {
185 NSNumber *numbers[] = {
193 …Array *s_numbers =[[NSArray alloc] initWithObjects:&numbers[0] count:sizeof(numbers) / sizeof(numb…
195 for (unsigned i = 0 ; i < sizeof(numbers) / sizeof(numbers[0]) ; ++i)
196 [numbers[i] release];
202 NSNumber *numbers[] = {
210 …rray *s_numbers =[[NSArray alloc] initWithObjects: &numbers[0] count:sizeof(numbers) / sizeof(numb…
[all …]
/external/compiler-rt/test/BlocksRuntime/
Dvarargs.c19 va_list numbers; in main() local
22 va_start(numbers, n); in main()
24 result += va_arg(numbers, int); in main()
26 va_end(numbers); in main()
Dvarargs-bad-assign.c23 va_list numbers; in main() local
26 va_start(numbers, n); in main()
28 result += va_arg(numbers, int); in main()
30 va_end(numbers); in main()
/external/fio/t/
Dlfsr-test.c35 uint64_t numbers; in main() local
47 case 2: numbers = strtol(argv[1], NULL, 16); in main()
60 r = lfsr_init(fl, numbers, seed, spin); in main()
78 v_size = numbers * sizeof(uint8_t); in main()
104 for (i = 0; i < numbers; i++) { in main()
/external/clang/test/SemaCXX/
Darray-bounds-ptr-arith.cpp23 double numbers[2]; // expected-note {{declared here}} in test_pointer_arithmetic() local
24 swallow((char*)numbers + sizeof(double)); // no-warning in test_pointer_arithmetic()
25 swallow((char*)numbers + 60); // expected-warning {{refers past the end of the array}} in test_pointer_arithmetic()
/external/libphonenumber/
Drelease_notes.txt164 - Better exclusion of dates when matching phone numbers from text.
216 - Better support for detecting phone numbers in text that are beside each other
217 - Change to how Japanese numbers beginning with "00" are modelled, with the
272 - Adding support for numbers with multiple Italian leading zeros, by adding a field
276 - Fix for parsing short numbers that start with the national prefix.
277 - Updating formatNumberForMobileDialing to work with short numbers.
278 - Stop finding Israeli 4-digit "star" numbers in text when no star is in fact present.
279 - Bug fix for finding phone numbers where the area code was also part of the country
358 - Bug fix: Argentinian (and other countries with mobile tokens) mobile numbers now geocode
384 -- AsYouTypeFormatting: 3-digit numbers can be formatted as a group where appropriate
[all …]
/external/curl/docs/
DVERSIONS15 ## Bumping numbers
17 One of these numbers will get bumped in each new release. The numbers to the
31 affecting one of the numbers (except the ones to the right of it, that may be
47 Where XX, YY and ZZ are the main version, release and patch numbers in
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
Di18n.py18 from babel import numbers
473 return numbers.format_number(number, locale=self.locale)
503 return numbers.format_decimal(number, format=format,
531 return numbers.format_currency(number, currency, format=format,
556 return numbers.format_percent(number, format=format,
578 return numbers.format_scientific(number, format=format,
653 return numbers.parse_number(string, locale=self.locale)
678 return numbers.parse_decimal(string, locale=self.locale)
/external/bison/m4/
Dfrexpl.m4115 dnl Test whether frexpl() works on finite numbers (this fails on
116 dnl Mac OS X 10.4/PowerPC, on AIX 5.1, and on BeOS), on denormalized numbers
117 dnl (this fails on Mac OS X 10.5/i386), and also on infinite numbers (this
157 /* Test on finite numbers that fails on AIX 5.1. */
165 /* Test on finite numbers that fails on Mac OS X 10.4, because its frexpl
177 /* Test on large finite numbers. This fails on BeOS at i = 16322, while
194 /* Test on denormalized numbers. */
209 /* Test on infinite numbers. */

12345678910>>...36