Home
last modified time | relevance | path

Searched refs:Erase (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dpointertest.cpp871 TEST(Pointer, Erase) { in TEST() argument
875 EXPECT_FALSE(Pointer("").Erase(d)); in TEST()
876 EXPECT_FALSE(Pointer("/nonexist").Erase(d)); in TEST()
877 EXPECT_FALSE(Pointer("/nonexist/nonexist").Erase(d)); in TEST()
878 EXPECT_FALSE(Pointer("/foo/nonexist").Erase(d)); in TEST()
879 EXPECT_FALSE(Pointer("/foo/nonexist/nonexist").Erase(d)); in TEST()
880 EXPECT_FALSE(Pointer("/foo/0/nonexist").Erase(d)); in TEST()
881 EXPECT_FALSE(Pointer("/foo/0/nonexist/nonexist").Erase(d)); in TEST()
882 EXPECT_FALSE(Pointer("/foo/2/nonexist").Erase(d)); in TEST()
883 EXPECT_TRUE(Pointer("/foo/0").Erase(d)); in TEST()
[all …]
Dvaluetest.cpp840 itr = x.Erase(x.Begin()); in TEST()
847 itr = x.Erase(x.End() - 1); in TEST()
854 itr = x.Erase(x.Begin() + 4); in TEST()
871 itr = x.Erase(x.Begin() + first, x.Begin() + last); in TEST()
896 x.Erase(std::remove(x.Begin(), x.End(), null), x.End()); in TEST()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dpointer.md69 // Erase a member or element, return true if the value exists
70 bool success = Pointer("/a").Erase(d);
178 `Erase()` or `EraseValueByPointer()` does not need allocator. And they return `true` if the value i…
Dtutorial.md399 * `ValueIterator Erase(ConstValueIterator pos)`
400 * `ValueIterator Erase(ConstValueIterator first, ConstValueIterator last)`
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dpointer.h682 bool Erase(ValueType& root) const { in Erase() function
715 v->Erase(v->Begin() + last->index); in Erase()
1301 return pointer.Erase(root); in EraseValueByPointer()
1306 return GenericPointer<typename T::ValueType>(source, N - 1).Erase(root); in EraseValueByPointer()
Ddocument.h1416 ValueIterator Erase(ConstValueIterator pos) {
1417 return Erase(pos, pos + 1);
1428 ValueIterator Erase(ConstValueIterator first, ConstValueIterator last) {
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list217 Erase all data (factory reset);factory_reset