Home
last modified time | relevance | path

Searched full:zs (Results 1 – 25 of 811) sorted by relevance

12345678910>>...33

/external/zstd/contrib/seekable_format/
Dzstdseek_decompress.c232 ZSTD_seekable* const zs = (ZSTD_seekable*)malloc(sizeof(ZSTD_seekable)); in ZSTD_seekable_create() local
233 if (zs == NULL) return NULL; in ZSTD_seekable_create()
236 memset(zs, 0, sizeof(*zs)); in ZSTD_seekable_create()
238 zs->dstream = ZSTD_createDStream(); in ZSTD_seekable_create()
239 if (zs->dstream == NULL) { in ZSTD_seekable_create()
240 free(zs); in ZSTD_seekable_create()
244 return zs; in ZSTD_seekable_create()
247 size_t ZSTD_seekable_free(ZSTD_seekable* zs) in ZSTD_seekable_free() argument
249 if (zs == NULL) return 0; /* support free on null */ in ZSTD_seekable_free()
250 ZSTD_freeDStream(zs->dstream); in ZSTD_seekable_free()
[all …]
Dzstd_seekable.h166 ZSTDLIB_API size_t ZSTD_seekable_free(ZSTD_seekable* zs);
169 ZSTDLIB_API size_t ZSTD_seekable_initBuff(ZSTD_seekable* zs, const void* src, size_t srcSize);
170 ZSTDLIB_API size_t ZSTD_seekable_initFile(ZSTD_seekable* zs, FILE* src);
171 ZSTDLIB_API size_t ZSTD_seekable_decompress(ZSTD_seekable* zs, void* dst, size_t dstSize, unsigned …
172 ZSTDLIB_API size_t ZSTD_seekable_decompressFrame(ZSTD_seekable* zs, void* dst, size_t dstSize, unsi…
176 ZSTDLIB_API unsigned ZSTD_seekable_getNumFrames(const ZSTD_seekable* zs);
177 ZSTDLIB_API unsigned long long ZSTD_seekable_getFrameCompressedOffset(const ZSTD_seekable* zs, unsi…
178 ZSTDLIB_API unsigned long long ZSTD_seekable_getFrameDecompressedOffset(const ZSTD_seekable* zs, un…
179 ZSTDLIB_API size_t ZSTD_seekable_getFrameCompressedSize(const ZSTD_seekable* zs, unsigned frameInde…
180 ZSTDLIB_API size_t ZSTD_seekable_getFrameDecompressedSize(const ZSTD_seekable* zs, unsigned frameIn…
[all …]
/external/grpc-grpc/src/core/lib/compression/
Dmessage_compress.cc36 static int zlib_body(z_stream* zs, grpc_slice_buffer* input, in zlib_body() argument
38 int (*flate)(z_stream* zs, int flush)) { in zlib_body() argument
46 zs->avail_out = static_cast<uInt> GRPC_SLICE_LENGTH(outbuf); in zlib_body()
47 zs->next_out = GRPC_SLICE_START_PTR(outbuf); in zlib_body()
52 zs->avail_in = static_cast<uInt> GRPC_SLICE_LENGTH(input->slices[i]); in zlib_body()
53 zs->next_in = GRPC_SLICE_START_PTR(input->slices[i]); in zlib_body()
55 if (zs->avail_out == 0) { in zlib_body()
59 zs->avail_out = static_cast<uInt> GRPC_SLICE_LENGTH(outbuf); in zlib_body()
60 zs->next_out = GRPC_SLICE_START_PTR(outbuf); in zlib_body()
62 r = flate(zs, flush); in zlib_body()
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/compression/
Dmessage_compress.cc66 static int zlib_body(z_stream* zs, grpc_slice_buffer* input, in zlib_body() argument
68 int (*flate)(z_stream* zs, int flush)) { in zlib_body() argument
76 zs->avail_out = static_cast<uInt> GRPC_SLICE_LENGTH(outbuf); in zlib_body()
77 zs->next_out = GRPC_SLICE_START_PTR(outbuf); in zlib_body()
82 zs->avail_in = static_cast<uInt> GRPC_SLICE_LENGTH(input->slices[i]); in zlib_body()
83 zs->next_in = GRPC_SLICE_START_PTR(input->slices[i]); in zlib_body()
85 if (zs->avail_out == 0) { in zlib_body()
89 zs->avail_out = static_cast<uInt> GRPC_SLICE_LENGTH(outbuf); in zlib_body()
90 zs->next_out = GRPC_SLICE_START_PTR(outbuf); in zlib_body()
92 r = flate(zs, flush); in zlib_body()
[all …]
/external/cldr/common/collation/
Dhu.xml24 &Z<zs<<<Zs<<<ZS
51 &zs<<<zzs/zs
52 &Zs<<<Zzs/zs
53 &ZS<<<ZZS/ZS
66 &Z<zs<<<zS<<<Zs<<<ZS
94 &zs<<<zzs/zs<<<zzS/zS<<<zZs/Zs<<<zZS/ZS
95 &Zs<<<Zzs/zs<<<ZzS/zS<<<ZZs/Zs
96 &ZS<<<ZZS/ZS
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipShortTest.java36 final ZipShort zs = new ZipShort(0x1234); in testToBytes() local
37 final byte[] result = zs.getBytes(); in testToBytes()
62 final ZipShort zs = new ZipShort(val); in testFromBytes() local
63 assertEquals("value from bytes", 0x1234, zs.getValue()); in testFromBytes()
71 final ZipShort zs = new ZipShort(0x1234); in testEquals() local
75 assertTrue("reflexive", zs.equals(zs)); in testEquals()
77 assertTrue("works", zs.equals(zs2)); in testEquals()
78 assertTrue("works, part two", !zs.equals(zs3)); in testEquals()
80 assertTrue("symmetric", zs2.equals(zs)); in testEquals()
82 assertTrue("null handling", !zs.equals(null)); in testEquals()
[all …]
/external/sdv/vsomeip/third_party/boost/icl/test/test_combinable_/
Dtest_combinable.cpp57 typedef separate_interval_set<int> zS; in check_combine_pattern() typedef
63 typedef interval_base_set<zS,int> zT; in check_combine_pattern()
80 check_combinable<IsCombinable, jS, zS >(jS_zS, "jS_zS", text); in check_combine_pattern()
85 check_combinable<IsCombinable, zS, S_e>(zS_e , "zS_e ", text); in check_combine_pattern()
86 check_combinable<IsCombinable, zS, S_i>(zS_i , "zS_i ", text); in check_combine_pattern()
87 check_combinable<IsCombinable, zS, M_b>(zS_b , "zS_b ", text); in check_combine_pattern()
88 check_combinable<IsCombinable, zS, M_p>(zS_p , "zS_p ", text); in check_combine_pattern()
89 check_combinable<IsCombinable, zS, jS >(zS_jS, "zS_jS", text); in check_combine_pattern()
90 check_combinable<IsCombinable, zS, zS >(zS_zS, "zS_zS", text); in check_combine_pattern()
91 check_combinable<IsCombinable, zS, sS >(zS_sS, "zS_sS", text); in check_combine_pattern()
[all …]
/external/okio/okio/src/jvmTest/kotlin/okio/
DSegmentSharingTest.kt35 val byteString = bufferWithSegments(xs, ys, zs).snapshot() in snapshotsAreEquivalent()
36 assertEquivalent(byteString, bufferWithSegments(xs, ys + zs).snapshot()) in snapshotsAreEquivalent()
37 assertEquivalent(byteString, bufferWithSegments(xs + ys + zs).snapshot()) in snapshotsAreEquivalent()
38 assertEquivalent(byteString, (xs + ys + zs).encodeUtf8()) in snapshotsAreEquivalent()
42 val byteString = bufferWithSegments(xs, ys, zs).snapshot() in snapshotGetByte()
48 assertEquals('z', byteString[xs.length + ys.length + zs.length - 1].toInt().toChar()) in snapshotGetByte()
54 byteString[xs.length + ys.length + zs.length] in snapshotGetByte()
59 val byteString = bufferWithSegments(xs, ys, zs).snapshot() in snapshotWriteToOutputStream()
62 assertEquals(xs + ys + zs, out.readUtf8()) in snapshotWriteToOutputStream()
70 val buffer = bufferWithSegments(xs, ys, zs) in snapshotSegmentsAreNotRecycled()
[all …]
/external/cronet/stable/third_party/icu/source/data/coll/
Dhu.txt16 "&Z<zs<<<Zs<<<ZS"
43 "&zs<<<zzs/zs"
44 "&Zs<<<Zzs/zs"
45 "&ZS<<<ZZS/ZS"
/external/cronet/tot/third_party/icu/source/data/coll/
Dhu.txt16 "&Z<zs<<<Zs<<<ZS"
43 "&zs<<<zzs/zs"
44 "&Zs<<<Zzs/zs"
45 "&ZS<<<ZZS/ZS"
/external/icu/icu4c/source/data/coll/
Dhu.txt16 "&Z<zs<<<Zs<<<ZS"
43 "&zs<<<zzs/zs"
44 "&Zs<<<Zzs/zs"
45 "&ZS<<<ZZS/ZS"
/external/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.h73 zink_shader_compile(struct zink_screen *screen, bool can_shobj, struct zink_shader *zs, nir_shader …
75 zink_shader_compile_separate(struct zink_screen *screen, struct zink_shader *zs);
79 zink_shader_init(struct zink_screen *screen, struct zink_shader *zs);
90 zink_shader_spirv_compile(struct zink_screen *screen, struct zink_shader *zs, struct spirv_shader *…
92 zink_shader_tcs_compile(struct zink_screen *screen, struct zink_shader *zs, unsigned patch_vertices…
96 zink_shader_tcs_init(struct zink_screen *screen, struct zink_shader *zs, nir_shader *tes, nir_shade…
99 zink_shader_descriptor_is_buffer(struct zink_shader *zs, enum zink_descriptor_type type, unsigned i) in zink_shader_descriptor_is_buffer() argument
101 return zs->bindings[type][i].type == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER || in zink_shader_descriptor_is_buffer()
102 zs->bindings[type][i].type == VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER; in zink_shader_descriptor_is_buffer()
110 zink_shader_deserialize(struct zink_screen *screen, struct zink_shader *zs);
[all …]
Dzink_compiler.c1460 get_bo_vars(struct zink_shader *zs, nir_shader *shader) in get_bo_vars() argument
1464 if (zs->ubos_used) in get_bo_vars()
1465 bo.first_ubo = ffs(zs->ubos_used & ~BITFIELD_BIT(0)) - 2; in get_bo_vars()
1467 if (zs->ssbos_used) in get_bo_vars()
1468 bo.first_ssbo = ffs(zs->ssbos_used) - 1; in get_bo_vars()
1550 bound_bo_access(nir_shader *shader, struct zink_shader *zs) in bound_bo_access() argument
1552 struct bo_vars bo = get_bo_vars(zs, shader); in bound_bo_access()
1557 optimize_nir(struct nir_shader *s, struct zink_shader *zs, bool can_shrink) in optimize_nir() argument
1584 if (zs) in optimize_nir()
1585 NIR_PASS(progress, s, bound_bo_access, zs); in optimize_nir()
[all …]
Dzink_program.c110 struct zink_shader *zs, struct zink_gfx_program *prog, in gather_shader_module_info() argument
116 gl_shader_stage stage = zs->info.stage; in gather_shader_module_info()
118 if (has_inline && ctx && zs->info.num_inlinable_uniforms && in gather_shader_module_info()
120 …if (zs->can_inline && (screen->is_cpu || prog->inlined_variant_count[stage] < ZINK_MAX_INLINED_VAR… in gather_shader_module_info()
121 *inline_size = zs->info.num_inlinable_uniforms; in gather_shader_module_info()
131 struct zink_shader *zs, struct zink_gfx_program *prog, in create_shader_module_for_stage() argument
141 const bool is_nongenerated_tcs = stage == MESA_SHADER_TESS_CTRL && !zs->non_fs.is_generated; in create_shader_module_for_stage()
151 if (stage == MESA_SHADER_TESS_CTRL && zs->non_fs.is_generated && zs->spirv) { in create_shader_module_for_stage()
153 … zm->obj = zink_shader_tcs_compile(screen, zs, patch_vertices, prog->base.uses_shobj, &prog->base); in create_shader_module_for_stage()
155 …zm->obj = zink_shader_compile(screen, prog->base.uses_shobj, zs, zink_shader_blob_deserialize(scre… in create_shader_module_for_stage()
[all …]
/external/okhttp/okio/okio/src/test/java/okio/
DSegmentSharingTest.java31 private static final String zs = TestUtil.repeat('z', Segment.SIZE / 2 + 3); field in SegmentSharingTest
39 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); in snapshotsAreEquivalent()
40 assertEquivalent(byteString, concatenateBuffers(xs, ys + zs).snapshot()); in snapshotsAreEquivalent()
41 assertEquivalent(byteString, concatenateBuffers(xs + ys + zs).snapshot()); in snapshotsAreEquivalent()
42 assertEquivalent(byteString, ByteString.encodeUtf8(xs + ys + zs)); in snapshotsAreEquivalent()
46 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); in snapshotGetByte()
52 assertEquals('z', byteString.getByte(xs.length() + ys.length() + zs.length() - 1)); in snapshotGetByte()
59 byteString.getByte(xs.length() + ys.length() + zs.length()); in snapshotGetByte()
66 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); in snapshotWriteToOutputStream()
69 assertEquals(xs + ys + zs, out.readUtf8()); in snapshotWriteToOutputStream()
[all …]
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_job.c463 struct pan_image_view *zs, struct pan_image_view *s, in panfrost_batch_to_fb_info() argument
471 memset(zs, 0, sizeof(*zs)); in panfrost_batch_to_fb_info()
552 zs->format = surf->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT in panfrost_batch_to_fb_info()
555 zs->dim = MALI_TEXTURE_DIMENSION_2D; in panfrost_batch_to_fb_info()
556 zs->last_level = zs->first_level = surf->u.tex.level; in panfrost_batch_to_fb_info()
557 zs->first_layer = surf->u.tex.first_layer; in panfrost_batch_to_fb_info()
558 zs->last_layer = surf->u.tex.last_layer; in panfrost_batch_to_fb_info()
559 zs->planes[0] = &z_rsrc->image; in panfrost_batch_to_fb_info()
560 zs->nr_samples = surf->nr_samples ?: MAX2(surf->texture->nr_samples, 1); in panfrost_batch_to_fb_info()
561 memcpy(zs->swizzle, id_swz, sizeof(zs->swizzle)); in panfrost_batch_to_fb_info()
[all …]
Dpan_fb_preload.c232 UNUSED bool zs = (views->z || views->s); in pan_preload_emit_rsd() local
256 if (zs) { in pan_preload_emit_rsd()
269 cfg.properties.allow_forward_pixel_to_kill = !zs; in pan_preload_emit_rsd()
272 cfg.properties.allow_forward_pixel_to_be_killed = !zs; in pan_preload_emit_rsd()
281 cfg.properties.force_early_z = !zs; in pan_preload_emit_rsd()
760 pan_preload_get_views(const struct pan_fb_info *fb, bool zs, in pan_preload_get_views() argument
765 if (zs) { in pan_preload_get_views()
766 if (fb->zs.preload.z) in pan_preload_get_views()
767 views.z = fb->zs.view.zs; in pan_preload_get_views()
769 if (fb->zs.preload.s) { in pan_preload_get_views()
[all …]
/external/mesa3d/src/panfrost/lib/
Dpan_desc.c205 const struct pan_image_view *s = fb->zs.view.s; in pan_prepare_s()
235 const struct pan_image_view *zs = fb->zs.view.zs; in pan_prepare_zs() local
237 if (!zs) in pan_prepare_zs()
240 const struct pan_image *image = pan_image_view_get_zs_plane(zs); in pan_prepare_zs()
241 unsigned level = zs->first_level; in pan_prepare_zs()
243 ext->zs_msaa = mali_sampling_mode(zs); in pan_prepare_zs()
246 pan_iview_get_surface(zs, 0, layer_idx, 0, &surf); in pan_prepare_zs()
282 (pan_image_view_get_nr_samples(zs) > 1) in pan_prepare_zs()
288 ext->zs_write_format = translate_zs_format(zs->format); in pan_prepare_zs()
328 cfg.zs_clean_pixel_write_enable = fb->zs.clear.z || fb->zs.clear.s; in pan_emit_zs_crc_ext()
[all …]
/external/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_cmd_draw.c82 fbinfo->zs.view.zs = &state->render.zs_pview; in render_state_set_z_attachment()
101 fbinfo->zs.preload.s = true; in render_state_set_z_attachment()
110 fbinfo->zs.clear.z = true; in render_state_set_z_attachment()
111 fbinfo->zs.clear_value.depth = att->clearValue.depthStencil.depth; in render_state_set_z_attachment()
113 fbinfo->zs.preload.z = true; in render_state_set_z_attachment()
144 fbinfo->zs.view.s = &state->render.s_pview; in render_state_set_s_attachment()
172 fbinfo->zs.preload.s = false; in render_state_set_s_attachment()
173 fbinfo->zs.view.s = NULL; in render_state_set_s_attachment()
180 fbinfo->zs.view.zs == NULL) { in render_state_set_s_attachment()
181 fbinfo->zs.view.zs = &state->render.s_pview; in render_state_set_s_attachment()
[all …]
Dpanvk_vX_cmd_fb_preload.c493 fbinfo->zs.view.zs ? pan_image_view_get_zs_plane(fbinfo->zs.view.zs) in cmd_emit_dcd()
494 : pan_image_view_get_s_plane(fbinfo->zs.view.s); in cmd_emit_dcd()
498 /* If we're dealing with a combined ZS resource and only one in cmd_emit_dcd()
504 fbinfo->zs.clear.z != fbinfo->zs.clear.s) in cmd_emit_dcd()
508 * EARLY_ZS_ALWAYS has the advantage of reloading the ZS tile in cmd_emit_dcd()
509 * buffer one or more tiles ahead, making ZS data immediately in cmd_emit_dcd()
510 * available for any ZS tests taking place in other shaders. in cmd_emit_dcd()
512 * preferable (saving bandwidth vs having ZS preloaded in cmd_emit_dcd()
582 key->aspects != VK_IMAGE_ASPECT_COLOR_BIT && fbinfo->zs.preload.z; in cmd_emit_dcd()
584 key->aspects != VK_IMAGE_ASPECT_COLOR_BIT && fbinfo->zs.preload.s; in cmd_emit_dcd()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECPoint.java50 protected ECFieldElement[] zs; field in ECPoint
60 protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs) in ECPoint() argument
65 this.zs = zs; in ECPoint()
158 return (index < 0 || index >= zs.length) ? null : zs[index]; in getZCoord()
163 int zsLen = zs.length; in getZCoords()
169 System.arraycopy(zs, 0, copy, 0, zsLen); in getZCoords()
185 return zs; in getRawZCoords()
203 || zs[0].isOne(); in isNormalized()
287 return x == null || y == null || (zs.length > 0 && zs[0].isZero()); in isInfinity()
413 // TODO This is a little strong, really only requires coZNormalizeAll to get Zs equal in equals()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/math/ec/
DECPoint.java52 protected ECFieldElement[] zs; field in ECPoint
62 protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs) in ECPoint() argument
67 this.zs = zs; in ECPoint()
160 return (index < 0 || index >= zs.length) ? null : zs[index]; in getZCoord()
165 int zsLen = zs.length; in getZCoords()
171 System.arraycopy(zs, 0, copy, 0, zsLen); in getZCoords()
187 return zs; in getRawZCoords()
205 || zs[0].isOne(); in isNormalized()
289 return x == null || y == null || (zs.length > 0 && zs[0].isZero()); in isInfinity()
415 // TODO This is a little strong, really only requires coZNormalizeAll to get Zs equal in equals()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
DECPoint.java52 protected ECFieldElement[] zs; field in ECPoint
62 protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs) in ECPoint() argument
67 this.zs = zs; in ECPoint()
160 return (index < 0 || index >= zs.length) ? null : zs[index]; in getZCoord()
165 int zsLen = zs.length; in getZCoords()
171 System.arraycopy(zs, 0, copy, 0, zsLen); in getZCoords()
187 return zs; in getRawZCoords()
205 || zs[0].isOne(); in isNormalized()
289 return x == null || y == null || (zs.length > 0 && zs[0].isZero()); in isInfinity()
415 // TODO This is a little strong, really only requires coZNormalizeAll to get Zs equal in equals()
[all …]
/external/bc/tests/dc/errors/
D10.txt6 0sm[Nx]0s_[]zsWx[li]zs^x[lili100>Nx]0sm[]zsWx[liNx]zsxx[li;rlilix]
11 0sm[Nx]0s_@]zsWx[li]zs^x[lili100>Nx]0sm[]zsWx[liNx]zsxx[li;rlilix]
16 0sm[Nx]0s_[]zsWx[li]zs^x[lili100>Nx]0sm[]zsWx[liNx]zsxx[li;rlilix]
19 ……Wx[li]zsGd[Nx]0sm[]zsWx[li]zsGx[Nx]0sm[]zsW#! /Wx[li]zs^x[Nx]0s_[]zsWx[li]zs^x[lili100>Nx]0sm[]zs
/external/rust/android-crates-io/crates/zerovec/src/ule/
Dencode.rs336 type ZS<T> = ZeroSlice<T>; in test_vzv_from() typedef
364 let a: VZV<ZS<u8>> = VarZeroVec::from(&U8_2D_ARRAY); in test_vzv_from()
365 let b: VZV<ZS<u8>> = VarZeroVec::from(U8_2D_SLICE); in test_vzv_from()
366 let c: VZV<ZS<u8>> = VarZeroVec::from(&u8_2d_vec); in test_vzv_from()
367 let d: VZV<ZS<u8>> = VarZeroVec::from(&u8_2d_zerovec); in test_vzv_from()
388 let a: VZV<VZS<ZS<u8>>> = VarZeroVec::from(&U8_3D_ARRAY); in test_vzv_from()
389 let b: VZV<VZS<ZS<u8>>> = VarZeroVec::from(U8_3D_SLICE); in test_vzv_from()
390 let c: VZV<VZS<ZS<u8>>> = VarZeroVec::from(&u8_3d_vec); in test_vzv_from()
391 let d: VZV<VZS<ZS<u8>>> = VarZeroVec::from(u8_3d_vzv_zeroslice); in test_vzv_from()
405 let a: VZV<ZS<u32>> = VarZeroVec::from(&U32_2D_ARRAY); in test_vzv_from()
[all …]

12345678910>>...33