Lines Matching full:start
39 UChar32 start, limit; member
56 _testFoldedValue32(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue32() argument
63 limit=start+0x400; in _testFoldedValue32()
64 while(start<limit) { in _testFoldedValue32()
65 value=utrie_get32(trie, start, &inBlockZero); in _testFoldedValue32()
67 start+=UTRIE_DATA_BLOCK_LENGTH; in _testFoldedValue32()
70 ++start; in _testFoldedValue32()
87 _testFoldedValue16(UNewTrie *trie, UChar32 start, int32_t offset) { in _testFoldedValue16() argument
94 limit=start+0x400; in _testFoldedValue16()
95 while(start<limit) { in _testFoldedValue16()
96 value=utrie_get32(trie, start, &inBlockZero); in _testFoldedValue16()
98 start+=UTRIE_DATA_BLOCK_LENGTH; in _testFoldedValue16()
101 ++start; in _testFoldedValue16()
127 _testEnumRange(const void *context, UChar32 start, UChar32 limit, uint32_t value) { in _testEnumRange() argument
132 if(start!=(b-1)->limit || limit!=b->limit || value!=b->value) { in _testEnumRange()
134 start, limit, value, in _testEnumRange()
265 UChar32 start, limit; in testTrieRangesWithMalloc() local
281 start=setRanges[i].start; in testTrieRangesWithMalloc()
285 if((limit-start)==1 && overwrite) { in testTrieRangesWithMalloc()
286 ok&=utrie_set32(newTrie, start, value); in testTrieRangesWithMalloc()
288 ok&=utrie_setRange32(newTrie, start, limit, value, overwrite); in testTrieRangesWithMalloc()
297 start=0; in testTrieRangesWithMalloc()
302 while(start<limit) { in testTrieRangesWithMalloc()
303 if(value!=utrie_get32(newTrie, start, NULL)) { in testTrieRangesWithMalloc()
305 testName, start, utrie_get32(newTrie, start, NULL), value); in testTrieRangesWithMalloc()
307 ++start; in testTrieRangesWithMalloc()
334 start=0; in testTrieRangesWithMalloc()
335 for(i=0; i<countCheckRanges && start<=0xff; ++i) { in testTrieRangesWithMalloc()
339 while(start<limit && start<=0xff) { in testTrieRangesWithMalloc()
340 if(value!=data[UTRIE_DATA_BLOCK_LENGTH+start]) { in testTrieRangesWithMalloc()
342 testName, start, data[UTRIE_DATA_BLOCK_LENGTH+start], value); in testTrieRangesWithMalloc()
344 ++start; in testTrieRangesWithMalloc()
366 start=0; in testTrieRangesWithMalloc()
371 if(start==0xd800) { in testTrieRangesWithMalloc()
373 start=limit; in testTrieRangesWithMalloc()
377 while(start<limit) { in testTrieRangesWithMalloc()
378 if(start<=0xffff) { in testTrieRangesWithMalloc()
380 value2=UTRIE_GET32_FROM_BMP(&trie, start); in testTrieRangesWithMalloc()
382 value2=UTRIE_GET16_FROM_BMP(&trie, start); in testTrieRangesWithMalloc()
386 testName, start, value2, value); in testTrieRangesWithMalloc()
388 if(!U16_IS_LEAD(start)) { in testTrieRangesWithMalloc()
390 value2=UTRIE_GET32_FROM_LEAD(&trie, start); in testTrieRangesWithMalloc()
392 value2=UTRIE_GET16_FROM_LEAD(&trie, start); in testTrieRangesWithMalloc()
396 testName, start, value2, value); in testTrieRangesWithMalloc()
401 UTRIE_GET32(&trie, start, value2); in testTrieRangesWithMalloc()
403 UTRIE_GET16(&trie, start, value2); in testTrieRangesWithMalloc()
407 testName, start, value2, value); in testTrieRangesWithMalloc()
409 ++start; in testTrieRangesWithMalloc()
422 for(start=0; start<0x100; ++start) { in testTrieRangesWithMalloc()
423 if(latin1[start]!=UTRIE_GET32_FROM_LEAD(&trie, start)) { in testTrieRangesWithMalloc()
425 … testName, start, latin1[start], UTRIE_GET32_FROM_LEAD(&trie, start), start); in testTrieRangesWithMalloc()
431 for(start=0; start<0x100; ++start) { in testTrieRangesWithMalloc()
432 if(latin1[start]!=UTRIE_GET16_FROM_LEAD(&trie, start)) { in testTrieRangesWithMalloc()
434 … testName, start, latin1[start], UTRIE_GET16_FROM_LEAD(&trie, start), start); in testTrieRangesWithMalloc()
459 UChar32 start, limit; in testTrieRanges() local
472 start=setRanges[i].start; in testTrieRanges()
476 if((limit-start)==1 && overwrite) { in testTrieRanges()
477 ok&=utrie_set32(newTrie, start, value); in testTrieRanges()
479 ok&=utrie_setRange32(newTrie, start, limit, value, overwrite); in testTrieRanges()
488 start=0; in testTrieRanges()
493 while(start<limit) { in testTrieRanges()
494 if(value!=utrie_get32(newTrie, start, NULL)) { in testTrieRanges()
496 testName, start, utrie_get32(newTrie, start, NULL), value); in testTrieRanges()
498 ++start; in testTrieRanges()
541 start=0; in testTrieRanges()
542 for(i=0; i<countCheckRanges && start<=0xff; ++i) { in testTrieRanges()
546 while(start<limit && start<=0xff) { in testTrieRanges()
547 if(value!=data[UTRIE_DATA_BLOCK_LENGTH+start]) { in testTrieRanges()
549 testName, start, data[UTRIE_DATA_BLOCK_LENGTH+start], value); in testTrieRanges()
551 ++start; in testTrieRanges()
575 start=0; in testTrieRanges()
580 if(start==0xd800) { in testTrieRanges()
582 start=limit; in testTrieRanges()
586 while(start<limit) { in testTrieRanges()
587 if(start<=0xffff) { in testTrieRanges()
589 value2=UTRIE_GET32_FROM_BMP(&trie, start); in testTrieRanges()
591 value2=UTRIE_GET16_FROM_BMP(&trie, start); in testTrieRanges()
595 testName, start, value2, value); in testTrieRanges()
597 if(!U16_IS_LEAD(start)) { in testTrieRanges()
599 value2=UTRIE_GET32_FROM_LEAD(&trie, start); in testTrieRanges()
601 value2=UTRIE_GET16_FROM_LEAD(&trie, start); in testTrieRanges()
605 testName, start, value2, value); in testTrieRanges()
610 UTRIE_GET32(&trie, start, value2); in testTrieRanges()
612 UTRIE_GET16(&trie, start, value2); in testTrieRanges()
616 testName, start, value2, value); in testTrieRanges()
618 ++start; in testTrieRanges()
631 for(start=0; start<0x100; ++start) { in testTrieRanges()
632 if(latin1[start]!=UTRIE_GET32_FROM_LEAD(&trie, start)) { in testTrieRanges()
634 … testName, start, latin1[start], UTRIE_GET32_FROM_LEAD(&trie, start), start); in testTrieRanges()
640 for(start=0; start<0x100; ++start) { in testTrieRanges()
641 if(latin1[start]!=UTRIE_GET16_FROM_LEAD(&trie, start)) { in testTrieRanges()
643 … testName, start, latin1[start], UTRIE_GET16_FROM_LEAD(&trie, start), start); in testTrieRanges()
724 {0, 0}, /* dummy start range to make _testEnumRange() simpler */
760 {0, 0}, /* dummy start range to make _testEnumRange() simpler */
791 {0, 9}, /* dummy start range, also carries the initial value */