Searched defs:it (Results 1 - 18 of 18) sorted by relevance

/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
H A Darguments_and_options.h46 const auto &it = mOptions.find(optionName); local
47 ASSERT(it != mOptions.end());
48 return it->second;
52 const auto &it = mArguments.find(name); local
53 return it != mArguments.end() && !it->second.empty();
57 const auto &it = mArguments.find(name); local
58 ASSERT(it != mArguments.end() && !it->second.empty());
59 return it
63 const auto &it = mArguments.find(name); local
[all...]
H A Darguments_parser.cpp115 const auto it = mOptionSpecs.find(optionName); local
116 if (it == mOptionSpecs.end()) {
123 if (it->second.needsValue()) {
150 const auto &it = arguments.find(argumentSpecIt->getName()); local
152 const size_t actualcount = it == arguments.end() ? 0 : it->second.size();
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_patricia_trie_writing_helper.cpp171 TerminalPositionLookupTable::TerminalIdMap::const_iterator it = local
173 if (it == mTerminalIdMap->end()) {
178 if (!mPtNodeWriter->updateTerminalId(ptNodeParams, it->second)) {
179 AKLOGE("Cannot update terminal id. %d -> %d", it->first, it->second);
H A Dver4_patricia_trie_node_writer.cpp245 PtNodeWriter::PtNodePositionRelocationMap::const_iterator it = local
247 if (it != dictPositionRelocationMap->mPtNodePositionRelocationMap.end()) {
248 parentPos = it->second;
262 PtNodeWriter::PtNodeArrayPositionRelocationMap::const_iterator it = local
264 if (it != dictPositionRelocationMap->mPtNodeArrayPositionRelocationMap.end()) {
265 childrenPos = it->second;
/packages/apps/TV/jni/
H A Dtunertvinput_jni.cpp43 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); local
44 if (it != sDvbManagers.end()) {
45 delete it->second;
46 sDvbManagers.erase(it);
58 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); local
60 if (it == sDvbManagers.end()) {
64 dvbManager = it->second;
78 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); local
79 if (it != sDvbManagers.end()) {
80 it
92 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); local
106 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); local
121 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); local
153 std::map<jlong, DvbManager *>::iterator it = sDvbManagers.find(deviceId); local
[all...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
H A Dbigram_dict_content.cpp149 for (TerminalPositionLookupTable::TerminalIdMap::const_iterator it = terminalIdMap->begin();
150 it != terminalIdMap->end(); ++it) {
152 originalBigramDictContent->getBigramListHeadPos(it->first);
172 if (!getUpdatableAddressLookupTable()->set(it->second, bigramListPos)) {
174 it->second, bigramListPos);
197 TerminalPositionLookupTable::TerminalIdMap::const_iterator it = local
199 if (it == terminalIdMap->end()) {
205 originalBigramEntry.updateTargetTerminalIdAndGetEntry(it->second);
/packages/services/Car/evs/manager/
H A DVirtualCamera.cpp77 // This is the stream end marker, so send it along, then mark the stream as stopped
161 auto it = mFramesHeld.begin(); local
162 while (it != mFramesHeld.end()) {
163 if (it->bufferId == buffer.bufferId) {
164 // found it!
167 ++it;
169 if (it == mFramesHeld.end()) {
174 mFramesHeld.erase(it);
203 // Give the underlying hardware camera the heads up that it might be time to stop
/packages/apps/Nfc/nci/jni/
H A DRouteDataSet.cpp143 Database::iterator it; local
145 for (it = mDefaultRouteDatabase.begin(); it != mDefaultRouteDatabase.end(); it++)
146 delete (*it);
149 for (it = mSecElemRouteDatabase.begin(); it != mSecElemRouteDatabase.end(); it++)
150 delete (*it);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
H A Dheader_policy.cpp61 DictionaryHeaderStructurePolicy::AttributeMap::const_iterator it = local
63 if (it == mAttributeMap.end()) {
69 const int terminalIndex = std::min(static_cast<int>(it->second.size()), outValueSize - 1);
71 outValue[i] = it->second[i];
H A Dheader_read_write_utils.cpp97 AttributeMap::const_iterator it = headerAttributes->find(keyVector); local
98 if (it == headerAttributes->end()) {
101 return it->second.data();
141 for (AttributeMap::const_iterator it = headerAttributes->begin();
142 it != headerAttributes->end(); ++it) {
143 if (it->first.empty() || it->second.empty()) {
147 if (!buffer->writeCodePointsAndAdvancePosition(&(it->first.at(0)), it
193 AttributeMap::const_iterator it = headerAttributes->find(keyVector); local
220 AttributeMap::const_iterator it = headerAttributes->find(*key); local
[all...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
H A Dver4_patricia_trie_writing_helper.cpp292 TerminalPositionLookupTable::TerminalIdMap::const_iterator it = local
294 if (it == mTerminalIdMap->end()) {
299 if (!mPtNodeWriter->updateTerminalId(ptNodeParams, it->second)) {
300 AKLOGE("Cannot update terminal id. %d -> %d", it->first, it->second);
H A Dver4_patricia_trie_node_writer.cpp273 PtNodeWriter::PtNodePositionRelocationMap::const_iterator it = local
275 if (it != dictPositionRelocationMap->mPtNodePositionRelocationMap.end()) {
276 parentPos = it->second;
290 PtNodeWriter::PtNodeArrayPositionRelocationMap::const_iterator it = local
292 if (it != dictPositionRelocationMap->mPtNodeArrayPositionRelocationMap.end()) {
293 childrenPos = it->second;
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
H A Dproximity_info_state.cpp167 // This function basically converts from a length to an edit distance. Accordingly, it's obviously
192 // the same position. We want to see if c is in it: if so, then the word contains at that position
206 // The first char in the array is what user typed. If it matches right away, that means the
215 // non-accented version of the accented character the user typed. Treat it as a close char.
300 std::unordered_map<int, float>::const_iterator it = mCharProbabilities[index].find(keyIndex); local
301 if (it != mCharProbabilities[index].end()) {
302 return it->second;
H A Dproximity_info_state_utils.cpp261 // Cannot calculate speed; thus, it gives an average value (1.0);
338 for (NearKeysDistanceMap::const_iterator it = prevNearKeysDistances->begin();
339 it != prevNearKeysDistances->end(); ++it) {
340 NearKeysDistanceMap::const_iterator itPP = prevPrevNearKeysDistances->find(it->first);
341 NearKeysDistanceMap::const_iterator itC = currentNearKeysDistances->find(it->first);
343 || itPP->second > it->second + ProximityInfoParams::MARGIN_FOR_PREV_LOCAL_MIN);
345 || itC->second > it->second + ProximityInfoParams::MARGIN_FOR_PREV_LOCAL_MIN);
422 // Pop previous point because it would be useless.
434 // This point is not used because it'
808 std::unordered_map<int, float>::iterator it = (*charProbabilities)[i].find(j); local
[all...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
H A Dlanguage_model_dict_content.cpp278 const auto it = terminalIdMap->find(entry.key()); local
279 if (it == terminalIdMap->end() || it->second == Ver4DictConstants::NOT_A_TERMINAL_ID) {
283 if (!mTrieMap.put(it->second, entry.value(), nextLevelBitmapEntryIndex)) {
288 mTrieMap.getNextLevelBitmapEntryIndex(it->second, nextLevelBitmapEntryIndex))) {
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Ddocument.h78 But a compiler (IBM XL C/C++ for AIX) have reported to have problem with that so it moved as a namespace scope struct.
146 \param it (Non-const) iterator to copy from
160 GenericMemberIterator(const NonConstIterator & it) : ptr_(it.ptr_) {} // NOLINT, implicit argument
838 Since 0.2, if the name is not correct, it will assert.
855 \note Compared to \ref operator[](T*), this version is faster because it does not need a StrLen().
856 And it can also handle strings with embedded null characters.
917 This version is faster because it does not need a StrLen(). It can also handle string with null character.
931 \return Iterator to member, if it exists.
948 This version is faster because it doe
[all...]
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...

Completed in 2791 milliseconds