Home
last modified time | relevance | path

Searched refs:object_t (Results 1 – 25 of 47) sorted by relevance

12

/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-serialize.hh66 struct object_t struct
70 bool operator == (const object_t &o) const in operator ==() argument
96 object_t *next; argument
103 object_t *current; // Just for sanity check
120 for (object_t *_ : ++hb_iter (packed)) _->fini (); in fini()
243 object_t *obj = object_pool.alloc (); in push()
257 object_t *obj = current; in pop_discard()
273 object_t *obj = current; in pop_pack()
442 for (const object_t* parent : ++hb_iter (packed)) in resolve_links()
443 for (const object_t::link_t &link : parent->links) in resolve_links()
[all …]
Dhb-repacker.hh58 hb_serialize_context_t::object_t obj;
143 graph_t (const hb_vector_t<hb_serialize_context_t::object_t *>& objects) in graph_t()
198 const hb_serialize_context_t::object_t& object(unsigned i) const in object()
856 const hb_serialize_context_t::object_t::link_t& link) const in compute_offset()
876 const hb_serialize_context_t::object_t::link_t& link) const in is_valid_offset()
904 void reassign_link (hb_serialize_context_t::object_t::link_t& link, in reassign_link()
954 serialize_link_of_type (const hb_serialize_context_t::object_t::link_t& link, in serialize_link_of_type()
968 void serialize_link (const hb_serialize_context_t::object_t::link_t& link, in serialize_link()
1131 hb_resolve_overflows (const hb_vector_t<hb_serialize_context_t::object_t *>& packed, in hb_resolve_overflows()
/third_party/json/docs/mkdocs/docs/api/basic_json/
Dobject_comparator_t.md4 using object_comparator_t = typename object_t::key_compare;
9 The comparator used by [`object_t`](object_t.md). Defined as `#!cpp typename object_t::key_compare`…
31 - Changed to be conditionally defined as `#!cpp typename object_t::key_compare` or `default_object_…
Ddefault_object_comparator_t.md9 The default comparator used by [`object_t`](object_t.md).
14 The actual comparator used depends on [`object_t`](object_t.md) and can be obtained via
Dobject_t.md1 # <small>nlohmann::basic_json::</small>object_t
4 using object_t = ObjectType<StringType,
35 (`std::allocator`), the default value for `object_t` is:
59 The choice of `object_t` influences the behavior of the JSON class. With the default type, objects …
86 `object_t*` must be dereferenced.
100 …The following code shows that `object_t` is by default, a typedef to `#!cpp std::map<json::string_…
103 --8<-- "examples/object_t.cpp"
109 --8<-- "examples/object_t.output"
Dsize.md20 | object | result of function object_t::size() |
29 Constant, as long as [`array_t`](array_t.md) and [`object_t`](object_t.md) satisfy the
Dempty.md20 | object | result of function `object_t::empty()` |
29 Constant, as long as [`array_t`](array_t.md) and [`object_t`](object_t.md) satisfy the
Dmax_size.md21 | object | result of function `object_t::max_size()` |
30 Constant, as long as [`array_t`](array_t.md) and [`object_t`](object_t.md) satisfy the
Dfind.md5 iterator find(const typename object_t::key_type& key);
6 const_iterator find(const typename object_t::key_type& key) const;
17 2. See 1. This overload is only available if `KeyType` is comparable with `#!cpp typename object_t:…
Doperator+=.md9 reference operator+=(const typename object_t::value_type& val);
27 …`init` is converted into an object element and added using `operator+=(const typename object_t::va…
57 interpreted as `object_t::value_type` or `std::initializer_list<basic_json>`, see
Dpush_back.md9 void push_back(const typename object_t::value_type& val);
27 …`init` is converted into an object element and added using `push_back(const typename object_t::val…
53 interpreted as `object_t::value_type` or `std::initializer_list<basic_json>`, see
Dget_ref.md16 : reference type; must be a reference to [`array_t`](array_t.md), [`object_t`](object_t.md),
Dget_ptr.md16 : pointer type; must be a pointer to [`array_t`](array_t.md), [`object_t`](object_t.md), [`string…
Dcount.md5 size_type count(const typename object_t::key_type& key) const;
14 2. See 1. This overload is only available if `KeyType` is comparable with `#!cpp typename object_t:…
/third_party/json/docs/examples/
Dpush_back__object_t__value.cpp17 object.push_back(json::object_t::value_type("three", 3)); in main()
18 object += json::object_t::value_type("four", 4); in main()
19 null += json::object_t::value_type("A", "a"); in main()
20 null += json::object_t::value_type("B", "b"); in main()
/third_party/json/tests/src/
Dunit-reference_access.cpp33 using test_type = json::object_t;
46 CHECK_NOTHROW(value.get_ref<json::object_t&>());
63 using test_type = json::object_t;
90 CHECK_THROWS_WITH_AS(value.get_ref<json::object_t&>(),
120 CHECK_THROWS_WITH_AS(value.get_ref<json::object_t&>(),
150 CHECK_THROWS_WITH_AS(value.get_ref<json::object_t&>(),
180 CHECK_THROWS_WITH_AS(value.get_ref<json::object_t&>(),
210 CHECK_THROWS_WITH_AS(value.get_ref<json::object_t&>(),
239 …CHECK_THROWS_WITH_AS(value.get_ref<json::object_t&>(), "[json.exception.type_error.303] incompatib…
Dunit-pointer_access.cpp18 using test_type = json::object_t;
35 CHECK(value.get_ptr<json::object_t*>() != nullptr);
47 using test_type = const json::object_t;
64 CHECK(value.get_ptr<const json::object_t*>() != nullptr);
93 CHECK(value.get_ptr<json::object_t*>() == nullptr);
122 CHECK(value.get_ptr<const json::object_t*>() == nullptr);
151 CHECK(value.get_ptr<json::object_t*>() == nullptr);
180 CHECK(value.get_ptr<const json::object_t*>() == nullptr);
209 CHECK(value.get_ptr<json::object_t*>() == nullptr);
238 CHECK(value.get_ptr<const json::object_t*>() == nullptr);
[all …]
Dunit-modifiers.cpp220 j.push_back(json::object_t::value_type({"one", 1}));
221 j.push_back(json::object_t::value_type({"two", 2}));
231 j.push_back(json::object_t::value_type({"one", 1}));
232 j.push_back(json::object_t::value_type({"two", 2}));
242 …CHECK_THROWS_WITH_AS(j.push_back(json::object_t::value_type({"one", 1})), "[json.exception.type_er…
448 j += json::object_t::value_type({"one", 1});
449 j += json::object_t::value_type({"two", 2});
459 j += json::object_t::value_type({"one", 1});
460 j += json::object_t::value_type({"two", 2});
470 …CHECK_THROWS_WITH_AS(j += json::object_t::value_type({"one", 1}), "[json.exception.type_error.308]…
[all …]
Dunit-element_access2.cpp511 CHECK(j[typename Json::object_t::key_type("integer")] == j["integer"]);
514 CHECK(j[typename Json::object_t::key_type("unsigned")] == j["unsigned"]);
517 CHECK(j[typename Json::object_t::key_type("boolean")] == j["boolean"]);
520 CHECK(j[typename Json::object_t::key_type("null")] == j["null"]);
523 CHECK(j[typename Json::object_t::key_type("string")] == j["string"]);
526 CHECK(j[typename Json::object_t::key_type("floating")] == j["floating"]);
529 CHECK(j[typename Json::object_t::key_type("object")] == j["object"]);
532 CHECK(j[typename Json::object_t::key_type("array")] == j["array"]);
535 CHECK(j_const[typename Json::object_t::key_type("integer")] == j["integer"]);
538 CHECK(j_const[typename Json::object_t::key_type("boolean")] == j["boolean"]);
[all …]
Dunit-constructor1.cpp127 json::object_t o;
134 …json::object_t o {{"a", json(1)}, {"b", json(1u)}, {"c", json(2.2)}, {"d", json(false)}, {"e", jso…
143 …json::object_t o_reference {{"a", json(1)}, {"b", json(1u)}, {"c", json(2.2)}, {"d", json(false)},…
952 json j(json::initializer_list_t {json(json::object_t())});
958 json j {json::object_t()};
1043 … json j(json::initializer_list_t {1, 1u, 42.23, true, nullptr, json::object_t(), json::array_t()});
1049 json j {1, 1u, 42.23, true, nullptr, json::object_t(), json::array_t()};
1134 const auto* target_addr = j.get_ref<json::object_t&>().begin()->first.data();
1187 json::object_t source = {{"hello", "world"}};
1190 CHECK(&(j[0].get_ref<json::object_t const&>().at("hello")) == source_addr);
[all …]
Dunit-conversions.cpp39 json::object_t o_reference = {{"object", json::object()},
50 json::object_t o = j.get<json::object_t>();
85 json(json::value_t::null).get<json::object_t>(),
88 json(json::value_t::array).get<json::object_t>(),
91 json(json::value_t::string).get<json::object_t>(),
93 CHECK_THROWS_WITH_AS(json(json::value_t::boolean).get<json::object_t>(),
97 json(json::value_t::number_integer).get<json::object_t>(),
100 json(json::value_t::number_unsigned).get<json::object_t>(),
103 json(json::value_t::number_float).get<json::object_t>(),
110 json::object_t o_reference = {{"object", json::object()},
[all …]
/third_party/json/include/nlohmann/detail/meta/
Dtype_traits.hpp175 using object_t = typename BasicJsonType::object_t; typedef
177 using type = typename std::conditional < has_key_compare<object_t>::value,
178 typename object_t::key_compare, object_comparator_t>::type;
300 using object_t = typename BasicJsonType::object_t; typedef
304 is_constructible<typename object_t::key_type,
306 is_constructible<typename object_t::mapped_type,
324 using object_t = typename BasicJsonType::object_t; typedef
331 typename object_t::key_type>::value &&
333 typename object_t::mapped_type,
543 typename BasicJsonType::object_t::key_type, KeyTypeCVRef,
[all …]
/third_party/json/include/nlohmann/
Djson.hpp333 using object_t = ObjectType<StringType, typedef in basic_json
426 object_t* object;
459 object = create<object_t>(); in json_value()
531 json_value(const object_t& value) : object(create<object_t>(value)) {} in json_value()
534 json_value(object_t&& value) : object(create<object_t>(std::move(value))) {} in json_value()
609 AllocatorType<object_t> alloc; in destroy()
764 if (detail::is_ordered_map<object_t>::value) in set_parent()
846 using other_object_t = typename BasicJsonType::object_t; in basic_json()
1094 m_value.object = create<object_t>(first.m_it.object_iterator, in basic_json()
1403 object_t* get_impl_ptr(object_t* /*unused*/) noexcept in get_impl_ptr() argument
[all …]
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-object.c137 } object_t; typedef
165 static const object_t objects[] =
213 const object_t *klass;
232 const object_t *o = &objects[i]; in test_object()
/third_party/json/include/nlohmann/detail/conversions/
Dto_json.hpp225 static void construct(BasicJsonType& j, const typename BasicJsonType::object_t& obj) in construct()
235 static void construct(BasicJsonType& j, typename BasicJsonType::object_t&& obj) in construct()
245 …enable_if_t < !std::is_same<CompatibleObjectType, typename BasicJsonType::object_t>::value, int > …
253 … j.m_value.object = j.template create<typename BasicJsonType::object_t>(begin(obj), end(obj)); in construct()
373 inline void to_json(BasicJsonType& j, typename BasicJsonType::object_t&& obj) in to_json()

12