Home
last modified time | relevance | path

Searched refs:ToHost32 (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/native/utils/container/
Dsorted-strings-table.cc51 LittleEndian::ToHost32(c); in GatherPrefixMatches()
58 return LittleEndian::ToHost32(c) < in GatherPrefixMatches()
71 if (pieces_[LittleEndian::ToHost32(offsets_[left]) + match_length] == 0) { in GatherPrefixMatches()
84 for (int k = LittleEndian::ToHost32(offsets_[i]) + piece_match_length; in GatherPrefixMatches()
Ddouble-array-trie.h61 return static_cast<int>(LittleEndian::ToHost32(nodes_[i]) & 0x7fffffff); in value()
67 return LittleEndian::ToHost32(nodes_[i]) & 0x800000ff; in label()
72 const uint32 node = LittleEndian::ToHost32(nodes_[i]); in offset()
/external/libtextclassifier/native/lang_id/common/lite_base/
Dendian.h100 static uint32 ToHost32(uint32 x) { return x; } in ToHost32() function
113 static uint32 ToHost32(uint32 x) { return gbswap_32(x); }
/external/libtextclassifier/native/utils/base/
Dendian.h113 static uint32 ToHost32(uint32 x) { return x; } in ToHost32() function
126 static uint32 ToHost32(uint32 x) { return gbswap_32(x); }
/external/protobuf/src/google/protobuf/stubs/
Dport.h383 static uint32 ToHost32(uint32 x) { return bswap_32(x); } in ToHost32() function
396 static uint32 ToHost32(uint32 x) { return x; }
415 return ToHost32(GOOGLE_UNALIGNED_LOAD32(p)); in Load32()
/external/libtextclassifier/native/utils/grammar/
Dmatcher.cc115 LittleEndian::ToHost32(c); in FindTerminal()
122 return LittleEndian::ToHost32(c) < in FindTerminal()
136 const int string_offset = LittleEndian::ToHost32(offsets[left]); in FindTerminal()