Lines Matching refs:w
116 func printBash(flatModules []FlatModule, w io.Writer) {
122 fmt.Fprintf(w, "declare -a MODULE_NAMES\n")
123 fmt.Fprintf(w, "declare -A MODULE_TYPE_DICT\n")
124 fmt.Fprintf(w, "declare -A MODULE_PROP_KEYS_DICT\n")
125 fmt.Fprintf(w, "declare -A MODULE_PROP_VALUES_DICT\n")
126 fmt.Fprintf(w, "\n")
134 fmt.Fprintf(w, "MODULE_TYPE_DICT[%q]=%q\n", name, quoteBashString(module.Type))
135 fmt.Fprintf(w, "MODULE_PROP_KEYS_DICT[%q]=%q\n", name,
149 fmt.Fprintf(w, "MODULE_PROP_VALUES_DICT[%q]=%q\n", key, quoteBashString(propValue))
151 fmt.Fprintf(w, "\n")
153 fmt.Fprintf(w, "MODULE_NAMES=(\n")
155 fmt.Fprintf(w, " %q\n", name)
157 fmt.Fprintf(w, ")\n")