Searched refs:testFile (Results 1 – 9 of 9) sorted by relevance
/prebuilts/go/linux-x86/src/crypto/x509/ |
D | root_unix_test.go | 22 testFile = "test-file.crt" const 41 files: []string{testFile}, 48 fileEnv: testFile, 66 fileEnv: testFile, 77 files: []string{testFile},
|
/prebuilts/go/linux-x86/src/net/ |
D | splice_linux_test.go | 33 t.Run("simple", spliceTestCase{upNet, downNet, 128, 128, 0}.testFile) 34 t.Run("multipleWrite", spliceTestCase{upNet, downNet, 4096, 1 << 20, 0}.testFile) 35 t.Run("big", spliceTestCase{upNet, downNet, 5 << 20, 1 << 30, 0}.testFile) 36 t.Run("honorsLimitedReader", spliceTestCase{upNet, downNet, 4096, 1 << 20, 1 << 10}.testFile) 37 t.Run("updatesLimitedReaderN", spliceTestCase{upNet, downNet, 1024, 4096, 4096 + 100}.testFile) 38 t.Run("limitedReaderAtLimit", spliceTestCase{upNet, downNet, 32, 128, 128}.testFile) 167 func (tc spliceTestCase) testFile(t *testing.T) { func
|
/prebuilts/go/linux-x86/src/cmd/gofmt/ |
D | long_test.go | 46 func testFile(t *testing.T, b1, b2 *bytes.Buffer, filename string) { func 104 testFile(t, b1, b2, filename)
|
/prebuilts/go/linux-x86/src/mime/multipart/ |
D | formdata_test.go | 32 fd := testFile(t, f.File["filea"][0], "filea.txt", fileaContents) 37 fd = testFile(t, f.File["fileb"][0], "fileb.txt", filebContents) 68 fd := testFile(t, f.File["filea"][0], "filea.txt", fileaContents) 108 func testFile(t *testing.T, fh *FileHeader, efn, econtent string) File { func
|
/prebuilts/go/linux-x86/src/compress/lzw/ |
D | writer_test.go | 26 func testFile(t *testing.T, fn string, order Order, litWidth int) { func 100 testFile(t, filename, order, litWidth)
|
/prebuilts/go/linux-x86/src/archive/tar/ |
D | tar_test.go | 30 type testFile struct { struct 35 func (f *testFile) Read(b []byte) (int, error) { argument 57 func (f *testFile) Write(b []byte) (int, error) { argument 81 func (f *testFile) Seek(pos int64, whence int) (int64, error) { argument
|
D | writer_test.go | 503 f := &testFile{ops: tf.ops} 1311 f := &testFile{ops: tf.ops}
|
D | reader_test.go | 1595 f := &testFile{ops: tf.ops}
|
/prebuilts/go/linux-x86/src/net/http/ |
D | fs_test.go | 38 testFile = "testdata/file" const 84 file, err := os.ReadFile(testFile)
|