Home
last modified time | relevance | path

Searched refs:get_ptr (Results 1 - 12 of 12) sorted by relevance

/third_party/json/tests/src/
H A Dunit-pointer_access.cpp22 test_type* p1 = value.get_ptr<test_type*>();
23 CHECK(p1 == value.get_ptr<test_type*>());
26 const test_type* p2 = value.get_ptr<const test_type*>();
27 CHECK(p2 == value.get_ptr<const test_type*>());
30 const test_type* const p3 = value.get_ptr<const test_type* const>();
31 CHECK(p3 == value.get_ptr<const test_type* const>());
35 CHECK(value.get_ptr<json::object_t*>() != nullptr);
36 CHECK(value.get_ptr<json::array_t*>() == nullptr);
37 CHECK(value.get_ptr<json::string_t*>() == nullptr);
38 CHECK(value.get_ptr<jso
[all...]
H A Dunit-reference_access.cpp38 CHECK(&p1 == value.get_ptr<test_type*>());
42 CHECK(&p2 == value.get_ptr<const test_type*>());
71 CHECK(&p2 == value.get_ptr<const test_type*>());
82 CHECK(&p1 == value.get_ptr<test_type*>());
86 CHECK(&p2 == value.get_ptr<const test_type*>());
112 CHECK(&p1 == value.get_ptr<test_type*>());
116 CHECK(&p2 == value.get_ptr<const test_type*>());
142 CHECK(&p1 == value.get_ptr<test_type*>());
146 CHECK(&p2 == value.get_ptr<const test_type*>());
172 CHECK(&p1 == value.get_ptr<test_typ
[all...]
/third_party/json/docs/examples/
H A Dget_ptr.cpp12 auto p1 = value.get_ptr<const json::number_integer_t*>(); in main()
13 auto p2 = value.get_ptr<json::number_integer_t*>(); in main()
14 auto p3 = value.get_ptr<json::number_integer_t* const>(); in main()
15 auto p4 = value.get_ptr<const json::number_integer_t* const>(); in main()
16 auto p5 = value.get_ptr<json::number_float_t*>(); in main()
/third_party/json/include/nlohmann/detail/conversions/
H A Dfrom_json.hpp57 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_unsigned_t*>()); in get_arithmetic_value()
62 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_integer_t*>()); in get_arithmetic_value()
67 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_float_t*>()); in get_arithmetic_value()
90 b = *j.template get_ptr<const typename BasicJsonType::boolean_t*>(); in from_json()
100 s = *j.template get_ptr<const typename BasicJsonType::string_t*>(); in from_json()
117 s = *j.template get_ptr<const typename BasicJsonType::string_t*>(); in from_json()
196 arr = *j.template get_ptr<const typename BasicJsonType::array_t*>(); in from_json_array_impl()
303 bin = *j.template get_ptr<const typename BasicJsonType::binary_t*>(); in from_json()
316 const auto* inner_object = j.template get_ptr<const typename BasicJsonType::object_t*>(); in from_json()
346 val = static_cast<ArithmeticType>(*j.template get_ptr<cons in from_json()
[all...]
/third_party/alsa-lib/src/alisp/
H A Dalisp_snd.c102 static const void *get_ptr(struct alisp_instance * instance, in get_ptr() function
327 handle = (void *)get_ptr(instance, p1, prefix1); in FA_int_pp_p()
354 handle = (void *)get_ptr(instance, p1, item->prefix); in FA_p_p()
369 handle = (void *)get_ptr(instance, p1, item->prefix); in FA_int_p()
383 handle = (void *)get_ptr(instance, p1, item->prefix); in FA_str_p()
455 handle = (snd_ctl_t *)get_ptr(instance, p1, item->prefix); in FA_card_info()
530 handle = (snd_hctl_t *)get_ptr(instance, car(args), item->prefix); in FA_hctl_find_elem()
557 handle = (snd_hctl_elem_t *)get_ptr(instance, p1, item->prefix); in FA_hctl_elem_info()
636 handle = (snd_hctl_elem_t *)get_ptr(instance, p1, item->prefix); in FA_hctl_elem_read()
700 handle = (snd_hctl_elem_t *)get_ptr(instanc in FA_hctl_elem_write()
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_lower_phis.cpp327 insert_before_logical_end(pred, bld.copy(Definition(tmp), phi_src).get_ptr()); in lower_subdword_phis()
331 .get_ptr()); in lower_subdword_phis()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_transfer.c619 get_ptr(struct nv30_rect *rect) in get_ptr() function
633 get_ptr_t sp = get_ptr(src); in nv30_transfer_rect_cpu()
634 get_ptr_t dp = get_ptr(dst); in nv30_transfer_rect_cpu()
/third_party/json/include/nlohmann/
H A Djson.hpp1512 // delegate the call to get_ptr<>() in get_ref_impl()
1513 auto* ptr = obj.template get_ptr<typename std::add_pointer<ReferenceType>::type>(); in get_ref_impl()
1529 /// @sa https://json.nlohmann.me/api/basic_json/get_ptr/
1532 auto get_ptr() noexcept -> decltype(std::declval<basic_json_t&>().get_impl_ptr(std::declval<PointerType>())) in declval()
1539 /// @sa https://json.nlohmann.me/api/basic_json/get_ptr/
1543 constexpr auto get_ptr() const noexcept -> decltype(std::declval<const basic_json_t&>().get_impl_ptr(std::declval<PointerType>())) in declval()
1697 -> decltype(std::declval<const basic_json_t&>().template get_ptr<PointerType>()) in get_ptr() function in basic_json
1699 // delegate the call to get_ptr in get_ptr()
1700 return get_ptr<PointerType>(); in get_ptr()
1766 @sa see @ref get_ptr() fo
1772 auto get() noexcept -> decltype(std::declval<basic_json_t&>().template get_ptr<PointerType>()) get_ptr() function in basic_json
[all...]
/third_party/rust/crates/regex/src/
H A Ddfa.rs1164 if let Some(si) = self.cache.compiled.get_ptr(&key) { in cached_state()
1325 if let Some(si) = self.cache.compiled.get_ptr(&state) { in restore_state()
1620 fn get_ptr(&self, state: &State) -> Option<StatePtr> { in get_ptr() functions
/third_party/json/tests/abi/include/nlohmann/
H A Djson_v3_10_5.hpp3854 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_unsigned_t*>());
3859 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_integer_t*>());
3864 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_float_t*>());
3887 b = *j.template get_ptr<const typename BasicJsonType::boolean_t*>();
3897 s = *j.template get_ptr<const typename BasicJsonType::string_t*>();
3914 s = *j.template get_ptr<const typename BasicJsonType::string_t*>();
3991 arr = *j.template get_ptr<const typename BasicJsonType::array_t*>();
4098 bin = *j.template get_ptr<const typename BasicJsonType::binary_t*>();
4111 const auto* inner_object = j.template get_ptr<const typename BasicJsonType::object_t*>();
4141 val = static_cast<ArithmeticType>(*j.template get_ptr<cons
[all...]
/third_party/json/single_include/nlohmann/
H A Djson.hpp4613 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_unsigned_t*>()); in get_arithmetic_value()
4618 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_integer_t*>()); in get_arithmetic_value()
4623 val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_float_t*>()); in get_arithmetic_value()
4646 b = *j.template get_ptr<const typename BasicJsonType::boolean_t*>(); in from_json()
4656 s = *j.template get_ptr<const typename BasicJsonType::string_t*>(); in from_json()
4673 s = *j.template get_ptr<const typename BasicJsonType::string_t*>(); in from_json()
4752 arr = *j.template get_ptr<const typename BasicJsonType::array_t*>(); in from_json_array_impl()
4859 bin = *j.template get_ptr<const typename BasicJsonType::binary_t*>(); in from_json()
4872 const auto* inner_object = j.template get_ptr<const typename BasicJsonType::object_t*>(); in from_json()
4902 val = static_cast<ArithmeticType>(*j.template get_ptr<cons in from_json()
[all...]
/third_party/json/docs/docset/
H A DdocSet.sql55 INSERT INTO searchIndex(name, type, path) VALUES ('basic_json::get_ptr', 'Method', 'api/basic_json/get_ptr/index.html');

Completed in 38 milliseconds