/third_party/json/test/src/ |
D | unit-reference_access.cpp | 58 auto& p1 = value.get_ref<test_type&>(); 62 const auto& p2 = value.get_ref<const test_type&>(); 67 CHECK_NOTHROW(value.get_ref<json::object_t&>()); 68 CHECK_THROWS_AS(value.get_ref<json::array_t&>(), json::type_error&); 69 CHECK_THROWS_WITH(value.get_ref<json::array_t&>(), 71 CHECK_THROWS_AS(value.get_ref<json::string_t&>(), json::type_error&); 72 CHECK_THROWS_WITH(value.get_ref<json::string_t&>(), 74 CHECK_THROWS_AS(value.get_ref<json::boolean_t&>(), json::type_error&); 75 CHECK_THROWS_WITH(value.get_ref<json::boolean_t&>(), 77 CHECK_THROWS_AS(value.get_ref<json::number_integer_t&>(), json::type_error&); [all …]
|
D | unit-constructor1.cpp | 1123 const auto* target_addr = j[0].get_ref<std::string const&>().data(); 1134 const auto* target_addr = j["key"].get_ref<std::string const&>().data(); 1145 const auto* target_addr = j.get_ref<json::object_t&>().begin()->first.data(); 1158 const auto* target_addr = j[0].get_ref<json::array_t const&>().data(); 1168 const auto* target_addr = j["key"].get_ref<json::array_t const&>().data(); 1178 const auto* target_addr = j[0].get_ref<json::array_t const&>().data(); 1188 const auto* target_addr = j["key"].get_ref<json::array_t const&>().data(); 1201 CHECK(&(j[0].get_ref<json::object_t const&>().at("hello")) == source_addr); 1209 CHECK(&(j["key"].get_ref<json::object_t const&>().at("hello")) == source_addr); 1217 CHECK(&(j[0].get_ref<json::object_t const&>().at("hello")) == source_addr); [all …]
|
D | unit-msgpack.cpp | 213 … j.get_ref<json::number_integer_t&>() = static_cast<json::number_integer_t>(i); 244 … j.get_ref<json::number_integer_t&>() = static_cast<json::number_integer_t>(i); 278 … j.get_ref<json::number_integer_t&>() = static_cast<json::number_integer_t>(i); 316 … j.get_ref<json::number_integer_t&>() = static_cast<json::number_integer_t>(i); 359 … j.get_ref<json::number_integer_t&>() = static_cast<json::number_integer_t>(i);
|
/third_party/flutter/skia/src/utils/ |
D | SkLua.cpp | 109 template <typename T> T* get_ref(lua_State* L, int index) { in get_ref() function 423 get_ref<SkCanvas>(L, 1)->clear(0); in lcanvas_clear() 428 get_ref<SkCanvas>(L, 1)->drawColor(lua2color(L, 2)); in lcanvas_drawColor() 433 get_ref<SkCanvas>(L, 1)->drawPaint(*get_obj<SkPaint>(L, 2)); in lcanvas_drawPaint() 441 get_ref<SkCanvas>(L, 1)->drawRect(rect, *paint); in lcanvas_drawRect() 447 get_ref<SkCanvas>(L, 1)->drawOval(*lua2rect(L, 2, &rect), in lcanvas_drawOval() 453 get_ref<SkCanvas>(L, 1)->drawCircle(lua2scalar(L, 2), in lcanvas_drawCircle() 475 SkCanvas* canvas = get_ref<SkCanvas>(L, 1); in lcanvas_drawImage() 476 SkImage* image = get_ref<SkImage>(L, 2); in lcanvas_drawImage() 489 SkCanvas* canvas = get_ref<SkCanvas>(L, 1); in lcanvas_drawImageRect() [all …]
|
/third_party/json/doc/mkdocs/docs/api/basic_json/ |
D | get_ref.md | 1 # basic_json::get_ref 5 ReferenceType get_ref(); 8 const ReferenceType get_ref() const; 33 match the stored JSON value type; example: `"incompatible ReferenceType for get_ref, actual type is… 49 The example shows several calls to `get_ref()`. 52 --8<-- "examples/get_ref.cpp" 58 --8<-- "examples/get_ref.output"
|
D | index.md | 138 - [**get_ref**](get_ref.md) - get a reference value
|
/third_party/json/doc/examples/ |
D | get_ref.cpp | 12 auto r1 = value.get_ref<const json::number_integer_t&>(); in main() 13 auto r2 = value.get_ref<json::number_integer_t&>(); in main() 21 auto r3 = value.get_ref<json::number_float_t&>(); in main()
|
D | get_ref.output | 2 [json.exception.type_error.303] incompatible ReferenceType for get_ref, actual type is number
|
/third_party/rust/crates/pin-project-lite/tests/expand/naming/ |
D | enum-ref.expanded.rs | 32 match self.get_ref() { in project_ref()
|
D | struct-none.expanded.rs | 56 let Self { pinned, unpinned } = self.get_ref(); in project_ref()
|
D | struct-mut.expanded.rs | 56 let Self { pinned, unpinned } = self.get_ref(); in project_ref()
|
D | struct-ref.expanded.rs | 56 let Self { pinned, unpinned } = self.get_ref(); in project_ref()
|
D | enum-all.expanded.rs | 74 match self.get_ref() { in project_ref()
|
D | struct-all.expanded.rs | 65 let Self { pinned, unpinned } = self.get_ref(); in project_ref()
|
/third_party/json/include/nlohmann/detail/ |
D | hash.hpp | 74 const auto h = std::hash<string_t> {}(j.template get_ref<const string_t&>()); in hash()
|
/third_party/rust/crates/pin-project-lite/tests/expand/pub/ |
D | enum.expanded.rs | 62 match self.get_ref() { in project_ref()
|
D | struct.expanded.rs | 56 let Self { pinned, unpinned } = self.get_ref(); in project_ref()
|
/third_party/rust/crates/pin-project-lite/tests/expand/default/ |
D | struct.expanded.rs | 56 let Self { pinned, unpinned } = self.get_ref(); in project_ref()
|
D | enum.expanded.rs | 74 match self.get_ref() { in project_ref()
|
/third_party/rust/crates/pin-project-lite/tests/expand/pinned_drop/ |
D | enum.expanded.rs | 63 match self.get_ref() { in project_ref()
|
D | struct.expanded.rs | 57 let Self { pinned, unpinned } = self.get_ref(); in project_ref()
|
/third_party/rust/crates/termcolor/src/ |
D | lib.rs | 539 let locked = match *stream.wtr.get_ref() { in from_stream() 552 let locked = match *stream.wtr.get_ref() { in from_stream() 1027 let mut stream = self.stream.wrap(self.stream.get_ref().lock()); in print() 1265 pub fn get_ref(&self) -> &W { in get_ref() method 1326 pub fn get_ref(&self) -> &W { in get_ref() method 2118 fn get_ref(&self) -> &W { in get_ref() method
|
/third_party/rust/crates/pin-project-lite/tests/expand/multifields/ |
D | struct.expanded.rs | 85 } = self.get_ref(); in project_ref()
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
D | mod.rs | 3341 pub fn get_ref(&self) -> &S { in get_ref() method 3342 self.stream.get_ref() in get_ref() 3414 .field("stream", &self.get_ref()) in fmt() 3709 pub fn get_ref(&self) -> &S { in get_ref() method 3712 bio::get_ref(bio) in get_ref() 3938 pub fn get_ref(&self) -> &S { in get_ref() method 3941 bio::get_ref(bio) in get_ref()
|
/third_party/rust/crates/pin-project-lite/src/ |
D | lib.rs | 445 [project_ref get_ref] 563 [project_ref get_ref]
|