Searched refs:bytes (Results 1 – 25 of 86) sorted by relevance
1234
/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 | reader_test.go | 408 var b bytes.Buffer 457 _, err := NewReader(bytes.NewReader(b), size) 468 _, err = NewReader(bytes.NewReader(b), size) 480 return bytes.NewReader(data), int64(len(data)) 549 return bytes.NewReader(b), int64(len(b)) 712 r, err := NewReader(bytes.NewReader(b), int64(len(b))) 725 return bytes.NewReader(b), int64(len(b)) 767 z, err := NewReader(bytes.NewReader(data), int64(len(data))) 794 _, err := NewReader(bytes.NewReader(data), int64(len(data))) 809 z, err := NewReader(bytes.NewReader(data), int64(len(data))) [all …]
|
D | android_test.go | 72 if !bytes.Equal(got, testcase.out) {
|
D | zip_test.go | 25 buf := new(bytes.Buffer) 215 if !bytes.Equal(buf, all[i:i+j]) { 319 if !bytes.Equal(gotEnd, end) { 369 var buf bytes.Buffer 384 zf, err := NewReader(bytes.NewReader(b), int64(len(b)))
|
/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/soong/cc/config/ |
D | x86_darwin_host.go | 145 bytes, err := exec.Command(xcrunTool, args...).Output() 151 return strings.TrimSpace(string(bytes)) 165 bytes, err := exec.Command(xcrunTool, "--sdk", "macosx"+sdk, arg).Output() 167 return strings.TrimSpace(string(bytes))
|
/build/soong/ui/terminal/ |
D | util.go | 74 i := bytes.IndexByte(read, 0x1b) 91 i = bytes.IndexFunc(read, func(r rune) bool { 111 bytes.Buffer
|
/build/soong/symbol_inject/ |
D | symbol_inject_test.go | 49 in := bytes.NewReader([]byte(s)) 50 out := &bytes.Buffer{}
|
/build/soong/cmd/path_interposer/ |
D | main.go | 172 lines := bytes.Split(data, []byte("\n")) 181 fields := bytes.SplitN(line, []byte(" "), 2) 191 line = bytes.TrimLeft(fields[1], " ") 193 fields = bytes.SplitN(line, []byte(" "), 2) 206 Command: string(bytes.TrimLeft(fields[1], " ")),
|
/build/blueprint/parser/ |
D | modify_test.go | 58 buf := new(bytes.Buffer) 59 patchlist.Apply(bytes.NewReader(in), buf)
|
/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/build/ |
D | exec.go | 94 bytes, err := c.Cmd.Output() 96 return bytes, err 101 bytes, err := c.Cmd.CombinedOutput() 103 return bytes, err
|
/build/soong/cmd/dep_fixer/ |
D | main.go | 53 deps, err := makedeps.Parse(arg, bytes.NewBuffer(append([]byte(nil), input...))) 69 if !bytes.Equal(firstInput, new) {
|
/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/merge_zips/ |
D | merge_zips_test.go | 250 out := &bytes.Buffer{} 271 if !bytes.Equal(want, out.Bytes()) { 281 b := &bytes.Buffer{} 311 r := bytes.NewReader(b) 322 r := bytes.NewReader(buf)
|
/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/cmd/diff_target_files/ |
D | allow_list_test.go | 25 buf := &bytes.Buffer{} 38 r, err := zip.NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
|
/build/soong/zip/ |
D | zip.go | 60 *bytes.Reader 229 func ReadRespFile(bytes []byte) []string { 235 for _, c := range string(bytes) { 376 buf := &bytes.Buffer{} 719 reader := &byteReaderCloser{bytes.NewReader(buf), ioutil.NopCloser(nil)} 830 func (z *ZipWriter) compressBlock(r io.Reader, dict []byte, last bool) (*bytes.Buffer, error) { 831 buf := new(bytes.Buffer) 915 futureReader <- bytes.NewReader(buf) 924 futureReader <- bytes.NewReader(buf) 1007 futureReader <- bytes.NewBufferString(dest)
|
/build/soong/cmd/extract_linker/ |
D | main_test.go | 56 buf := bytes.Buffer{}
|
/build/blueprint/loadplugins/ |
D | loadplugins.go | 40 buf := &bytes.Buffer{}
|
/build/soong/androidmk/cmd/ |
D | androidmk.go | 47 output, errs := androidmk.ConvertFile(os.Args[1], bytes.NewBuffer(b))
|
/build/soong/partner/androidmk/ |
D | androidmk.go | 49 output, errs := androidmk.ConvertFile(os.Args[1], bytes.NewBuffer(b))
|
/build/blueprint/bpfmt/ |
D | bpfmt.go | 66 r := bytes.NewBuffer(src) 85 if !bytes.Equal(src, res) {
|
1234