Home
last modified time | relevance | path

Searched refs:transformation (Results 1 – 25 of 722) sorted by relevance

12345678910>>...29

/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherBasicsTest.java96 String transformation = entry.getKey(); in testBasicEncryption() local
103 && transformation.equals("AES/ECB/NoPadding")) { in testBasicEncryption()
109 cipher = Cipher.getInstance(transformation, p); in testBasicEncryption()
118 getBaseAlgorithm(transformation)); in testBasicEncryption()
126 params = AlgorithmParameters.getInstance(getBaseAlgorithm(transformation)); in testBasicEncryption()
135 + ", algorithm " + transformation in testBasicEncryption()
139 + ", algorithm " + transformation in testBasicEncryption()
145 + ", algorithm " + transformation in testBasicEncryption()
149 + ", algorithm " + transformation in testBasicEncryption()
165 String transformation = entry.getKey(); in testAeadEncryption() local
[all …]
DCipherTest.java3431 public final String transformation; field in CipherTest.CipherTestParam
3449 public CipherTestParam(String transformation, AlgorithmParameterSpec spec, Key encryptKey, in CipherTestParam() argument
3452 this.transformation = transformation.toUpperCase(Locale.ROOT); in CipherTestParam()
3463 public CipherTestParam(String transformation, AlgorithmParameterSpec spec, Key key, in CipherTestParam() argument
3466 this(transformation, spec, key, key, aad, plaintext, plaintextPadded, ciphertext, in CipherTestParam()
3470 public CipherTestParam(String transformation, AlgorithmParameterSpec spec, Key key, in CipherTestParam() argument
3472 this(transformation, spec, key, aad, plaintext, plaintextPadded, ciphertext, in CipherTestParam()
3478 if (provider.equals("SunJCE") && transformation.endsWith("/PKCS7PADDING")) { in compatibleWith()
3486 public OAEPCipherTestParam(String transformation, OAEPParameterSpec spec, in OAEPCipherTestParam() argument
3488 … super(transformation, spec, encryptKey, decryptKey, null, plaintext, plaintext, ciphertext, in OAEPCipherTestParam()
[all …]
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DCipherBasicsTest.java94 String transformation = entry.getKey(); in testBasicEncryption() local
101 && transformation.equals("AES/ECB/NoPadding")) { in testBasicEncryption()
107 cipher = Cipher.getInstance(transformation, p); in testBasicEncryption()
116 getBaseAlgorithm(transformation)); in testBasicEncryption()
124 params = AlgorithmParameters.getInstance(getBaseAlgorithm(transformation)); in testBasicEncryption()
133 + ", algorithm " + transformation in testBasicEncryption()
137 + ", algorithm " + transformation in testBasicEncryption()
143 + ", algorithm " + transformation in testBasicEncryption()
147 + ", algorithm " + transformation in testBasicEncryption()
163 String transformation = entry.getKey(); in testAeadEncryption() local
[all …]
DCipherTest.java3429 public final String transformation; field in CipherTest.CipherTestParam
3447 public CipherTestParam(String transformation, AlgorithmParameterSpec spec, Key encryptKey, in CipherTestParam() argument
3450 this.transformation = transformation.toUpperCase(Locale.ROOT); in CipherTestParam()
3461 public CipherTestParam(String transformation, AlgorithmParameterSpec spec, Key key, in CipherTestParam() argument
3464 this(transformation, spec, key, key, aad, plaintext, plaintextPadded, ciphertext, in CipherTestParam()
3468 public CipherTestParam(String transformation, AlgorithmParameterSpec spec, Key key, in CipherTestParam() argument
3470 this(transformation, spec, key, aad, plaintext, plaintextPadded, ciphertext, in CipherTestParam()
3476 if (provider.equals("SunJCE") && transformation.endsWith("/PKCS7PADDING")) { in compatibleWith()
3484 public OAEPCipherTestParam(String transformation, OAEPParameterSpec spec, in OAEPCipherTestParam() argument
3486 … super(transformation, spec, encryptKey, decryptKey, null, plaintext, plaintext, ciphertext, in OAEPCipherTestParam()
[all …]
/external/fonttools/Lib/fontTools/pens/
DttGlyphPen.py100 def addComponent(self, glyphName, transformation): argument
101 self.components.append((glyphName, transformation))
108 for (glyphName, transformation) in self.components
109 for s in transformation[:4])
111 for glyphName, transformation in self.components:
120 tpen = TransformPen(self, transformation)
126 component.x, component.y = transformation[4:]
127 transformation = transformation[:4]
128 if transformation != (1, 0, 0, 1):
130 any(MAX_F2DOT14 < s <= 2 for s in transformation)):
[all …]
DtransformPen.py15 def __init__(self, outPen, transformation): argument
21 if not hasattr(transformation, "transformPoint"):
23 transformation = Transform(*transformation)
24 self._transformation = transformation
25 self._transformPoint = transformation.transformPoint
54 def addComponent(self, glyphName, transformation): argument
55 transformation = self._transformation.transform(transformation)
56 self._outPen.addComponent(glyphName, transformation)
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DEngineKey.java21 private final Transformation transformation; field in EngineKey
31 ResourceDecoder decoder, Transformation transformation, ResourceEncoder encoder, in EngineKey() argument
39 this.transformation = transformation; in EngineKey()
71 } else if (transformation == null ^ engineKey.transformation == null) { in equals()
73 …} else if (transformation != null && !transformation.getId().equals(engineKey.transformation.getId… in equals()
108 … hashCode = 31 * hashCode + (transformation != null ? transformation.getId().hashCode() : 0); in hashCode()
126 .append(transformation != null ? transformation.getId() : "") in toString()
146 …messageDigest.update((transformation != null ? transformation.getId() : "").getBytes(STRING_CHARSE… in updateDiskCacheKey()
DDecodeJob.java39 private final Transformation<T> transformation; field in DecodeJob
49 …DataLoadProvider<A, T> loadProvider, Transformation<T> transformation, ResourceTranscoder<T, Z> tr… in DecodeJob() argument
51 …this(resultKey, width, height, fetcher, loadProvider, transformation, transcoder, diskCache, diskC… in DecodeJob()
57 …DataLoadProvider<A, T> loadProvider, Transformation<T> transformation, ResourceTranscoder<T, Z> tr… in DecodeJob() argument
64 this.transformation = transformation; in DecodeJob()
235 Resource<T> transformed = transformation.transform(decoded, width, height); in transform()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dpropagate_fake_quant_num_bits.cc30 bool ChangeArrayDataType(GraphTransformation* transformation, Array* array, in ChangeArrayDataType() argument
65 transformation->AddMessageF( in ChangeArrayDataType()
81 transformation->AddMessageF("Forcing new minmax to %g,%g (%s)", in ChangeArrayDataType()
151 bool RecursivelyBackwardPropagateDataType(GraphTransformation* transformation, in RecursivelyBackwardPropagateDataType() argument
170 transformation->AddMessageF( in RecursivelyBackwardPropagateDataType()
174 did_change |= ChangeArrayDataType(transformation, &input_array, in RecursivelyBackwardPropagateDataType()
183 transformation, model, producing_op.get(), new_data_type, in RecursivelyBackwardPropagateDataType()
209 bool RecursivelyForwardPropagateDataType(GraphTransformation* transformation, in RecursivelyForwardPropagateDataType() argument
222 transformation->AddMessageF( in RecursivelyForwardPropagateDataType()
226 did_change |= ChangeArrayDataType(transformation, &output_array, in RecursivelyForwardPropagateDataType()
[all …]
Dquantization_util.cc166 void QuantizeArray(GraphTransformation* transformation, Model* model, in QuantizeArray() argument
178 transformation->AddMessageF( in QuantizeArray()
186 void QuantizeArray(GraphTransformation* transformation, Model* model, in QuantizeArray() argument
197 return QuantizeArray<ArrayDataType::kUint8>(transformation, model, name, in QuantizeArray()
200 return QuantizeArray<ArrayDataType::kInt16>(transformation, model, name, in QuantizeArray()
203 return QuantizeArray<ArrayDataType::kInt32>(transformation, model, name, in QuantizeArray()
210 bool IsArrayQuantizedRangeSubset(GraphTransformation* transformation, in IsArrayQuantizedRangeSubset() argument
224 transformation->AddMessageF("No quantization params and no minmax"); in IsArrayQuantizedRangeSubset()
231 transformation->AddMessageF( in IsArrayQuantizedRangeSubset()
255 transformation->AddMessageF( in IsArrayQuantizedRangeSubset()
[all …]
Dremove_trivial_reshape.cc32 RemoveTrivialReshape* transformation) { in IsReshapeTrivial() argument
40 if (transformation->treat_expand_dims_as_trivial() && in IsReshapeTrivial()
42 transformation->AddMessageF( in IsReshapeTrivial()
50 transformation->AddMessageF( in IsReshapeTrivial()
65 transformation->AddMessageF( in IsReshapeTrivial()
71 transformation->AddMessageF( in IsReshapeTrivial()
Dgraph_transformations.cc143 for (const auto& transformation : transformations) { in GraphTransformationsPass() local
145 CHECK(transformation->Messages().empty()); in GraphTransformationsPass()
146 *status = transformation->Run(model, op_index, &changed_now); in GraphTransformationsPass()
154 if (transformation->Messages().empty()) { in GraphTransformationsPass()
155 VLOG(log_level) << transformation->Name() << " " << made_a_change_msg in GraphTransformationsPass()
159 for (const string& message : transformation->Messages()) { in GraphTransformationsPass()
160 VLOG(log_level) << transformation->Name() << " " << made_a_change_msg in GraphTransformationsPass()
164 transformation->ClearMessages(); in GraphTransformationsPass()
Dremove_trivial_passthrough.cc64 bool RemoveTrivialPassthroughOp(GraphTransformation* transformation, in RemoveTrivialPassthroughOp() argument
104 transformation->AddMessageF( in RemoveTrivialPassthroughOp()
110 transformation->AddMessageF( in RemoveTrivialPassthroughOp()
116 transformation->AddMessageF( in RemoveTrivialPassthroughOp()
128 transformation->AddMessageF("Replacing with a copy (reshape) instead"); in RemoveTrivialPassthroughOp()
Dremove_trivial_quantized_activation_func.cc33 bool IsTrivialUnfusedActivationFunc(GraphTransformation* transformation, in IsTrivialUnfusedActivationFunc() argument
56 return IsArrayQuantizedRangeSubset(transformation, input_array, clamp_min, in IsTrivialUnfusedActivationFunc()
61 GraphTransformation* transformation, const Model& model, in IsTrivialFusedActivationFunc() argument
88 return IsArrayQuantizedRangeSubset(transformation, output_array, clamp_min, in IsTrivialFusedActivationFunc()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DCryptoUpcalls.java165 String transformation = "RSA/ECB/" + jcaPadding; in rsaOpWithPrivateKey() local
172 c = Cipher.getInstance(transformation); in rsaOpWithPrivateKey()
180 logger.warning("Unsupported cipher algorithm: " + transformation); in rsaOpWithPrivateKey()
183 logger.warning("Unsupported cipher algorithm: " + transformation); in rsaOpWithPrivateKey()
193 ArrayList<Provider> providers = getExternalProviders("Cipher." + transformation); in rsaOpWithPrivateKey()
196 c = Cipher.getInstance(transformation, p); in rsaOpWithPrivateKey()
208 logger.warning("Could not find provider for algorithm: " + transformation); in rsaOpWithPrivateKey()
218 + " private key using " + transformation + ":", in rsaOpWithPrivateKey()
/external/conscrypt/common/src/main/java/org/conscrypt/
DCryptoUpcalls.java164 String transformation = "RSA/ECB/" + jcaPadding; in rsaOpWithPrivateKey() local
171 c = Cipher.getInstance(transformation); in rsaOpWithPrivateKey()
179 logger.warning("Unsupported cipher algorithm: " + transformation); in rsaOpWithPrivateKey()
182 logger.warning("Unsupported cipher algorithm: " + transformation); in rsaOpWithPrivateKey()
192 ArrayList<Provider> providers = getExternalProviders("Cipher." + transformation); in rsaOpWithPrivateKey()
195 c = Cipher.getInstance(transformation, p); in rsaOpWithPrivateKey()
207 logger.warning("Could not find provider for algorithm: " + transformation); in rsaOpWithPrivateKey()
217 + " private key using " + transformation + ":", in rsaOpWithPrivateKey()
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/
DOpenJdkCipherFactory.java29 public Cipher newCipher(String transformation) in newCipher() argument
31 return Cipher.getInstance(transformation); in newCipher()
36 public Cipher newCipher(String transformation) in newCipher() argument
38 return Cipher.getInstance(transformation, TestUtils.getConscryptProvider()); in newCipher()
/external/glide/library/src/main/java/com/bumptech/glide/load/
DMultiTransformation.java36 for (Transformation<T> transformation : transformations) { in transform()
37 Resource<T> transformed = transformation.transform(previous, outWidth, outHeight); in transform()
50 for (Transformation<T> transformation : transformations) { in getId()
51 sb.append(transformation.getId()); in getId()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifFrameManager.java37 private Transformation<Bitmap> transformation = UnitTransformation.get(); field in GifFrameManager
72 public void setFrameTransformation(Transformation<Bitmap> transformation) { in setFrameTransformation() argument
73 if (transformation == null) { in setFrameTransformation()
76 this.transformation = transformation; in setFrameTransformation()
96 .transform(transformation) in getNextFrame()
DGifResourceEncoder.java48 Transformation<Bitmap> transformation = drawable.getFrameTransformation(); in encode() local
49 if (transformation instanceof UnitTransformation) { in encode()
62 …Resource<Bitmap> transformedResource = getTransformedFrame(currentFrame, transformation, drawable); in encode()
112 …te Resource<Bitmap> getTransformedFrame(Bitmap currentFrame, Transformation<Bitmap> transformation, in getTransformedFrame() argument
116 Resource<Bitmap> transformedResource = transformation.transform(bitmapResource, in getTransformedFrame()
/external/eigen/doc/
DTutorialGeometry.dox11 …- Projective or affine transformation matrices: see the Transform class. These are really matrices.
13 …rage, you can directly use the Transform::data() method to pass your transformation matrix to Open…
15 You can construct a Transform from an abstract transformation, like this:
58 N-D \ref TutorialGeoTransform "Affine transformation"</td><td>\code
80 Any of the above transformation types can be converted to any other types of the same nature,
95 …ass="top">top</a>\section TutorialGeoCommontransformationAPI Common API across transformation types
98 generic algorithms working on any kind of transformation representations:
103 <tr class="alt"><td>Apply the transformation to a vector</td><td>\code
105 <tr><td>Get the inverse of the transformation</td><td>\code
118 vector distinguish when the transformation is applied.
[all …]
/external/libpng/
DTODO7 cHRM transformation.
12 Add "grayscale->palette" transformation and "palette->grayscale" detection.
15 Complete sRGB transformation (presently it simply uses gamma=0.45455).
24 background and doing rgb-to-gray transformation.
/external/glide/library/src/main/java/com/bumptech/glide/request/
DGenericRequest.java63 private Transformation<Z> transformation; field in GenericRequest
103 Transformation<Z> transformation, in obtain() argument
129 transformation, in obtain()
153 transformation = null; in recycle()
175 Transformation<Z> transformation, in init() argument
196 this.transformation = transformation; in init()
210 check("Transformation", transformation, "try .transform(UnitTransformation.get())"); in init()
421 …atus = engine.load(signature, width, height, dataFetcher, loadProvider, transformation, transcoder, in onSizeReady()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DCipherEncryptBenchmark.java41 Transformation transformation(); in transformation() method
67 Transformation tx = config.transformation(); in EncryptStrategy()
80 final int messageSize(String transformation) throws Exception { in messageSize() argument
81 … Cipher conscryptCipher = Cipher.getInstance(transformation, TestUtils.getConscryptProvider()); in messageSize()
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/
DCipherEncryptBenchmark.java46 Transformation transformation(); in transformation() method
72 Transformation tx = config.transformation(); in EncryptStrategy()
85 final int messageSize(String transformation) throws Exception { in messageSize() argument
86 … Cipher conscryptCipher = Cipher.getInstance(transformation, TestUtils.getConscryptProvider()); in messageSize()

12345678910>>...29