Home
last modified time | relevance | path

Searched refs:reset (Results 1 – 25 of 7093) sorted by relevance

12345678910>>...284

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-make-unique.cpp98 P1.reset(new int()); in basic()
101 P2.reset(new int); in basic()
111 P2.reset(new int); in basic()
126 P4.reset((new int())); in basic()
129 P5.reset((new int)); in basic()
136 P5.reset(((((new int()))))); in basic()
139 P6.reset(((((new int))))); in basic()
171 Pderived.reset(new Derived()); in basic()
174 PderivedNoparen.reset(new Derived); in basic()
203 Placement.reset(new (PInt) int{3}); in basic()
[all …]
Dmodernize-make-shared.cpp53 P1.reset(new int()); in basic()
56 P1.reset(new int); in basic()
66 P2.reset(new int()); in basic()
69 P2.reset(new int); in basic()
87 P4.reset((((new int())))); in basic()
90 P4.reset((((new int)))); in basic()
126 Pderived.reset(new Derived()); in basic()
129 Pderived.reset(new Derived); in basic()
158 Placement.reset(new (PInt) int{3}); in basic()
162 PlacementNoparen.reset(new (PInt) int); in basic()
[all …]
Dmisc-uniqueptr-reset-release.cpp14 void reset(T *);
35 a.reset(b.release()); in f()
38 a.reset(c.release()); in f()
41 a.reset(Create().release()); in f()
44 x->reset(y->release()); in f()
47 Look().reset(Look().release()); in f()
50 Get()->reset(Get()->release()); in f()
55 func_a.reset(func_b.release()); in f()
64 dest.reset(src.release()); in negatives()
68 func_a.reset(func_b.release()); in negatives()
Dmodernize-make-unique-default-init.cpp20 P1.reset(new int()); in basic()
23 P2.reset(new int); in basic()
49 P5.reset((new int())); in basic()
52 P6.reset((new int)); in basic()
57 P7.reset(new int[5]()); in basic()
61 P8.reset(new int[5]); in basic()
66 P7.reset(new int[Num]); in basic()
70 P8.reset(new int[Num]); in basic()
/external/python/cpython3/Tools/peg_generator/pegen/
Dgrammar_parser.py53 self.reset(mark)
68 self.reset(mark)
75 self.reset(mark)
90 self.reset(mark)
97 self.reset(mark)
114 self.reset(mark)
127 self.reset(mark)
140 self.reset(mark)
155 self.reset(mark)
162 self.reset(mark)
[all …]
/external/llvm-project/libcxx/test/libcxx/language.support/support.dynamic/
Dlibcpp_deallocate.sh.cpp50 alloc_stats() { reset(); } in alloc_stats()
59 void reset() { in reset() function
147 stats.reset(); in test_libcpp_dealloc()
154 stats.reset(); in test_libcpp_dealloc()
160 stats.reset(); in test_libcpp_dealloc()
166 stats.reset(); in test_libcpp_dealloc()
172 stats.reset(); in test_libcpp_dealloc()
177 stats.reset(); in test_libcpp_dealloc()
182 stats.reset(); in test_libcpp_dealloc()
192 stats.reset(); in test_allocator_and_new_match()
[all …]
/external/libcxx/test/libcxx/language.support/support.dynamic/
Dlibcpp_deallocate.sh.cpp57 alloc_stats() { reset(); } in alloc_stats()
66 void reset() { in reset() function
150 stats.reset(); in test_libcpp_dealloc()
157 stats.reset(); in test_libcpp_dealloc()
163 stats.reset(); in test_libcpp_dealloc()
169 stats.reset(); in test_libcpp_dealloc()
175 stats.reset(); in test_libcpp_dealloc()
180 stats.reset(); in test_libcpp_dealloc()
185 stats.reset(); in test_libcpp_dealloc()
195 stats.reset(); in test_allocator_and_new_match()
[all …]
/external/perfetto/src/trace_processor/
Dtrace_processor_storage_impl.cc48 context_.storage.reset(new TraceStorage(context_.config)); in TraceProcessorStorageImpl()
49 context_.track_tracker.reset(new TrackTracker(&context_)); in TraceProcessorStorageImpl()
50 context_.async_track_set_tracker.reset(new AsyncTrackSetTracker(&context_)); in TraceProcessorStorageImpl()
51 context_.args_tracker.reset(new ArgsTracker(&context_)); in TraceProcessorStorageImpl()
52 context_.slice_tracker.reset(new SliceTracker(&context_)); in TraceProcessorStorageImpl()
53 context_.flow_tracker.reset(new FlowTracker(&context_)); in TraceProcessorStorageImpl()
54 context_.event_tracker.reset(new EventTracker(&context_)); in TraceProcessorStorageImpl()
55 context_.process_tracker.reset(new ProcessTracker(&context_)); in TraceProcessorStorageImpl()
56 context_.clock_tracker.reset(new ClockTracker(&context_)); in TraceProcessorStorageImpl()
57 context_.heap_profile_tracker.reset(new HeapProfileTracker(&context_)); in TraceProcessorStorageImpl()
[all …]
/external/llvm-project/llvm/unittests/TableGen/
DAutomataTest.cpp35 A.reset(); in TEST()
37 A.reset(); in TEST()
39 A.reset(); in TEST()
46 A.reset(); in TEST()
51 A.reset(); in TEST()
56 A.reset(); in TEST()
63 A.reset(); in TEST()
66 A.reset(); in TEST()
69 A.reset(); in TEST()
72 A.reset(); in TEST()
[all …]
/external/openscreen/third_party/mozilla/
Durl_parse.cc93 hostname->reset(); in ParseServerInfo()
94 port_num->reset(); in ParseServerInfo()
123 hostname->reset(); in ParseServerInfo()
128 port_num->reset(); in ParseServerInfo()
144 username->reset(); in DoParseAuthority()
145 password->reset(); in DoParseAuthority()
146 hostname->reset(); in DoParseAuthority()
147 port_num->reset(); in DoParseAuthority()
165 username->reset(); in DoParseAuthority()
166 password->reset(); in DoParseAuthority()
[all …]
/external/llvm-project/lldb/source/Target/
DExecutionContext.cpp168 m_target_sp.reset(); in Clear()
169 m_process_sp.reset(); in Clear()
170 m_thread_sp.reset(); in Clear()
171 m_frame_sp.reset(); in Clear()
266 m_target_sp.reset(); in SetTargetPtr()
273 m_process_sp.reset(); in SetProcessPtr()
280 m_thread_sp.reset(); in SetThreadPtr()
287 m_frame_sp.reset(); in SetFramePtr()
296 m_process_sp.reset(); in SetContext()
297 m_thread_sp.reset(); in SetContext()
[all …]
/external/skqp/tests/
DUtilsTest.cpp58 tmp.reset(0); // test out reset(0) when already at 0 in test_autostarray()
59 tmp.reset(4); // this should force a new allocation in test_autostarray()
61 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
62 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
67 tmp.reset(0); in test_autostarray()
72 tmp.reset(2); // this should use the preexisting allocation in test_autostarray()
74 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
75 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
87 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
88 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
[all …]
/external/arm-trusted-firmware/docs/design/
Dreset-design.rst10 document which provides greater implementation details around the reset code,
13 General reset code flow
16 The TF-A reset code is implemented in BL1 by default. The following high-level
19 |Default reset code flow|
21 This diagram shows the default, unoptimised reset flow. Depending on the system
29 this case. Please refer to section 6 "Using BL31 entrypoint as the reset
32 Programmable CPU reset address
35 By default, TF-A assumes that the CPU reset address is not programmable.
37 they reset. Further logic is then required to identify whether it is a cold or
40 If the reset vector address (reflected in the reset vector base address register
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_javascript_embeddertest.cpp38 js.reset(FPDFDoc_GetJavaScriptAction(document(), -1)); in TEST_F()
40 js.reset(FPDFDoc_GetJavaScriptAction(document(), 6)); in TEST_F()
42 js.reset(FPDFDoc_GetJavaScriptAction(nullptr, -1)); in TEST_F()
44 js.reset(FPDFDoc_GetJavaScriptAction(nullptr, 0)); in TEST_F()
46 js.reset(FPDFDoc_GetJavaScriptAction(nullptr, 1)); in TEST_F()
48 js.reset(FPDFDoc_GetJavaScriptAction(nullptr, 2)); in TEST_F()
50 js.reset(FPDFDoc_GetJavaScriptAction(nullptr, 5)); in TEST_F()
52 js.reset(FPDFDoc_GetJavaScriptAction(nullptr, 6)); in TEST_F()
55 js.reset(FPDFDoc_GetJavaScriptAction(document(), 0)); in TEST_F()
57 js.reset(FPDFDoc_GetJavaScriptAction(document(), 1)); in TEST_F()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScriptRun.java234 scriptRun.reset(0, 100); in TestReset()
241 scriptRun.reset(100, 0); in TestReset()
248 scriptRun.reset(0, -100); in TestReset()
255 scriptRun.reset(-100, 0); in TestReset()
262 scriptRun.reset(dummy, 0, 6); in TestReset()
269 scriptRun.reset(dummy, 6, 0); in TestReset()
276 scriptRun.reset(dummy, 0, -100); in TestReset()
283 scriptRun.reset(dummy, -100, 0); in TestReset()
290 scriptRun.reset(dummy, 0, dummy.length); in TestReset()
297 scriptRun.reset(0, 6); in TestReset()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DTestUScriptRun.java237 scriptRun.reset(0, 100); in TestReset()
244 scriptRun.reset(100, 0); in TestReset()
251 scriptRun.reset(0, -100); in TestReset()
258 scriptRun.reset(-100, 0); in TestReset()
265 scriptRun.reset(dummy, 0, 6); in TestReset()
272 scriptRun.reset(dummy, 6, 0); in TestReset()
279 scriptRun.reset(dummy, 0, -100); in TestReset()
286 scriptRun.reset(dummy, -100, 0); in TestReset()
293 scriptRun.reset(dummy, 0, dummy.length); in TestReset()
300 scriptRun.reset(0, 6); in TestReset()
[all …]
/external/okio/samples/src/jvmTest/java/okio/samples/
DSourceMarkerTest.java37 marker.reset(pos7); // Back to 'H' in test()
39 marker.reset(pos3); // Back to 'D' in test()
41 marker.reset(pos7); // Back to 'H' again. in test()
44 marker.reset(pos7); in test()
50 marker.reset(pos3); in test()
66 marker.reset(pos7); // Back to 'H' in exceedLimitTest()
68 marker.reset(pos3); // Back to 'D' in exceedLimitTest()
70 marker.reset(pos7); // Back to 'H' again. in exceedLimitTest()
73 marker.reset(pos7); // Back to 'H' again despite the original limit being exceeded in exceedLimitTest()
76 marker.reset(pos3); // Back to 'D' again despite the original limit being exceeded in exceedLimitTest()
[all …]
/external/python/cpython2/Lib/test/
Dtest_py3kwarn.py72 w.reset()
78 w.reset()
81 w.reset()
84 w.reset()
87 w.reset()
94 w.reset()
101 w.reset()
108 w.reset()
110 w.reset()
112 w.reset()
[all …]
/external/icu/icu4c/source/extra/scrptrun/
Dscrptrun.h46 void reset();
48 void reset(int32_t start, int32_t count);
50 void reset(const UChar chars[], int32_t start, int32_t length);
106 reset(NULL, 0, 0); in ScriptRun()
111 reset(chars, 0, length); in ScriptRun()
116 reset(chars, start, length); in ScriptRun()
134 inline void ScriptRun::reset() in reset() function
142 inline void ScriptRun::reset(int32_t start, int32_t length) in reset() function
147 reset(); in reset()
150 inline void ScriptRun::reset(const UChar chars[], int32_t start, int32_t length) in reset() function
[all …]
/external/mockito/src/test/java/org/mockitousage/basicapi/
DResetTest.java30 reset(mock); in shouldResetOngoingStubbingSoThatMoreMeaningfulExceptionsAreRaised()
40 reset(""); in resettingNonMockIsSafe()
45 reset(new Object[]{null}); in resettingNullIsSafe()
52 reset(mock); in shouldRemoveAllStubbing()
60 reset(mock); in shouldRemoveAllInteractions()
68 reset(mockTwo); in shouldRemoveStubbingToString()
76 reset(mock); in shouldStubbingNotBeTreatedAsInteraction()
84 reset(mock); in shouldNotAffectMockName()
93 reset(mock, mockTwo); in shouldResetMultipleMocks()
104 reset(mockTwo); in shouldValidateStateWhenResetting()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUScriptRun.java69 reset(nullChars, 0, 0); in UScriptRun()
84 reset (text); in UScriptRun()
101 reset(text, start, count); in UScriptRun()
116 reset(chars); in UScriptRun()
133 reset(chars, start, count); in UScriptRun()
144 public final void reset() in reset() method in UScriptRun
176 public final void reset(int start, int count) in reset() method in UScriptRun
192 reset(); in reset()
208 public final void reset(char[] chars, int start, int count) in reset() method in UScriptRun
216 reset(start, count); in reset()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUScriptRun.java71 reset(nullChars, 0, 0); in UScriptRun()
86 reset (text); in UScriptRun()
103 reset(text, start, count); in UScriptRun()
118 reset(chars); in UScriptRun()
135 reset(chars, start, count); in UScriptRun()
146 public final void reset() in reset() method in UScriptRun
178 public final void reset(int start, int count) in reset() method in UScriptRun
194 reset(); in reset()
210 public final void reset(char[] chars, int start, int count) in reset() method in UScriptRun
218 reset(start, count); in reset()
[all …]
/external/arm-trusted-firmware/plat/brcm/board/common/
Dplatform_common.c70 void __dead2 plat_soft_reset(uint32_t reset) in plat_soft_reset() argument
72 if (reset == SOFT_RESET_L3) { in plat_soft_reset()
73 mmio_setbits_32(CRMU_IHOST_SW_PERSISTENT_REG1, reset); in plat_soft_reset()
78 if (reset != SOFT_SYS_RESET_L1) in plat_soft_reset()
79 reset = SOFT_PWR_UP_RESET_L0; in plat_soft_reset()
81 if (reset == SOFT_PWR_UP_RESET_L0) in plat_soft_reset()
84 if (reset == SOFT_SYS_RESET_L1) in plat_soft_reset()
89 mmio_clrbits_32(CRMU_SOFT_RESET_CTRL, 1 << reset); in plat_soft_reset()
/external/tensorflow/tensorflow/core/kernels/
Drange_sampler_test.cc82 sampler_.reset(new UniformSampler(10)); in TEST_F()
89 sampler_.reset(new UniformSampler(10)); in TEST_F()
94 sampler_.reset(new UniformSampler(10)); in TEST_F()
100 sampler_.reset(new LogUniformSampler(range)); in TEST_F()
108 sampler_.reset(new LogUniformSampler(10)); in TEST_F()
113 sampler_.reset(new LogUniformSampler(10)); in TEST_F()
118 sampler_.reset(new UnigramSampler(10)); in TEST_F()
128 sampler_.reset(new UnigramSampler(10)); in TEST_F()
135 sampler_.reset(new UnigramSampler(10)); in TEST_F()
141 sampler_.reset(new UnigramSampler(10)); in TEST_F()
[all …]
/external/webrtc/rtc_base/
Dtest_utils.h58 bool reset = true) {
59 return DoCheck(stream, event, reset);
61 int Events(rtc::StreamInterface* stream, bool reset = true) {
62 return DoEvents(stream, reset);
82 bool reset = true) {
83 return DoCheck(socket, event, reset);
85 int Events(rtc::AsyncSocket* socket, bool reset = true) {
86 return DoEvents(socket, reset);
113 bool DoCheck(void* obj, StreamSinkEvent event, bool reset) { in DoCheck() argument
118 if (reset) { in DoCheck()
[all …]

12345678910>>...284