Lines Matching refs:nw

3210 		nw := newNinjaWriter(w)
3212 err = c.writeBuildFileHeader(nw)
3217 err = c.writeNinjaRequiredVersion(nw)
3222 err = c.writeSubninjas(nw)
3229 err = c.writeGlobalVariables(nw)
3234 err = c.writeGlobalPools(nw)
3239 err = c.writeBuildDir(nw)
3244 err = c.writeGlobalRules(nw)
3249 err = c.writeAllModuleActions(nw)
3254 err = c.writeAllSingletonActions(nw)
3290 func (c *Context) writeBuildFileHeader(nw *ninjaWriter) error {
3326 return nw.Comment(buf.String())
3329 func (c *Context) writeNinjaRequiredVersion(nw *ninjaWriter) error {
3333 err := nw.Assign("ninja_required_version", value)
3338 return nw.BlankLine()
3341 func (c *Context) writeSubninjas(nw *ninjaWriter) error {
3343 err := nw.Subninja(subninja)
3348 return nw.BlankLine()
3351 func (c *Context) writeBuildDir(nw *ninjaWriter) error {
3353 err := nw.Assign("builddir", c.ninjaBuildDir.Value(c.pkgNames))
3358 err = nw.BlankLine()
3389 func (c *Context) writeGlobalVariables(nw *ninjaWriter) error {
3407 err := nw.Assign(v.fullName(c.pkgNames), value.Value(c.pkgNames))
3412 err = nw.BlankLine()
3440 func (c *Context) writeGlobalPools(nw *ninjaWriter) error {
3452 err := def.WriteTo(nw, name)
3457 err = nw.BlankLine()
3466 func (c *Context) writeGlobalRules(nw *ninjaWriter) error {
3478 err := def.WriteTo(nw, name, c.pkgNames)
3483 err = nw.BlankLine()
3541 func (c *Context) writeAllModuleActions(nw *ninjaWriter) error {
3586 err = nw.Comment(buf.String())
3591 err = nw.BlankLine()
3596 err = c.writeLocalBuildActions(nw, &module.actionDefs)
3601 err = nw.BlankLine()
3610 func (c *Context) writeAllSingletonActions(nw *ninjaWriter) error {
3640 err = nw.Comment(buf.String())
3645 err = nw.BlankLine()
3650 err = c.writeLocalBuildActions(nw, &info.actionDefs)
3655 err = nw.BlankLine()
3664 func (c *Context) writeLocalBuildActions(nw *ninjaWriter,
3676 err = nw.Assign(name, value.Value(c.pkgNames))
3683 err := nw.BlankLine()
3699 err = def.WriteTo(nw, name, c.pkgNames)
3704 err = nw.BlankLine()
3712 err := buildDef.WriteTo(nw, c.pkgNames)
3718 err = nw.BlankLine()