Home
last modified time | relevance | path

Searched refs:categories (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/external/junit/src/main/java/org/junit/experimental/categories/
DExcludeCategories.java1 package org.junit.experimental.categories;
7 import org.junit.experimental.categories.Categories.CategoryFilter;
34 protected Filter createFilter(List<Class<?>> categories) { in createFilter() argument
35 return new ExcludesAny(categories); in createFilter()
39 public ExcludesAny(List<Class<?>> categories) { in ExcludesAny() argument
40 this(new HashSet<Class<?>>(categories)); in ExcludesAny()
43 public ExcludesAny(Set<Class<?>> categories) { in ExcludesAny() argument
44 super(true, null, true, categories); in ExcludesAny()
DIncludeCategories.java1 package org.junit.experimental.categories;
7 import org.junit.experimental.categories.Categories.CategoryFilter;
34 protected Filter createFilter(List<Class<?>> categories) { in createFilter() argument
35 return new IncludesAny(categories); in createFilter()
39 public IncludesAny(List<Class<?>> categories) { in IncludesAny() argument
40 this(new HashSet<Class<?>>(categories)); in IncludesAny()
43 public IncludesAny(Set<Class<?>> categories) { in IncludesAny() argument
44 super(true, categories, true, null); in IncludesAny()
DCategories.java1 package org.junit.experimental.categories;
119 public static CategoryFilter include(boolean matchAny, Class<?>... categories) { in include() argument
120 if (hasNull(categories)) { in include()
123 return categoryFilter(matchAny, createSet(categories), true, null); in include()
130 public static CategoryFilter include(Class<?>... categories) { in include() argument
131 return include(true, categories); in include()
134 public static CategoryFilter exclude(boolean matchAny, Class<?>... categories) { in exclude() argument
135 if (hasNull(categories)) { in exclude()
138 return categoryFilter(true, null, matchAny, createSet(categories)); in exclude()
145 public static CategoryFilter exclude(Class<?>... categories) { in exclude() argument
[all …]
DCategoryFilterFactory.java1 package org.junit.experimental.categories;
34 protected abstract Filter createFilter(List<Class<?>> categories); in createFilter() argument
36 private List<Class<?>> parseCategories(String categories) throws ClassNotFoundException { in parseCategories() argument
39 for (String category : categories.split(",")) { in parseCategories()
/external/chromium-trace/catapult/systrace/profile_chrome/
Dchrome_tracing_agent_unittest.py23 categories = \
27 self.assertEquals(len(categories), 2)
28 self.assertTrue(categories[0])
29 self.assertTrue(categories[1])
41 categories = '*'
46 agent.StartAgentTracing(chrome_tracing_agent.ChromeConfig(categories, None,
Dchrome_tracing_agent.py197 categories = []
199 categories.append('disabled-by-default-cc.debug')
201 categories.append('disabled-by-default-cc.debug*')
203 categories.append('disabled-by-default-gpu.debug*')
205 categories.append('disabled-by-default-toplevel.flow')
207 categories.append('disabled-by-default-memory')
209 categories.append('disabled-by-default-blink.scheduler')
210 categories.append('disabled-by-default-cc.debug.scheduler')
211 categories.append('disabled-by-default-renderer.scheduler')
213 categories += config.chrome_categories.split(',')
[all …]
Dperf_tracing_agent_unittest.py18 categories = \
20 assert 'cycles' in ' '.join(categories)
29 categories = 'cycles'
33 agent.StartAgentTracing(perf_tracing_agent.PerfConfig(categories,
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Datrace_agent.py54 categories = devutils.RunShellCommand(
60 categories = [c for c in categories if not re.match(r'^\s*rs\s*-', c)]
62 print '\n'.join(categories)
76 categories = [c.split('-')[0].strip() for c in categories_output]
80 categories = [c for c in categories if c != 'rs']
81 return categories
107 def _construct_extra_atrace_args(config, categories): argument
121 extra_args.extend(categories)
124 def _construct_atrace_args(config, categories): argument
142 elif 'sched' in categories:
[all …]
Dftrace_agent_unittest.py81 options, categories = run_systrace.parse_options(systrace_cmd)
86 agent.StartAgentTracing(options, categories)
116 options, categories = run_systrace.parse_options(systrace_cmd)
117 options.ftrace_categories = categories
135 options, categories = run_systrace.parse_options(systrace_cmd)
138 agent._config.atrace_categories = categories
Dftrace_agent.py145 def _fix_categories(self, categories): argument
152 if not categories:
153 categories = ["sched"]
154 return [x for x in categories
162 categories = self._fix_categories(config.ftrace_categories)
173 for category in categories:
176 self._categories = categories # need to store list of categories to disable
Datrace_agent_unittest.py88 options, categories = run_systrace.parse_options(SYSTRACE_CMD)
89 options.atrace_categories = categories
90 tracer_args = atrace_agent._construct_atrace_args(options, categories)
/external/mesa3d/src/mapi/glapi/gen/
Dgl_procs.py132 categories = {}
137 if not categories.has_key(cat):
138 categories[cat] = []
141 categories[cat].append(proto)
142 if categories:
146 keys = categories.keys()
150 print "\n".join(categories[key])
/external/tensorflow/tensorflow/compiler/xla/
Dmetric_table_report.cc108 std::vector<Category> categories; in MakeCategories() local
109 categories.reserve(category_map.size()); in MakeCategories()
111 categories.push_back(std::move(key_value_pair.second)); in MakeCategories()
112 categories.back().category_text = key_value_pair.first; in MakeCategories()
119 std::sort(categories.begin(), categories.end(), metric_sum_greater); in MakeCategories()
121 return categories; in MakeCategories()
135 const std::vector<Category> categories = MakeCategories(&entries_); in AppendCategoryTable() local
143 for (const auto& category : categories) { in AppendCategoryTable()
179 const int64 remaining_categories = categories.size() - categories_shown; in AppendCategoryTable()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowIntent.java37 private final Set<String> categories = new HashSet<String>(); field in ShadowIntent
63 categories.addAll(other.categories); in __constructor__()
108 categories.add(category); in addCategory()
114 categories.remove(category); in removeCategory()
119 return categories.contains(category); in hasCategory()
124 return categories; in getCategories()
441 if (!other.categories.isEmpty() in fillIn()
442 && (categories.isEmpty() || (flags & FILL_IN_CATEGORIES) != 0)) { in fillIn()
443 categories.addAll(other.categories); in fillIn()
554 … if (categories != null ? !categories.equals(o.categories) : o.categories != null) return false; in realIntentEquals()
[all …]
/external/libmojo/third_party/jinja2/
D_stringdefs.py99 categories = {} variable
113 categories.setdefault(cat, []).append(c)
118 for cat in sorted(categories):
119 val = u''.join(categories[cat])
129 f.write('cats = %r\n\n' % sorted(categories.keys()))
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DIntentFilterData.java8 private final List<String> categories; field in IntentFilterData
16 public IntentFilterData(List<String> actions, List<String> categories) { in IntentFilterData() argument
18 this.categories = new ArrayList<>(categories); in IntentFilterData()
32 return categories; in getCategories()
/external/chromium-trace/catapult/systrace/systrace/
Drun_systrace.py81 options, categories = parser.parse_args(argv[1:])
99 return (options, categories)
142 options, categories = parse_options(arguments)
146 if categories:
148 options.atrace_categories = categories
150 options.ftrace_categories = categories
/external/v8/tools/
Deval_gc_nvp.py197 categories = [ Category(key, deepcopy(histogram), args.csv, percentiles)
205 for category in categories:
209 categories = [x for x in categories if not x.empty()]
212 categories = sorted(categories, key=make_key_func(args.rank), reverse=True)
214 for category in categories:
/external/libchrome/base/trace_event/
Dtrace_config_category_filter.cc192 StringList categories(included_categories_); in ToDict() local
193 categories.insert(categories.end(), disabled_categories_.begin(), in ToDict()
195 AddCategoriesToDict(categories, kIncludedCategoriesParam, dict); in ToDict()
251 const StringList& categories, in AddCategoriesToDict() argument
254 if (categories.empty()) in AddCategoriesToDict()
258 for (const std::string& category : categories) in AddCategoriesToDict()
/external/python/cpython2/Lib/
Dlocale.py1996 categories = {}
1997 def _init_categories(categories=categories): argument
2000 categories[k] = v
2002 del categories['LC_ALL']
2013 for name,category in categories.items():
2024 for name,category in categories.items():
2041 for name,category in categories.items():
/external/python/cpython3/Lib/
Dlocale.py1616 categories = {}
1617 def _init_categories(categories=categories): argument
1620 categories[k] = v
1622 del categories['LC_ALL']
1633 for name,category in categories.items():
1644 for name,category in categories.items():
1661 for name,category in categories.items():
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugType.h66 : BugType(check, name, categories::LogicError), desc(description) {} in BuiltinBug()
70 : BugType(checker, name, categories::LogicError), desc(description) {} in BuiltinBug()
73 : BugType(checker, name, categories::LogicError), desc(name) {} in BuiltinBug()
/external/mksh/src/
Dcheck.pl238 %categories = (
271 $categories{'shell:ebcdic-yes'} = 1;
272 $categories{'shell:ascii-no'} = 1;
274 $categories{'shell:ebcdic-no'} = 1;
275 $categories{'shell:ascii-yes'} = 1;
283 $categories{$c} = 1;
731 return 0 if ($test{'need-ctty'} && defined $categories{'regress:no-ctty'});
738 return 0 if (defined $categories{$c});
741 $ok = 1 if (defined $categories{$c});
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp74 categories::LogicError, in reportIdenticalExpr()
122 categories::LogicError, in VisitIfStmt()
145 categories::LogicError, in VisitIfStmt()
176 categories::LogicError, in VisitIfStmt()
264 categories::LogicError, Message, ELoc); in checkComparisonOp()
286 categories::LogicError, in VisitConditionalOperator()
/external/linux-kselftest/tools/testing/selftests/tc-testing/
Dtdc_helper.py39 categories = set(map(lambda x: x['category'], testlist))
41 print(", ".join(str(s) for s in categories))

12345678910>>...13