Lines Matching defs:string
49 Functions []string `json:"functions"`
51 OptionalFunctions []string `json:"optional"` // not checked in validate
54 TestOnlyFunctions []string `json:"test_functions"`
60 // GL extension (or the string CORE_FEATURE if it's part of the core functionality).
67 Extension string `json:"ext"` // required
69 SuffixOverride *string `json:"suffix"`
75 PtrName string `json:"ptr_name"`
76 CastName string `json:"cast_name"`
77 GetName string `json:"get_name"`
115 func fillAssembleTemplate(template string, features []FeatureSet, getReqs RequirementGetter) string {
130 blocks := []string{}
199 func assembleFunction(block, ifExpr, function string, req Requirement) string {
222 // requirementIfExpression returns a string that is an if expression
227 func requirementIfExpression(req Requirement, isLocal bool) string {
253 func deriveSuffix(ext string) string {
261 func addLine(str, line string) string {
265 func writeToFile(parent, file, content string) {
280 StandardCheck string
310 standardChecks := []string{}
316 expr := []string{}
347 func functionCheck(feature FeatureSet, indentLevel int) string {
352 checks := []string{}
359 testOnly := []string{}
399 seen := map[string]bool{}
417 func in(s string, a []string) bool {
426 func abort(fmtStr string, inputs ...interface{}) {