Searched refs:New (Results 1 – 25 of 67) sorted by relevance
123
/build/soong/cmd/diff_target_files/ |
D | glob.go | 27 return false, errors.New("pattern has '**' as last path element") 48 return false, errors.New("pattern contains multiple '**'") 63 return false, errors.New("pattern contains other characters between '**' and path separator")
|
/build/soong/ui/logger/ |
D | logger_test.go | 101 log := New(&bytes.Buffer{}) 132 log := New(&bytes.Buffer{}) 154 log := New(&bytes.Buffer{}) 169 log := New(&bytes.Buffer{}) 185 log := New(&bytes.Buffer{})
|
D | logger.go | 151 func New(out io.Writer) *stdLogger { func 153 stderr: log.New(out, "", log.Ltime), 154 fileLogger: log.New(ioutil.Discard, "", log.Ldate|log.Lmicroseconds|log.Llongfile), 282 panic(fatalLog{errors.New(output)}) 290 panic(fatalLog{errors.New(output)}) 298 panic(fatalLog{errors.New(output)})
|
/build/soong/finder/cmd/ |
D | finder.go | 104 logger := log.New(writer, "", log.Ldate|log.Lmicroseconds|log.Lshortfile) 128 return errors.New("Param 'db' must be nonempty") 150 service, err := finder.New(params, fs.OsFs, logger, dbPath)
|
/build/soong/python/ |
D | python_test.go | 368 testErrs = append(testErrs, errors.New(v)) 374 testErrs = append(testErrs, errors.New(v)) 397 testErrs = append(testErrs, errors.New(fmt.Sprintf( 405 testErrs = append(testErrs, errors.New(fmt.Sprintf( 416 testErrs = append(testErrs, errors.New(fmt.Sprintf(
|
/build/blueprint/proptools/ |
D | clone.go | 30 result := reflect.New(structValue.Type().Elem()) 97 newValue := reflect.New(srcFieldValue.Type()).Elem() 126 newValue := reflect.New(srcFieldValue.Elem().Type()) 205 result := reflect.New(structValue.Type().Elem()) 238 newValue := reflect.New(srcFieldValue.Type()).Elem()
|
D | extend_test.go | 792 err: errors.New("expected pointer to struct, got struct {}"), 799 err: errors.New("expected pointer to struct, got struct {}"), 806 err: errors.New("expected pointer to struct, got *[]string"), 813 err: errors.New("expected pointer to struct, got *[]string"), 827 …err: errors.New("expected matching types for dst and src, got *struct { A string } and *struct { B… 1096 return Append, errors.New("unknown order") 1314 err: errors.New("expected pointer to struct, got struct {}"), 1321 err: errors.New("expected pointer to struct, got struct {}"), 1328 err: errors.New("expected pointer to struct, got *[]string"), 1335 err: errors.New("expected pointer to struct, got *[]string"), [all …]
|
D | unpack.go | 239 fieldValue = reflect.New(fieldValue.Type().Elem()) 338 itemValue := reflect.New(t).Elem() 344 return reflect.New(t), false 362 ptrValue := reflect.New(itemValue.Type()) 418 ptrValue := reflect.New(value.Type())
|
/build/soong/android/ |
D | namespace_test.go | 174 errors.New( 397 …errors.New(`dir1/Android.bp:2:4: module "soong_namespace": namespace a_nonexistent_namespace does … 426 errors.New(`dir1/subdir1/Android.bp:4:4: "b" depends on undefined module "a" 489 errors.New(`dir3/Android.bp:5:4: "c" depends on undefined module "a" 511 errors.New(`dir1/Android.bp:4:4: namespace dir1 already exists`), 532 errors.New(`dir1/Android.bp:5:4: a namespace must be the first module in the file`), 556 errors.New(`dir1/Android.bp:7:4: module "a" already defined 578 errors.New(`include.bp:2:5: A namespace may only be declared in a file named Android.bp`),
|
D | paths_test.go | 58 err: []error{errors.New("Path is outside directory: ..")}, 63 err: []error{errors.New("Path is outside directory: ../a")}, 68 err: []error{errors.New("Path is outside directory: ../a")}, 73 err: []error{errors.New("Path is outside directory: /a")}, 78 err: []error{errors.New("Path is outside directory: ../b")}, 83 err: []error{errors.New("Path is outside directory: ../c")}, 88 err: []error{errors.New("Path is outside directory: ..")}, 103 err: []error{errors.New("Path contains invalid character($): $host/../$a")}, 108 err: []error{errors.New("Path contains invalid character($): $host/..")},
|
D | filegroup.go | 74 var androidMkTemplate = template.Must(template.New("filegroup").Parse(`
|
/build/soong/third_party/zip/ |
D | android.go | 130 return nil, errors.New("archive/zip: invalid duplicate FileHeader") 177 return 0, errors.New("zip: write to closed file") 184 return errors.New("zip: file closed twice")
|
D | register.go | 50 return 0, errors.New("Write after Close") 88 return 0, errors.New("Read after Close")
|
D | writer.go | 64 return errors.New("zip: writer closed twice") 222 return nil, errors.New("archive/zip: invalid duplicate FileHeader") 338 return 0, errors.New("zip: write to closed file") 348 return errors.New("zip: file closed twice")
|
D | reader.go | 19 ErrFormat = errors.New("zip: not a valid zip file") 20 ErrAlgorithm = errors.New("zip: unsupported compression algorithm") 21 ErrChecksum = errors.New("zip: checksum error") 424 return nil, errors.New("zip: invalid comment length")
|
/build/soong/cuj/ |
D | cuj.go | 52 log := logger.New(output) 58 trace := tracer.New(log) 61 met := metrics.New()
|
/build/soong/ui/build/ |
D | proc_sync_test.go | 207 noopLogger := logger.New(ioutil.Discard) 219 noopLogger := logger.New(ioutil.Discard) 231 noopLogger := logger.New(ioutil.Discard)
|
D | finder.go | 72 f, err = finder.New(cacheParams, filesystem, logger.New(ioutil.Discard),
|
D | cleanbuild_test.go | 38 ctx.Logger = logger.New(logBuf)
|
/build/soong/ui/status/ |
D | ninja_test.go | 36 nr := NewNinjaReader(logger.New(ioutil.Discard), stat.StartTool(), filepath.Join(tempDir, "fifo"))
|
D | log.go | 199 return 0, errors.New("not supported") 236 return 0, errors.New("not supported")
|
/build/blueprint/loadplugins/ |
D | loadplugins.go | 59 var pluginTmpl = template.Must(template.New("pluginloader").Parse(`
|
/build/blueprint/pathtools/ |
D | glob.go | 28 var GlobMultipleRecursiveErr = errors.New("pattern contains multiple '**'") 29 var GlobLastRecursiveErr = errors.New("pattern has '**' as last path element") 30 var GlobInvalidRecursiveErr = errors.New("pattern contains other characters between '**' and path s…
|
/build/blueprint/ |
D | context_test.go | 575 errors.New(`Blueprints:3:18: expected "}", found String`), 576 errors.New(`dir1/Blueprints:4:3: expected "}", found EOF`), 603 errors.New(`Blueprints:6:4: property 'name' is missing from a module`),
|
/build/soong/cmd/multiproduct_kati/ |
D | main.go | 156 log := logger.New(output) 164 trace := tracer.New(log) 387 log := logger.New(f)
|
123