Searched refs:trieBytes (Results 1 - 5 of 5) sorted by relevance

/external/icu/icu4c/source/common/unicode/
H A Dbytestrie.h53 * The trieBytes must contain a copy of a byte sequence from the BytesTrieBuilder,
61 * @param trieBytes The byte array that contains the serialized trie.
64 BytesTrie(const void *trieBytes) argument
65 : ownedArray_(NULL), bytes_(static_cast<const uint8_t *>(trieBytes)),
246 * @param trieBytes The trie bytes.
255 Iterator(const void *trieBytes, int32_t maxStringLength, UErrorCode &errorCode);
351 BytesTrie(void *adoptBytes, const void *trieBytes) argument
353 bytes_(static_cast<const uint8_t *>(trieBytes)),
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DBytesTrie.java39 * @param trieBytes Bytes array that contains the serialized trie.
43 public BytesTrie(byte[] trieBytes, int offset) { argument
44 bytes_=trieBytes;
441 * @param trieBytes Bytes array that contains the serialized trie.
448 public static Iterator iterator(byte[] trieBytes, int offset, int maxStringLength) { argument
449 return new Iterator(trieBytes, offset, -1, maxStringLength);
523 private Iterator(byte[] trieBytes, int offset, int remainingMatchLength, int maxStringLength) { argument
524 bytes_=trieBytes;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DBytesTrieTest.java485 ByteBuffer trieBytes=builder_.buildByteBuffer(StringTrieBuilder.Option.FAST);
487 BytesTrie.iterator(trieBytes.array(), trieBytes.arrayOffset()+trieBytes.position(), 0),
539 ByteBuffer trieBytes=builder_.buildByteBuffer(buildOption);
540 logln("serialized trie size: "+trieBytes.remaining()+" bytes\n");
547 return new BytesTrie(trieBytes.array(), trieBytes.arrayOffset()+trieBytes.position());
/external/icu/icu4c/source/common/
H A Dbytestrieiterator.cpp23 BytesTrie::Iterator::Iterator(const void *trieBytes, int32_t maxStringLength, argument
25 : bytes_(static_cast<const uint8_t *>(trieBytes)),
/external/icu/icu4c/source/test/intltest/
H A Dbytestrietest.cpp583 StringPiece trieBytes=builder_->buildStringPiece(USTRINGTRIE_BUILD_FAST, errorCode); local
584 BytesTrie::Iterator iter(trieBytes.data(), 0, errorCode);

Completed in 228 milliseconds