| /external/testng/src/main/java/org/testng/reporters/ |
| D | Files.java | 21 try (InputStream is = new FileInputStream(f)) { in readFile() 26 public static String readFile(InputStream is) throws IOException { in readFile() 61 public static String streamToString(InputStream is) throws IOException { in streamToString() 65 char[] buffer = new char[1024]; in streamToString() local
|
| /external/sl4a/Utils/src/com/trilead/ssh2/ |
| D | StreamGobbler.java | 101 private InputStream is; field in StreamGobbler 110 private byte[] buffer; field in StreamGobbler 116 public StreamGobbler(InputStream is, File log, int buffer_size) { in StreamGobbler() 132 public void writeToFile(byte[] buffer) { in writeToFile()
|
| /external/conscrypt/common/src/main/java/org/conscrypt/ |
| D | OpenSSLBIOInputStream.java | 31 OpenSSLBIOInputStream(InputStream is, boolean isFinite) { in OpenSSLBIOInputStream() 49 int gets(byte[] buffer) throws IOException { in gets() 78 public int read(byte[] buffer) throws IOException { in read() 88 public int read(byte[] buffer, int offset, int len) throws IOException { in read()
|
| /external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
| D | OpenSSLBIOInputStream.java | 33 OpenSSLBIOInputStream(InputStream is, boolean isFinite) { in OpenSSLBIOInputStream() 53 int gets(byte[] buffer) throws IOException { in gets() 82 public int read(byte[] buffer) throws IOException { in read() 92 public int read(byte[] buffer, int offset, int len) throws IOException { in read()
|
| /external/robolectric/resources/src/main/java/org/robolectric/res/android/ |
| D | FileMap.java | 286 private static byte[] copyBytes(byte[] buffer, int offset, int length) { in copyBytes() 298 private static int findCentralDir(byte[] buffer) throws IOException { in findCentralDir() 321 private static int findCentralDir64(byte[] buffer) throws IOException { in findCentralDir64() 345 private static int readInt(byte[] buffer, int offset) { in readInt() 351 private static long readLong(byte[] buffer, int offset) { in readLong() 364 private static short readShort(byte[] buffer, int offset) { in readShort() 415 InputStream is; in getDataPtr() local 434 public static void readFully(InputStream is, byte[] bytes) throws IOException { in readFully()
|
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
| D | Util.java | 31 BufferedInputStream is = new BufferedInputStream(input); in getLocalResource() local 44 StringBuilder buffer = new StringBuilder(); in getLocalResource() local
|
| /external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/transport/ |
| D | ProcessTransport.java | 33 private InputStream is; field in ProcessTransport 70 public int read(byte[] buffer, int start, int len) throws IOException { in read() 95 public void write(byte[] buffer) throws IOException { in write()
|
| /external/tflite-support/tensorflow_lite_support/java/src/javatests/org/tensorflow/lite/task/core/ |
| D | TestUtils.java | 26 try (InputStream is = context.getAssets().open(fileName); in loadFile() 46 ByteBuffer buffer = ByteBuffer.allocateDirect(bytes.length).order(ByteOrder.nativeOrder()); in loadToDirectByteBuffer() local
|
| /external/apache-commons-io/src/test/java/org/apache/commons/io/ |
| D | IOUtilsTest.java | 162 final InputStream is = new InputStream() { in testAsBufferedInputStream() local 175 final InputStream is = new InputStream() { in testAsBufferedInputStreamWithBufferSize() local 202 final OutputStream is = new OutputStream() { in testAsBufferedOutputStream() local 227 final Reader is = new Reader() { in testAsBufferedReader() local 695 CharArrayReader is = null; in testCopyLarge_CharExtraLength() local 722 CharArrayReader is = null; in testCopyLarge_CharFullLength() local 748 CharArrayReader is = null; in testCopyLarge_CharNoSkip() local 774 CharArrayReader is = null; in testCopyLarge_CharSkip() local 800 … try (CharArrayReader is = new CharArrayReader(carr); CharArrayWriter os = new CharArrayWriter()) { in testCopyLarge_CharSkipInvalid() 807 try (ByteArrayInputStream is = new ByteArrayInputStream(iarr); in testCopyLarge_ExtraLength() [all …]
|
| /external/mesa3d/src/gallium/drivers/i915/ |
| D | i915_screen.c | 67 static char buffer[128]; in i915_get_name() local 197 struct i915_screen *is = i915_screen(screen); in i915_get_param() local 425 struct i915_screen *is = i915_screen(screen); in i915_fence_reference() local 436 struct i915_screen *is = i915_screen(screen); in i915_fence_finish() local 469 struct i915_screen *is = i915_screen(screen); in i915_destroy_screen() local 483 struct i915_screen *is = CALLOC_STRUCT(i915_screen); in i915_screen_create() local
|
| D | i915_resource_texture.c | 176 i915_texture_tiling(struct i915_screen *is, struct i915_texture *tex) in i915_texture_tiling() 689 struct i915_screen *is = i915_screen(screen); in i915_texture_get_handle() local 924 struct i915_screen *is = i915_screen(screen); in i915_texture_create() local 982 struct i915_screen *is = i915_screen(screen); in i915_texture_from_handle() local 985 struct i915_winsys_buffer *buffer; in i915_texture_from_handle() local
|
| /external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
| D | ShadowNativeImageDecoder.java | 45 ByteBuffer buffer = ByteBuffer.allocateDirect(capacity); in createFromAsset() local 70 protected static ImageDecoder nCreate(ByteBuffer buffer, int position, int limit, Source src) in nCreate() 77 ByteBuffer buffer, int position, int limit, boolean preferAnimation, Source src) in nCreate() 95 protected static ImageDecoder nCreate(InputStream is, byte[] storage, Source src) in nCreate() 102 InputStream is, byte[] storage, boolean preferAnimation, Source src) throws IOException { in nCreate()
|
| D | ShadowMemoryMappedFile.java | 33 InputStream is = MemoryMappedFile.class.getResourceAsStream(TZ_DATA_2); in mmapRO() local 92 protected final ByteBuffer buffer; field in ShadowMemoryMappedFile.RoboBufferIterator 94 public RoboBufferIterator(byte[] buffer, ByteOrder order) { in RoboBufferIterator()
|
| D | ShadowMemoryMappedFileS.java | 33 InputStream is = MemoryMappedFile.class.getResourceAsStream(TZ_DATA_2); in mmapRO() local 76 protected final ByteBuffer buffer; field in ShadowMemoryMappedFileS.RoboBufferIterator 78 public RoboBufferIterator(byte[] buffer, ByteOrder order) { in RoboBufferIterator()
|
| /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
| D | ImageHeaderParser.java | 76 public ImageHeaderParser(InputStream is) { in ImageHeaderParser() 320 private final InputStream is; field in ImageHeaderParser.StreamReader 323 public StreamReader(InputStream is) { in StreamReader() 339 public int read(byte[] buffer) throws IOException { in read()
|
| /external/skia/platform_tools/android/apps/skottie/skottielib/src/main/java/org/skia/skottie/ |
| D | SkottieAnimation.java | 50 SkottieAnimation(SurfaceTexture surfaceTexture, InputStream is) { in SkottieAnimation() 55 SkottieAnimation(TextureView view, InputStream is, int backgroundColor, int repeatCount) { in SkottieAnimation() 65 SkottieAnimation(SurfaceView view, InputStream is, int backgroundColor, int repeatCount) { in SkottieAnimation() 79 private ByteBuffer convertToByteBuffer(InputStream is) throws IOException { in convertToByteBuffer() 96 ByteBuffer buffer = ByteBuffer.allocateDirect(tmpStorage.length); in convertToByteBuffer() local 102 private boolean init(InputStream is) { in init()
|
| /external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/dump/ |
| D | DumpArchiveInputStream.java | 89 public DumpArchiveInputStream(final InputStream is) throws ArchiveException { in DumpArchiveInputStream() 102 public DumpArchiveInputStream(final InputStream is, final String encoding) in DumpArchiveInputStream() 545 public static boolean matches(final byte[] buffer, final int length) { in matches()
|
| /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
| D | ShadowMemoryMappedFile.java | 33 InputStream is = MemoryMappedFile.class.getResourceAsStream(TZ_DATA_2); in mmapRO() local 90 private final ByteBuffer buffer; field in ShadowMemoryMappedFile.RoboBufferIterator 92 public RoboBufferIterator(byte[] buffer, ByteOrder order) { in RoboBufferIterator()
|
| /external/libchrome/base/android/java/src/org/chromium/base/ |
| D | FileUtils.java | 100 public static void copyFileStreamAtomicWithBuffer(InputStream is, File outFile, byte[] buffer) in copyFileStreamAtomicWithBuffer()
|
| /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/ |
| D | GifBitmapWrapperResourceDecoder.java | 139 public InputStream build(InputStream is, byte[] buffer) { in build() 146 public ImageHeaderParser.ImageType parse(InputStream is) throws IOException { in parse()
|
| /external/okio/okio/src/jvmTest/java/okio/ |
| D | BufferedSourceJavaTest.java | 83 Buffer buffer = new Buffer().writeUtf8("abcdef"); in indexOfStopsReadingAtLimit() local 196 InputStream is = bufferedSource.inputStream(); in operationsAfterClose() local
|
| /external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/icu/ |
| D | ListNumbers.java | 129 try (InputStream is = InputStreamFactory.createInputStream(new File(file)); in fileToString() 133 char[] buffer = new char[is.available() + 1]; in fileToString() local
|
| /external/volley/core/src/main/java/com/android/volley/toolbox/ |
| D | DiskBasedCache.java | 489 static CacheHeader readHeader(CountingInputStream is) throws IOException { in readHeader() 560 public int read(byte[] buffer, int offset, int count) throws IOException { in read() 591 private static int read(InputStream is) throws IOException { in read() 606 static int readInt(InputStream is) throws IOException { in readInt() 626 static long readLong(InputStream is) throws IOException { in readLong()
|
| /external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/ |
| D | ImageDecoderNatives.java | 42 ByteBuffer buffer, int position, int limit, boolean preferAnimation, Source src) in nCreate() 49 InputStream is, byte[] storage, boolean preferAnimation, Source src) throws IOException; in nCreate()
|
| /external/deqp-deps/amber/src/ |
| D | pipeline.cc | 104 const auto* is = info.GetShader(); in AddShader() local 131 const auto* is = info.GetShader(); in SetShaderOptimizations() local 148 const auto* is = info.GetShader(); in SetShaderCompileOptions() local 167 const auto* is = info.GetShader(); in SetShaderRequiredSubgroupSize() local 210 const auto* is = info.GetShader(); in SetShaderVaryingSubgroupSize() local 227 const auto* is = info.GetShader(); in SetShaderRequireFullSubgroups() local 817 Buffer* buffer = nullptr; in GenerateOpenCLPodBuffers() local
|