Home
last modified time | relevance | path

Searched refs:zs (Results 1 – 3 of 3) sorted by relevance

/system/bt/btif/src/
Dbtif_debug_btsnoop.cc137 z_stream zs; in btsnoop_compress() local
138 zs.zalloc = Z_NULL; in btsnoop_compress()
139 zs.zfree = Z_NULL; in btsnoop_compress()
140 zs.opaque = Z_NULL; in btsnoop_compress()
142 if (deflateInit(&zs, Z_DEFAULT_COMPRESSION) != Z_OK) return false; in btsnoop_compress()
151 zs.avail_in = in btsnoop_compress()
153 zs.next_in = block_src; in btsnoop_compress()
156 zs.avail_out = BLOCK_SIZE; in btsnoop_compress()
157 zs.next_out = block_dst; in btsnoop_compress()
159 int err = deflate(&zs, (i == num_blocks - 1) ? Z_FINISH : Z_NO_FLUSH); in btsnoop_compress()
[all …]
/system/nfc/src/adaptation/
Ddebug_nfcsnoop.cc80 z_stream zs; in nfcsnoop_compress() local
81 zs.zalloc = Z_NULL; in nfcsnoop_compress()
82 zs.zfree = Z_NULL; in nfcsnoop_compress()
83 zs.opaque = Z_NULL; in nfcsnoop_compress()
85 if (deflateInit(&zs, Z_DEFAULT_COMPRESSION) != Z_OK) return false; in nfcsnoop_compress()
94 zs.avail_in = in nfcsnoop_compress()
96 zs.next_in = block_src; in nfcsnoop_compress()
99 zs.avail_out = BLOCK_SIZE; in nfcsnoop_compress()
100 zs.next_out = block_dst; in nfcsnoop_compress()
102 int err = deflate(&zs, (i == num_blocks - 1) ? Z_FINISH : Z_NO_FLUSH); in nfcsnoop_compress()
[all …]
/system/extras/ANRdaemon/
DANRdaemon.cpp286 z_stream zs; in dump_trace() local
290 memset(&zs, 0, sizeof(zs)); in dump_trace()
291 result = deflateInit(&zs, Z_DEFAULT_COMPRESSION); in dump_trace()
304 zs.next_out = out; in dump_trace()
305 zs.avail_out = bufSize; in dump_trace()
308 if (zs.avail_in == 0) { in dump_trace()
317 zs.next_in = in; in dump_trace()
318 zs.avail_in = result; in dump_trace()
322 if (zs.avail_out == 0) { in dump_trace()
327 zs.avail_out = bufSize; in dump_trace()
[all …]