Home
last modified time | relevance | path

Searched refs:value_type (Results 1 – 25 of 72) sorted by relevance

123

/openbmc/bmcweb/test/http/
H A Dhttp_body_test.cpp28 HttpBody::value_type value("teststring"); in TEST()
30 HttpBody::value_type value2(std::move(value)); in TEST()
38 HttpBody::value_type value; in TEST()
41 HttpBody::value_type value2 = std::move(value); in TEST()
49 HttpBody::value_type value; in TEST()
52 HttpBody::value_type value2(value); in TEST()
60 HttpBody::value_type value; in TEST()
63 HttpBody::value_type value2 = value; in TEST()
71 HttpBody::value_type value(EncodingType::Base64); in TEST()
78 HttpBody::value_type value2(std::move(value)); in TEST()
[all …]
/openbmc/bmcweb/http/
H A Dhttp_body.hpp40 class value_type;
43 static std::uint64_t size(const value_type& body);
52 class HttpBody::value_type class in bmcweb::HttpBody
59 value_type() = default;
60 explicit value_type(std::string_view s) : strBody(s) {} in value_type() function in bmcweb::HttpBody::value_type
61 explicit value_type(EncodingType e) : encodingType(e) {} in value_type() function in bmcweb::HttpBody::value_type
159 value_type& body;
171 value_type& bodyIn) : body(bodyIn) in writer()
244 value_type& value;
249 value_type& body) : value(body) in reader()
[all …]
H A Drouting.hpp84 for (const Node::ChildMap::value_type& kv : node.children) in optimizeNode()
89 for (const Node::ChildMap::value_type& childKv : in optimizeNode()
108 for (const Node::ChildMap::value_type& kv : node.children) in optimizeNode()
129 for (const Node::ChildMap::value_type& kv : node.children) in findRouteIndexesHelper()
208 for (const Node::ChildMap::value_type& kv : node.children) in findHelper()
310 for (const Node::ChildMap::value_type& kv : n.children) in debugNodePrint()
/openbmc/phosphor-objmgr/src/
H A Dhandler.hpp8 void addObjectMapResult(std::vector<InterfaceMapType::value_type>& objectMap,
10 const ConnectionNames::value_type& interfaceMap);
12 std::vector<InterfaceMapType::value_type> getAncestors(
20 std::vector<InterfaceMapType::value_type> getSubTree(
43 std::vector<InterfaceMapType::value_type> getAssociatedSubTree(
89 std::vector<InterfaceMapType::value_type> getAssociatedSubTreeById(
H A Dhandler.cpp13 void addObjectMapResult(std::vector<InterfaceMapType::value_type>& objectMap, in addObjectMapResult()
15 const ConnectionNames::value_type& interfaceMap) in addObjectMapResult()
32 InterfaceMapType::value_type object; in addObjectMapResult()
39 std::vector<InterfaceMapType::value_type> getAncestors( in getAncestors()
56 std::vector<InterfaceMapType::value_type> ret; in getAncestors()
138 std::vector<InterfaceMapType::value_type> getSubTree( in getSubTree()
165 std::vector<InterfaceMapType::value_type> ret; in getSubTree()
280 std::vector<InterfaceMapType::value_type> getAssociatedSubTree( in getAssociatedSubTree()
296 const std::vector<InterfaceMapType::value_type> interfacePairs = in getAssociatedSubTree()
299 std::vector<InterfaceMapType::value_type> output; in getAssociatedSubTree()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dlinked_maps2.c10 typedef struct my_value { long x; } value_type; typedef
15 __type(value, value_type);
44 value_type val_struct = { .x = 2000 }; in BPF_PROG()
59 value_type *value_struct; in BPF_PROG()
/openbmc/linux/drivers/md/persistent-data/
H A Ddm-array.c102 entry += index * info->value_type.size; in element_at()
116 fn(info->value_type.context, element_at(info, ab, 0), nr_entries); in on_entries()
124 struct dm_btree_value_type *vt = &info->value_type; in inc_ablock_entries()
135 struct dm_btree_value_type *vt = &info->value_type; in dec_ablock_entries()
165 (*ab)->value_size = cpu_to_le32(info->value_type.size); in alloc_ablock()
179 struct dm_btree_value_type *vt = &info->value_type; in fill_ablock()
202 struct dm_btree_value_type *vt = &info->value_type; in trim_ablock()
643 struct dm_btree_value_type *bvt = &info->btree_info.value_type; in dm_array_info_init()
645 memcpy(&info->value_type, vt, sizeof(info->value_type)); in dm_array_info_init()
678 resize.max_entries = calc_max_entries(info->value_type.size, in array_resize()
[all …]
H A Ddm-btree.c142 max_entries = calc_max_entries(info->value_type.size, block_size); in dm_btree_empty()
149 n->header.value_size = cpu_to_le32(info->value_type.size); in dm_btree_empty()
324 if (info->value_type.dec) in dm_btree_del()
325 info->value_type.dec(info->value_type.context, in dm_btree_del()
390 size = info->value_type.size; in dm_btree_lookup()
463 memcpy(value_le, value_ptr(n, i), info->value_type.size); in dm_btree_lookup_next_single()
851 sizeof(__le64) : s->info->value_type.size; in btree_split_beneath()
1164 r = shadow_step(s, root, &s->info->value_type); in __btree_get_overwrite_leaf()
1277 r = btree_insert_raw(&spine, block, &info->value_type, in insert()
1288 r = insert_at(info->value_type.size, n, index, in insert()
[all …]
H A Ddm-btree-remove.c608 &info->value_type : &le64_vt), in dm_btree_remove()
621 if (info->value_type.dec) in dm_btree_remove()
622 info->value_type.dec(info->value_type.context, in dm_btree_remove()
715 r = remove_nearest(&spine, info, &info->value_type, in remove_one()
732 if (info->value_type.dec) in remove_one()
733 info->value_type.dec(info->value_type.context, in remove_one()
H A Ddm-space-map-common.c208 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init()
209 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init()
210 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init()
211 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init()
215 ll->ref_count_info.value_type.size = sizeof(uint32_t); in sm_ll_init()
216 ll->ref_count_info.value_type.inc = NULL; in sm_ll_init()
217 ll->ref_count_info.value_type.dec = NULL; in sm_ll_init()
218 ll->ref_count_info.value_type.equal = NULL; in sm_ll_init()
/openbmc/telemetry/src/utils/
H A Dcontains.hpp22 const typename T::value_type::first_type& key) in contains()
28 inline bool contains(const T& container, const typename T::value_type& key) in contains()
34 inline bool contains(const T& container, const typename T::value_type& key) in contains()
/openbmc/sdbusplus/test/utility/
H A Dtype_traits.cpp41 using value_type = std::pair<int, int>; in TEST() typedef
43 void find(std::tuple_element_t<0, value_type>) {} in TEST()
69 using value_type = std::pair<int, int>; in TEST() typedef
71 void contains(std::tuple_element_t<0, value_type>) {} in TEST()
/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Dproperty.aserver.tag.hpp.mako7 using value_type = ${p_type};
9 explicit ${p_tag}(value_type) {}
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/
H A D0001-liftoff-Correct-function-signatures.patch8 Move(tmp, src, type.value_type());
52 - Move(tmp, src, type.value_type());
53 + Move(tmp, src, type.value_type().kind());
65 - Move(tmp, src, type.value_type());
66 + Move(tmp, src, type.value_type().kind());
/openbmc/phosphor-objmgr/src/test/
H A Dhandler.cpp95 std::vector<InterfaceMapType::value_type> interfaceMaps; in TEST_F()
142 std::vector<InterfaceMapType::value_type> ancestors = in TEST_F()
157 std::vector<InterfaceMapType::value_type> ancestors = in TEST_F()
216 std::vector<InterfaceMapType::value_type> subtree = in TEST_F()
226 void verifySubtree(std::span<InterfaceMapType::value_type> subtree) in verifySubtree()
247 std::vector<InterfaceMapType::value_type> subtree = in TEST_F()
352 std::vector<InterfaceMapType::value_type> subtree = getAssociatedSubTree( in TEST_F()
496 std::vector<InterfaceMapType::value_type> subtree = in TEST_F()
/openbmc/linux/drivers/md/
H A Ddm-thin-metadata.c487 pmd->info.value_type.context = pmd->data_sm; in __setup_btree_details()
488 pmd->info.value_type.size = sizeof(__le64); in __setup_btree_details()
489 pmd->info.value_type.inc = data_block_inc; in __setup_btree_details()
490 pmd->info.value_type.dec = data_block_dec; in __setup_btree_details()
491 pmd->info.value_type.equal = data_block_equal; in __setup_btree_details()
498 pmd->tl_info.value_type.context = &pmd->bl_info; in __setup_btree_details()
499 pmd->tl_info.value_type.size = sizeof(__le64); in __setup_btree_details()
500 pmd->tl_info.value_type.inc = subtree_inc; in __setup_btree_details()
501 pmd->tl_info.value_type.dec = subtree_dec; in __setup_btree_details()
502 pmd->tl_info.value_type.equal = subtree_equal; in __setup_btree_details()
[all …]
/openbmc/phosphor-dbus-monitor/mslverify/
H A Dverify.cpp58 BusMeetsMSL<typename decltype(arg.second)::value_type>(path)); in operator ()()
90 PathMeetsMSL<SubTreeType::value_type>()); in main()
/openbmc/linux/tools/testing/selftests/powerpc/papr_attributes/
H A Dattr_test.c36 static int value_type(int id) in value_type() function
85 attr_type = value_type(id); in verify_energy_info()
/openbmc/phosphor-host-ipmid/
H A Dtransporthandler.hpp182 using value_type = PropertiesCache::value_type; typedef in ipmi::transport::ObjectLookupCache::iterator
188 value_type& operator*() in operator *()
193 value_type* operator->() in operator ->()
/openbmc/openpower-occ-control/
H A Docc_pass_through.cpp58 [](decltype(cmdInBytes)::value_type x) { return x; }); in send()
64 [](decltype(response)::value_type x) { return x; }); in send()
/openbmc/sdbusplus/include/sdbusplus/utility/
H A Dtype_traits.hpp117 ref<std::tuple_element_t<0, typename U::value_type>>()))*);
138 ref<std::tuple_element_t<0, typename U::value_type>>()))*);
/openbmc/bmcweb/redfish-core/include/utils/
H A Djson_utils.hpp239 ret = unpackValueWithErrorCode<typename Type::value_type>( in unpackValueWithErrorCode()
268 ret = unpackValue<typename Type::value_type>(jsonValue, key, res, in unpackValue()
289 ret = unpackValue<typename Type::value_type>(val, key, res, in unpackValue()
307 ret = unpackValue<typename Type::value_type>(val, key, res, in unpackValue()
355 ret = unpackValue<typename Type::value_type>(jsonValue, key, *value) && in unpackValue()
373 ret = unpackValue<typename Type::value_type>(val, key, in unpackValue()
390 ret = unpackValue<typename Type::value_type>(val, key, in unpackValue()
/openbmc/telemetry/src/types/
H A Dreport_types.cpp12 return ReadingParameters::value_type( in toReadingParameters()
/openbmc/linux/security/tomoyo/
H A Dcommon.h530 u8 value_type[2]; member
1248 a->group == b->group && a->value_type[0] == b->value_type[0] && in tomoyo_same_number_union()
1249 a->value_type[1] == b->value_type[1]; in tomoyo_same_number_union()
/openbmc/phosphor-fan-presence/presence/templates/
H A Dgenerated.mako.hpp52 Fans::value_type{ in get()

123