Lines Matching refs:style
32 validate_build_id_style (const char *style) in validate_build_id_style() argument
34 if ((streq (style, "md5")) || (streq (style, "sha1")) in validate_build_id_style()
36 || (streq (style, "uuid")) in validate_build_id_style()
38 || (strneq (style, "0x", 2))) in validate_build_id_style()
45 compute_build_id_size (const char *style) in compute_build_id_size() argument
47 if (streq (style, "md5") || streq (style, "uuid")) in compute_build_id_size()
50 if (streq (style, "sha1")) in compute_build_id_size()
53 if (strneq (style, "0x", 2)) in compute_build_id_size()
57 const char *id = style + 2; in compute_build_id_size()
98 const char *style, in generate_build_id() argument
103 if (streq (style, "md5")) in generate_build_id()
112 else if (streq (style, "sha1")) in generate_build_id()
122 else if (streq (style, "uuid")) in generate_build_id()
135 else if (strneq (style, "0x", 2)) in generate_build_id()
138 const char *id = style + 2; in generate_build_id()