Home
last modified time | relevance | path

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

/utopia/UTPA2-700.0.x/projects/build/scripts/kconfig/
H A Dutil.c81 struct gstr gs; in str_new() local
82 gs.s = malloc(sizeof(char) * 64); in str_new()
83 gs.len = 64; in str_new()
84 gs.max_width = 0; in str_new()
85 strcpy(gs.s, "\0"); in str_new()
86 return gs; in str_new()
92 struct gstr gs; in str_assign() local
93 gs.s = strdup(s); in str_assign()
94 gs.len = strlen(s) + 1; in str_assign()
95 gs.max_width = 0; in str_assign()
[all …]
H A Dexpr.c1142 struct gstr *gs = (struct gstr*)data; in expr_print_gstr_helper() local
1148 if (gs->max_width) { in expr_print_gstr_helper()
1150 const char *last_cr = strrchr(gs->s, '\n'); in expr_print_gstr_helper()
1157 last_cr = gs->s; in expr_print_gstr_helper()
1159 last_line_length = strlen(gs->s) - (last_cr - gs->s); in expr_print_gstr_helper()
1161 if ((last_line_length + extra_length) > gs->max_width) in expr_print_gstr_helper()
1162 str_append(gs, "\\\n"); in expr_print_gstr_helper()
1165 str_append(gs, str); in expr_print_gstr_helper()
1167 str_printf(gs, " [=%s]", sym_str); in expr_print_gstr_helper()
1170 void expr_gstr_print(struct expr *e, struct gstr *gs) in expr_gstr_print() argument
[all …]
H A Dlkc.h137 void str_free(struct gstr *gs);
138 void str_append(struct gstr *gs, const char *s);
139 void str_printf(struct gstr *gs, const char *fmt, ...);
140 const char *str_get(struct gstr *gs);
H A Dexpr.h210 void expr_gstr_print(struct expr *e, struct gstr *gs);
/utopia/UTPA2-700.0.x/modules/hdmi/drv/hdmitx/
H A DdrvHDMITx.c1309 char gs[] = "92f85d1b 6a4d5213 1ae43e24 45de1ab5\ in MDrv_HDCPTx_IsSRMSignatureValid()
1348 bdConvFromHex(dsa.g, gs); in MDrv_HDCPTx_IsSRMSignatureValid()