/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/ |
H A D | dictionary_structure_with_buffer_policy_factory.cpp | 57 const int formatVersion, const std::vector<int> &locale, 86 const std::vector<int> &locale, 97 new StructurePolicy(std::move(dictBuffers))); 126 headerFilePath, formatVersion, std::move(mmappedBuffer)); 132 headerFilePath, formatVersion, std::move(mmappedBuffer)); 157 DictBuffers::openVer4DictBuffers(dictPath, std::move(mmappedBuffer), formatVersion); 165 new StructurePolicy(std::move(dictBuffers))); 185 new PatriciaTriePolicy(std::move(mmappedBuffer)));
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
H A D | suggestion_results.h | 61 std::priority_queue< 62 SuggestedWord, std::vector<SuggestedWord>, SuggestedWord::Comparator> mSuggestedWords;
|
/packages/services/Car/tests/vehiclenetworkservice_unit_tests/ |
H A D | VehiclePropertyAccessControlForTesting.cpp | 20 bool VehiclePropertyAccessControlForTesting::isHexNotation(std::string const& s) { 49 bool VehiclePropertyAccessControlForTesting::getAccessToProperty(int32_t property, std::map<int32_t, int32_t>** accessMap) {
|
H A D | VehiclePropertyAccessControlForTesting.h | 16 bool isHexNotation(std::string const& s); 23 bool getAccessToProperty(int32_t property, std::map<int32_t, int32_t>** accessMap);
|
/packages/apps/Nfc/nci/jni/ |
H A D | DataQueue.h | 101 typedef std::list<tHeader*> Queue;
|
H A D | RouteDataSet.h | 122 AidBuffer (std::string& aid); 161 typedef std::vector<RouteData*> Database; 237 static bool loadFromFile (std::string& routesXml);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | bloom_filter.h | 66 std::bitset<BIGRAM_FILTER_MODULO> mFilter;
|
H A D | forgetting_curve_utils.h | 85 std::vector<std::vector<std::vector<int>>> mTables;
|
H A D | forgetting_curve_utils.cpp | 163 return std::min(std::max(level, MIN_VISIBLE_LEVEL), MAX_LEVEL); 168 return std::min(std::max(count, 0), OCCURRENCES_TO_RAISE_THE_LEVEL - 1); 172 return std::min(std::max(level, 0), MAX_LEVEL); 176 return std::min(std::max(timeStepCount, 0), MAX_ELAPSED_TIME_STEP_COUNT); 209 std::min(std [all...] |
H A D | probability_utils.h | 60 return std::min(static_cast<int>(probability + 0.5f), MAX_PROBABILITY);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
H A D | dictionary_utils.cpp | 33 std::vector<DicNode> current; 34 std::vector<DicNode> next; 67 maxProbability = std::max(maxProbability, wordAttributes.getProbability()); 75 std::vector<DicNode> *const outDicNodes) {
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
H A D | PgmImage.cpp | 20 using namespace std; 22 PgmImage::PgmImage(std::string filename) : 41 PgmImage::PgmImage(std::vector<unsigned char> &data, int w, int h) : 47 //throw (std::exception("Size of data is not w*h.")); 48 throw (std::exception()); 109 bool PgmImage::ReadPGM(const std::string filename) 111 ifstream in(filename.c_str(),std::ios::in | std::ios::binary); 178 bool PgmImage::WritePGM(const std::string filename, const std [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
H A D | dic_node_pool.h | 67 std::unordered_set<const DicNode*> usedDicNodes; 83 std::vector<DicNode> mDicNodes; 84 std::deque<DicNode*> mPooledDicNodes;
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
H A D | profiler.h | 61 std::unordered_map<int, int64_t> mStartTimes; 62 std::unordered_map<int, float> mTimes; 63 std::unordered_map<int, int> mCounters;
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
H A D | documenttest.cpp | 228 // testing std::swap compatibility
230 using std::swap;
242 struct OutputStringStream : public std::ostringstream {
311 static_assert(std::is_constructible<Document>::value, "");
312 static_assert(std::is_default_constructible<Document>::value, "");
314 static_assert(!std::is_copy_constructible<Document>::value, "");
316 static_assert(std::is_move_constructible<Document>::value, "");
318 static_assert(!std::is_nothrow_constructible<Document>::value, "");
319 static_assert(!std::is_nothrow_default_constructible<Document>::value, "");
321 static_assert(!std [all...] |
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/ |
H A D | offdevice_intermediate_dict.cpp | 63 std::make_shared<OffdeviceIntermediateDictPtNode>(wordProperty, *ptNode)); 70 ? std::make_shared<OffdeviceIntermediateDictPtNode>(codePoints, wordProperty) 71 : std::make_shared<OffdeviceIntermediateDictPtNode>(codePoints.limit(i)); 77 std::make_shared<OffdeviceIntermediateDictPtNode>( 87 std::make_shared<OffdeviceIntermediateDictPtNode>(codePoints, wordProperty));
|
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/offdevice_intermediate_dict/ |
H A D | offdevice_intermediate_dict_test.cpp | 30 const std::vector<int> getCodePointVector(const char *str) { 31 std::vector<int> codePoints; 39 const WordProperty getDummpWordProperty(const std::vector<int> &&codePoints) { 40 return WordProperty(std::move(codePoints), UnigramProperty(), std::vector<NgramProperty>());
|
/packages/apps/Test/connectivity/sl4n/facades/wifi/ |
H A D | wifi_facade.cpp | 40 std::tuple<bool, int> WifiFacade::WifiInit() { 42 return std::make_tuple(false, sl4n_error_codes::kFailInt); 46 return std::make_tuple(false, sl4n_error_codes::kFailInt); 49 return std::make_tuple(true, sl4n_error_codes::kPassInt); 143 std::tuple<int, int> WifiFacade::WifiGetSupportedFeatureSet() { 145 return std::make_tuple(0, sl4n_error_codes::kFailInt); 152 return std::make_tuple(set, sl4n_error_codes::kPassInt); 154 return std::make_tuple(0, sl4n_error_codes::kFailInt); 216 std::tie(result, error_code) = facade.WifiInit(); 233 std [all...] |
/packages/apps/Camera2/jni/ |
H A D | jpegutil.h | 128 inline const std::array<unsigned char*, ROWS> LoadAt(int y_base); 135 std::vector<unsigned char> buf_; 147 std::function<void(size_t)> flush, int quality); 177 buf_ = std::vector<unsigned char>(row_length * ROWS); 181 const std::array<unsigned char*, ROWS> jpegutil::RowIterator<ROWS>::LoadAt( 183 std::array<unsigned char*, ROWS> buf_ptrs;
|
H A D | Android.mk | 20 LOCAL_CFLAGS := -std=c++11
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
H A D | ver4_dict_buffers.cpp | 48 std::vector<ReadWriteByteArrayView> buffers; 65 return Ver4DictBuffersPtr(new Ver4DictBuffers(std::move(headerBuffer), std::move(bodyBuffer), 173 const std::vector<ReadWriteByteArrayView> &contentBuffers) 174 : mHeaderBuffer(std::move(headerBuffer)), mDictBuffer(std::move(bodyBuffer)),
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
H A D | stringbuffer.h | 21 #include <utility> // std::move
42 GenericStringBuffer(GenericStringBuffer&& rhs) : stack_(std::move(rhs.stack_)) {}
45 stack_ = std::move(rhs.stack_);
88 std::memset(stream.stack_.Push<char>(n), c, n * sizeof(c));
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplewriter/ |
H A D | simplewriter.cpp | 6 using namespace std;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
H A D | terminal_position_lookup_table.h | 39 typedef std::unordered_map<int, int> TerminalIdMap;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
H A D | terminal_position_lookup_table.h | 32 typedef std::unordered_map<int, int> TerminalIdMap;
|