Home
last modified time | relevance | path

Searched refs:unionp (Results 1 – 25 of 29) sorted by relevance

12

/dports/devel/avro-c/avro-c-1.11.0/src/
H A Ddatum.c442 avro_schema_t schema = unionp->schema; in avro_union_set_discriminant()
455 if (unionp->value != NULL) { in avro_union_set_discriminant()
456 avro_datum_decref(unionp->value); in avro_union_set_discriminant()
457 unionp->value = NULL; in avro_union_set_discriminant()
460 unionp->discriminant = discriminant; in avro_union_set_discriminant()
464 if (unionp->value == NULL) { in avro_union_set_discriminant()
469 *branch = unionp->value; in avro_union_set_discriminant()
1143 struct avro_union_datum_t *unionp; in avro_datum_free() local
1146 avro_datum_decref(unionp->value); in avro_datum_free()
1225 struct avro_union_datum_t *unionp; in avro_datum_reset() local
[all …]
H A Dschema.c189 struct avro_union_schema_t *unionp; in avro_schema_free() local
190 unionp = avro_schema_to_union(schema); in avro_schema_free()
193 st_free_table(unionp->branches); in avro_schema_free()
194 st_free_table(unionp->branches_byname); in avro_schema_free()
195 avro_freet(struct avro_union_schema_t, unionp); in avro_schema_free()
392 int new_index = unionp->branches->num_entries; in avro_schema_union_append()
395 st_insert(unionp->branches_byname, (st_data_t) name, in avro_schema_union_append()
406 return unionp->branches->num_entries; in avro_schema_union_size()
416 if (st_lookup(avro_schema_to_union(unionp)->branches, in avro_schema_union_branch()
1806 for (i = 0; i < unionp->branches->num_entries; i++) { in write_union()
[all …]
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/avro/src/
H A Ddatum.c442 avro_schema_t schema = unionp->schema; in avro_union_set_discriminant()
455 if (unionp->value != NULL) { in avro_union_set_discriminant()
456 avro_datum_decref(unionp->value); in avro_union_set_discriminant()
457 unionp->value = NULL; in avro_union_set_discriminant()
460 unionp->discriminant = discriminant; in avro_union_set_discriminant()
464 if (unionp->value == NULL) { in avro_union_set_discriminant()
469 *branch = unionp->value; in avro_union_set_discriminant()
1143 struct avro_union_datum_t *unionp; in avro_datum_free() local
1146 avro_datum_decref(unionp->value); in avro_datum_free()
1225 struct avro_union_datum_t *unionp; in avro_datum_reset() local
[all …]
H A Dschema.c189 struct avro_union_schema_t *unionp; in avro_schema_free() local
190 unionp = avro_schema_to_union(schema); in avro_schema_free()
193 st_free_table(unionp->branches); in avro_schema_free()
194 st_free_table(unionp->branches_byname); in avro_schema_free()
195 avro_freet(struct avro_union_schema_t, unionp); in avro_schema_free()
392 int new_index = unionp->branches->num_entries; in avro_schema_union_append()
395 st_insert(unionp->branches_byname, (st_data_t) name, in avro_schema_union_append()
406 return unionp->branches->num_entries; in avro_schema_union_size()
416 if (st_lookup(avro_schema_to_union(unionp)->branches, in avro_schema_union_branch()
1806 for (i = 0; i < unionp->branches->num_entries; i++) { in write_union()
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/lang/gcc8/gcc-8.5.0/libobjc/
H A Dencoding.c1108 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1114 if (unionp) in objc_layout_structure_next_member()
1133 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1134 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1228 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1230 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1231 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/lang/gcc48/gcc-4.8.5/libobjc/
H A Dencoding.c1112 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1118 if (unionp) in objc_layout_structure_next_member()
1137 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1138 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1232 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1234 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1235 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/lang/gcc11/gcc-11.2.0/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/lang/gcc10/gcc-10.3.0/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/lang/gcc11-devel/gcc-11-20211009/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/lang/gnat_util/gcc-6-20180516/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/devel/avr-gcc/gcc-10.2.0/libobjc/
H A Dencoding.c1110 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1116 if (unionp) in objc_layout_structure_next_member()
1135 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1136 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1230 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1232 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1233 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/lang/gcc9-devel/gcc-9-20211007/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libobjc/
H A Dencoding.c1112 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1118 if (unionp) in objc_layout_structure_next_member()
1137 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1138 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1232 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1234 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1235 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/lang/gcc6-aux/gcc-6-20180516/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/devel/riscv64-gcc/gcc-8.3.0/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/lang/gcc10-devel/gcc-10-20211008/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/lang/gcc9/gcc-9.4.0/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libobjc/
H A Dencoding.c1109 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1115 if (unionp) in objc_layout_structure_next_member()
1134 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1135 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1229 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1231 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1232 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/lang/gcc9-aux/gcc-9.1.0/libobjc/
H A Dencoding.c1110 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1116 if (unionp) in objc_layout_structure_next_member()
1135 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1136 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1230 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1232 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1233 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()
/dports/devel/mingw32-gcc/gcc-4.8.1/libobjc/
H A Dencoding.c1110 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_structure_next_member() local
1116 if (unionp) in objc_layout_structure_next_member()
1135 if ((unionp && *layout->type == _C_UNION_E) in objc_layout_structure_next_member()
1136 || (!unionp && *layout->type == _C_STRUCT_E)) in objc_layout_structure_next_member()
1230 BOOL unionp = layout->original_type[-1] == _C_UNION_B; in objc_layout_finish_structure() local
1232 && ((!unionp && *layout->type == _C_STRUCT_E) in objc_layout_finish_structure()
1233 || (unionp && *layout->type == _C_UNION_E))) in objc_layout_finish_structure()

12