/external/grpc-grpc/src/core/lib/compression/ |
D | message_compress.cc | 34 static int zlib_body(z_stream* zs, grpc_slice_buffer* input, in zlib_body() argument 36 int (*flate)(z_stream* zs, int flush)) { in zlib_body() argument 44 zs->avail_out = static_cast<uInt> GRPC_SLICE_LENGTH(outbuf); in zlib_body() 45 zs->next_out = GRPC_SLICE_START_PTR(outbuf); in zlib_body() 50 zs->avail_in = static_cast<uInt> GRPC_SLICE_LENGTH(input->slices[i]); in zlib_body() 51 zs->next_in = GRPC_SLICE_START_PTR(input->slices[i]); in zlib_body() 53 if (zs->avail_out == 0) { in zlib_body() 57 zs->avail_out = static_cast<uInt> GRPC_SLICE_LENGTH(outbuf); in zlib_body() 58 zs->next_out = GRPC_SLICE_START_PTR(outbuf); in zlib_body() 60 r = flate(zs, flush); in zlib_body() [all …]
|
D | stream_compression_gzip.cc | 33 z_stream zs; member 34 int (*flate)(z_stream* zs, int flush); 53 ctx->zs.avail_out = static_cast<uInt>(slice_size); in gzip_flate() 54 ctx->zs.next_out = GRPC_SLICE_START_PTR(slice_out); in gzip_flate() 55 while (ctx->zs.avail_out > 0 && in->length > 0 && !eoc) { in gzip_flate() 57 ctx->zs.avail_in = static_cast<uInt> GRPC_SLICE_LENGTH(slice); in gzip_flate() 58 ctx->zs.next_in = GRPC_SLICE_START_PTR(slice); in gzip_flate() 59 r = ctx->flate(&ctx->zs, Z_NO_FLUSH); in gzip_flate() 68 if (ctx->zs.avail_in > 0) { in gzip_flate() 71 grpc_slice_sub(slice, GRPC_SLICE_LENGTH(slice) - ctx->zs.avail_in, in gzip_flate() [all …]
|
/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/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | ZipShortTest.java | 36 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/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() 157 return (index < 0 || index >= zs.length) ? null : zs[index]; in getZCoord() 162 int zsLen = zs.length; in getZCoords() 168 System.arraycopy(zs, 0, copy, 0, zsLen); in getZCoords() 184 return zs; in getRawZCoords() 202 || zs[0].isOne(); in isNormalized() 268 return x == null || y == null || (zs.length > 0 && zs[0].isZero()); in isInfinity() 443 for (int i = 0; i < zs.length; ++i) in toString() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/ |
D | ECPoint.java | 49 protected ECFieldElement[] zs; field in ECPoint 61 protected ECPoint(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs) in ECPoint() argument 66 this.zs = zs; in ECPoint() 159 return (index < 0 || index >= zs.length) ? null : zs[index]; in getZCoord() 164 int zsLen = zs.length; in getZCoords() 170 System.arraycopy(zs, 0, copy, 0, zsLen); in getZCoords() 186 return zs; in getRawZCoords() 204 || zs[0].isOne(); in isNormalized() 270 return x == null || y == null || (zs.length > 0 && zs[0].isZero()); in isInfinity() 445 for (int i = 0; i < zs.length; ++i) in toString() [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 | 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 | 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 | 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 | 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 | 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 | 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()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/custom/sec/ |
D | SecP384R1Point.java | 59 …SecP384R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean wit… in SecP384R1Point() argument 61 super(curve, x, y, zs); in SecP384R1Point() 91 SecP384R1FieldElement Z1 = (SecP384R1FieldElement)this.zs[0]; in add() 192 ECFieldElement[] zs = new ECFieldElement[]{ Z3 }; in add() local 194 return new SecP384R1Point(curve, X3, Y3, zs, this.withCompression); in add() 212 … SecP384R1FieldElement X1 = (SecP384R1FieldElement)this.x, Z1 = (SecP384R1FieldElement)this.zs[0]; in twice() 311 return new SecP384R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP256K1Point.java | 59 SecP256K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, in SecP256K1Point() argument 62 super(curve, x, y, zs); in SecP256K1Point() 93 SecP256K1FieldElement Z1 = (SecP256K1FieldElement)this.zs[0]; in add() 193 ECFieldElement[] zs = new ECFieldElement[] { Z3 }; in add() local 195 return new SecP256K1Point(curve, X3, Y3, zs, this.withCompression); in add() 214 … SecP256K1FieldElement X1 = (SecP256K1FieldElement)this.x, Z1 = (SecP256K1FieldElement)this.zs[0]; in twice() 300 return new SecP256K1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP224K1Point.java | 59 SecP224K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, in SecP224K1Point() argument 62 super(curve, x, y, zs); in SecP224K1Point() 93 SecP224K1FieldElement Z1 = (SecP224K1FieldElement)this.zs[0]; in add() 193 ECFieldElement[] zs = new ECFieldElement[] { Z3 }; in add() local 195 return new SecP224K1Point(curve, X3, Y3, zs, this.withCompression); in add() 214 … SecP224K1FieldElement X1 = (SecP224K1FieldElement)this.x, Z1 = (SecP224K1FieldElement)this.zs[0]; in twice() 300 return new SecP224K1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP192K1Point.java | 59 SecP192K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, in SecP192K1Point() argument 62 super(curve, x, y, zs); in SecP192K1Point() 93 SecP192K1FieldElement Z1 = (SecP192K1FieldElement)this.zs[0]; in add() 193 ECFieldElement[] zs = new ECFieldElement[] { Z3 }; in add() local 195 return new SecP192K1Point(curve, X3, Y3, zs, this.withCompression); in add() 214 … SecP192K1FieldElement X1 = (SecP192K1FieldElement)this.x, Z1 = (SecP192K1FieldElement)this.zs[0]; in twice() 300 return new SecP192K1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP192R1Point.java | 59 …SecP192R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean wit… in SecP192R1Point() argument 61 super(curve, x, y, zs); in SecP192R1Point() 92 SecP192R1FieldElement Z1 = (SecP192R1FieldElement)this.zs[0]; in add() 192 ECFieldElement[] zs = new ECFieldElement[]{ Z3 }; in add() local 194 return new SecP192R1Point(curve, X3, Y3, zs, this.withCompression); in add() 213 … SecP192R1FieldElement X1 = (SecP192R1FieldElement)this.x, Z1 = (SecP192R1FieldElement)this.zs[0]; in twice() 312 return new SecP192R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP224R1Point.java | 59 …SecP224R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean wit… in SecP224R1Point() argument 61 super(curve, x, y, zs); in SecP224R1Point() 91 SecP224R1FieldElement Z1 = (SecP224R1FieldElement)this.zs[0]; in add() 191 ECFieldElement[] zs = new ECFieldElement[]{ Z3 }; in add() local 193 return new SecP224R1Point(curve, X3, Y3, zs, this.withCompression); in add() 211 … SecP224R1FieldElement X1 = (SecP224R1FieldElement)this.x, Z1 = (SecP224R1FieldElement)this.zs[0]; in twice() 310 return new SecP224R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP256R1Point.java | 59 …SecP256R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean wit… in SecP256R1Point() argument 61 super(curve, x, y, zs); in SecP256R1Point() 91 SecP256R1FieldElement Z1 = (SecP256R1FieldElement)this.zs[0]; in add() 191 ECFieldElement[] zs = new ECFieldElement[]{ Z3 }; in add() local 193 return new SecP256R1Point(curve, X3, Y3, zs, this.withCompression); in add() 211 … SecP256R1FieldElement X1 = (SecP256R1FieldElement)this.x, Z1 = (SecP256R1FieldElement)this.zs[0]; in twice() 310 return new SecP256R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|
D | SecP521R1Point.java | 58 …SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean wit… in SecP521R1Point() argument 60 super(curve, x, y, zs); in SecP521R1Point() 90 SecP521R1FieldElement Z1 = (SecP521R1FieldElement)this.zs[0]; in add() 187 ECFieldElement[] zs = new ECFieldElement[]{ Z3 }; in add() local 189 return new SecP521R1Point(curve, X3, Y3, zs, this.withCompression); in add() 207 … SecP521R1FieldElement X1 = (SecP521R1FieldElement)this.x, Z1 = (SecP521R1FieldElement)this.zs[0]; in twice() 335 return new SecP521R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression); in negate()
|