/cts/tests/tests/permission/src/android/permission/cts/ |
NoSdCardWritePermissionTest.java | 46 FileOutputStream strm = new FileOutputStream(fl); local 47 strm.write("Oops!".getBytes()); 48 strm.flush(); 49 strm.close();
|
/external/llvm/lib/Support/ |
Debug.cpp | 128 circular_raw_ostream strm; member in struct:dbgstream 131 strm(errs(), "*** Debug Log Output ***\n", 142 return thestrm.strm;
|
/external/squashfs-tools/squashfs-tools/ |
lzma_xz_wrapper.c | 43 lzma_stream strm = LZMA_STREAM_INIT; local 49 res = lzma_alone_encoder(&strm, &opt); 51 lzma_end(&strm); 55 strm.next_out = dest; 56 strm.avail_out = block_size; 57 strm.next_in = src; 58 strm.avail_in = size; 60 res = lzma_code(&strm, LZMA_FINISH); 61 lzma_end(&strm); 80 return (int) strm.total_out 102 lzma_stream strm = LZMA_STREAM_INIT; local [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
Debug.cpp | 104 circular_raw_ostream strm; member in struct:dbgstream 107 strm(errs(), "*** Debug Log Output ***\n", 118 return thestrm.strm;
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
Debug.cpp | 128 circular_raw_ostream strm; member in struct:dbgstream 131 strm(errs(), "*** Debug Log Output ***\n", 142 return thestrm.strm;
|
/external/zlib/src/examples/ |
zpipe.c | 40 z_stream strm; local 45 strm.zalloc = Z_NULL; 46 strm.zfree = Z_NULL; 47 strm.opaque = Z_NULL; 48 ret = deflateInit(&strm, level); 54 strm.avail_in = fread(in, 1, CHUNK, source); 56 (void)deflateEnd(&strm); 60 strm.next_in = in; 65 strm.avail_out = CHUNK; 66 strm.next_out = out 96 z_stream strm; local [all...] |
gzjoin.c | 254 local void zpull(z_streamp strm, bin *in) 260 strm->avail_in = in->left; 261 strm->next_in = in->next; 289 z_stream strm; /* zlib inflate stream */ local 300 strm.zalloc = Z_NULL; 301 strm.zfree = Z_NULL; 302 strm.opaque = Z_NULL; 303 strm.avail_in = 0; 304 strm.next_in = Z_NULL; 305 ret = inflateInit2(&strm, -15) [all...] |
zran.c | 150 z_stream strm; local 155 strm.zalloc = Z_NULL; 156 strm.zfree = Z_NULL; 157 strm.opaque = Z_NULL; 158 strm.avail_in = 0; 159 strm.next_in = Z_NULL; 160 ret = inflateInit2(&strm, 47); /* automatic zlib or gzip decoding */ 169 strm.avail_out = 0; 172 strm.avail_in = fread(input, 1, CHUNK, in); 177 if (strm.avail_in == 0) 253 z_stream strm; local [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
Debug.cpp | 136 circular_raw_ostream strm; member in struct:dbgstream 139 strm(errs(), "*** Debug Log Output ***\n", 150 return thestrm.strm;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
gzwrite.c | 19 z_streamp strm = &(state->strm);
local 39 strm->zalloc = Z_NULL;
40 strm->zfree = Z_NULL;
41 strm->opaque = Z_NULL;
42 ret = deflateInit2(strm, state->level, Z_DEFLATED,
57 strm->avail_out = state->size;
58 strm->next_out = state->out;
59 state->x.next = strm->next_out;
76 z_streamp strm = &(state->strm); local 139 z_streamp strm = &(state->strm); local 172 z_streamp strm; local 252 z_streamp strm; local 314 z_streamp strm; local 395 z_streamp strm; local 503 z_streamp strm; local [all...] |
gzread.c | 48 If strm->avail_in != 0, then the current data is moved to the beginning of
55 z_streamp strm = &(state->strm);
local 60 if (strm->avail_in) { /* copy what's there to the start */
62 unsigned const char *q = strm->next_in;
63 unsigned n = strm->avail_in;
68 if (gz_load(state, state->in + strm->avail_in,
69 state->size - strm->avail_in, &got) == -1)
71 strm->avail_in += got;
72 strm->next_in = state->in; 89 z_streamp strm = &(state->strm); local 177 z_streamp strm = &(state->strm); local 229 z_streamp strm = &(state->strm); local 295 z_streamp strm; local [all...] |
gzguts.h | 191 z_stream strm; /* stream structure in-place (not a pointer) */
member in struct:__anon5467
|
minigzip.c | 175 z_stream strm;
member in struct:gzFile_s 208 gz->strm.zalloc = myalloc;
209 gz->strm.zfree = myfree;
210 gz->strm.opaque = Z_NULL;
212 ret = deflateInit2(&(gz->strm), -1, 8, 15 + 16, 8, 0);
214 gz->strm.next_in = 0;
215 gz->strm.avail_in = Z_NULL;
216 ret = inflateInit2(&(gz->strm), 15 + 16);
225 gz->write ? deflateEnd(&(gz->strm)) : inflateEnd(&(gz->strm));
241 z_stream *strm; local 268 z_stream *strm; local 300 z_stream *strm; local [all...] |
/external/python/cpython2/Modules/zlib/ |
gzwrite.c | 21 z_streamp strm = &(state->strm); local 41 strm->zalloc = Z_NULL; 42 strm->zfree = Z_NULL; 43 strm->opaque = Z_NULL; 44 ret = deflateInit2(strm, state->level, Z_DEFLATED, 52 strm->next_in = NULL; 60 strm->avail_out = state->size; 61 strm->next_out = state->out; 62 state->x.next = strm->next_out 79 z_streamp strm = &(state->strm); local 151 z_streamp strm = &(state->strm); local 311 z_streamp strm; local 385 z_streamp strm; local 475 z_streamp strm; local 591 z_streamp strm; local [all...] |
gzread.c | 53 If strm->avail_in != 0, then the current data is moved to the beginning of 60 z_streamp strm = &(state->strm); local 65 if (strm->avail_in) { /* copy what's there to the start */ 67 unsigned const char *q = strm->next_in; 68 unsigned n = strm->avail_in; 73 if (gz_load(state, state->in + strm->avail_in, 74 state->size - strm->avail_in, &got) == -1) 76 strm->avail_in += got; 77 strm->next_in = state->in 94 z_streamp strm = &(state->strm); local 180 z_streamp strm = &(state->strm); local 232 z_streamp strm = &(state->strm); local [all...] |
gzguts.h | 200 z_stream strm; /* stream structure in-place (not a pointer) */ member in struct:__anon36816
|
minigzip.c | 175 z_stream strm; member in struct:gzFile_s 208 gz->strm.zalloc = myalloc; 209 gz->strm.zfree = myfree; 210 gz->strm.opaque = Z_NULL; 212 ret = deflateInit2(&(gz->strm), -1, 8, 15 + 16, 8, 0); 214 gz->strm.next_in = 0; 215 gz->strm.avail_in = Z_NULL; 216 ret = inflateInit2(&(gz->strm), 15 + 16); 225 gz->write ? deflateEnd(&(gz->strm)) : inflateEnd(&(gz->strm)); 241 z_stream *strm; local 268 z_stream *strm; local 300 z_stream *strm; local [all...] |
/external/zlib/src/ |
gzwrite.c | 21 z_streamp strm = &(state->strm); local 41 strm->zalloc = Z_NULL; 42 strm->zfree = Z_NULL; 43 strm->opaque = Z_NULL; 44 ret = deflateInit2(strm, state->level, Z_DEFLATED, 52 strm->next_in = NULL; 60 strm->avail_out = state->size; 61 strm->next_out = state->out; 62 state->x.next = strm->next_out 79 z_streamp strm = &(state->strm); local 151 z_streamp strm = &(state->strm); local 311 z_streamp strm; local 385 z_streamp strm; local 475 z_streamp strm; local 591 z_streamp strm; local [all...] |
gzread.c | 53 If strm->avail_in != 0, then the current data is moved to the beginning of 60 z_streamp strm = &(state->strm); local 65 if (strm->avail_in) { /* copy what's there to the start */ 67 unsigned const char *q = strm->next_in; 68 unsigned n = strm->avail_in; 73 if (gz_load(state, state->in + strm->avail_in, 74 state->size - strm->avail_in, &got) == -1) 76 strm->avail_in += got; 77 strm->next_in = state->in 94 z_streamp strm = &(state->strm); local 180 z_streamp strm = &(state->strm); local 232 z_streamp strm = &(state->strm); local [all...] |
/bootable/recovery/applypatch/ |
imgpatch.cpp | 64 z_stream strm; local 65 strm.zalloc = Z_NULL; 66 strm.zfree = Z_NULL; 67 strm.opaque = Z_NULL; 68 strm.avail_in = 0; 69 strm.next_in = nullptr; 70 int ret = deflateInit2(&strm, level, method, window_bits, mem_level, strategy); 81 auto compression_sink = [&strm, &actual_target_length, &expected_target_length, &total_written, 84 strm.avail_in = len; 85 strm.next_in = data 243 z_stream strm; local [all...] |
/external/deqp/modules/gles2/stress/ |
es2sVertexArrayTests.cpp | 43 std::stringstream strm; local 44 strm << t; 45 return strm.str();
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/zlib/ |
gzguts.h | 197 z_stream strm; /* stream structure in-place (not a pointer) */
member in struct:__anon5522
|
/external/bzip2/ |
decompress.c | 54 if (s->strm->avail_in == 0) RETURN(BZ_OK); \ 58 (*((UChar*)(s->strm->next_in)))); \ 60 s->strm->next_in++; \ 61 s->strm->avail_in--; \ 62 s->strm->total_in_lo32++; \ 63 if (s->strm->total_in_lo32 == 0) \ 64 s->strm->total_in_hi32++; \ 111 bz_stream* strm = s->strm; local
|
/external/deqp/modules/gles3/stress/ |
es3sVertexArrayTests.cpp | 69 std::stringstream strm; local 70 strm << t; 71 return strm.str();
|
/external/kmod/libkmod/ |
libkmod-file.c | 88 static int xz_uncompress(lzma_stream *strm, struct kmod_file *file) 96 strm->avail_in = 0; 97 strm->next_out = out_buf; 98 strm->avail_out = sizeof(out_buf); 101 if (strm->avail_in == 0) { 107 strm->next_in = in_buf; 108 strm->avail_in = rdret; 112 ret = lzma_code(strm, action); 113 if (strm->avail_out == 0 || ret != LZMA_OK) { 114 size_t write_size = BUFSIZ - strm->avail_out 145 lzma_stream strm = LZMA_STREAM_INIT; local [all...] |