/systemd-251/src/network/ |
D | networkd-json.c | 66 JsonVariant **elements; in addresses_build_json() local 78 elements = new(JsonVariant*, set_size(addresses)); in addresses_build_json() 79 if (!elements) in addresses_build_json() 83 r = address_build_json(address, elements + n); in addresses_build_json() 89 …build(ret, JSON_BUILD_OBJECT(JSON_BUILD_PAIR("Addresses", JSON_BUILD_VARIANT_ARRAY(elements, n)))); in addresses_build_json() 92 json_variant_unref_many(elements, n); in addresses_build_json() 93 free(elements); in addresses_build_json() 123 JsonVariant **elements; in neighbors_build_json() local 135 elements = new(JsonVariant*, set_size(neighbors)); in neighbors_build_json() 136 if (!elements) in neighbors_build_json() [all …]
|
/systemd-251/src/sysupdate/ |
D | sysupdate-pattern.c | 35 LIST_FIELDS(PatternElement, elements); 42 while ((p = LIST_POP(elements, e))) in pattern_element_free_all() 141 LIST_INSERT_AFTER(elements, first, last, z); in pattern_split() 168 LIST_INSERT_AFTER(elements, first, last, z); in pattern_split() 191 _cleanup_(pattern_element_free_allp) PatternElement *elements = NULL; in pattern_match() 198 r = pattern_split(pattern, &elements); in pattern_match() 203 LIST_FOREACH(elements, e, elements) { in pattern_match() 453 _cleanup_(pattern_element_free_allp) PatternElement *elements = NULL; in pattern_format() 461 r = pattern_split(pattern, &elements); in pattern_format() 465 LIST_FOREACH(elements, e, elements) { in pattern_format()
|
/systemd-251/src/libsystemd/sd-netlink/ |
D | netlink-types.c | 141 assert(type_system_union->elements); in type_system_union_get_type_system_by_string() 146 if (streq(type_system_union->elements[i].name, key)) in type_system_union_get_type_system_by_string() 147 return &type_system_union->elements[i].type_system; in type_system_union_get_type_system_by_string() 154 assert(type_system_union->elements); in type_system_union_get_type_system_by_protocol() 158 if (type_system_union->elements[i].protocol == protocol) in type_system_union_get_type_system_by_protocol() 159 return &type_system_union->elements[i].type_system; in type_system_union_get_type_system_by_protocol()
|
D | netlink-types-internal.h | 29 const NLTypeSystemUnionElement *elements; member 42 .elements = name##_type_systems, \
|
/systemd-251/src/fuzz/ |
D | fuzz-json.c | 67 size_t elements = json_variant_elements(v); in LLVMFuzzerTestOneInput() local 68 log_debug("json_variant_elements: %zu", elements); in LLVMFuzzerTestOneInput() 70 for (size_t i = 0; i <= elements + 2; i++) in LLVMFuzzerTestOneInput()
|
/systemd-251/src/busctl/ |
D | busctl.c | 1644 JsonVariant **elements = NULL; in json_transform_array_or_struct() local 1660 if (!GREEDY_REALLOC(elements, n_elements + 1)) { in json_transform_array_or_struct() 1665 r = json_transform_one(m, elements + n_elements); in json_transform_array_or_struct() 1672 r = json_variant_new_array(ret, elements, n_elements); in json_transform_array_or_struct() 1675 json_variant_unref_many(elements, n_elements); in json_transform_array_or_struct() 1676 free(elements); in json_transform_array_or_struct() 1702 JsonVariant **elements = NULL; in json_transform_dict_array() local 1727 if (!GREEDY_REALLOC(elements, n_elements + 2)) { in json_transform_dict_array() 1738 r = json_transform_one(m, elements + n_elements); in json_transform_dict_array() 1744 r = json_transform_one(m, elements + n_elements); in json_transform_dict_array() [all …]
|
/systemd-251/src/shared/ |
D | format-table.c | 2624 JsonVariant **rows = NULL, **elements = NULL; in table_to_json() local 2658 elements = new0(JsonVariant*, display_columns * 2); in table_to_json() 2659 if (!elements) { in table_to_json() 2695 r = json_variant_new_string(elements + j*2, n); in table_to_json() 2721 elements[k] = json_variant_unref(elements[k]); in table_to_json() 2723 r = table_data_to_json(d, elements + k); in table_to_json() 2728 r = json_variant_new_object(rows + i - 1, elements, display_columns * 2); in table_to_json() 2741 if (elements) { in table_to_json() 2742 json_variant_unref_many(elements, display_columns*2); in table_to_json() 2743 free(elements); in table_to_json()
|
D | json.c | 2791 JsonVariant **elements; member 2801 json_variant_unref_many(s->elements, s->n_elements); in json_stack_release() 2802 s->elements = mfree(s->elements); in json_stack_release() 2933 r = json_variant_new_object(&add, current->elements, current->n_elements); in json_parse_internal() 2983 r = json_variant_new_array(&add, current->elements, current->n_elements); in json_parse_internal() 3135 if (!GREEDY_REALLOC(current->elements, current->n_elements + 1)) { in json_parse_internal() 3140 current->elements[current->n_elements++] = TAKE_PTR(add); in json_parse_internal() 3148 *ret = json_variant_ref(stack[0].elements[0]); in json_parse_internal() 3516 … r = json_variant_new_array(&add, current->elements, current->n_elements); in json_buildv() 3742 … r = json_variant_new_object(&add, current->elements, current->n_elements); in json_buildv() [all …]
|
/systemd-251/hwdb.d/ |
D | ma-small.txt | 27803 70-B3-D5 (hex) elements 27804 62D000-62DFFF (base 16) elements
|
D | 20-OUI.hwdb | 75129 ID_OUI_FROM_DATABASE=elements 98844 ID_OUI_FROM_DATABASE=RF elements s.r.o.
|
D | ma-large.txt | 165260 A4-38-31 (hex) RF elements s.r.o. 165261 A43831 (base 16) RF elements s.r.o.
|