Searched refs:atoms (Results 1 - 25 of 51) sorted by relevance

123

/external/chromium_org/third_party/re2/re2/testing/
H A Dfiltered_re2_test.cc14 vector<string> atoms; member in struct:re2::FilterTestVars
34 v.f.Compile(&v.atoms);
35 EXPECT_EQ(0, v.atoms.size());
49 v.f.Compile(&v.atoms);
50 EXPECT_EQ(1, v.atoms.size());
51 EXPECT_EQ(v.atoms[0], "\xde\xadq\xbe\xef");
61 // If any test needs more than this many regexps or atoms, increase
64 const char* atoms[20]; member in struct:re2::AtomTest
74 // This test checks that all atoms of length greater than min length
75 // are found, and no atoms tha
143 CheckExpectedAtoms(const char* atoms[], int n, const char* testname, struct FilterTestVars* v) argument
192 FindAtomIndices(const vector<string> atoms, const vector<string> matched_atoms, vector<int>* atom_indices) argument
245 vector<string> atoms; local
[all...]
H A Dexhaustive3_test.cc14 vector<string> atoms = Split(" ", local
16 ExhaustiveTest(2, 1, atoms, RegexpGenerator::EgrepOps(),
22 vector<string> atoms = Split(" ", local
24 ExhaustiveTest(2, 1, atoms, RegexpGenerator::EgrepOps(),
67 vector<string> atoms = Split(" ", local
73 ExhaustiveTest(1, 0, atoms, ops,
80 vector<string> atoms = Split(" ", local
89 ExhaustiveTest(1, 0, atoms, ops,
H A Dregexp_generator.cc47 const vector<string>& atoms,
49 : maxatoms_(maxatoms), maxops_(maxops), atoms_(atoms), ops_(ops) {
95 // atoms: the number of atoms used in the sequence
97 // then nstk = 2, ops = 1, atoms = 3.
102 int ops, int atoms) {
112 // Add atoms if there is room.
113 if (atoms < maxatoms_) {
116 GeneratePostfix(post, nstk + 1, ops, atoms + 1);
128 GeneratePostfix(post, nstk - nargs + 1, ops + 1, atoms);
46 RegexpGenerator(int maxatoms, int maxops, const vector<string>& atoms, const vector<string>& ops) argument
101 GeneratePostfix(vector<string>* post, int nstk, int ops, int atoms) argument
137 GenerateRandomPostfix(vector<string> *post, int nstk, int ops, int atoms) argument
[all...]
H A Drandom_test.cc86 vector<string> atoms = Split(" ", local
91 RandomTest(10, 10, atoms, ops, 20, alphabet, "");
/external/regex-re2/re2/testing/
H A Dfiltered_re2_test.cc14 vector<string> atoms; member in struct:re2::FilterTestVars
34 v.f.Compile(&v.atoms);
35 EXPECT_EQ(0, v.atoms.size());
49 v.f.Compile(&v.atoms);
50 EXPECT_EQ(1, v.atoms.size());
51 EXPECT_EQ(v.atoms[0], "\xde\xadq\xbe\xef");
61 // If any test needs more than this many regexps or atoms, increase
64 const char* atoms[20]; member in struct:re2::AtomTest
74 // This test checks that all atoms of length greater than min length
75 // are found, and no atoms tha
143 CheckExpectedAtoms(const char* atoms[], int n, const char* testname, struct FilterTestVars* v) argument
192 FindAtomIndices(const vector<string> atoms, const vector<string> matched_atoms, vector<int>* atom_indices) argument
245 vector<string> atoms; local
[all...]
H A Dexhaustive3_test.cc14 vector<string> atoms = Split(" ", local
16 ExhaustiveTest(2, 1, atoms, RegexpGenerator::EgrepOps(),
22 vector<string> atoms = Split(" ", local
24 ExhaustiveTest(2, 1, atoms, RegexpGenerator::EgrepOps(),
67 vector<string> atoms = Split(" ", local
73 ExhaustiveTest(1, 0, atoms, ops,
80 vector<string> atoms = Split(" ", local
89 ExhaustiveTest(1, 0, atoms, ops,
H A Dregexp_generator.cc47 const vector<string>& atoms,
49 : maxatoms_(maxatoms), maxops_(maxops), atoms_(atoms), ops_(ops) {
95 // atoms: the number of atoms used in the sequence
97 // then nstk = 2, ops = 1, atoms = 3.
102 int ops, int atoms) {
112 // Add atoms if there is room.
113 if (atoms < maxatoms_) {
116 GeneratePostfix(post, nstk + 1, ops, atoms + 1);
128 GeneratePostfix(post, nstk - nargs + 1, ops + 1, atoms);
46 RegexpGenerator(int maxatoms, int maxops, const vector<string>& atoms, const vector<string>& ops) argument
101 GeneratePostfix(vector<string>* post, int nstk, int ops, int atoms) argument
137 GenerateRandomPostfix(vector<string> *post, int nstk, int ops, int atoms) argument
[all...]
H A Drandom_test.cc86 vector<string> atoms = Split(" ", local
91 RandomTest(10, 10, atoms, ops, 20, alphabet, "");
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_state.c123 const struct svga_tracked_state *atoms[],
137 * state atoms are ordered correctly in the list.
144 for (i = 0; atoms[i] != NULL; i++) {
147 assert(atoms[i]->dirty);
148 assert(atoms[i]->update);
150 if (check_state(*state, atoms[i]->dirty)) {
152 debug_printf("update: %s\n", atoms[i]->name);
153 ret = atoms[i]->update( svga, *state );
165 atoms[i]->name);
170 accumulate_state(&examined, atoms[
122 update_state(struct svga_context *svga, const struct svga_tracked_state *atoms[], unsigned *state) argument
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state.c123 const struct svga_tracked_state *atoms[],
137 * state atoms are ordered correctly in the list.
144 for (i = 0; atoms[i] != NULL; i++) {
147 assert(atoms[i]->dirty);
148 assert(atoms[i]->update);
150 if (check_state(*state, atoms[i]->dirty)) {
152 debug_printf("update: %s\n", atoms[i]->name);
153 ret = atoms[i]->update( svga, *state );
165 atoms[i]->name);
170 accumulate_state(&examined, atoms[
122 update_state(struct svga_context *svga, const struct svga_tracked_state *atoms[], unsigned *state) argument
[all...]
/external/chromium_org/ui/base/x/
H A Dselection_utils.cc37 std::vector< ::Atom> atoms; local
38 atoms.push_back(atom_cache->GetAtom(kUtf8String));
39 atoms.push_back(atom_cache->GetAtom(kString));
40 atoms.push_back(atom_cache->GetAtom(kText));
41 atoms.push_back(atom_cache->GetAtom(kTextPlain));
42 atoms.push_back(atom_cache->GetAtom(kTextPlainUtf8));
43 return atoms;
47 std::vector< ::Atom> atoms; local
48 atoms.push_back(atom_cache->GetAtom(Clipboard::kMimeTypeURIList));
49 atoms
54 std::vector< ::Atom> atoms; local
145 std::vector< ::Atom> atoms; local
[all...]
/external/chromium_org/third_party/re2/re2/
H A Dfiltered_re2.cc43 void FilteredRE2::Compile(vector<string>* atoms) { argument
53 atoms->clear();
54 prefilter_tree_->Compile(atoms);
66 const vector<int>& atoms) const {
72 prefilter_tree_->RegexpsGivenStrings(atoms, &regexps);
81 const vector<int>& atoms,
85 prefilter_tree_->RegexpsGivenStrings(atoms, &regexps);
79 AllMatches( const StringPiece& text, const vector<int>& atoms, vector<int>* matching_regexps) const argument
H A Dfiltered_re2.h62 const vector<int>& atoms) const;
67 const vector<int>& atoms,
91 // An AND-OR tree of string atoms used for filtering regexps.
/external/regex-re2/re2/
H A Dfiltered_re2.cc43 void FilteredRE2::Compile(vector<string>* atoms) { argument
53 atoms->clear();
54 prefilter_tree_->Compile(atoms);
66 const vector<int>& atoms) const {
72 prefilter_tree_->RegexpsGivenStrings(atoms, &regexps);
81 const vector<int>& atoms,
85 prefilter_tree_->RegexpsGivenStrings(atoms, &regexps);
79 AllMatches( const StringPiece& text, const vector<int>& atoms, vector<int>* matching_regexps) const argument
H A Dfiltered_re2.h62 const vector<int>& atoms) const;
67 const vector<int>& atoms,
91 // An AND-OR tree of string atoms used for filtering regexps.
/external/lldb/test/types/
H A DAbstractBase.py43 # 'int.cpp', and the atoms, e.g., set(['unsigned', 'long long']) to the #
60 def build_and_run(self, source, atoms, dsym=True, bc=False, qd=False):
61 self.build_and_run_with_source_atoms_expr(source, atoms, expr=False, dsym=dsym, bc=bc, qd=qd)
63 def build_and_run_expr(self, source, atoms, dsym=True, bc=False, qd=False):
64 self.build_and_run_with_source_atoms_expr(source, atoms, expr=True, dsym=dsym, bc=bc, qd=qd)
66 def build_and_run_with_source_atoms_expr(self, source, atoms, expr, dsym=True, bc=False, qd=False):
78 self.generic_type_expr_tester(self.exe_name, atoms, blockCaptured=bc, quotedDisplay=qd)
80 self.generic_type_tester(self.exe_name, atoms, blockCaptured=bc, quotedDisplay=qd)
82 def generic_type_tester(self, exe_name, atoms, quotedDisplay=False, blockCaptured=False):
139 # The input type is in a canonical form as a set of named atoms
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_atom.c41 * This is used to initialize st->atoms[].
43 static const struct st_tracked_state *atoms[] = variable in typeref:struct:st_tracked_state
184 * state atoms are ordered correctly in the list.
190 for (i = 0; i < Elements(atoms); i++) {
191 const struct st_tracked_state *atom = atoms[i];
203 atoms[i]->update( st );
221 for (i = 0; i < Elements(atoms); i++) {
222 if (check_state(state, &atoms[i]->dirty))
223 atoms[i]->update( st );
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom.c41 * This is used to initialize st->atoms[].
43 static const struct st_tracked_state *atoms[] = variable in typeref:struct:st_tracked_state
184 * state atoms are ordered correctly in the list.
190 for (i = 0; i < Elements(atoms); i++) {
191 const struct st_tracked_state *atom = atoms[i];
203 atoms[i]->update( st );
221 for (i = 0; i < Elements(atoms); i++) {
222 if (check_state(state, &atoms[i]->dirty))
223 atoms[i]->update( st );
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_state_upload.c39 /* This is used to initialize brw->state.atoms[]. We could use this
256 const struct brw_tracked_state **atoms; local
262 atoms = gen7_atoms;
265 atoms = gen6_atoms;
268 atoms = gen4_atoms;
272 brw->atoms = atoms;
276 assert((*atoms)->dirty.mesa |
277 (*atoms)->dirty.brw |
278 (*atoms)
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_state_upload.c39 /* This is used to initialize brw->state.atoms[]. We could use this
256 const struct brw_tracked_state **atoms; local
262 atoms = gen7_atoms;
265 atoms = gen6_atoms;
268 atoms = gen4_atoms;
272 brw->atoms = atoms;
276 assert((*atoms)->dirty.mesa |
277 (*atoms)->dirty.brw |
278 (*atoms)
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
H A Di915_state_immediate.c213 static const struct i915_tracked_state *atoms[] = { variable in typeref:struct:i915_tracked_state
225 for (i = 0; i < Elements(atoms); i++)
226 if (i915->dirty & atoms[i]->dirty)
227 atoms[i]->update(i915);
233 ~0 /* all state atoms, becuase we do internal checking */
H A Di915_state_derived.c195 static struct i915_tracked_state *atoms[] = { variable in typeref:struct:i915_tracked_state
215 for (i = 0; atoms[i]; i++)
216 if (atoms[i]->dirty & i915->dirty)
217 atoms[i]->update(i915);
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_state_immediate.c213 static const struct i915_tracked_state *atoms[] = { variable in typeref:struct:i915_tracked_state
225 for (i = 0; i < Elements(atoms); i++)
226 if (i915->dirty & atoms[i]->dirty)
227 atoms[i]->update(i915);
233 ~0 /* all state atoms, becuase we do internal checking */
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-sched.c41 struct sched_atom **atoms; member in struct:task_desc
254 task->atoms = realloc(task->atoms, size);
255 BUG_ON(!task->atoms);
257 task->atoms[idx] = event;
267 return task->atoms[task->nr_events - 1];
497 perf_sched__process_event(sched, this_task->atoms[i]);
790 struct work_atoms *atoms; local
793 atoms = container_of(node, struct work_atoms, node);
795 cmp = thread_lat_cmp(sort_list, &key, atoms);
835 struct work_atoms *atoms = zalloc(sizeof(*atoms)); local
855 add_sched_out_event(struct work_atoms *atoms, char run_state, u64 timestamp) argument
877 add_runtime_event(struct work_atoms *atoms, u64 delta, u64 timestamp __maybe_unused) argument
891 add_sched_in_event(struct work_atoms *atoms, u64 timestamp) argument
994 struct work_atoms *atoms = thread_atoms_search(&sched->atom_root, thread, &sched->cmp_pid); local
1022 struct work_atoms *atoms; local
1075 struct work_atoms *atoms; local
[all...]
/external/chromium_org/chrome/test/chromedriver/
H A Delement_commands.cc28 #include "third_party/webdriver/atoms.h"
90 webdriver::atoms::asString(webdriver::atoms::TOUCH_SINGLE_TAP),
284 webdriver::atoms::asString(webdriver::atoms::CLEAR),
351 webdriver::atoms::asString(webdriver::atoms::SUBMIT),
366 webdriver::atoms::asString(webdriver::atoms::GET_TEXT),
411 webdriver::atoms
[all...]

Completed in 4903 milliseconds

123