Lines Matching refs:section_len
102 uint32_t section_len; in write_binary_file() local
120 section_len = SELINUX_COMPILED_FCONTEXT_MAX_VERS; in write_binary_file()
121 len = fwrite(§ion_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
129 section_len = strlen(reg_version); in write_binary_file()
130 len = fwrite(§ion_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
133 len = fwrite(reg_version, sizeof(char), section_len, bin_file); in write_binary_file()
134 if (len != section_len) in write_binary_file()
141 section_len = strlen(reg_arch); in write_binary_file()
142 len = fwrite(§ion_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
145 len = fwrite(reg_arch, sizeof(char), section_len, bin_file); in write_binary_file()
146 if (len != section_len) in write_binary_file()
150 section_len = data->num_stems; in write_binary_file()
151 len = fwrite(§ion_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
155 for (i = 0; i < section_len; i++) { in write_binary_file()
172 section_len = data->nspec; in write_binary_file()
173 len = fwrite(§ion_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
177 for (i = 0; i < section_len; i++) { in write_binary_file()