Home
last modified time | relevance | path

Searched refs:category (Results 1 – 10 of 10) sorted by relevance

/libcore/tools/docs/crypto/
Dformat_supported_algorithm_table.py36 def has_notes(category): argument
37 for algorithm in category['algorithms']:
68 for category in categories:
69 if not category['name'].endswith('.Enabled'):
71 '<code>{name}</code></a></li>'.format(**category))
73 for category in categories:
74 if args.category and category['name'] not in args.category:
76 show_notes = has_notes(category)
77 if category['name'].endswith('.Enabled'):
80 if category['name'] == 'Cipher':
[all …]
Dupdate_crypto_support.py153 category, algorithm = line.split()
154 if category not in SUPPORTED_CATEGORIES:
157 current_data[category].append(normalized_name)
187 for category in SUPPORTED_CATEGORIES:
188 prev_category = find_by_name(prev_data['categories'], category)
190 prev_category = {'name': category, 'algorithms': []}
192 current_data[category] if category in current_data else [])
193 new_category = {'name': category, 'algorithms': []}
204 if category not in CASE_SENSITIVE_CATEGORIES:
/libcore/ojluni/src/main/java/java/util/random/
DRandomGeneratorFactory.java235 private boolean isSubclass(Class<? extends RandomGenerator> category) {
236 return isSubclass(category, provider);
247 private static boolean isSubclass(Class<? extends RandomGenerator> category,
249 return provider != null && category.isAssignableFrom(provider.type());
263 … Class<? extends RandomGenerator> category)
271 } else if (!isSubclass(category, provider)) {
275 category.getSimpleName() +
293 static <T extends RandomGenerator> T of(String name, Class<T> category)
296 T uncheckedRandomGenerator = (T)findProvider(name, category).get();
312 …tic <T extends RandomGenerator> RandomGeneratorFactory<T> factoryOf(String name, Class<T> category)
[all …]
/libcore/metrictests/memory/host/src/libcore/heapmetrics/
DHeapCategorization.java174 HeapCategory category = categorizeInternedString(rooted.asString()); in initializeFromRooted() local
175 incrementSize(rooted, category); in initializeFromRooted()
338 private void incrementSize(AhatInstance rooted, HeapCategory category) { in incrementSize() argument
343 if (sizesByCategory.containsKey(category)) { in incrementSize()
344 sizesByCategory.put(category, sizesByCategory.get(category).plus(size)); in incrementSize()
346 sizesByCategory.put(category, size); in incrementSize()
/libcore/luni/src/test/java/libcore/xml/
DXsltXPathConformanceTestSuite.java208 String category = testCaseElement.getAttribute("category"); in create() local
210 String name = category + "." + id; in create()
263 return new XsltTest(category, id, purpose, spec, principalData, in create()
311 private final String category; field in XsltXPathConformanceTestSuite.XsltTest
329 XsltTest(String category, String id, String purpose, String spec, in XsltTest() argument
333 this.category = category; in XsltTest()
404 return category + "." + id; in getName()
/libcore/ojluni/src/main/java/java/util/
DLocale.java1043 public static Locale getDefault(Locale.Category category) { in getDefault() argument
1045 Objects.requireNonNull(category); in getDefault()
1046 if (category == Category.DISPLAY) { in getDefault()
1053 assert category == Category.FORMAT : "Unknown category"; in getDefault()
1132 private static Locale initDefault(Locale.Category category) { in initDefault() argument
1152 System.getProperty(category.languageKey, defaultLocale.getLanguage()), in initDefault()
1153 System.getProperty(category.scriptKey, defaultLocale.getScript()), in initDefault()
1154 System.getProperty(category.countryKey, defaultLocale.getCountry()), in initDefault()
1155 System.getProperty(category.variantKey, defaultLocale.getVariant()), in initDefault()
1242 public static synchronized void setDefault(Locale.Category category, in setDefault() argument
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/
DLocale.java96 public static java.util.Locale getDefault(java.util.Locale.Category category) { in getDefault() argument
104 private static java.util.Locale initDefault(java.util.Locale.Category category) { in initDefault() argument
113 java.util.Locale.Category category, java.util.Locale newLocale) { in setDefault() argument
/libcore/ojluni/annotations/sdk/nullability/java/util/
DLocale.annotated.java61 ….util.Locale getDefault(@libcore.util.NonNull java.util.Locale.Category category) { throw new Runt… in getDefault() argument
65 public static synchronized void setDefault(@libcore.util.NonNull java.util.Locale.Category category in setDefault() argument
/libcore/ojluni/src/test/java/util/regex/
DTestCases.txt567 // Android-removed: L1 isn't a known Unicode category.
572 // Android-removed: L1 isn't a known Unicode category.
577 // Android-removed: L1 isn't a known Unicode category.
/libcore/benchmarks/src/benchmarks/regression/
DR.java1422 public static final int category = 0; field in R