Home
last modified time | relevance | path

Searched refs:string_offset (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/native/utils/grammar/parsing/
Dmatcher.cc115 [strings, match_length](uint32 string_offset, uint32 c) -> bool { in FindTerminal() argument
117 strings[string_offset + match_length]) < in FindTerminal()
124 [strings, match_length](uint32 c, uint32 string_offset) -> bool { in FindTerminal() argument
127 strings[string_offset + match_length]); in FindTerminal()
139 const int string_offset = LittleEndian::ToHost32(offsets[left]); in FindTerminal() local
140 if (strings[string_offset + match_length] == 0) { in FindTerminal()
142 return &strings[string_offset]; in FindTerminal()
/external/pdfium/core/fxge/
Dfx_font.cpp84 uint32_t string_offset = GET_TT_SHORT(&name_table[4]); in GetNameFromTT() local
87 if (name_table.size() < string_offset) in GetNameFromTT()
90 pdfium::span<const uint8_t> string_span = name_table.subspan(string_offset); in GetNameFromTT()
/external/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc376 int32_t string_offset = 0; in SubSerialize() local
401 string_offset); in SubSerialize()
403 string_offset += new_data->WriteBytes( in SubSerialize()
404 string_offset + string_table_start_offset, in SubSerialize()
408 return string_offset + string_table_start_offset; in SubSerialize()
/external/tensorflow/tensorflow/lite/tools/
Dverifier.cc116 int string_offset = GetIntPtr(buffer_ptr + offset); in VerifyStringTensorBuffer() local
117 if (string_offset < static_cast<int>(prev_ptr) || in VerifyStringTensorBuffer()
118 string_offset > static_cast<int>(buffer_size)) { in VerifyStringTensorBuffer()