Home
last modified time | relevance | path

Searched refs:sha1_buf (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libselinux/utils/
Dselabel_digest.c70 char *sha1_buf; in main() local
155 sha1_buf = malloc(digest_len * 2 + 1); in main()
156 if (!sha1_buf) { in main()
165 sprintf(&(sha1_buf[i * 2]), "%02x", sha1_digest[i]); in main()
167 printf("%s\n", sha1_buf); in main()
183 rc = run_check_digest(cmd_buf, sha1_buf); in main()
186 free(sha1_buf); in main()
/external/mesa3d/src/compiler/glsl/
Dshader_cache.cpp116 char sha1_buf[41]; in shader_cache_write_program_metadata() local
122 _mesa_sha1_format(sha1_buf, prog->Shaders[i]->sha1); in shader_cache_write_program_metadata()
123 fprintf(stderr, "marking shader: %s\n", sha1_buf); in shader_cache_write_program_metadata()
131 _mesa_sha1_format(sha1_buf, prog->data->sha1); in shader_cache_write_program_metadata()
132 fprintf(stderr, "putting program metadata in cache: %s\n", sha1_buf); in shader_cache_write_program_metadata()
259 char sha1_buf[41]; in shader_cache_read_program_metadata() local
264 _mesa_sha1_format(sha1_buf, prog->Shaders[i]->sha1); in shader_cache_read_program_metadata()
265 fprintf(stderr, "re-marking shader: %s\n", sha1_buf); in shader_cache_read_program_metadata()
/external/selinux/policycoreutils/setfiles/
Drestorecon_xattr.c41 char *sha1_buf, **specfiles, *fc_file = NULL; in main() local
136 sha1_buf = malloc(fc_digest_len * 2 + 1); in main()
137 if (!sha1_buf) { in main()
146 sprintf((&sha1_buf[i * 2]), "%02x", fc_digest[i]); in main()
148 printf("specfiles SHA1 digest: %s\n", sha1_buf); in main()
155 free(sha1_buf); in main()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_disk_cache.c46 char sha1_buf[41]; in gen_shader_sha1() local
51 _mesa_sha1_format(sha1_buf, prog->sh.data->sha1); in gen_shader_sha1()
52 offset += snprintf(manifest, sizeof(manifest), "program: %s\n", sha1_buf); in gen_shader_sha1()
55 _mesa_sha1_format(sha1_buf, sha1); in gen_shader_sha1()
58 sha1_buf); in gen_shader_sha1()
157 char sha1_buf[41]; in read_and_upload() local
158 _mesa_sha1_format(sha1_buf, binary_sha1); in read_and_upload()
160 _mesa_shader_stage_to_abbrev(stage), sha1_buf); in read_and_upload()
166 char sha1_buf[41]; in read_and_upload() local
167 _mesa_sha1_format(sha1_buf, binary_sha1); in read_and_upload()
[all …]
/external/selinux/libselinux/src/
Dselinux_restorecon.c301 char *sha1_buf = NULL; in add_xattr_entry() local
325 sha1_buf = malloc(xattr_size * 2 + 1); in add_xattr_entry()
326 if (!sha1_buf) { in add_xattr_entry()
332 sprintf((&sha1_buf[i * 2]), "%02x", xattr_value[i]); in add_xattr_entry()
358 free(sha1_buf); in add_xattr_entry()
362 new_entry->digest = strdup(sha1_buf); in add_xattr_entry()
366 free(sha1_buf); in add_xattr_entry()
380 free(sha1_buf); in add_xattr_entry()