Searched refs:bytes (Results 1 – 25 of 86) sorted by relevance
1234
/build/soong/cc/config/ |
D | x86_darwin_host.go | 93 bytes, err := exec.Command(xcodeselect, "--print-path").Output() 97 return strings.TrimSpace(string(bytes)) 130 bytes, err := exec.Command(xcrun, args...).Output() 134 return strings.TrimSpace(string(bytes)) 145 bytes, err := exec.Command(xcrun, "--sdk", "macosx"+selected, arg).Output() 149 return strings.TrimSpace(string(bytes)) 153 bytes, err := exec.Command(xcrun, "--sdk", "macosx"+sdk, arg).Output() 155 return strings.TrimSpace(string(bytes))
|
/build/soong/third_party/zip/ |
D | writer_test.go | 69 buf := new(bytes.Buffer) 81 r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len())) 101 buf := new(bytes.Buffer) 116 r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len())) 126 var buf bytes.Buffer 178 if !bytes.Equal(b, wt.Data) { 185 var buf bytes.Buffer 186 bigBuf := bytes.Repeat([]byte("a"), 1<<20)
|
D | example_test.go | 19 buf := new(bytes.Buffer) 82 buf := new(bytes.Buffer)
|
D | android_test.go | 72 if !bytes.Equal(got, testcase.out) {
|
/build/kati/ |
D | strutil.go | 140 i := bytes.IndexByte(pat, '%') 142 return bytes.Equal(pat, str) 144 return bytes.HasPrefix(str, pat[:i]) && bytes.HasSuffix(str, pat[i+1:]) 179 i := bytes.IndexByte(pat, '%') 181 if bytes.Equal(str, pat) { 189 trimed = bytes.TrimPrefix(in, pat[:i]) 190 if bytes.Equal(trimed, in) { 196 trimed = bytes.TrimSuffix(in, pat[i+1:]) 197 if bytes.Equal(trimed, in) { 202 i = bytes.IndexByte(repl, '%')
|
D | expr.go | 346 if term != nil && bytes.IndexByte(term, ch) >= 0 { 360 if bytes.IndexByte(term, in[i+1]) >= 0 { 381 if i := bytes.IndexByte(term, cp); i >= 0 { 394 i := bytes.IndexByte(term, 0) 532 if bytes.IndexByte(term, in[i]) >= 0 { 550 b := bytes.TrimSpace([]byte(v)) 598 i := bytes.Index(b, []byte{'\\', '\n'}) 602 var buf bytes.Buffer 604 buf.Write(bytes.TrimLeft(b[i+2:], " \t"))
|
/build/soong/ui/build/ |
D | config_test.go | 31 Logger: logger.New(&bytes.Buffer{}), 32 …Writer: terminal.NewWriter(terminal.NewCustomStdio(&bytes.Buffer{}, &bytes.Buffer{}, &bytes.Buffe…
|
D | exec.go | 73 bytes, err := c.Cmd.Output() 74 return bytes, err 79 bytes, err := c.Cmd.CombinedOutput() 80 return bytes, err
|
/build/soong/symbol_inject/ |
D | symbol_inject_test.go | 49 in := bytes.NewReader([]byte(s)) 50 out := &bytes.Buffer{}
|
/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{})
|
/build/blueprint/parser/ |
D | modify_test.go | 58 buf := new(bytes.Buffer) 59 patchlist.Apply(bytes.NewReader(in), buf)
|
/build/soong/cmd/path_interposer/ |
D | main.go | 181 lines := bytes.Split(data, []byte("\n")) 190 fields := bytes.SplitN(line, []byte(" "), 2) 200 line = bytes.TrimLeft(fields[1], " ") 202 fields = bytes.SplitN(line, []byte(" "), 2) 215 Command: string(bytes.TrimLeft(fields[1], " ")),
|
/build/soong/cmd/dep_fixer/ |
D | main.go | 51 deps, err := Parse(arg, bytes.NewBuffer(append([]byte(nil), input...))) 67 if !bytes.Equal(firstInput, new) {
|
/build/soong/cmd/zip2zip/ |
D | zip2zip_test.go | 421 inputBuf := &bytes.Buffer{} 422 outputBuf := &bytes.Buffer{} 434 inputReader, err := zip.NewReader(bytes.NewReader(inputBytes), int64(len(inputBytes))) 448 outputReader, err := zip.NewReader(bytes.NewReader(outputBytes), int64(len(outputBytes)))
|
/build/soong/ui/tracer/ |
D | tracer.go | 60 buf bytes.Buffer 153 t.buf = bytes.Buffer{} 173 bytes, err := json.Marshal(event) 186 if _, err = t.w.Write(bytes); err != nil {
|
/build/soong/ui/terminal/ |
D | util.go | 67 i := bytes.IndexByte(read, 0x1b) 84 i = bytes.IndexFunc(read, func(r rune) bool {
|
/build/make/tools/ |
D | dump-package-stats | 45 These fields are presented as <uncompressed bytes>/<compressed bytes>:
|
/build/soong/cmd/merge_zips/ |
D | merge_zips_test.go | 221 out := &bytes.Buffer{} 242 if !bytes.Equal(want, out.Bytes()) { 252 b := &bytes.Buffer{} 282 r := bytes.NewReader(b) 293 r := bytes.NewReader(buf)
|
/build/make/tools/droiddoc/templates-ndk/ |
D | sdkpage.cs | 282 <td><?cs var:sdk.win_installer_bytes ?> bytes</td> 291 <td><?cs var:sdk.win_bytes ?> bytes</td> 301 <td><?cs var:sdk.mac_bytes ?> bytes</td> 311 <td><?cs var:sdk.linux_bytes ?> bytes</td> 338 <td><?cs var:studio.win_bundle_exe_bytes ?> bytes</td> 349 <td><?cs var:studio.win_notools_exe_bytes ?> bytes</td> 360 <td><?cs var:studio.win_bundle_bytes ?> bytes</td> 371 <td><?cs var:studio.mac_bundle_bytes ?> bytes</td> 382 <td><?cs var:studio.linux_bundle_bytes ?> bytes</td>
|
/build/soong/cmd/diff_target_files/ |
D | whitelist_test.go | 25 buf := &bytes.Buffer{} 38 r, err := zip.NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
|
/build/make/tools/signtos/ |
D | SignTos.java | 128 byte[] bytes = new byte[(int) file.length()]; in readPrivateKey() 129 input.read(bytes); in readPrivateKey() 132 PKCS8EncodedKeySpec spec = decryptPrivateKey(bytes, file); in readPrivateKey() 134 spec = new PKCS8EncodedKeySpec(bytes); in readPrivateKey()
|
/build/soong/zip/ |
D | zip.go | 60 *bytes.Reader 228 func ReadRespFile(bytes []byte) []string { 234 for _, c := range string(bytes) { 375 buf := &bytes.Buffer{} 687 reader := &byteReaderCloser{bytes.NewReader(buf), ioutil.NopCloser(nil)} 798 func (z *ZipWriter) compressBlock(r io.Reader, dict []byte, last bool) (*bytes.Buffer, error) { 799 buf := new(bytes.Buffer) 883 futureReader <- bytes.NewReader(buf) 892 futureReader <- bytes.NewReader(buf) 975 futureReader <- bytes.NewBufferString(dest)
|
/build/soong/cmd/extract_linker/ |
D | main_test.go | 56 buf := bytes.Buffer{}
|
/build/kati/make-c/ |
D | main.go | 37 if bytes.HasPrefix(s.Bytes(), []byte("echo ")) {
|
/build/blueprint/loadplugins/ |
D | loadplugins.go | 40 buf := &bytes.Buffer{}
|
1234