Home
last modified time | relevance | path

Searched refs:memoryLimit (Results 1 – 19 of 19) sorted by relevance

/external/xz-java/src/org/tukaani/xz/
DXZInputStream.java66 private final int memoryLimit; field in XZInputStream
168 public XZInputStream(InputStream in, int memoryLimit) throws IOException { in XZInputStream() argument
169 this(in, memoryLimit, true); in XZInputStream()
206 public XZInputStream(InputStream in, int memoryLimit, in XZInputStream() argument
208 this(in, memoryLimit, true, arrayCache); in XZInputStream()
262 public XZInputStream(InputStream in, int memoryLimit, boolean verifyCheck) in XZInputStream() argument
264 this(in, memoryLimit, verifyCheck, ArrayCache.getDefaultCache()); in XZInputStream()
305 public XZInputStream(InputStream in, int memoryLimit, boolean verifyCheck, in XZInputStream() argument
309 this.memoryLimit = memoryLimit; in XZInputStream()
311 this.xzIn = new SingleXZInputStream(in, memoryLimit, verifyCheck, in XZInputStream()
[all …]
DSingleXZInputStream.java45 private final int memoryLimit; field in SingleXZInputStream
162 public SingleXZInputStream(InputStream in, int memoryLimit) in SingleXZInputStream() argument
164 this(in, memoryLimit, true); in SingleXZInputStream()
202 public SingleXZInputStream(InputStream in, int memoryLimit, in SingleXZInputStream() argument
204 this(in, memoryLimit, true, arrayCache); in SingleXZInputStream()
259 public SingleXZInputStream(InputStream in, int memoryLimit, in SingleXZInputStream() argument
261 this(in, memoryLimit, verifyCheck, ArrayCache.getDefaultCache()); in SingleXZInputStream()
304 public SingleXZInputStream(InputStream in, int memoryLimit, in SingleXZInputStream() argument
307 this(in, memoryLimit, verifyCheck, readStreamHeader(in), arrayCache); in SingleXZInputStream()
310 SingleXZInputStream(InputStream in, int memoryLimit, boolean verifyCheck, in SingleXZInputStream() argument
[all …]
DSeekableXZInputStream.java91 private final int memoryLimit; field in SeekableXZInputStream
288 public SeekableXZInputStream(SeekableInputStream in, int memoryLimit) in SeekableXZInputStream() argument
290 this(in, memoryLimit, true); in SeekableXZInputStream()
334 public SeekableXZInputStream(SeekableInputStream in, int memoryLimit, in SeekableXZInputStream() argument
337 this(in, memoryLimit, true, arrayCache); in SeekableXZInputStream()
395 public SeekableXZInputStream(SeekableInputStream in, int memoryLimit, in SeekableXZInputStream() argument
398 this(in, memoryLimit, verifyCheck, ArrayCache.getDefaultCache()); in SeekableXZInputStream()
447 public SeekableXZInputStream(SeekableInputStream in, int memoryLimit, in SeekableXZInputStream() argument
516 memoryLimit); in SeekableXZInputStream()
520 assert memoryLimit >= 0; in SeekableXZInputStream()
[all …]
DMemoryLimitException.java23 private final int memoryLimit; field in MemoryLimitException
34 public MemoryLimitException(int memoryNeeded, int memoryLimit) { in MemoryLimitException() argument
36 + memoryLimit + " KiB"); in MemoryLimitException()
39 this.memoryLimit = memoryLimit; in MemoryLimitException()
58 return memoryLimit; in getMemoryLimit()
DLZMAInputStream.java252 public LZMAInputStream(InputStream in, int memoryLimit) in LZMAInputStream() argument
254 this(in, memoryLimit, ArrayCache.getDefaultCache()); in LZMAInputStream()
294 public LZMAInputStream(InputStream in, int memoryLimit, in LZMAInputStream() argument
316 if (memoryLimit != -1 && memoryNeeded > memoryLimit) in LZMAInputStream()
317 throw new MemoryLimitException(memoryNeeded, memoryLimit); in LZMAInputStream()
DBlockInputStream.java38 int memoryLimit, in BlockInputStream() argument
184 if (memoryLimit >= 0) { in BlockInputStream()
189 if (memoryNeeded > memoryLimit) in BlockInputStream()
190 throw new MemoryLimitException(memoryNeeded, memoryLimit); in BlockInputStream()
/external/llvm/lib/Support/
DProgram.cpp28 unsigned memoryLimit, std::string *ErrMsg);
32 unsigned memoryLimit, std::string *ErrMsg, in ExecuteAndWait() argument
35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { in ExecuteAndWait()
51 unsigned memoryLimit, std::string *ErrMsg, in ExecuteNoWait() argument
56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) in ExecuteNoWait()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DProgram.cpp28 unsigned memoryLimit, std::string *ErrMsg);
32 unsigned memoryLimit, std::string *ErrMsg, in ExecuteAndWait() argument
35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { in ExecuteAndWait()
51 unsigned memoryLimit, std::string *ErrMsg, in ExecuteNoWait() argument
56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) in ExecuteNoWait()
/external/swiftshader/third_party/LLVM/lib/Support/
DProgram.cpp30 unsigned memoryLimit, in ExecuteAndWait() argument
33 if (prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg)) in ExecuteAndWait()
44 unsigned memoryLimit, in ExecuteNoWait() argument
47 prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg); in ExecuteNoWait()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DProgram.h75 unsigned memoryLimit = 0, ///< If non-zero, this specifies max. amount
140 unsigned memoryLimit = 0,
149 unsigned memoryLimit = 0,
/external/xz-java/src/org/tukaani/xz/index/
DIndexDecoder.java42 long streamPadding, int memoryLimit) in IndexDecoder() argument
79 if (memoryLimit >= 0 && memoryUsage > memoryLimit) in IndexDecoder()
80 throw new MemoryLimitException(memoryUsage, memoryLimit); in IndexDecoder()
/external/llvm/include/llvm/Support/
DProgram.h113 unsigned memoryLimit = 0, ///< If non-zero, this specifies max. amount
130 const StringRef **redirects = nullptr, unsigned memoryLimit = 0,
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DProgram.h113 unsigned memoryLimit = 0, ///< If non-zero, this specifies max. amount
130 const StringRef **redirects = nullptr, unsigned memoryLimit = 0,
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DProgram.inc182 const Path **redirects, unsigned memoryLimit,
187 if (memoryLimit == 0) {
267 if (memoryLimit!=0) {
268 SetMemoryLimits(memoryLimit);
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DProgram.inc183 unsigned memoryLimit, std::string *ErrMsg) {
194 if (memoryLimit == 0) {
290 if (memoryLimit!=0) {
291 SetMemoryLimits(memoryLimit);
/external/llvm/lib/Support/Unix/
DProgram.inc183 unsigned memoryLimit, std::string *ErrMsg) {
194 if (memoryLimit == 0) {
290 if (memoryLimit!=0) {
291 SetMemoryLimits(memoryLimit);
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DProgram.inc157 unsigned memoryLimit,
306 if (memoryLimit != 0) {
313 jeli.ProcessMemoryLimit = uintptr_t(memoryLimit) * 1048576;
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DProgram.inc254 unsigned memoryLimit, std::string *ErrMsg) {
390 if (memoryLimit != 0) {
397 jeli.ProcessMemoryLimit = uintptr_t(memoryLimit) * 1048576;
/external/llvm/lib/Support/Windows/
DProgram.inc254 unsigned memoryLimit, std::string *ErrMsg) {
390 if (memoryLimit != 0) {
397 jeli.ProcessMemoryLimit = uintptr_t(memoryLimit) * 1048576;