Searched defs:atoms (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium_org/third_party/re2/re2/testing/
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 Drandom_test.cc86 vector<string> atoms = Split(" ", local
91 RandomTest(10, 10, atoms, ops, 20, alphabet, "");
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 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...]
/external/regex-re2/re2/testing/
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 Drandom_test.cc86 vector<string> atoms = Split(" ", local
91 RandomTest(10, 10, atoms, ops, 20, alphabet, "");
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 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...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
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);
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_dynamic.c292 static const struct i915_tracked_state *atoms[] = { variable in typeref:struct:i915_tracked_state
310 for (i = 0; i < Elements(atoms); i++)
311 if (i915->dirty & atoms[i]->dirty)
312 atoms[i]->update(i915);
318 ~0 /* all state atoms, becuase we do internal checking */
/external/mesa3d/src/gallium/drivers/i915/
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);
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_dynamic.c292 static const struct i915_tracked_state *atoms[] = { variable in typeref:struct:i915_tracked_state
310 for (i = 0; i < Elements(atoms); i++)
311 if (i915->dirty & atoms[i]->dirty)
312 atoms[i]->update(i915);
318 ~0 /* all state atoms, becuase we do internal checking */
/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/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
/external/chromium_org/ui/views/widget/desktop_aura/
H A Dx11_desktop_handler.cc58 std::vector<Atom> atoms; local
59 if (ui::GetAtomArrayProperty(x_root_window_, "_NET_ACTIVE_WINDOW", &atoms)) {
61 for (std::vector<Atom>::iterator iter = atoms.begin(); iter != atoms.end();
/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/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
/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/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/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/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/remoting/host/linux/
H A Dx_server_clipboard.cc70 Atom atoms[kNumAtomNames]; local
72 False, atoms)) {
73 clipboard_atom_ = atoms[0];
74 large_selection_atom_ = atoms[1];
75 selection_string_atom_ = atoms[2];
76 targets_atom_ = atoms[3];
77 timestamp_atom_ = atoms[4];
78 utf8_string_atom_ = atoms[5];
/external/chromium_org/ui/base/x/
H A Dselection_utils.cc32 std::vector< ::Atom> atoms; local
33 atoms.push_back(atom_cache->GetAtom(kUtf8String));
34 atoms.push_back(atom_cache->GetAtom(kString));
35 atoms.push_back(atom_cache->GetAtom(kText));
36 return atoms;
40 std::vector< ::Atom> atoms; local
41 atoms.push_back(atom_cache->GetAtom(Clipboard::kMimeTypeURIList));
42 atoms.push_back(atom_cache->GetAtom(kMimeTypeMozillaURL));
43 return atoms;
122 std::vector< ::Atom> atoms; local
[all...]

Completed in 612 milliseconds

12