Searched refs:ops (Results 1 - 7 of 7) sorted by relevance

/systemd/src/basic/
H A Dordered-set.h26 static inline OrderedSet* ordered_set_new(const struct hash_ops *ops) { argument
27 return (OrderedSet*) ordered_hashmap_new(ops);
30 static inline int ordered_set_ensure_allocated(OrderedSet **s, const struct hash_ops *ops) { argument
34 *s = ordered_set_new(ops);
H A Dset.h26 #define set_new(ops) internal_set_new(ops HASHMAP_DEBUG_SRC_ARGS)
45 #define set_ensure_allocated(h, ops) internal_set_ensure_allocated(h, ops HASHMAP_DEBUG_SRC_ARGS)
H A Dhashmap.h104 #define hashmap_new(ops) internal_hashmap_new(ops HASHMAP_DEBUG_SRC_ARGS)
105 #define ordered_hashmap_new(ops) internal_ordered_hashmap_new(ops HASHMAP_DEBUG_SRC_ARGS)
138 #define hashmap_ensure_allocated(h, ops) internal_hashmap_ensure_allocated(h, ops HASHMAP_DEBUG_SRC_ARGS)
139 #define ordered_hashmap_ensure_allocated(h, ops) internal_ordered_hashmap_ensure_allocated(h, ops HASHMAP_DEBUG_SRC_ARGS)
/systemd/src/libsystemd/sd-bus/
H A Dbusctl-introspect.h32 int parse_xml_introspect(const char *prefix, const char *xml, const XMLIntrospectOps *ops, void *userdata);
H A Dbusctl-introspect.c31 const XMLIntrospectOps *ops; member in struct:Context
259 if (context->ops->on_path) {
260 r = context->ops->on_path(node_path ? node_path : np, context->userdata);
332 if (context->ops->on_interface) {
333 r = context->ops->on_interface(context->interface_name, context->interface_flags, context->userdata);
391 if (context->ops->on_method) {
392 r = context->ops->on_method(context->interface_name, context->member_name, context->member_signature, context->member_result, context->member_flags, context->userdata);
541 if (context->ops->on_signal) {
542 r = context->ops->on_signal(context->interface_name, context->member_name, context->member_signature, context->member_flags, context->userdata);
670 if (context->ops
741 parse_xml_introspect(const char *prefix, const char *xml, const XMLIntrospectOps *ops, void *userdata) argument
[all...]
H A Dbusctl.c331 static const XMLIntrospectOps ops = { local
353 return parse_xml_introspect(path, xml, &ops, paths);
861 static const XMLIntrospectOps ops = { local
905 r = parse_xml_introspect(argv[2], xml, &ops, members);
/systemd/src/test/
H A Dtest-hashmap-plain.c711 const struct hash_ops *ops; member in struct:__anon312
714 { .ops = NULL, .n_entries = 1 << 20 },
715 { .ops = &crippled_hashmap_ops, .n_entries = 1 << 14 },
720 assert_se(h = hashmap_new(tests[j].ops));

Completed in 1256 milliseconds