• Home
  • Raw
  • Download

Lines Matching refs: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()
128 _testEnumRange(const void *context, UChar32 start, UChar32 limit, uint32_t value) { in _testEnumRange() argument
133 if(start!=(b-1)->limit || limit!=b->limit || value!=b->value) { in _testEnumRange()
135 start, limit, value, in _testEnumRange()
266 UChar32 start, limit; in testTrieRangesWithMalloc() local
282 start=setRanges[i].start; in testTrieRangesWithMalloc()
286 if((limit-start)==1 && overwrite) { in testTrieRangesWithMalloc()
287 ok&=utrie_set32(newTrie, start, value); in testTrieRangesWithMalloc()
289 ok&=utrie_setRange32(newTrie, start, limit, value, overwrite); in testTrieRangesWithMalloc()
298 start=0; in testTrieRangesWithMalloc()
303 while(start<limit) { in testTrieRangesWithMalloc()
304 if(value!=utrie_get32(newTrie, start, NULL)) { in testTrieRangesWithMalloc()
306 testName, start, utrie_get32(newTrie, start, NULL), value); in testTrieRangesWithMalloc()
308 ++start; in testTrieRangesWithMalloc()
335 start=0; in testTrieRangesWithMalloc()
336 for(i=0; i<countCheckRanges && start<=0xff; ++i) { in testTrieRangesWithMalloc()
340 while(start<limit && start<=0xff) { in testTrieRangesWithMalloc()
341 if(value!=data[UTRIE_DATA_BLOCK_LENGTH+start]) { in testTrieRangesWithMalloc()
343 testName, start, data[UTRIE_DATA_BLOCK_LENGTH+start], value); in testTrieRangesWithMalloc()
345 ++start; in testTrieRangesWithMalloc()
367 start=0; in testTrieRangesWithMalloc()
372 if(start==0xd800) { in testTrieRangesWithMalloc()
374 start=limit; in testTrieRangesWithMalloc()
378 while(start<limit) { in testTrieRangesWithMalloc()
379 if(start<=0xffff) { in testTrieRangesWithMalloc()
381 value2=UTRIE_GET32_FROM_BMP(&trie, start); in testTrieRangesWithMalloc()
383 value2=UTRIE_GET16_FROM_BMP(&trie, start); in testTrieRangesWithMalloc()
387 testName, start, value2, value); in testTrieRangesWithMalloc()
389 if(!U16_IS_LEAD(start)) { in testTrieRangesWithMalloc()
391 value2=UTRIE_GET32_FROM_LEAD(&trie, start); in testTrieRangesWithMalloc()
393 value2=UTRIE_GET16_FROM_LEAD(&trie, start); in testTrieRangesWithMalloc()
397 testName, start, value2, value); in testTrieRangesWithMalloc()
402 UTRIE_GET32(&trie, start, value2); in testTrieRangesWithMalloc()
404 UTRIE_GET16(&trie, start, value2); in testTrieRangesWithMalloc()
408 testName, start, value2, value); in testTrieRangesWithMalloc()
410 ++start; in testTrieRangesWithMalloc()
423 for(start=0; start<0x100; ++start) { in testTrieRangesWithMalloc()
424 if(latin1[start]!=UTRIE_GET32_FROM_LEAD(&trie, start)) { in testTrieRangesWithMalloc()
426 … testName, start, latin1[start], UTRIE_GET32_FROM_LEAD(&trie, start), start); in testTrieRangesWithMalloc()
432 for(start=0; start<0x100; ++start) { in testTrieRangesWithMalloc()
433 if(latin1[start]!=UTRIE_GET16_FROM_LEAD(&trie, start)) { in testTrieRangesWithMalloc()
435 … testName, start, latin1[start], UTRIE_GET16_FROM_LEAD(&trie, start), start); in testTrieRangesWithMalloc()
460 UChar32 start, limit; in testTrieRanges() local
473 start=setRanges[i].start; in testTrieRanges()
477 if((limit-start)==1 && overwrite) { in testTrieRanges()
478 ok&=utrie_set32(newTrie, start, value); in testTrieRanges()
480 ok&=utrie_setRange32(newTrie, start, limit, value, overwrite); in testTrieRanges()
489 start=0; in testTrieRanges()
494 while(start<limit) { in testTrieRanges()
495 if(value!=utrie_get32(newTrie, start, NULL)) { in testTrieRanges()
497 testName, start, utrie_get32(newTrie, start, NULL), value); in testTrieRanges()
499 ++start; in testTrieRanges()
542 start=0; in testTrieRanges()
543 for(i=0; i<countCheckRanges && start<=0xff; ++i) { in testTrieRanges()
547 while(start<limit && start<=0xff) { in testTrieRanges()
548 if(value!=data[UTRIE_DATA_BLOCK_LENGTH+start]) { in testTrieRanges()
550 testName, start, data[UTRIE_DATA_BLOCK_LENGTH+start], value); in testTrieRanges()
552 ++start; in testTrieRanges()
576 start=0; in testTrieRanges()
581 if(start==0xd800) { in testTrieRanges()
583 start=limit; in testTrieRanges()
587 while(start<limit) { in testTrieRanges()
588 if(start<=0xffff) { in testTrieRanges()
590 value2=UTRIE_GET32_FROM_BMP(&trie, start); in testTrieRanges()
592 value2=UTRIE_GET16_FROM_BMP(&trie, start); in testTrieRanges()
596 testName, start, value2, value); in testTrieRanges()
598 if(!U16_IS_LEAD(start)) { in testTrieRanges()
600 value2=UTRIE_GET32_FROM_LEAD(&trie, start); in testTrieRanges()
602 value2=UTRIE_GET16_FROM_LEAD(&trie, start); in testTrieRanges()
606 testName, start, value2, value); in testTrieRanges()
611 UTRIE_GET32(&trie, start, value2); in testTrieRanges()
613 UTRIE_GET16(&trie, start, value2); in testTrieRanges()
617 testName, start, value2, value); in testTrieRanges()
619 ++start; in testTrieRanges()
632 for(start=0; start<0x100; ++start) { in testTrieRanges()
633 if(latin1[start]!=UTRIE_GET32_FROM_LEAD(&trie, start)) { in testTrieRanges()
635 … testName, start, latin1[start], UTRIE_GET32_FROM_LEAD(&trie, start), start); in testTrieRanges()
641 for(start=0; start<0x100; ++start) { in testTrieRanges()
642 if(latin1[start]!=UTRIE_GET16_FROM_LEAD(&trie, start)) { in testTrieRanges()
644 … testName, start, latin1[start], UTRIE_GET16_FROM_LEAD(&trie, start), start); in testTrieRanges()