Searched refs:std (Results 51 - 75 of 188) sorted by relevance

12345678

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/
H A Ddictionary_structure_with_buffer_policy_factory.cpp57 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 Dsuggestion_results.h61 std::priority_queue<
62 SuggestedWord, std::vector<SuggestedWord>, SuggestedWord::Comparator> mSuggestedWords;
/packages/services/Car/tests/vehiclenetworkservice_unit_tests/
H A DVehiclePropertyAccessControlForTesting.cpp20 bool VehiclePropertyAccessControlForTesting::isHexNotation(std::string const& s) {
49 bool VehiclePropertyAccessControlForTesting::getAccessToProperty(int32_t property, std::map<int32_t, int32_t>** accessMap) {
H A DVehiclePropertyAccessControlForTesting.h16 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 DDataQueue.h101 typedef std::list<tHeader*> Queue;
H A DRouteDataSet.h122 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 Dbloom_filter.h66 std::bitset<BIGRAM_FILTER_MODULO> mFilter;
H A Dforgetting_curve_utils.h85 std::vector<std::vector<std::vector<int>>> mTables;
H A Dforgetting_curve_utils.cpp163 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 Dprobability_utils.h60 return std::min(static_cast<int>(probability + 0.5f), MAX_PROBABILITY);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
H A Ddictionary_utils.cpp33 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 DPgmImage.cpp20 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 Ddic_node_pool.h67 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 Dprofiler.h61 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 Ddocumenttest.cpp228 // 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 Doffdevice_intermediate_dict.cpp63 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 Doffdevice_intermediate_dict_test.cpp30 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 Dwifi_facade.cpp40 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 Djpegutil.h128 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 DAndroid.mk20 LOCAL_CFLAGS := -std=c++11
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_dict_buffers.cpp48 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 Dstringbuffer.h21 #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 Dsimplewriter.cpp6 using namespace std;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
H A Dterminal_position_lookup_table.h39 typedef std::unordered_map<int, int> TerminalIdMap;
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
H A Dterminal_position_lookup_table.h32 typedef std::unordered_map<int, int> TerminalIdMap;

Completed in 573 milliseconds

12345678