• Home
  • Raw
  • Download

Lines Matching refs:dataLength

67     void checkData(const StringAndValue data[], int32_t dataLength);
68 …void checkData(const StringAndValue data[], int32_t dataLength, UStringTrieBuildOption buildOption…
69 UCharsTrie *buildTrie(const StringAndValue data[], int32_t dataLength,
71 void checkFirst(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
72 void checkNext(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
73 void checkNextWithState(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
74 void checkNextWithState64(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
75 void checkNextString(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
76 void checkIterator(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
77 void checkIterator(UCharsTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength);
751 void UCharsTrieTest::checkData(const StringAndValue data[], int32_t dataLength) { in checkData() argument
752 logln("checkData(dataLength=%d, fast)", (int)dataLength); in checkData()
753 checkData(data, dataLength, USTRINGTRIE_BUILD_FAST); in checkData()
754 logln("checkData(dataLength=%d, small)", (int)dataLength); in checkData()
755 checkData(data, dataLength, USTRINGTRIE_BUILD_SMALL); in checkData()
758 void UCharsTrieTest::checkData(const StringAndValue data[], int32_t dataLength, UStringTrieBuildOpt… in checkData() argument
759 LocalPointer<UCharsTrie> trie(buildTrie(data, dataLength, buildOption)); in checkData()
763 checkFirst(*trie, data, dataLength); in checkData()
764 checkNext(*trie, data, dataLength); in checkData()
765 checkNextWithState(*trie, data, dataLength); in checkData()
766 checkNextWithState64(*trie, data, dataLength); in checkData()
767 checkNextString(*trie, data, dataLength); in checkData()
768 checkIterator(*trie, data, dataLength); in checkData()
771 UCharsTrie *UCharsTrieTest::buildTrie(const StringAndValue data[], int32_t dataLength, in buildTrie() argument
776 if(dataLength&1) { in buildTrie()
778 index=dataLength/2; in buildTrie()
780 } else if((dataLength%3)!=0) { in buildTrie()
782 index=dataLength/5; in buildTrie()
785 index=dataLength-1; in buildTrie()
789 for(int32_t i=0; i<dataLength; ++i) { in buildTrie()
792 index=(index+step)%dataLength; in buildTrie()
815 if((dataLength&1)!=0) { in buildTrie()
823 const StringAndValue data[], int32_t dataLength) { in checkFirst() argument
824 for(int32_t i=0; i<dataLength; ++i) { in checkFirst()
861 const StringAndValue data[], int32_t dataLength) { in checkNext() argument
863 for(int32_t i=0; i<dataLength; ++i) { in checkNext()
935 const StringAndValue data[], int32_t dataLength) { in checkNextWithState() argument
937 for(int32_t i=0; i<dataLength; ++i) { in checkNextWithState()
993 const StringAndValue data[], int32_t dataLength) { in checkNextWithState64() argument
995 for(int32_t i=0; i<dataLength; ++i) { in checkNextWithState64()
1050 const StringAndValue data[], int32_t dataLength) { in checkNextString() argument
1051 for(int32_t i=0; i<dataLength; ++i) { in checkNextString()
1068 const StringAndValue data[], int32_t dataLength) { in checkIterator() argument
1074 checkIterator(iter, data, dataLength); in checkIterator()
1078 const StringAndValue data[], int32_t dataLength) { in checkIterator() argument
1080 for(int32_t i=0; i<dataLength; ++i) { in checkIterator()