Home
last modified time | relevance | path

Searched refs:move (Results 1 – 25 of 88) sorted by relevance

1234

/packages/modules/DnsResolver/
DDnsQueryLogTest.cpp77 queryLog.push(std::move(r)); in TEST_F()
96 queryLog.push(std::move(record)); in TEST_F()
116 queryLog.push(std::move(r1)); in TEST_F()
117 queryLog.push(std::move(r2)); in TEST_F()
118 queryLog.push(std::move(r3)); in TEST_F()
133 queryLog.push(std::move(r1)); in TEST_F()
134 queryLog.push(std::move(r2)); in TEST_F()
135 queryLog.push(std::move(r3)); in TEST_F()
136 queryLog.push(std::move(r4)); in TEST_F()
145 queryLog.push(std::move(r1)); in TEST_F()
[all …]
DDnsTlsQueryMap.cpp43 Query q = {.newId = static_cast<uint16_t>(newId), .query = std::move(tmp)}; in recordQuery()
140 Result r = { .code = Response::success, .response = std::move(response) }; in onResponse()
146 it->second.result.set_value(std::move(r)); in onResponse()
DDns64Configuration.h74 : mGetNetworkContextCallback(std::move(getNetworkCallback)), in Dns64Configuration()
75 mPrefixCallback(std::move(prefixCallback)) {} in Dns64Configuration()
DDnsTlsTransport.cpp53 return std::move(record->result); in query()
92 mQueries.onResponse(std::move(response)); in onResponse()
/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/
DSingleAxisSwipeDetectorTest.java87 mGenerator.move(0, 100, 100 - mTouchSlop); in testDragStart_verticalPositive()
97 mGenerator.move(0, 100, 100 + mTouchSlop); in testDragStart_verticalNegative()
105 mGenerator.move(0, 100 + mTouchSlop, 100); in testDragStart_failed()
116 mGenerator.move(0, 100 + mTouchSlop, 100); in testDragStart_horizontalPositive()
127 mGenerator.move(0, 100 - mTouchSlop, 100); in testDragStart_horizontalNegative()
138 mGenerator.move(0, 100 - mTouchSlop, 100); in testDragStart_horizontalRtlPositive()
149 mGenerator.move(0, 100 + mTouchSlop, 100); in testDragStart_horizontalRtlNegative()
157 mGenerator.move(0, 100, 100 + mTouchSlop); in testDrag()
165 mGenerator.move(0, 100, 100 + mTouchSlop); in testDragEnd()
166 mGenerator.move(0, 100, 100 + mTouchSlop * 2); in testDragEnd()
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/
Darguments_parser_test.cpp30 ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)).validateSpecs()); in TEST()
41 ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)).validateSpecs()); in TEST()
49 std::move(argumentSpecs)).validateSpecs()); in TEST()
58 std::move(argumentSpecs)).validateSpecs()); in TEST()
67 std::move(argumentSpecs)).validateSpecs()); in TEST()
100 ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in TEST()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTouchEventGenerator.java123 public TouchEventGenerator move(long ms) { in move() method in TouchEventGenerator
134 public TouchEventGenerator move() { in move() method in TouchEventGenerator
135 return move(TIME_INCREMENT_MS); in move()
141 public TouchEventGenerator move(int id, int x, int y, long ms) { in move() method in TouchEventGenerator
142 return position(id, x, y).move(ms); in move()
148 public TouchEventGenerator move(int id, int x, int y) { in move() method in TouchEventGenerator
149 return move(id, x, y, TIME_INCREMENT_MS); in move()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Ddocumenttest.cpp365 Document b(std::move(a)); in TYPED_TEST()
378 Document c = std::move(b); in TYPED_TEST()
398 Document b(std::move(a)); in TYPED_TEST()
406 Document c(std::move(b)); in TYPED_TEST()
435 Document b(std::move(a));
439 Document c = std::move(b);
459 b = std::move(a); in TYPED_TEST()
473 c = std::move(b); in TYPED_TEST()
494 b = std::move(a); in TYPED_TEST()
503 c = std::move(b); in TYPED_TEST()
[all …]
Dstringbuffertest.cpp120 StringBuffer y(std::move(x)); in TEST()
126 StringBuffer z = std::move(y); in TEST()
144 y = std::move(x); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/
Ddictionary_structure_with_buffer_policy_factory.cpp97 new StructurePolicy(std::move(dictBuffers))); in newPolicyForOnMemoryV4Dict()
126 headerFilePath, formatVersion, std::move(mmappedBuffer)); in newPolicyForDirectoryDict()
132 headerFilePath, formatVersion, std::move(mmappedBuffer)); in newPolicyForDirectoryDict()
157 DictBuffers::openVer4DictBuffers(dictPath, std::move(mmappedBuffer), formatVersion); in newPolicyForV4Dict()
165 new StructurePolicy(std::move(dictBuffers))); in newPolicyForV4Dict()
185 new PatriciaTriePolicy(std::move(mmappedBuffer))); in newPolicyForFileDict()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DDragGestureDetector.java84 move(event, false); in onTouchEvent()
91 move(event, true); in onTouchEvent()
104 private void move(MotionEvent event, boolean drop) { in move() method in DragGestureDetector
105 mTable.move(mTable.getFocus(), in move()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_dict_buffers.cpp65 return Ver4DictBuffersPtr(new Ver4DictBuffers(std::move(headerBuffer), std::move(bodyBuffer), in openVer4DictBuffers()
174 : mHeaderBuffer(std::move(headerBuffer)), mDictBuffer(std::move(bodyBuffer)), in Ver4DictBuffers()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dunigram_property.h32 : mTargetCodePoints(std::move(targetCodePoints)), in ShortcutProperty()
63 mHistoricalInfo(historicalInfo), mShortcuts(std::move(shortcuts)) {} in UnigramProperty()
81 mHistoricalInfo(historicalInfo), mShortcuts(std::move(shortcuts)) {} in UnigramProperty()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp66 new Dictionary(env, std::move(dictionaryStructureWithBufferPolicy)); in latinime_BinaryDictionary_open()
95 new Dictionary(env, std::move(dictionaryStructureWithBufferPolicy)); in latinime_BinaryDictionary_createOnMemory()
375 shortcuts.emplace_back(std::move(shortcutTargetCodePoints), shortcutProbability); in latinime_BinaryDictionary_addUnigramEntry()
381 1 /* count */), std::move(shortcuts)); in latinime_BinaryDictionary_addUnigramEntry()
580 std::move(dictionaryStructureWithBufferPolicy), dictFilePathChars); in latinime_BinaryDictionary_migrateNative()
601 std::move(dictionaryStructureWithBufferPolicy), dictFilePathChars); in latinime_BinaryDictionary_migrateNative()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/command_executors/
Dheader_executor.cpp45 return ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in getArgumentsParser()
Ddiff_executor.cpp45 return ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in getArgumentsParser()
Dinfo_executor.cpp50 return ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in getArgumentsParser()
Dmakedict_executor.cpp57 return ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in getArgumentsParser()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_and_options.h35 : mIsValid(true), mOptions(std::move(options)), mArguments(std::move(arguments)) {} in ArgumentsAndOptions()
Darguments_parser.h102 : mOptionSpecs(std::move(optionSpecs)), mArgumentSpecs(std::move(argumentSpecs)) {} in ArgumentsParser()
Darguments_parser.cpp161 return ArgumentsAndOptions(std::move(options), std::move(arguments)); in parseArguments()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dstringbuffer.h42 GenericStringBuffer(GenericStringBuffer&& rhs) : stack_(std::move(rhs.stack_)) {} in GenericStringBuffer()
45 stack_ = std::move(rhs.stack_);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_dict_buffers.cpp49 return Ver4DictBuffersPtr(new Ver4DictBuffers(dictPath, std::move(headerBuffer), isUpdatable, in openVer4DictBuffers()
131 : mHeaderBuffer(std::move(headerBuffer)), in Ver4DictBuffers()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md286 ![Assignment with move semantics.](diagram/move1.png)
312 To make RapidJSON simple and fast, we chose to use *move* semantics for assignment. It is similar t…
314 So, with move semantics, the above example becomes:
329 This is called move assignment operator in C++11. As RapidJSON supports C++03, it adopts move seman…
470 `MemberIterator RemoveMember(MemberIterator)` uses a "move-last" trick to achieve constant time com…
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp126 socket_ = std::move(s); in startServer()
208 clientFd = std::move(client); in requestHandler()

1234