Lines Matching refs:newResult
434 newResult := append([]byte{}, result[:includesStart]...)
435 newResult = append(newResult, strings.Join(sorted, "")...)
436 newResult = append(newResult, '\n')
437 newResult = append(newResult, strings.Join(sortedLinux, "")...)
438 newResult = append(newResult, result[includesStart:]...)
439 return newResult
445 newResult := bytes.Replace(result, []byte{'\n', '\n', '\n'}, []byte{'\n', '\n'}, -1)
446 newResult = bytes.Replace(newResult, []byte{'\n', '\n', '\t'}, []byte{'\n', '\t'}, -1)
447 newResult = bytes.Replace(newResult, []byte{'\n', '\n', ' '}, []byte{'\n', ' '}, -1)
448 if len(newResult) == len(result) {
451 result = newResult