Home
last modified time | relevance | path

Searched refs:keyType (Results 1 – 25 of 32) sorted by relevance

12

/third_party/node/lib/internal/crypto/
Dkeys.js148 function parseKeyType(typeStr, required, keyType, isPublic, optionName) { argument
152 if (keyType !== undefined && keyType !== 'rsa') {
162 if (keyType !== undefined && keyType !== 'ec') {
176 function parseKeyFormatAndType(enc, keyType, isPublic, objName) { argument
179 const isInput = keyType === undefined;
186 keyType,
197 function parseKeyEncoding(enc, keyType, isPublic, objName) { argument
201 const isInput = keyType === undefined;
206 } = parseKeyFormatAndType(enc, keyType, isPublic, objName);
241 function parsePublicKeyEncoding(enc, keyType, objName) { argument
[all …]
Dsig.js138 type: keyType,
149 return _signOneShot(keyData, keyFormat, keyType, keyPassphrase, data,
207 type: keyType,
226 return _verifyOneShot(keyData, keyFormat, keyType, keyPassphrase, signature,
Dkeygen.js96 function parseKeyEncoding(keyType, options) { argument
106 } = parsePublicKeyEncoding(publicKeyEncoding, keyType,
121 } = parsePrivateKeyEncoding(privateKeyEncoding, keyType,
Dcipher.js48 function rsaFunctionFor(method, defaultPadding, keyType) { argument
51 keyType === 'private' ?
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMapEntryLite.java48 public final WireFormat.FieldType keyType; field in MapEntryLite.Metadata
54 WireFormat.FieldType keyType, in Metadata() argument
58 this.keyType = keyType; in Metadata()
74 WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) { in MapEntryLite() argument
75 this.metadata = new Metadata<K, V>(keyType, defaultKey, valueType, defaultValue); in MapEntryLite()
103 WireFormat.FieldType keyType, K defaultKey, WireFormat.FieldType valueType, V defaultValue) { in newDefaultInstance() argument
104 return new MapEntryLite<K, V>(keyType, defaultKey, valueType, defaultValue); in newDefaultInstance()
109 FieldSet.writeElement(output, metadata.keyType, KEY_FIELD_NUMBER, key); in writeTo()
114 return FieldSet.computeElementSize(metadata.keyType, KEY_FIELD_NUMBER, key) in computeSerializedSize()
181 if (tag == WireFormat.makeTag(KEY_FIELD_NUMBER, metadata.keyType.getWireType())) { in parseEntry()
[all …]
DMapEntry.java60 WireFormat.FieldType keyType, in Metadata() argument
62 super(keyType, defaultInstance.key, valueType, defaultInstance.value); in Metadata()
84 WireFormat.FieldType keyType, in MapEntry() argument
90 this.metadata = new Metadata<K, V>(descriptor, this, keyType, valueType); in MapEntry()
124 WireFormat.FieldType keyType, in newDefaultInstance() argument
128 return new MapEntry<K, V>(descriptor, keyType, defaultKey, valueType, defaultValue); in newDefaultInstance()
DCodedOutputStreamWriter.java596 switch (metadata.keyType) { in writeDeterministicMap()
629 throw new IllegalArgumentException("does not support key type: " + metadata.keyType); in writeDeterministicMap()
DCodedInputStreamReader.java1250 key = (K) readField(metadata.keyType, null, null); in readMap()
DBinaryReader.java1418 key = (K) readField(metadata.keyType, null, null); in readMap()
DMessageSchema.java4447 if (wireType == metadata.keyType.getWireType()) { in decodeMapEntry()
4449 decodeMapEntryValue(data, position, limit, metadata.keyType, null, registers); in decodeMapEntry()
DBinaryWriter.java687 writeMapEntryField(this, MAP_KEY_NUMBER, metadata.keyType, entry.getKey()); in writeMap()
/third_party/node/test/parallel/
Dtest-crypto-key-objects.js247 keyType: 'ed25519' },
250 keyType: 'ed448' },
253 keyType: 'x25519' },
256 keyType: 'x448' },
258 const keyType = info.keyType; constant
264 assert.strictEqual(key.asymmetricKeyType, keyType);
274 assert.strictEqual(key.asymmetricKeyType, keyType);
Dtest-crypto-keygen.js951 ['ed25519', 'ed448', 'x25519', 'x448'].forEach((keyType) => {
952 generateKeyPair(keyType, common.mustSucceed((publicKey, privateKey) => {
954 assert.strictEqual(publicKey.asymmetricKeyType, keyType);
957 assert.strictEqual(privateKey.asymmetricKeyType, keyType);
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java107 this.keyType = Utils.rubyToFieldType(args[0]); in initialize()
110 switch(keyType) { in initialize()
151 key = Utils.checkType(context, keyType, key, (RubyModule) valueTypeClass); in indexSet()
398 return this.keyType == other.keyType && in typeCompatible()
407 Utils.fieldTypeToRuby(context, keyType), in newThisType()
412 Utils.fieldTypeToRuby(context, keyType), in newThisType()
430 private Descriptors.FieldDescriptor.Type keyType; field in RubyMap
DRubyMessageBuilderContext.java145 IRubyObject keyType = args[1]; in map() local
153 if (keyType.equals(RubySymbol.newSymbol(runtime, "float")) || in map()
154 keyType.equals(RubySymbol.newSymbol(runtime, "double")) || in map()
155 keyType.equals(RubySymbol.newSymbol(runtime, "enum")) || in map()
156 keyType.equals(RubySymbol.newSymbol(runtime, "message"))) in map()
171 keyField.setType(context, keyType); in map()
DRubyMessage.java779 IRubyObject keyType = RubySymbol.newSymbol(context.runtime, keyField.getType().name()); in newMapForField() local
785 return (RubyMap) cMap.newInstance(context, keyType, valueType, in newMapForField()
788 return (RubyMap) cMap.newInstance(context, keyType, valueType, Block.NULL_BLOCK); in newMapForField()
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dconsistent-indexed-object-style.ts88 const keyType = parameter.typeAnnotation; constant
89 if (!keyType) {
102 const key = sourceCode.getText(keyType.typeAnnotation);
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dplurrule.cpp1362 PluralRuleParser::getKeyType(const UnicodeString &token, tokenType keyType) in getKeyType() argument
1364 if (keyType != tKeyword) { in getKeyType()
1365 return keyType; in getKeyType()
1369 keyType = tVariableN; in getKeyType()
1371 keyType = tVariableI; in getKeyType()
1373 keyType = tVariableF; in getKeyType()
1375 keyType = tVariableT; in getKeyType()
1377 keyType = tVariableV; in getKeyType()
1379 keyType = tIs; in getKeyType()
1381 keyType = tAnd; in getKeyType()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dplurrule.cpp1491 PluralRuleParser::getKeyType(const UnicodeString &token, tokenType keyType) in getKeyType() argument
1493 if (keyType != tKeyword) { in getKeyType()
1494 return keyType; in getKeyType()
1498 keyType = tVariableN; in getKeyType()
1500 keyType = tVariableI; in getKeyType()
1502 keyType = tVariableF; in getKeyType()
1504 keyType = tVariableT; in getKeyType()
1506 keyType = tVariableE; in getKeyType()
1508 keyType = tVariableC; in getKeyType()
1510 keyType = tVariableV; in getKeyType()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dplurrule.cpp1499 PluralRuleParser::getKeyType(const UnicodeString &token, tokenType keyType) in getKeyType() argument
1501 if (keyType != tKeyword) { in getKeyType()
1502 return keyType; in getKeyType()
1506 keyType = tVariableN; in getKeyType()
1508 keyType = tVariableI; in getKeyType()
1510 keyType = tVariableF; in getKeyType()
1512 keyType = tVariableT; in getKeyType()
1514 keyType = tVariableE; in getKeyType()
1516 keyType = tVariableC; in getKeyType()
1518 keyType = tVariableV; in getKeyType()
[all …]
/third_party/icu/icu4c/source/i18n/
Dplurrule.cpp1491 PluralRuleParser::getKeyType(const UnicodeString &token, tokenType keyType) in getKeyType() argument
1493 if (keyType != tKeyword) { in getKeyType()
1494 return keyType; in getKeyType()
1498 keyType = tVariableN; in getKeyType()
1500 keyType = tVariableI; in getKeyType()
1502 keyType = tVariableF; in getKeyType()
1504 keyType = tVariableT; in getKeyType()
1506 keyType = tVariableE; in getKeyType()
1508 keyType = tVariableC; in getKeyType()
1510 keyType = tVariableV; in getKeyType()
[all …]
/third_party/node/test/fixtures/wpt/resources/webidl2/lib/
Dwebidl2.js333 const keyType = consume(...stringTypes);
334 if (!keyType) error(`Record key must be a string type`);
335 … ret.idlType.push(Object.assign({ type: typeName }, EMPTY_IDLTYPE, { idlType: keyType.value }));
/third_party/typescript/tests/lib/
Dreact16.d.ts1346 keyType?: string;
1585 keyType?: string;
Dreact.d.ts1983 keyType?: string; property
/third_party/typescript/src/compiler/
Dchecker.ts10839 function addMemberForKeyType(keyType: Type) {
10840 …Type ? instantiateType(nameType, appendTypeMapping(type.mapper, typeParameter, keyType)) : keyType;
10841 forEachType(propNameType, t => addMemberForKeyTypeWorker(keyType, t));
10844 function addMemberForKeyTypeWorker(keyType: Type, propNameType: Type) {
10855 existingProp.keyType = getUnionType([existingProp.keyType, keyType]);
10858 …fiersProp = isTypeUsableAsPropertyName(keyType) ? getPropertyOfType(modifiersType, getPropertyName…
10869 prop.keyType = keyType;
10878 …t propType = instantiateType(templateType, appendTypeMapping(type.mapper, typeParameter, keyType));
10899 …= appendTypeMapping(mappedType.mapper, getTypeParameterFromMappedType(mappedType), symbol.keyType);

12