Home
last modified time | relevance | path

Searched refs:out_pos (Results 1 – 20 of 20) sorted by relevance

/external/xz-embedded/userspace/
Dbytetest.c50 b.out_pos = 0; in main()
61 if (b.out_pos == sizeof(out)) { in main()
62 if (fwrite(out, 1, b.out_pos, stdout) != b.out_pos) { in main()
67 uncomp_size -= b.out_pos; in main()
68 b.out_pos = 0; in main()
86 if (uncomp_size != b.out_pos) { in main()
91 if (fwrite(out, 1, b.out_pos, stdout) != b.out_pos in main()
Dxzminidec.c58 b.out_pos = 0; in main()
69 if (b.out_pos == sizeof(out)) { in main()
70 if (fwrite(out, 1, b.out_pos, stdout) != b.out_pos) { in main()
75 b.out_pos = 0; in main()
91 if (fwrite(out, 1, b.out_pos, stdout) != b.out_pos in main()
Dbuftest.c39 b.out_pos = 0; in main()
45 fwrite(out, 1, b.out_pos, stdout); in main()
/external/xz-embedded/linux/lib/xz/
Dxz_dec_bcj.c52 size_t out_pos; member
403 copy_size = min_t(size_t, s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
404 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush()
405 b->out_pos += copy_size; in bcj_flush()
449 if (s->temp.size < b->out_size - b->out_pos || s->temp.size == 0) { in xz_dec_bcj_run()
450 out_start = b->out_pos; in xz_dec_bcj_run()
451 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run()
452 b->out_pos += s->temp.size; in xz_dec_bcj_run()
459 bcj_apply(s, b->out, &out_start, b->out_pos); in xz_dec_bcj_run()
469 s->temp.size = b->out_pos - out_start; in xz_dec_bcj_run()
[all …]
Dxz_dec_test.c77 buffers.out_pos = 0; in xz_dec_test_open()
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write()
132 buffers.out_pos = 0; in xz_dec_test_write()
134 crc = crc32(crc, buffer_out, buffers.out_pos); in xz_dec_test_write()
Dxz_dec_stream.c234 s->out_start = b->out_pos; in dec_block()
244 s->block.uncompressed += b->out_pos - s->out_start; in dec_block()
257 b->out_pos - s->out_start, s->crc); in dec_block()
261 b->out_pos - s->out_start, s->crc); in dec_block()
786 out_start = b->out_pos; in xz_dec_run()
796 b->out_pos = out_start; in xz_dec_run()
800 && out_start == b->out_pos) { in xz_dec_run()
Dxz_dec_lzma2.c289 dict->buf = b->out + b->out_pos; in dict_reset()
290 dict->end = b->out_size - b->out_pos; in dict_reset()
380 && b->out_pos < b->out_size) { in dict_uncompressed()
382 b->out_size - b->out_pos); in dict_uncompressed()
400 memcpy(b->out + b->out_pos, b->in + b->in_pos, in dict_uncompressed()
406 b->out_pos += copy_size; in dict_uncompressed()
424 memcpy(b->out + b->out_pos, dict->buf + dict->start, in dict_flush()
429 b->out_pos += copy_size; in dict_flush()
1071 b->out_size - b->out_pos, in xz_dec_lzma2_run()
1086 } else if (b->out_pos == b->out_size in xz_dec_lzma2_run()
/external/bsdiff/
Dsuffix_array_index_unittest.cc28 uint64_t* out_pos) { in SearchPrefix() argument
30 pattern.size(), out_length, out_pos); in SearchPrefix()
33 ASSERT_LT(*out_pos, text_.size()); in SearchPrefix()
34 ASSERT_LE(*out_pos + *out_length, text_.size()); in SearchPrefix()
35 EXPECT_EQ(0, memcmp(text_.data() + *out_pos, pattern.data(), *out_length)); in SearchPrefix()
Dsuffix_array_index.cc65 uint64_t* out_pos) const override;
102 uint64_t* out_pos) const { in SearchPrefix()
109 *out_pos = sa_[suf_left]; in SearchPrefix()
139 *out_pos = 0; in SearchPrefix()
141 *out_pos = sa_[suf_left]; in SearchPrefix()
143 *out_pos = sa_[suf_left - 1]; in SearchPrefix()
/external/xz-embedded/linux/lib/
Ddecompress_unxz.c297 b.out_pos = 0; in unxz()
325 if (flush != NULL && (b.out_pos == b.out_size in unxz()
326 || (ret != XZ_OK && b.out_pos > 0))) { in unxz()
332 if (flush(b.out, b.out_pos) != (int)b.out_pos) in unxz()
335 b.out_pos = 0; in unxz()
/external/toybox/toys/pending/
Dxzcat.c96 size_t out_pos; member
232 b.out_pos = 0; in do_xzcat()
243 if (b.out_pos == sizeof(out)) { in do_xzcat()
244 if (fwrite(out, 1, b.out_pos, stdout) != b.out_pos) { in do_xzcat()
249 b.out_pos = 0; in do_xzcat()
258 if (fwrite(out, 1, b.out_pos, stdout) != b.out_pos) { in do_xzcat()
446 size_t out_pos; member
814 copy_size = minof(s->temp.filtered, b->out_size - b->out_pos); in bcj_flush()
815 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush()
816 b->out_pos += copy_size; in bcj_flush()
[all …]
/external/wpa_supplicant_8/src/tls/
Dtlsv1_server.c264 u8 alert, *out_end, *out_pos, ct; in tlsv1_server_decrypt() local
269 out_pos = out_data; in tlsv1_server_decrypt()
274 olen = out_end - out_pos; in tlsv1_server_decrypt()
276 out_pos, &olen, &alert); in tlsv1_server_decrypt()
298 out_pos[0], out_pos[1]); in tlsv1_server_decrypt()
299 if (out_pos[0] == TLS_ALERT_LEVEL_WARNING) { in tlsv1_server_decrypt()
306 out_pos[1]); in tlsv1_server_decrypt()
328 out_pos += olen; in tlsv1_server_decrypt()
329 if (out_pos > out_end) { in tlsv1_server_decrypt()
340 return out_pos - out_data; in tlsv1_server_decrypt()
Dtlsv1_client.c312 u8 alert, *out_pos, ct; in tlsv1_client_decrypt() local
340 out_pos = wpabuf_put(buf, 0); in tlsv1_client_decrypt()
343 out_pos, &olen, &alert); in tlsv1_client_decrypt()
375 out_pos[0], out_pos[1]); in tlsv1_client_decrypt()
376 if (out_pos[0] == TLS_ALERT_LEVEL_WARNING) { in tlsv1_client_decrypt()
382 alert = out_pos[1]; in tlsv1_client_decrypt()
/external/libxcam/modules/soft/
Dsoft_geo_tasks_priv.cpp67 Float2 out_pos (out_x, out_y); in work_range() local
68 out_pos -= out_center; in work_range()
69 Float2 first = out_pos / factors; in work_range()
/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c308 struct ureg_dst out_pos; in st_pbo_create_vs() local
317 out_pos = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0); in st_pbo_create_vs()
327 ureg_MOV(ureg, out_pos, in_pos); in st_pbo_create_vs()
332 ureg_I2F(ureg, ureg_writemask(out_pos, TGSI_WRITEMASK_Z), in st_pbo_create_vs()
350 struct ureg_dst out_pos; in st_pbo_create_gs() local
364 out_pos = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0); in st_pbo_create_gs()
375 ureg_MOV(ureg, out_pos, in_pos_vertex); in st_pbo_create_gs()
/external/libxcam/cl_kernel/
Dkernel_fisheye.cl47 int2 out_pos = (int2)(get_global_id (0), get_global_id (1));
48 float2 gps_pos = (convert_float2 (out_pos) - table_center) * radian_per_pixel + PI / 2.0f;
54 write_imagef (table, out_pos, (float4)(pos, 0.0f, 0.0f));
/external/libxcam/xcore/interface/
Dstitcher.cpp259 uint32_t out_pos = format_angle (center_angle - _out_start_angle) / 360.0f * _output_width; in mark_centers() local
260 XCAM_ASSERT (out_pos < _output_width); in mark_centers()
261 if (_output_width <= constraint_margin + out_pos || out_pos <= constraint_margin) in mark_centers()
262 out_pos = 0; in mark_centers()
265 …center_angle = XCAM_ALIGN_AROUND (out_pos, _alignment_x) / (float)_output_width * 360.0f - _out_st… in mark_centers()
281 _center_marks[i].out_center_x = out_pos; in mark_centers()
/external/libxcam/xcore/
Dsurview_fisheye_dewarp.cpp82 PointFloat2 out_pos (col * scale_factor_w, row * scale_factor_h); in fisheye_dewarp() local
83 world_coord = bowl_view_image_to_world (bowl_config, image_w, image_h, out_pos); in fisheye_dewarp()
/external/bsdiff/include/bsdiff/
Dsuffix_array_index_interface.h29 uint64_t* out_pos) const = 0;
/external/xz-embedded/linux/include/linux/
Dxz.h146 size_t out_pos; member