Home
last modified time | relevance | path

Searched refs:section_len (Results 1 – 2 of 2) sorted by relevance

/external/libselinux/utils/
Dsefcontext_compile.c83 uint32_t section_len; in write_binary_file() local
99 section_len = SELINUX_COMPILED_FCONTEXT_MAX_VERS; in write_binary_file()
100 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
105 section_len = strlen(pcre_version()); in write_binary_file()
106 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
109 len = fwrite(pcre_version(), sizeof(char), section_len, bin_file); in write_binary_file()
110 if (len != section_len) in write_binary_file()
114 section_len = data->num_stems; in write_binary_file()
115 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
119 for (i = 0; i < section_len; i++) { in write_binary_file()
[all …]
/external/selinux/libselinux/utils/
Dsefcontext_compile.c101 uint32_t section_len; in write_binary_file() local
117 section_len = SELINUX_COMPILED_FCONTEXT_MAX_VERS; in write_binary_file()
118 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
123 section_len = strlen(pcre_version()); in write_binary_file()
124 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
127 len = fwrite(pcre_version(), sizeof(char), section_len, bin_file); in write_binary_file()
128 if (len != section_len) in write_binary_file()
132 section_len = data->num_stems; in write_binary_file()
133 len = fwrite(&section_len, sizeof(uint32_t), 1, bin_file); in write_binary_file()
137 for (i = 0; i < section_len; i++) { in write_binary_file()
[all …]