/external/fio/lib/ |
D | zipf.c | 15 static void zipf_update(struct zipf_state *zs) in zipf_update() argument 25 to_gen = min(zs->nranges, (uint64_t) ZIPF_MAX_GEN); in zipf_update() 28 zs->zetan += pow(1.0 / (double) (i + 1), zs->theta); in zipf_update() 31 static void shared_rand_init(struct zipf_state *zs, unsigned long nranges, in shared_rand_init() argument 34 memset(zs, 0, sizeof(*zs)); in shared_rand_init() 35 zs->nranges = nranges; in shared_rand_init() 37 init_rand_seed(&zs->rand, seed, 0); in shared_rand_init() 38 zs->rand_off = __rand(&zs->rand); in shared_rand_init() 41 void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, in zipf_init() argument 44 shared_rand_init(zs, nranges, seed); in zipf_init() [all …]
|
D | zipf.h | 18 void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, unsigned int seed); 19 unsigned long long zipf_next(struct zipf_state *zs); 21 void pareto_init(struct zipf_state *zs, unsigned long nranges, double h, unsigned int seed); 22 unsigned long long pareto_next(struct zipf_state *zs); 23 void zipf_disable_hash(struct zipf_state *zs);
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
D | ilo_state_zs.c | 34 zs_set_gen6_null_3DSTATE_DEPTH_BUFFER(struct ilo_state_zs *zs, in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER() argument 51 STATIC_ASSERT(ARRAY_SIZE(zs->depth) >= 5); in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER() 52 zs->depth[0] = dw1; in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER() 53 zs->depth[1] = 0; in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER() 54 zs->depth[2] = 0; in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER() 55 zs->depth[3] = 0; in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER() 56 zs->depth[4] = 0; in zs_set_gen6_null_3DSTATE_DEPTH_BUFFER() 384 zs_set_gen6_3DSTATE_DEPTH_BUFFER(struct ilo_state_zs *zs, in zs_set_gen6_3DSTATE_DEPTH_BUFFER() argument 421 STATIC_ASSERT(ARRAY_SIZE(zs->depth) >= 5); in zs_set_gen6_3DSTATE_DEPTH_BUFFER() 422 zs->depth[0] = dw1; in zs_set_gen6_3DSTATE_DEPTH_BUFFER() [all …]
|
D | ilo_builder_3d_bottom.h | 669 const struct ilo_state_zs *zs) in gen6_3DSTATE_DEPTH_BUFFER() argument 689 dw[1] = zs->depth[0]; in gen6_3DSTATE_DEPTH_BUFFER() 692 dw[4] = zs->depth[2]; in gen6_3DSTATE_DEPTH_BUFFER() 693 dw[5] = zs->depth[3]; in gen6_3DSTATE_DEPTH_BUFFER() 695 dw[7] = zs->depth[4]; in gen6_3DSTATE_DEPTH_BUFFER() 699 if (zs->z_vma) { in gen6_3DSTATE_DEPTH_BUFFER() 700 ilo_builder_batch_reloc64(builder, pos + 2, zs->z_vma->bo, in gen6_3DSTATE_DEPTH_BUFFER() 701 zs->z_vma->bo_offset + zs->depth[1], in gen6_3DSTATE_DEPTH_BUFFER() 702 (zs->z_readonly) ? 0 : INTEL_RELOC_WRITE); in gen6_3DSTATE_DEPTH_BUFFER() 705 dw[1] = zs->depth[0]; in gen6_3DSTATE_DEPTH_BUFFER() [all …]
|
D | ilo_state_zs.h | 73 ilo_state_zs_init(struct ilo_state_zs *zs, 78 ilo_state_zs_init_for_null(struct ilo_state_zs *zs, 82 ilo_state_zs_disable_hiz(struct ilo_state_zs *zs,
|
/external/zlib/src/contrib/iostream2/ |
D | zstream.h | 115 inline int read(izstream& zs, T* x, Items items) { in read() argument 116 return ::gzread(zs.fp(), x, items*sizeof(T)); in read() 123 inline izstream& operator>(izstream& zs, T& x) { 124 ::gzread(zs.fp(), &x, sizeof(T)); 125 return zs; 129 inline zstringlen::zstringlen(izstream& zs) { in zstringlen() argument 130 zs > val.byte; in zstringlen() 131 if (val.byte == 255) zs > val.word; in zstringlen() 138 inline izstream& operator>(izstream& zs, char* x) { 139 zstringlen len(zs); [all …]
|
/external/syslinux/com32/lib/sys/ |
D | zfile.c | 62 z_streamp zs = calloc(1, sizeof(z_stream)); in gzip_file_init() local 64 if (!zs) in gzip_file_init() 67 fp->i.pvt = zs; in gzip_file_init() 69 zs->next_in = (void *)fp->i.datap; in gzip_file_init() 70 zs->avail_in = fp->i.nbytes; in gzip_file_init() 72 if (inflateInit2(zs, 15 + 32) != Z_OK) { in gzip_file_init() 85 z_streamp zs = fp->i.pvt; in gzip_file_read() local 92 zs->next_out = p; in gzip_file_read() 93 zs->avail_out = n; in gzip_file_read() 95 if (!zs->avail_in && fp->i.fd.handle) { in gzip_file_read() [all …]
|
/external/libvncserver/libvncserver/ |
D | zrleoutstream.c | 85 os->zs.zalloc = Z_NULL; in zrleOutStreamNew() 86 os->zs.zfree = Z_NULL; in zrleOutStreamNew() 87 os->zs.opaque = Z_NULL; in zrleOutStreamNew() 88 if (deflateInit(&os->zs, Z_DEFAULT_COMPRESSION) != Z_OK) { in zrleOutStreamNew() 99 deflateEnd(&os->zs); in zrleOutStreamFree() 107 os->zs.next_in = os->in.start; in zrleOutStreamFlush() 108 os->zs.avail_in = ZRLE_BUFFER_LENGTH (&os->in); in zrleOutStreamFlush() 111 rfbLog("zrleOutStreamFlush: avail_in %d\n", os->zs.avail_in); in zrleOutStreamFlush() 114 while (os->zs.avail_in != 0) { in zrleOutStreamFlush() 124 os->zs.next_out = os->out.ptr; in zrleOutStreamFlush() [all …]
|
/external/okhttp/okio/okio/src/test/java/okio/ |
D | SegmentSharingTest.java | 31 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/mesa/swrast/ |
D | s_feedback.c | 114 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; in _swrast_select_triangle() local 116 _mesa_update_hitflag( ctx, v0->attrib[VARYING_SLOT_POS][2] * zs ); in _swrast_select_triangle() 117 _mesa_update_hitflag( ctx, v1->attrib[VARYING_SLOT_POS][2] * zs ); in _swrast_select_triangle() 118 _mesa_update_hitflag( ctx, v2->attrib[VARYING_SLOT_POS][2] * zs ); in _swrast_select_triangle() 126 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; in _swrast_select_line() local 127 _mesa_update_hitflag( ctx, v0->attrib[VARYING_SLOT_POS][2] * zs ); in _swrast_select_line() 128 _mesa_update_hitflag( ctx, v1->attrib[VARYING_SLOT_POS][2] * zs ); in _swrast_select_line() 135 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; in _swrast_select_point() local 136 _mesa_update_hitflag( ctx, v->attrib[VARYING_SLOT_POS][2] * zs ); in _swrast_select_point()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | ECPoint.java | 47 protected ECFieldElement[] zs; field in ECPoint 59 protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs) in ECPoint() argument 64 this.zs = zs; in ECPoint() 176 return (index < 0 || index >= zs.length) ? null : zs[index]; in getZCoord() 181 int zsLen = zs.length; in getZCoords() 187 System.arraycopy(zs, 0, copy, 0, zsLen); in getZCoords() 203 return zs; in getRawZCoords() 221 || zs[0].isOne(); in isNormalized() 287 return x == null || y == null || (zs.length > 0 && zs[0].isZero()); in isInfinity() 432 for (int i = 0; i < zs.length; ++i) in toString() [all …]
|
/external/mesa3d/src/gallium/drivers/ilo/ |
D | ilo_render_gen8.c | 146 const struct ilo_state_zs *zs; in gen8_draw_wm() local 157 zs = &surface->u.zs; in gen8_draw_wm() 161 zs = &vec->fb.null_zs; in gen8_draw_wm() 167 gen6_3DSTATE_DEPTH_BUFFER(r->builder, zs); in gen8_draw_wm() 168 gen6_3DSTATE_HIER_DEPTH_BUFFER(r->builder, zs); in gen8_draw_wm() 169 gen6_3DSTATE_STENCIL_BUFFER(r->builder, zs); in gen8_draw_wm() 362 gen6_3DSTATE_DEPTH_BUFFER(r->builder, &blitter->fb.dst.u.zs); in ilo_render_emit_rectlist_commands_gen8() 366 &blitter->fb.dst.u.zs); in ilo_render_emit_rectlist_commands_gen8() 371 &blitter->fb.dst.u.zs); in ilo_render_emit_rectlist_commands_gen8()
|
D | ilo_blitter_rectlist.c | 341 struct pipe_surface *zs, in ilo_blitter_rectlist_clear_zs() argument 345 struct ilo_texture *tex = ilo_texture(zs->texture); in ilo_blitter_rectlist_clear_zs() 349 if (!ilo_image_can_enable_aux(&tex->image, zs->u.tex.level)) in ilo_blitter_rectlist_clear_zs() 360 ilo_blit_resolve_surface(blitter->ilo, zs, in ilo_blitter_rectlist_clear_zs() 362 ilo_texture_set_slice_clear_value(tex, zs->u.tex.level, in ilo_blitter_rectlist_clear_zs() 363 zs->u.tex.first_layer, in ilo_blitter_rectlist_clear_zs() 364 zs->u.tex.last_layer - zs->u.tex.first_layer + 1, in ilo_blitter_rectlist_clear_zs() 425 ilo_blitter_set_fb_from_surface(blitter, zs); in ilo_blitter_rectlist_clear_zs()
|
D | ilo_blitter_blt.c | 510 struct pipe_surface *zs, in ilo_blitter_blt_clear_zs() argument 523 switch (zs->format) { in ilo_blitter_blt_clear_zs() 563 ilo_blit_resolve_surface(blitter->ilo, zs, ILO_TEXTURE_BLT_WRITE); in ilo_blitter_blt_clear_zs() 565 val = util_pack_z_stencil(zs->format, depth, stencil); in ilo_blitter_blt_clear_zs() 567 u_box_3d(x, y, zs->u.tex.first_layer, width, height, in ilo_blitter_blt_clear_zs() 568 zs->u.tex.last_layer - zs->u.tex.first_layer + 1, &box); in ilo_blitter_blt_clear_zs() 570 assert(zs->texture->target != PIPE_BUFFER); in ilo_blitter_blt_clear_zs() 572 return tex_clear_region(blitter, ilo_texture(zs->texture), in ilo_blitter_blt_clear_zs() 573 zs->u.tex.level, &box, val, value_mask, write_mask); in ilo_blitter_blt_clear_zs()
|
D | ilo_blitter.h | 119 struct pipe_surface *zs, 147 struct pipe_surface *zs, 155 struct pipe_surface *zs,
|
/external/libvncserver/libvncclient/ |
D | tight.c | 98 z_streamp zs; in HandleTightBPP() local 215 zs = &client->zlibStream[stream_id]; in HandleTightBPP() 217 zs->zalloc = Z_NULL; in HandleTightBPP() 218 zs->zfree = Z_NULL; in HandleTightBPP() 219 zs->opaque = Z_NULL; in HandleTightBPP() 220 err = inflateInit(zs); in HandleTightBPP() 222 if (zs->msg != NULL) in HandleTightBPP() 223 rfbClientLog("InflateInit error: %s.\n", zs->msg); in HandleTightBPP() 253 zs->next_in = (Bytef *)client->zlib_buffer; in HandleTightBPP() 254 zs->avail_in = portionLen; in HandleTightBPP() [all …]
|
/external/icu/icu4c/source/data/coll/ |
D | hu.txt | 16 "&Z<zs<<<Zs<<<ZS" 43 "&zs<<<zzs/zs" 44 "&Zs<<<Zzs/zs"
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/ |
D | SecP192K1Point.java | 55 SecP192K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, in SecP192K1Point() argument 58 super(curve, x, y, zs); in SecP192K1Point() 89 SecP192K1FieldElement Z1 = (SecP192K1FieldElement)this.zs[0]; in add() 189 ECFieldElement[] zs = new ECFieldElement[] { Z3 }; in add() local 191 return new SecP192K1Point(curve, X3, Y3, zs, this.withCompression); in add() 210 … SecP192K1FieldElement X1 = (SecP192K1FieldElement)this.x, Z1 = (SecP192K1FieldElement)this.zs[0]; in twice() 296 return new SecP192K1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP256K1Point.java | 55 SecP256K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, in SecP256K1Point() argument 58 super(curve, x, y, zs); in SecP256K1Point() 89 SecP256K1FieldElement Z1 = (SecP256K1FieldElement)this.zs[0]; in add() 189 ECFieldElement[] zs = new ECFieldElement[] { Z3 }; in add() local 191 return new SecP256K1Point(curve, X3, Y3, zs, this.withCompression); in add() 210 … SecP256K1FieldElement X1 = (SecP256K1FieldElement)this.x, Z1 = (SecP256K1FieldElement)this.zs[0]; in twice() 296 return new SecP256K1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP224K1Point.java | 55 SecP224K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, in SecP224K1Point() argument 58 super(curve, x, y, zs); in SecP224K1Point() 89 SecP224K1FieldElement Z1 = (SecP224K1FieldElement)this.zs[0]; in add() 189 ECFieldElement[] zs = new ECFieldElement[] { Z3 }; in add() local 191 return new SecP224K1Point(curve, X3, Y3, zs, this.withCompression); in add() 210 … SecP224K1FieldElement X1 = (SecP224K1FieldElement)this.x, Z1 = (SecP224K1FieldElement)this.zs[0]; in twice() 296 return new SecP224K1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP192R1Point.java | 55 …SecP192R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean wit… in SecP192R1Point() argument 57 super(curve, x, y, zs); in SecP192R1Point() 88 SecP192R1FieldElement Z1 = (SecP192R1FieldElement)this.zs[0]; in add() 188 ECFieldElement[] zs = new ECFieldElement[]{ Z3 }; in add() local 190 return new SecP192R1Point(curve, X3, Y3, zs, this.withCompression); in add() 209 … SecP192R1FieldElement X1 = (SecP192R1FieldElement)this.x, Z1 = (SecP192R1FieldElement)this.zs[0]; in twice() 308 return new SecP192R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP256R1Point.java | 55 …SecP256R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean wit… in SecP256R1Point() argument 57 super(curve, x, y, zs); in SecP256R1Point() 87 SecP256R1FieldElement Z1 = (SecP256R1FieldElement)this.zs[0]; in add() 187 ECFieldElement[] zs = new ECFieldElement[]{ Z3 }; in add() local 189 return new SecP256R1Point(curve, X3, Y3, zs, this.withCompression); in add() 207 … SecP256R1FieldElement X1 = (SecP256R1FieldElement)this.x, Z1 = (SecP256R1FieldElement)this.zs[0]; in twice() 306 return new SecP256R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP224R1Point.java | 55 …SecP224R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean wit… in SecP224R1Point() argument 57 super(curve, x, y, zs); in SecP224R1Point() 87 SecP224R1FieldElement Z1 = (SecP224R1FieldElement)this.zs[0]; in add() 187 ECFieldElement[] zs = new ECFieldElement[]{ Z3 }; in add() local 189 return new SecP224R1Point(curve, X3, Y3, zs, this.withCompression); in add() 207 … SecP224R1FieldElement X1 = (SecP224R1FieldElement)this.x, Z1 = (SecP224R1FieldElement)this.zs[0]; in twice() 306 return new SecP224R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP384R1Point.java | 55 …SecP384R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean wit… in SecP384R1Point() argument 57 super(curve, x, y, zs); in SecP384R1Point() 87 SecP384R1FieldElement Z1 = (SecP384R1FieldElement)this.zs[0]; in add() 188 ECFieldElement[] zs = new ECFieldElement[]{ Z3 }; in add() local 190 return new SecP384R1Point(curve, X3, Y3, zs, this.withCompression); in add() 208 … SecP384R1FieldElement X1 = (SecP384R1FieldElement)this.x, Z1 = (SecP384R1FieldElement)this.zs[0]; in twice() 307 return new SecP384R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP521R1Point.java | 54 …SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean wit… in SecP521R1Point() argument 56 super(curve, x, y, zs); in SecP521R1Point() 86 SecP521R1FieldElement Z1 = (SecP521R1FieldElement)this.zs[0]; in add() 183 ECFieldElement[] zs = new ECFieldElement[]{ Z3 }; in add() local 185 return new SecP521R1Point(curve, X3, Y3, zs, this.withCompression); in add() 203 … SecP521R1FieldElement X1 = (SecP521R1FieldElement)this.x, Z1 = (SecP521R1FieldElement)this.zs[0]; in twice() 331 return new SecP521R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|