Home | History | Annotate | Download | only in cgo

Lines Matching full:hasprefix

54 	if strings.HasPrefix(s, "struct_") {
57 if strings.HasPrefix(s, "union_") {
60 if strings.HasPrefix(s, "enum_") {
63 if strings.HasPrefix(s, "sizeof_") {
258 if strings.HasPrefix(n.C, "struct ") || strings.HasPrefix(n.C, "union ") || strings.HasPrefix(n.C, "enum ") {
481 if strings.HasPrefix(entryName, "__cgo_enum__") {
495 if !strings.HasPrefix(name, "__cgo__") {
1443 return strings.HasPrefix(name, "_Ctype_struct_") ||
1444 strings.HasPrefix(name, "_Ctype_union_") ||
1445 strings.HasPrefix(name, "_Ctype_class_")
1633 if strings.HasPrefix(name, "int") {
1750 if strings.HasPrefix(n.Name, "orig_") || strings.HasPrefix(n.Name, "_") {