Home
last modified time | relevance | path

Searched refs:DEFAULT_BUFFER_SIZE (Results 1 – 25 of 51) sorted by relevance

123

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
DMemoryDeferredOutputStream.java14 private static final int DEFAULT_BUFFER_SIZE = 16 * 1024; field in MemoryDeferredOutputStream
21 this(DEFAULT_BUFFER_SIZE); in MemoryDeferredOutputStream()
77 return getFactory(DEFAULT_BUFFER_SIZE); in getFactory()
DFileDeferredOutputStream.java13 private static final int DEFAULT_BUFFER_SIZE = 4 * 1024; field in FileDeferredOutputStream
20 this(backingFile, DEFAULT_BUFFER_SIZE); in FileDeferredOutputStream()
91 return getFactory(containingDirectory, DEFAULT_BUFFER_SIZE); in getFactory()
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DBufferedResourceLoader.java30 public static final int DEFAULT_BUFFER_SIZE = 1024; field in BufferedResourceLoader
33 private int bufferSize = DEFAULT_BUFFER_SIZE;
/external/icu/icu4c/source/test/cintltst/
Dbocu1tst.c875 static const int32_t DEFAULT_BUFFER_SIZE = 30000; variable
887 roundtripRef = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar)); in roundtripBOCU1()
888 roundtripICU = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar)); in roundtripBOCU1()
889 bocu1Ref = malloc(DEFAULT_BUFFER_SIZE); in roundtripBOCU1()
890 bocu1ICU = malloc(DEFAULT_BUFFER_SIZE); in roundtripBOCU1()
896 bocu1ICULength=ucnv_fromUChars(bocu1, bocu1ICU, DEFAULT_BUFFER_SIZE, text, length, &errorCode); in roundtripBOCU1()
913 …roundtripICULength=ucnv_toUChars(bocu1, roundtripICU, DEFAULT_BUFFER_SIZE, bocu1ICU, bocu1ICULengt… in roundtripBOCU1()
992 text = malloc(DEFAULT_BUFFER_SIZE * sizeof(UChar)); in TestBOCU1()
/external/icu/icu4c/source/tools/toolutil/
Dflagparser.cpp14 #define DEFAULT_BUFFER_SIZE 512 macro
16 static int32_t currentBufferSize = DEFAULT_BUFFER_SIZE;
107 currentBufferSize = DEFAULT_BUFFER_SIZE; in parseFlagsFile()
/external/python/cpython3/Lib/
D_compression.py6 BUFFER_SIZE = io.DEFAULT_BUFFER_SIZE # Compressed data read chunk size
129 while self.read(io.DEFAULT_BUFFER_SIZE):
143 data = self.read(min(io.DEFAULT_BUFFER_SIZE, offset))
D_pyio.py27 DEFAULT_BUFFER_SIZE = 8 * 1024 # bytes variable
215 buffering = DEFAULT_BUFFER_SIZE
592 data = self.read(DEFAULT_BUFFER_SIZE)
983 def __init__(self, raw, buffer_size=DEFAULT_BUFFER_SIZE):
1175 def __init__(self, raw, buffer_size=DEFAULT_BUFFER_SIZE):
1287 def __init__(self, reader, writer, buffer_size=DEFAULT_BUFFER_SIZE):
1353 def __init__(self, raw, buffer_size=DEFAULT_BUFFER_SIZE):
1526 self._blksize = DEFAULT_BUFFER_SIZE
1600 bufsize = DEFAULT_BUFFER_SIZE
1613 bufsize += max(bufsize, DEFAULT_BUFFER_SIZE)
Dio.py54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation,
/external/brotli/java/org/brotli/wrapper/dec/
DBrotliDecoderChannel.java19 private static final int DEFAULT_BUFFER_SIZE = 16384; field in BrotliDecoderChannel
35 this(source, DEFAULT_BUFFER_SIZE); in BrotliDecoderChannel()
DBrotliInputStream.java18 private static final int DEFAULT_BUFFER_SIZE = 16384; field in BrotliInputStream
34 this(source, DEFAULT_BUFFER_SIZE); in BrotliInputStream()
/external/brotli/java/org/brotli/wrapper/enc/
DBrotliEncoderChannel.java20 private static final int DEFAULT_BUFFER_SIZE = 16384; field in BrotliEncoderChannel
38 this(destination, params, DEFAULT_BUFFER_SIZE); in BrotliEncoderChannel()
DBrotliOutputStream.java18 private static final int DEFAULT_BUFFER_SIZE = 16384; field in BrotliOutputStream
36 this(destination, params, DEFAULT_BUFFER_SIZE); in BrotliOutputStream()
/external/python/cpython3/Modules/_io/clinic/
Dbufferedio.c.h331 Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE; in _io_BufferedReader___init__()
364 Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE; in _io_BufferedWriter___init__()
431 Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE; in _io_BufferedRWPair___init__()
468 Py_ssize_t buffer_size = DEFAULT_BUFFER_SIZE; in _io_BufferedRandom___init__()
/external/sl4a/Common/src/com/googlecode/android_scripting/
DProcess.java38 private static final int DEFAULT_BUFFER_SIZE = 8192; field in Process
127 mIn = new StreamGobbler(new FileInputStream(mFd), mLog, DEFAULT_BUFFER_SIZE); in start()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
DServiceConnection.java35 public static final int DEFAULT_BUFFER_SIZE = 256 * 1024; // 256 Kb field
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DInternal.java356 private static final int DEFAULT_BUFFER_SIZE = 4096; field in Internal
370 final int bufferSize = bytes.capacity() > DEFAULT_BUFFER_SIZE in hashCodeByteBuffer()
371 ? DEFAULT_BUFFER_SIZE : bytes.capacity(); in hashCodeByteBuffer()
/external/skia/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp29 static const int DEFAULT_BUFFER_SIZE = 100; variable
245 int64_t maxVertices = DEFAULT_BUFFER_SIZE; in onPrepareDraws()
246 int64_t maxIndices = DEFAULT_BUFFER_SIZE; in onPrepareDraws()
/external/skqp/src/gpu/ops/
DGrAALinearizingConvexPathRenderer.cpp29 static const int DEFAULT_BUFFER_SIZE = 100; variable
245 int64_t maxVertices = DEFAULT_BUFFER_SIZE; in onPrepareDraws()
246 int64_t maxIndices = DEFAULT_BUFFER_SIZE; in onPrepareDraws()
/external/python/cpython2/Lib/
Dio.py54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation,
D_pyio.py26 DEFAULT_BUFFER_SIZE = 8 * 1024 # bytes variable
203 buffering = DEFAULT_BUFFER_SIZE
571 data = self.read(DEFAULT_BUFFER_SIZE)
921 def __init__(self, raw, buffer_size=DEFAULT_BUFFER_SIZE):
1073 buffer_size=DEFAULT_BUFFER_SIZE, max_buffer_size=None):
1175 buffer_size=DEFAULT_BUFFER_SIZE, max_buffer_size=None):
1244 buffer_size=DEFAULT_BUFFER_SIZE, max_buffer_size=None):
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DConstantPoolGen.java55 private static final int DEFAULT_BUFFER_SIZE = 256; field in ConstantPoolGen
97 final StringBuilder sb = new StringBuilder(DEFAULT_BUFFER_SIZE); in ConstantPoolGen()
99 size = Math.max(DEFAULT_BUFFER_SIZE, cs.length + 64); in ConstantPoolGen()
216 size = DEFAULT_BUFFER_SIZE; in ConstantPoolGen()
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java55 private static final int DEFAULT_BUFFER_SIZE = 8192; field in Base64Codec
371 buffer = new byte[DEFAULT_BUFFER_SIZE]; in resizeBuffer()
/external/icu/icu4c/source/i18n/
Ducoleitr.cpp36 #define DEFAULT_BUFFER_SIZE 16 macro
56 RCEI defaultBuffer[DEFAULT_BUFFER_SIZE];
/external/python/cpython2/Modules/_io/
D_iomodule.h71 #define DEFAULT_BUFFER_SIZE (8 * 1024) /* bytes */ macro
D_iomodule.c444 buffering = DEFAULT_BUFFER_SIZE; in io_open()
654 if (PyModule_AddIntMacro(m, DEFAULT_BUFFER_SIZE) < 0) in init_io()

123