Home
last modified time | relevance | path

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

/external/icing/icing/file/
Dfile-backed-bitmap.cc219 ICING_ASSIGN_OR_RETURN(Word old_word, GetWord(word_index)); in Set()
220 Word new_word = bit_value ? (old_word | word_mask) : old_word & ~word_mask; in Set()
221 if (new_word != old_word) { in Set()
301 ICING_ASSIGN_OR_RETURN(Word old_word, GetWord(word_index)); in TruncateTo()
302 Word new_word = old_word & word_mask; in TruncateTo()
/external/icing/icing/legacy/index/
Dicing-flash-bitmap.cc312 Word old_word = words[word_offset]; in SetBit() local
313 Word new_word = value ? old_word | mask : old_word & ~mask; in SetBit()
314 if (new_word != old_word) { in SetBit()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_arguments.cc40 void ReplaceAllWords(const std::string& old_word, const std::string& new_word, in ReplaceAllWords() argument
42 size_t position = str->find(old_word); in ReplaceAllWords()
45 char next = position + old_word.size() < str->size() in ReplaceAllWords()
46 ? (*str)[position + old_word.size()] in ReplaceAllWords()
49 position = str->find(old_word, position + 1); in ReplaceAllWords()
52 str->replace(position, old_word.size(), new_word); in ReplaceAllWords()
53 position = str->find(old_word, position + new_word.size()); in ReplaceAllWords()
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dmetal_arguments.cc35 void ReplaceAllWords(const std::string& old_word, const std::string& new_word, in ReplaceAllWords() argument
37 size_t position = str->find(old_word); in ReplaceAllWords()
40 char next = position + old_word.size() < str->size() in ReplaceAllWords()
41 ? (*str)[position + old_word.size()] in ReplaceAllWords()
44 position = str->find(old_word, position + 1); in ReplaceAllWords()
47 str->replace(position, old_word.size(), new_word); in ReplaceAllWords()
48 position = str->find(old_word, position + new_word.size()); in ReplaceAllWords()