/external/fio/lib/ |
D | zipf.c | 16 static void zipf_update(struct zipf_state *zs) in zipf_update() argument 26 to_gen = min(zs->nranges, (uint64_t) ZIPF_MAX_GEN); in zipf_update() 29 zs->zetan += pow(1.0 / (double) (i + 1), zs->theta); in zipf_update() 32 static void shared_rand_init(struct zipf_state *zs, unsigned long nranges, in shared_rand_init() argument 35 memset(zs, 0, sizeof(*zs)); in shared_rand_init() 36 zs->nranges = nranges; in shared_rand_init() 38 init_rand_seed(&zs->rand, seed); in shared_rand_init() 39 zs->rand_off = __rand(&zs->rand); in shared_rand_init() 42 void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, in zipf_init() argument 45 shared_rand_init(zs, nranges, seed); in zipf_init() [all …]
|
D | zipf.h | 17 void zipf_init(struct zipf_state *zs, unsigned long nranges, double theta, unsigned int seed); 18 unsigned long long zipf_next(struct zipf_state *zs); 20 void pareto_init(struct zipf_state *zs, unsigned long nranges, double h, unsigned int seed); 21 unsigned long long pareto_next(struct zipf_state *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/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 | 115 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; in _swrast_select_triangle() local 117 _mesa_update_hitflag( ctx, v0->attrib[FRAG_ATTRIB_WPOS][2] * zs ); in _swrast_select_triangle() 118 _mesa_update_hitflag( ctx, v1->attrib[FRAG_ATTRIB_WPOS][2] * zs ); in _swrast_select_triangle() 119 _mesa_update_hitflag( ctx, v2->attrib[FRAG_ATTRIB_WPOS][2] * zs ); in _swrast_select_triangle() 127 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; in _swrast_select_line() local 128 _mesa_update_hitflag( ctx, v0->attrib[FRAG_ATTRIB_WPOS][2] * zs ); in _swrast_select_line() 129 _mesa_update_hitflag( ctx, v1->attrib[FRAG_ATTRIB_WPOS][2] * zs ); in _swrast_select_line() 136 const GLfloat zs = 1.0F / ctx->DrawBuffer->_DepthMaxF; in _swrast_select_point() local 137 _mesa_update_hitflag( ctx, v->attrib[FRAG_ATTRIB_WPOS][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 …]
|
D | ECCurve.java | 156 …CPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompres… in createRawPoint() argument 279 ECFieldElement[] zs = new ECFieldElement[len]; in normalizeAll() local 287 zs[count] = p.getZCoord(0); in normalizeAll() 297 ECAlgorithms.montgomeryTrick(zs, 0, count, iso); in normalizeAll() 302 points[index] = points[index].normalize(zs[j]); in normalizeAll() 624 …protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean … in createRawPoint() argument 626 return new ECPoint.Fp(this, x, y, zs, withCompression); in createRawPoint() 641 new ECFieldElement[]{ fromBigInteger(p.zs[0].toBigInteger()) }, in importPoint() 1108 …protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean … in createRawPoint() argument 1110 return new ECPoint.F2m(this, x, y, zs, withCompression); in createRawPoint()
|
D | ECAlgorithms.java | 134 public static void montgomeryTrick(ECFieldElement[] zs, int off, int len) in montgomeryTrick() argument 136 montgomeryTrick(zs, off, len, null); in montgomeryTrick() 139 public static void montgomeryTrick(ECFieldElement[] zs, int off, int len, ECFieldElement scale) in montgomeryTrick() argument 149 c[0] = zs[off]; in montgomeryTrick() 154 c[i] = c[i - 1].multiply(zs[off + i]); in montgomeryTrick() 169 ECFieldElement tmp = zs[j]; in montgomeryTrick() 170 zs[j] = c[i].multiply(u); in montgomeryTrick() 174 zs[off] = u; in montgomeryTrick()
|
/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 | 22 "&Z<zs<<<Zs<<<ZS" 49 "&zs<<<zzs/zs" 50 "&Zs<<<Zzs/zs"
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/ |
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 | 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 | 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 | 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 | 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 | 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 | 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()
|
D | SecP384R1Curve.java | 71 …protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean … in createRawPoint() argument 73 return new SecP384R1Point(this, x, y, zs, withCompression); in createRawPoint()
|
D | SecP256K1Curve.java | 69 …protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean … in createRawPoint() argument 71 return new SecP256K1Point(this, x, y, zs, withCompression); in createRawPoint()
|
/external/fio/t/ |
D | genzipf.c | 179 struct zipf_state zs; in main() local 191 zipf_init(&zs, nranges, dist_val, 1); in main() 193 pareto_init(&zs, nranges, dist_val, 1); in main() 212 offset = zipf_next(&zs); in main() 214 offset = pareto_next(&zs); in main()
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
D | matrixop.c | 89 float xx, yy, zz, xy, yz, xz, xs, ys, zs; in Matrix4x4_Rotate() local 103 zs = az * s; in Matrix4x4_Rotate() 106 rot[1*4 + 0] = xy * one_c - zs; in Matrix4x4_Rotate() 110 rot[0*4 + 1] = xy * one_c + zs; in Matrix4x4_Rotate()
|
/external/bzip2/ |
D | bzlib.c | 260 #define ADD_CHAR_TO_BLOCK(zs,zchh0) \ argument 264 if (zchh != zs->state_in_ch && \ 265 zs->state_in_len == 1) { \ 266 UChar ch = (UChar)(zs->state_in_ch); \ 267 BZ_UPDATE_CRC( zs->blockCRC, ch ); \ 268 zs->inUse[zs->state_in_ch] = True; \ 269 zs->block[zs->nblock] = (UChar)ch; \ 270 zs->nblock++; \ 271 zs->state_in_ch = zchh; \ 275 if (zchh != zs->state_in_ch || \ [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format.csv | 127 PIPE_FORMAT_S8_UINT , plain, 1, 1, up8 , , , , _x__, zs 128 PIPE_FORMAT_Z16_UNORM , plain, 1, 1, un16, , , , x___, zs 129 PIPE_FORMAT_Z32_UNORM , plain, 1, 1, un32, , , , x___, zs 130 PIPE_FORMAT_Z32_FLOAT , plain, 1, 1, f32 , , , , x___, zs 131 PIPE_FORMAT_Z24_UNORM_S8_UINT , plain, 1, 1, un24, up8 , , , xy__, zs 132 PIPE_FORMAT_S8_UINT_Z24_UNORM , plain, 1, 1, up8 , un24, , , yx__, zs 133 PIPE_FORMAT_X24S8_UINT , plain, 1, 1, x24 , up8 , , , _y__, zs 134 PIPE_FORMAT_S8X24_UINT , plain, 1, 1, up8 , x24 , , , _x__, zs 135 PIPE_FORMAT_Z24X8_UNORM , plain, 1, 1, un24, x8 , , , x___, zs 136 PIPE_FORMAT_X8Z24_UNORM , plain, 1, 1, x8 , un24, , , y___, zs [all …]
|