Searched refs:sha1_buf (Results 1 – 5 of 5) sorted by relevance
/third_party/selinux/libselinux/utils/ |
D | selabel_get_digests_all_partial_matches.c | 40 char *sha1_buf = NULL; in main() local 109 sha1_buf = calloc(1, digest_len * 2 + 1); in main() 110 if (!sha1_buf) { in main() 122 sprintf((&sha1_buf[i * 2]), in main() 125 printf("SHA1 digest: %s\n", sha1_buf); in main() 139 sprintf((&sha1_buf[i * 2]), "%02x", in main() 141 printf("generated SHA1 digest: %s\n", sha1_buf); in main() 148 sprintf((&sha1_buf[i * 2]), in main() 151 printf("%s\n", sha1_buf); in main() 157 free(sha1_buf); in main()
|
D | selabel_digest.c | 70 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()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | shader_cache.cpp | 134 char sha1_buf[41]; in shader_cache_write_program_metadata() local 136 _mesa_sha1_format(sha1_buf, prog->data->sha1); in shader_cache_write_program_metadata() 137 fprintf(stderr, "putting program metadata in cache: %s\n", sha1_buf); in shader_cache_write_program_metadata()
|
D | glsl_parser_extras.cpp | 2332 char sha1_buf[41]; in _mesa_glsl_compile_shader() local 2335 _mesa_sha1_format(sha1_buf, shader->disk_cache_sha1); in _mesa_glsl_compile_shader() 2336 fprintf(stderr, "marking shader: %s\n", sha1_buf); in _mesa_glsl_compile_shader()
|
/third_party/selinux/libselinux/src/ |
D | selinux_restorecon.c | 311 char *sha1_buf = NULL; in add_xattr_entry() local 335 sha1_buf = malloc(digest_len * 2 + 1); in add_xattr_entry() 336 if (!sha1_buf) { in add_xattr_entry() 343 sprintf((&sha1_buf[i * 2]), "%02x", xattr_digest[i]); in add_xattr_entry() 363 free(sha1_buf); in add_xattr_entry() 371 free(sha1_buf); in add_xattr_entry() 375 new_entry->digest = strdup(sha1_buf); in add_xattr_entry() 379 free(sha1_buf); in add_xattr_entry() 393 free(sha1_buf); in add_xattr_entry()
|