Home
last modified time | relevance | path

Searched refs:erase (Results 1 – 25 of 1380) sorted by relevance

12345678910>>...56

/third_party/json/tests/src/
Dunit-element_access1.cpp227 jarray.erase(0);
232 jarray.erase(1);
237 jarray.erase(2);
242 jarray.erase(3);
247 jarray.erase(4);
252 jarray.erase(5);
257 jarray.erase(6);
262 jarray.erase(7);
267 …CHECK_THROWS_WITH_AS(jarray.erase(8), "[json.exception.out_of_range.401] array index 8 is out of r…
277 json::iterator it2 = jarray.erase(jarray.begin());
[all …]
Dunit-element_access2.cpp745 CHECK(j.erase("integer") == 1);
747 CHECK(j.erase("integer") == 0);
750 CHECK(j.erase("unsigned") == 1);
752 CHECK(j.erase("unsigned") == 0);
755 CHECK(j.erase("boolean") == 1);
757 CHECK(j.erase("boolean") == 0);
760 CHECK(j.erase("null") == 1);
762 CHECK(j.erase("null") == 0);
765 CHECK(j.erase("string") == 1);
767 CHECK(j.erase("string") == 0);
[all …]
Dunit-ordered_json.cpp35 j.erase("element1");
36 oj.erase("element1");
42 j.erase("element1");
43 oj.erase("element1");
56 CHECK(multi_ordered.erase("m") == 1);
Dunit-ordered_map.cpp127 CHECK(om.erase(std::string("eins")) == 1);
129 CHECK(om.erase(std::string("vier")) == 0);
145 CHECK(om.erase(eins) == 1);
147 CHECK(om.erase(vier) == 0);
161 CHECK(om.erase("eins") == 1);
163 CHECK(om.erase("vier") == 0);
181 auto it = om.erase(om.begin());
202 auto it = om.erase(om.begin() + 1, om.begin() + 3);
214 auto it = om.erase(om.begin(), om.begin() + 2);
226 auto it = om.erase(om.begin() + 3, om.end());
/third_party/json/docs/examples/
Derase__IteratorType.cpp17 j_boolean.erase(j_boolean.begin()); in main()
18 j_number_integer.erase(j_number_integer.begin()); in main()
19 j_number_float.erase(j_number_float.begin()); in main()
20 j_object.erase(j_object.find("two")); in main()
21 j_array.erase(j_array.begin() + 2); in main()
22 j_string.erase(j_string.begin()); in main()
Derase__IteratorType_IteratorType.cpp17 j_boolean.erase(j_boolean.begin(), j_boolean.end()); in main()
18 j_number_integer.erase(j_number_integer.begin(), j_number_integer.end()); in main()
19 j_number_float.erase(j_number_float.begin(), j_number_float.end()); in main()
20 j_object.erase(j_object.find("two"), j_object.end()); in main()
21 j_array.erase(j_array.begin() + 1, j_array.begin() + 3); in main()
22 j_string.erase(j_string.begin(), j_string.end()); in main()
/third_party/json/docs/mkdocs/docs/api/basic_json/
Derase.md1 # <small>nlohmann::basic_json::</small>erase
5 iterator erase(iterator pos);
6 const_iterator erase(const_iterator pos);
9 iterator erase(iterator first, iterator last);
10 const_iterator erase(const_iterator first, const_iterator last);
13 size_type erase(const typename object_t::key_type& key);
17 size_type erase(KeyType&& key);
20 void erase(const size_type idx);
84 example: `"cannot use erase() with null"`
92 example: `"cannot use erase() with null"`
[all …]
/third_party/skia/tests/
DExtendedSkColorTypeTests.cpp96 pm.erase(SkColors::kTransparent); in raster_tests()
106 pm.erase(SkColors::kWhite); in raster_tests()
116 srcPM.erase(SkColors::kWhite); in raster_tests()
122 readbackPM.erase(SkColors::kTransparent); in raster_tests()
135 srcPM.erase(SkColors::kWhite); in raster_tests()
149 readbackPM.erase(SkColors::kTransparent); in raster_tests()
195 nativeExpected.erase(SkColors::kWhite); in gpu_tests()
227 nativeActual.erase(SkColors::kTransparent); in gpu_tests()
245 nativeActual.erase(SkColors::kTransparent); in gpu_tests()
256 f32Expected.erase(get_opaque_white_expected_color(test.fChannels)); in gpu_tests()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSetVector.h158 if (set_.erase(X)) { in remove()
161 vector_.erase(I); in remove()
171 iterator erase(iterator I) { in erase() function
174 set_.erase(V); in erase()
182 return vector_.erase(NI); in erase()
204 vector_.erase(I, vector_.end()); in remove_if()
223 set_.erase(back()); in pop_back()
283 set_.erase(Arg); in operator()
DMapVector.h162 Map.erase(Pos); in pop_back()
173 typename VectorType::iterator erase(typename VectorType::iterator Iterator) { in erase() function
174 Map.erase(Iterator->first); in erase()
175 auto Next = Vector.erase(Iterator); in erase()
192 size_type erase(const KeyT &Key) { in erase() function
196 erase(Iterator); in erase()
214 Map.erase(I->first); in remove_if()
226 Vector.erase(O, Vector.end()); in remove_if()
Dilist.h265 iterator erase(iterator where) {
270 iterator erase(pointer IT) { return erase(iterator(IT)); }
271 iterator erase(reference IT) { return erase(iterator(IT)); }
301 iterator erase(iterator first, iterator last) {
303 first = erase(first);
307 void clear() { erase(begin(), end()); }
314 erase(begin());
318 iterator t = end(); erase(--t);
/third_party/skia/docs/examples/
DBitmap_erase.cpp9 bitmap.erase(0x7fff7f3f, SkIRect::MakeWH(1, 1)); in draw()
10 bitmap.erase(0x7f7f3fff, SkIRect::MakeXYWH(0, 1, 1, 1)); in draw()
11 bitmap.erase(0x7f3fff7f, SkIRect::MakeXYWH(1, 0, 1, 1)); in draw()
12 bitmap.erase(0x7f1fbf5f, SkIRect::MakeXYWH(1, 1, 1, 1)); in draw()
DBitmap_tryAllocN32Pixels.cpp10 bitmap.erase(0x7f3f7fff, SkIRect::MakeWH(50, 30)); in draw()
11 bitmap.erase(0x3f7fff3f, SkIRect::MakeXYWH(20, 10, 50, 30)); in draw()
12 bitmap.erase(0x5fff3f7f, SkIRect::MakeXYWH(40, 20, 50, 30)); in draw()
DColor_Constants_b.cpp13 pixmap.erase(SK_ColorTRANSPARENT); in draw()
14 pixmap.erase(SK_ColorRED, { 24, 24, 192, 192 } ); in draw()
15 pixmap.erase(SK_ColorTRANSPARENT, { 48, 48, 168, 168 } ); in draw()
/third_party/littlefs/scripts/
Dtracebd.py242 def erase(self): member in Block
268 erase=True, argument
318 if erase and self.erased:
392 def erase(self, block=None, off=None, size=None): member in Bd
393 self._op(Block.erase, block, off, size)
453 erase=False, argument
512 or (erase and b.erased)
513 or (not read and not prog and not erase
523 erase=erase,
536 or (erase and b.erased)
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DSerialMapTests.cpp45 expectedValues.erase(expectedValues.begin()); in TEST()
75 expectedValues.erase(expectedValues.begin()); in TEST()
96 expectedValues.erase(expectedValues.begin()); in TEST()
117 expectedValues.erase(expectedValues.begin()); in TEST()
140 expectedValues.erase(expectedValues.begin()); in TEST()
180 expectedValues.erase(expectedValues.begin()); in TEST()
DSerialQueueTests.cpp45 expectedValues.erase(expectedValues.begin()); in TEST()
75 expectedValues.erase(expectedValues.begin()); in TEST()
96 expectedValues.erase(expectedValues.begin()); in TEST()
121 expectedValues.erase(expectedValues.begin()); in TEST()
172 expectedValues.erase(expectedValues.begin()); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_fixed.cc124 abbr.erase(0, prefix_len); // +99:99:99 in FixedOffsetToAbbr()
125 abbr.erase(6, 1); // +99:9999 in FixedOffsetToAbbr()
126 abbr.erase(3, 1); // +999999 in FixedOffsetToAbbr()
128 abbr.erase(5, 2); // +9999 in FixedOffsetToAbbr()
130 abbr.erase(3, 2); // +99 in FixedOffsetToAbbr()
/third_party/vixl/test/
Dtest-invalset.cc109 set.erase(Obj(-123, 456)); in TEST()
144 TEST(erase) { in TEST() argument
151 set.erase(Obj(2718, 0)); in TEST()
157 set.erase(Obj(2718, 0)); in TEST()
166 set.erase(Obj(100, -1)); in TEST()
169 set.erase(set.GetMinElement()); in TEST()
202 set.erase(Obj(0, 0)); in TEST()
204 set.erase(set.GetMinElement()); in TEST()
263 size_t erased = set.erase(to_erase.back()); in TEST()
332 size_t erased = set.erase(to_erase.back()); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Dilist.h280 iterator erase(iterator where) {
285 iterator erase(pointer IT) { return erase(iterator(IT)); }
286 iterator erase(reference IT) { return erase(iterator(IT)); }
316 iterator erase(iterator first, iterator last) {
318 first = erase(first);
322 void clear() { erase(begin(), end()); }
329 erase(begin());
333 iterator t = end(); erase(--t);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTrace.h98 iterator erase(iterator q) { return BasicBlocks.erase (q); } in erase() function
99 iterator erase(iterator q1, iterator q2) { return BasicBlocks.erase (q1, q2); } in erase() function
DDominanceFrontierImpl.h53 I->second.erase(BB); in removeBlock()
54 Frontiers.erase(BB); in removeBlock()
62 I->second.erase(Node); in addToFrontier()
70 I->second.erase(Node); in removeFromFrontier()
84 if (tmpSet.erase(Node) == 0) in compareDomSet()
119 tmpFrontiers.erase(Node); in compare()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/Disassembler/
DHexagonDisassembler.cpp203 MI.erase(MI.begin () + 1); in remapInstruction()
204 MI.erase(MI.begin ()); in remapInstruction()
211 MI.erase(MI.begin () + 1); in remapInstruction()
212 MI.erase(MI.begin ()); in remapInstruction()
219 MI.erase(MI.begin () + 1); in remapInstruction()
220 MI.erase(MI.begin ()); in remapInstruction()
227 MI.erase(MI.begin () + 2); in remapInstruction()
228 MI.erase(MI.begin ()); in remapInstruction()
235 MI.erase(MI.begin () + 2); in remapInstruction()
236 MI.erase(MI.begin ()); in remapInstruction()
[all …]
/third_party/skia/include/core/
DSkPixmap.h674 bool erase(SkColor color, const SkIRect& subset) const;
683 bool erase(SkColor color) const { return this->erase(color, this->bounds()); } in erase() function
696 bool erase(const SkColor4f& color, const SkIRect* subset = nullptr) const {
697 return this->erase(color, nullptr, subset);
710 bool erase(const SkColor4f& color, SkColorSpace* cs, const SkIRect* subset = nullptr) const;
/third_party/gn/src/gn/
Dpointer_set_unittest.cc93 EXPECT_TRUE(set.erase(kFoo1)); in TEST()
96 EXPECT_FALSE(set.erase(kFoo1)); in TEST()
99 EXPECT_TRUE(set.erase(kFoo2)); in TEST()
102 EXPECT_FALSE(set.erase(kFoo2)); in TEST()
105 EXPECT_TRUE(set.erase(kFoo3)); in TEST()
108 EXPECT_FALSE(set.erase(kFoo3)); in TEST()

12345678910>>...56