Home
last modified time | relevance | path

Searched refs:nameTable (Results 1 – 23 of 23) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseAgreementSpi.java38 private static final Map<String, String> nameTable = new HashMap<String, String>(); field in BaseAgreementSpi
101 nameTable.put(MiscObjectIdentifiers.cast5CBC.getId(), "CAST5"); in MiscObjectIdentifiers.cast5CBC.getId()
102 nameTable.put(MiscObjectIdentifiers.as_sys_sec_alg_ideaCBC.getId(), "IDEA"); in MiscObjectIdentifiers.as_sys_sec_alg_ideaCBC.getId()
103 nameTable.put(MiscObjectIdentifiers.cryptlib_algorithm_blowfish_ECB.getId(), "Blowfish"); in MiscObjectIdentifiers.cryptlib_algorithm_blowfish_ECB.getId()
104 nameTable.put(MiscObjectIdentifiers.cryptlib_algorithm_blowfish_CBC.getId(), "Blowfish"); in MiscObjectIdentifiers.cryptlib_algorithm_blowfish_CBC.getId()
105 nameTable.put(MiscObjectIdentifiers.cryptlib_algorithm_blowfish_CFB.getId(), "Blowfish"); in MiscObjectIdentifiers.cryptlib_algorithm_blowfish_CFB.getId()
106 nameTable.put(MiscObjectIdentifiers.cryptlib_algorithm_blowfish_OFB.getId(), "Blowfish"); in MiscObjectIdentifiers.cryptlib_algorithm_blowfish_OFB.getId()
107 nameTable.put(OIWObjectIdentifiers.desECB.getId(), "DES"); in OIWObjectIdentifiers.desECB.getId()
108 nameTable.put(OIWObjectIdentifiers.desCBC.getId(), "DES"); in OIWObjectIdentifiers.desCBC.getId()
109 nameTable.put(OIWObjectIdentifiers.desCFB.getId(), "DES"); in OIWObjectIdentifiers.desCFB.getId()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseAgreementSpi.java42 private static final Map<String, String> nameTable = new HashMap<String, String>(); field in BaseAgreementSpi
105 nameTable.put(MiscObjectIdentifiers.cast5CBC.getId(), "CAST5"); in MiscObjectIdentifiers.cast5CBC.getId()
106 nameTable.put(MiscObjectIdentifiers.as_sys_sec_alg_ideaCBC.getId(), "IDEA"); in MiscObjectIdentifiers.as_sys_sec_alg_ideaCBC.getId()
107 nameTable.put(MiscObjectIdentifiers.cryptlib_algorithm_blowfish_ECB.getId(), "Blowfish"); in MiscObjectIdentifiers.cryptlib_algorithm_blowfish_ECB.getId()
108 nameTable.put(MiscObjectIdentifiers.cryptlib_algorithm_blowfish_CBC.getId(), "Blowfish"); in MiscObjectIdentifiers.cryptlib_algorithm_blowfish_CBC.getId()
109 nameTable.put(MiscObjectIdentifiers.cryptlib_algorithm_blowfish_CFB.getId(), "Blowfish"); in MiscObjectIdentifiers.cryptlib_algorithm_blowfish_CFB.getId()
110 nameTable.put(MiscObjectIdentifiers.cryptlib_algorithm_blowfish_OFB.getId(), "Blowfish"); in MiscObjectIdentifiers.cryptlib_algorithm_blowfish_OFB.getId()
111 nameTable.put(OIWObjectIdentifiers.desECB.getId(), "DES"); in OIWObjectIdentifiers.desECB.getId()
112 nameTable.put(OIWObjectIdentifiers.desCBC.getId(), "DES"); in OIWObjectIdentifiers.desCBC.getId()
113 nameTable.put(OIWObjectIdentifiers.desCFB.getId(), "DES"); in OIWObjectIdentifiers.desCFB.getId()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseAgreementSpi.java42 private static final Map<String, String> nameTable = new HashMap<String, String>(); field in BaseAgreementSpi
105 nameTable.put(MiscObjectIdentifiers.cast5CBC.getId(), "CAST5"); in MiscObjectIdentifiers.cast5CBC.getId()
106 nameTable.put(MiscObjectIdentifiers.as_sys_sec_alg_ideaCBC.getId(), "IDEA"); in MiscObjectIdentifiers.as_sys_sec_alg_ideaCBC.getId()
107 nameTable.put(MiscObjectIdentifiers.cryptlib_algorithm_blowfish_ECB.getId(), "Blowfish"); in MiscObjectIdentifiers.cryptlib_algorithm_blowfish_ECB.getId()
108 nameTable.put(MiscObjectIdentifiers.cryptlib_algorithm_blowfish_CBC.getId(), "Blowfish"); in MiscObjectIdentifiers.cryptlib_algorithm_blowfish_CBC.getId()
109 nameTable.put(MiscObjectIdentifiers.cryptlib_algorithm_blowfish_CFB.getId(), "Blowfish"); in MiscObjectIdentifiers.cryptlib_algorithm_blowfish_CFB.getId()
110 nameTable.put(MiscObjectIdentifiers.cryptlib_algorithm_blowfish_OFB.getId(), "Blowfish"); in MiscObjectIdentifiers.cryptlib_algorithm_blowfish_OFB.getId()
111 nameTable.put(OIWObjectIdentifiers.desECB.getId(), "DES"); in OIWObjectIdentifiers.desECB.getId()
112 nameTable.put(OIWObjectIdentifiers.desCBC.getId(), "DES"); in OIWObjectIdentifiers.desCBC.getId()
113 nameTable.put(OIWObjectIdentifiers.desCFB.getId(), "DES"); in OIWObjectIdentifiers.desCFB.getId()
[all …]
/external/skia/src/sfnt/
DSkOTTable_name.cpp458 SkOTTableName nameTable; in next() local
459 if (fNameTableSize < sizeof(nameTable)) { in next()
462 memcpy(&nameTable, fNameTable, sizeof(nameTable)); in next()
464 const uint8_t* nameRecords = fNameTable + sizeof(nameTable); in next()
465 const size_t nameRecordsSize = fNameTableSize - sizeof(nameTable); in next()
467 const size_t stringTableOffset = SkEndian_SwapBE16(nameTable.stringOffset); in next()
476 const size_t nameRecordsCount = SkEndian_SwapBE16(nameTable.count); in next()
537 if (SkOTTableName::format_1 == nameTable.format && languageID >= 0x8000) { in next()
DSkOTUtils.cpp122 SkOTTableName* nameTable = reinterpret_cast<SkOTTableName*>(data + originalDataSize); in RenameFont() local
124 nameTable->format = SkOTTableName::format_0; in RenameFont()
125 nameTable->count = SkEndian_SwapBE16(encodings.size() * names.size()); in RenameFont()
126 nameTable->stringOffset = SkEndian_SwapBE16(stringOffset); in RenameFont()
153 …an_SwapBE32(SkOTUtils::CalcTableChecksum(reinterpret_cast<SK_OT_ULONG*>(nameTable), nameTableLogic… in RenameFont()
DSkOTTable_name.h543 Iterator(const uint8_t* nameTable, size_t size) in Iterator()
544 : fNameTable(nameTable), fNameTableSize(size), fIndex(0), fType(-1) { } in Iterator()
545 Iterator(const uint8_t* nameTable, size_t size, SK_OT_USHORT type) in Iterator()
546 : fNameTable(nameTable), fNameTableSize(size), fIndex(0), fType(type) in Iterator()
/external/fonttools/Tests/ttLib/tables/
D_n_a_m_e_test.py14 def names(nameTable): argument
16 for n in nameTable.names]
214 nameTable = font.tables['name'] = newTable("name")
216 widthID = nameTable.addMultilingualName({
222 xHeightID = nameTable.addMultilingualName({
228 self.assertEqual(names(nameTable), [
245 nameTable = font.tables['name'] = newTable("name")
247 nameTable.addMultilingualName({"la": "SPQR"},
250 self.assertEqual(names(nameTable), [(256, 1, 0, 131, "SPQR")])
261 nameTable = font.tables['name'] = newTable("name")
[all …]
D_f_v_a_r_test.py35 nameTable = font.get("name")
36 if nameTable is None:
37 nameTable = font["name"] = table__n_a_m_e()
38 nameTable.names = []
40 namerec.nameID = 1 + max([n.nameID for n in nameTable.names] + [256])
43 nameTable.names.append(namerec)
D_t_r_a_k_test.py326 nameTable = font.get("name")
327 if nameTable is None:
328 nameTable = font["name"] = table__n_a_m_e()
329 nameTable.names = []
334 nameTable.names.append(namerec)
DotConverters_test.py111 nameTable = newTable('name')
112 nameTable.setName(u"Demibold Condensed", 0x123, 3, 0, 0x409)
113 nameTable.setName(u"Copyright 2018", 0, 3, 0, 0x409)
114 return {"name": nameTable}
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPMessage.java173 private Hashtable<String, SIPHeader> nameTable; field in SIPMessage
474 retval.nameTable = new Hashtable<String, SIPHeader>(); in clone()
545 nameTable = new Hashtable<String, SIPHeader>(); in SIPMessage()
657 nameTable.remove(headerNameLowerCase); in attachHeader()
658 } else if (nameTable.containsKey(headerNameLowerCase) && !(h instanceof SIPHeaderList)) { in attachHeader()
683 if (!nameTable.containsKey(headerNameLowerCase)) { in attachHeader()
684 nameTable.put(headerNameLowerCase, h); in attachHeader()
688 SIPHeaderList< ? > hdrlist = (SIPHeaderList< ? >) nameTable in attachHeader()
693 nameTable.put(headerNameLowerCase, h); in attachHeader()
695 nameTable.put(headerNameLowerCase, h); in attachHeader()
[all …]
DSIPRequest.java103 private static final Hashtable<String, String> nameTable = new Hashtable<String, String>(); field in SIPRequest
106 nameTable.put(name, name); in putName()
157 if (nameTable.containsKey(method)) in getCannonicalName()
158 return (String) nameTable.get(method); in getCannonicalName()
/external/fonttools/Tests/misc/
DxmlReader_test.py177 nameTable = ttf['name']
178 self.assertTrue(int(expectedNameID) == nameTable.names[0].nameID)
179 self.assertTrue(int(expectedLangId, 16) == nameTable.names[0].langID)
180 self.assertTrue(int(expectedPlatform) == nameTable.names[0].platformID)
181 …self.assertEqual(expectedContent, nameTable.names[0].string.decode(nameTable.names[0].getEncoding(…
/external/fonttools/Snippets/
Dinterpolate.py56 nameTable = font.get("name")
58 namerec.nameID = 1 + max([n.nameID for n in nameTable.names] + [256])
61 nameTable.names.append(namerec)
/external/fonttools/Lib/fontTools/
DfontBuilder.py471 nameTable = self.font["name"] = newTable("name")
472 nameTable.names = []
481 nameTable.addMultilingualName(
881 nameTable=self.font.get("name"),
910 nameTable = font["name"]
935 axis.axisNameID = nameTable.addMultilingualName(name, ttFont=font)
952 inst.subfamilyNameID = nameTable.addMultilingualName(name, ttFont=font)
954 inst.postscriptNameID = nameTable.addName(psname)
/external/fonttools/Lib/fontTools/colorLib/
Dbuilder.py298 labels: Iterable[_OptionalLocalizedString], nameTable: _n_a_m_e.table__n_a_m_e
301 nameTable.addMultilingualName(l, mac=False)
305 else nameTable.addMultilingualName({"en": l}, mac=False)
315 nameTable: Optional[_n_a_m_e.table__n_a_m_e] = None,
337 if (paletteLabels or paletteEntryLabels) and not nameTable:
383 cpal.paletteLabels = buildPaletteLabels(paletteLabels, nameTable)
393 cpal.paletteEntryLabels = buildPaletteLabels(paletteEntryLabels, nameTable)
/external/noto-fonts/scripts/
Dsubset_noto_sans_symbols.py148 nameTable = ttf['name']
149 for name in nameTable.names:
/external/zstd/contrib/largeNbDicts/
DlargeNbDicts.c950 const char** nameTable = (const char**)malloc((size_t)argc * sizeof(const char*)); in main() local
951 assert(nameTable != NULL); in main()
962 if (!strcmp(argument, "-h")) { free(nameTable); return usage(exeName); } in main()
977 nameTable[nameIdx++] = argument; in main()
986 filenameTable = UTIL_createExpandedFNT(nameTable, nameIdx, 1 /* follow_links */); in main()
988 filenameTable = UTIL_assembleFileNamesTable(nameTable, nameIdx, NULL); in main()
989 nameTable = NULL; /* UTIL_createFileNamesTable() takes ownership of nameTable */ in main()
995 free(nameTable); in main()
/external/fonttools/Lib/fontTools/otlLib/
Dbuilder.py2776 nameTable = ttFont["name"]
2778 nameTable, elidedFallbackName, windows=windowsNames, mac=macNames
2783 axes, nameTable, windowsNames=windowsNames, macNames=macNames
2792 locations, axes, nameTable, windowsNames=windowsNames, macNames=macNames
2812 def _buildAxisRecords(axes, nameTable, windowsNames=True, macNames=True): argument
2819 nameTable, axisDict["name"], 256, windows=windowsNames, mac=macNames
2829 nameTable, axisVal["name"], windows=windowsNames, mac=macNames
2856 locations, axes, nameTable, windowsNames=True, macNames=True argument
2867 nameTable, axisLocationDict["name"], windows=windowsNames, mac=macNames
2883 def _addName(nameTable, value, minNameID=0, windows=True, mac=True): argument
[all …]
/external/fonttools/Lib/fontTools/varLib/
D__init__.py77 nameTable = font['name']
84 axis.axisNameID = nameTable.addMultilingualName(a.labelNames, font, minNameID=256)
107 inst.subfamilyNameID = nameTable.addMultilingualName(localisedStyleName)
110 inst.postscriptNameID = nameTable.addName(psname)
/external/fonttools/Lib/fontTools/feaLib/
Dbuilder.py643 nameTable = self.font.get("name")
644 if not nameTable: # this only happens for unit tests
645 nameTable = self.font["name"] = newTable("name")
646 nameTable.names = []
650 name = nameTable.getDebugName(nameID)
/external/fonttools/Tests/colorLib/
Dbuilder_test.py172 nameTable=name_table,
207 nameTable=newTable("name"),
214 nameTable=newTable("name"),
/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py381 nameTable = font.get("name")
382 if nameTable:
383 name = nameTable.getDebugName(value)