Home
last modified time | relevance | path

Searched refs:atoms (Results 1 – 25 of 33) sorted by relevance

12

/external/regex-re2/re2/testing/
Dfiltered_re2_test.cc14 vector<string> atoms; member
34 v.f.Compile(&v.atoms); in TEST()
35 EXPECT_EQ(0, v.atoms.size()); in TEST()
49 v.f.Compile(&v.atoms); in TEST()
50 EXPECT_EQ(1, v.atoms.size()); in TEST()
51 EXPECT_EQ(v.atoms[0], "\xde\xadq\xbe\xef"); in TEST()
64 const char* atoms[20]; member
140 v->f.Compile(&v->atoms); in AddRegexpsAndCompile()
143 bool CheckExpectedAtoms(const char* atoms[], in CheckExpectedAtoms() argument
149 expected.push_back(atoms[i]); in CheckExpectedAtoms()
[all …]
Dexhaustive3_test.cc14 vector<string> atoms = Split(" ", in TEST() local
16 ExhaustiveTest(2, 1, atoms, RegexpGenerator::EgrepOps(), in TEST()
22 vector<string> atoms = Split(" ", in TEST() local
24 ExhaustiveTest(2, 1, atoms, RegexpGenerator::EgrepOps(), in TEST()
67 vector<string> atoms = Split(" ", in TEST() local
73 ExhaustiveTest(1, 0, atoms, ops, in TEST()
80 vector<string> atoms = Split(" ", in TEST() local
89 ExhaustiveTest(1, 0, atoms, ops, in TEST()
Dregexp_generator.cc47 const vector<string>& atoms, in RegexpGenerator() argument
49 : maxatoms_(maxatoms), maxops_(maxops), atoms_(atoms), ops_(ops) { in RegexpGenerator()
102 int ops, int atoms) { in GeneratePostfix() argument
113 if (atoms < maxatoms_) { in GeneratePostfix()
116 GeneratePostfix(post, nstk + 1, ops, atoms + 1); in GeneratePostfix()
128 GeneratePostfix(post, nstk - nargs + 1, ops + 1, atoms); in GeneratePostfix()
138 int ops, int atoms) { in GenerateRandomPostfix() argument
141 if (nstk == 1 && acm_->Uniform(maxatoms_ + 1 - atoms) == 0) { in GenerateRandomPostfix()
159 ops + 1, atoms); in GenerateRandomPostfix()
167 if (atoms < maxatoms_ && acm_->Uniform(2) == 0) { in GenerateRandomPostfix()
[all …]
Drandom_test.cc86 vector<string> atoms = Split(" ", in TEST() local
91 RandomTest(10, 10, atoms, ops, 20, alphabet, ""); in TEST()
Dregexp_generator.h30 RegexpGenerator(int maxatoms, int maxops, const vector<string>& atoms,
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state.c123 const struct svga_tracked_state *atoms[], in update_state() argument
144 for (i = 0; atoms[i] != NULL; i++) { in update_state()
147 assert(atoms[i]->dirty); in update_state()
148 assert(atoms[i]->update); in update_state()
150 if (check_state(*state, atoms[i]->dirty)) { in update_state()
152 debug_printf("update: %s\n", atoms[i]->name); in update_state()
153 ret = atoms[i]->update( svga, *state ); in update_state()
165 atoms[i]->name); in update_state()
170 accumulate_state(&examined, atoms[i]->dirty); in update_state()
174 for (i = 0; atoms[i] != NULL; i++) { in update_state()
[all …]
/external/lldb/test/types/
DAbstractBase.py60 def build_and_run(self, source, atoms, dsym=True, bc=False, qd=False): argument
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): argument
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): argument
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): argument
154 (dt, atoms),
156 substrs = list(atoms))
[all …]
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-sched.c41 struct sched_atom **atoms; member
249 task->atoms = realloc(task->atoms, size); in get_new_event()
250 BUG_ON(!task->atoms); in get_new_event()
252 task->atoms[idx] = event; in get_new_event()
262 return task->atoms[task->nr_events - 1]; in last_event()
491 perf_sched__process_event(sched, this_task->atoms[i]); in thread_func()
780 struct work_atoms *atoms; in thread_atoms_search() local
783 atoms = container_of(node, struct work_atoms, node); in thread_atoms_search()
785 cmp = thread_lat_cmp(sort_list, &key, atoms); in thread_atoms_search()
791 BUG_ON(thread != atoms->thread); in thread_atoms_search()
[all …]
/external/regex-re2/re2/
Dfiltered_re2.cc43 void FilteredRE2::Compile(vector<string>* atoms) { in Compile() argument
53 atoms->clear(); in Compile()
54 prefilter_tree_->Compile(atoms); in Compile()
66 const vector<int>& atoms) const { in FirstMatch()
72 prefilter_tree_->RegexpsGivenStrings(atoms, &regexps); in FirstMatch()
81 const vector<int>& atoms, in AllMatches() argument
85 prefilter_tree_->RegexpsGivenStrings(atoms, &regexps); in AllMatches()
Dfiltered_re2.h62 const vector<int>& atoms) const;
67 const vector<int>& atoms,
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_state_upload.c256 const struct brw_tracked_state **atoms; in brw_init_state() local
262 atoms = gen7_atoms; in brw_init_state()
265 atoms = gen6_atoms; in brw_init_state()
268 atoms = gen4_atoms; in brw_init_state()
272 brw->atoms = atoms; in brw_init_state()
276 assert((*atoms)->dirty.mesa | in brw_init_state()
277 (*atoms)->dirty.brw | in brw_init_state()
278 (*atoms)->dirty.cache); in brw_init_state()
279 assert((*atoms)->emit); in brw_init_state()
280 atoms++; in brw_init_state()
[all …]
Dbrw_context.h1047 const struct brw_tracked_state **atoms; member
/external/mesa3d/src/mesa/state_tracker/
Dst_atom.c43 static const struct st_tracked_state *atoms[] = variable
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/gallium/drivers/i915/
Di915_state_immediate.c213 static const struct i915_tracked_state *atoms[] = { variable
225 for (i = 0; i < Elements(atoms); i++) in update_immediate()
226 if (i915->dirty & atoms[i]->dirty) in update_immediate()
227 atoms[i]->update(i915); in update_immediate()
Di915_state_dynamic.c292 static const struct i915_tracked_state *atoms[] = { variable
310 for (i = 0; i < Elements(atoms); i++) in update_dynamic()
311 if (i915->dirty & atoms[i]->dirty) in update_dynamic()
312 atoms[i]->update(i915); in update_dynamic()
Di915_state_derived.c195 static struct i915_tracked_state *atoms[] = { variable
215 for (i = 0; atoms[i]; i++) in i915_update_derived()
216 if (atoms[i]->dirty & i915->dirty) in i915_update_derived()
217 atoms[i]->update(i915); in i915_update_derived()
/external/lldb/source/Plugins/SymbolFile/DWARF/
DHashedNameToDIE.h246 AtomArray atoms; member
253 atoms(), in die_base_offset()
274 atoms.clear(); in ClearAtoms()
293 atoms.push_back (Atom(type, form)); in AppendAtom()
387 return sizeof(die_base_offset) + sizeof(uint32_t) + atoms.size() * sizeof(Atom); in GetByteSize()
439 const size_t num_atoms = header_data.atoms.size(); in Read()
445 DWARFFormValue form_value (header_data.atoms[i].form); in Read()
450 switch (header_data.atoms[i].type) in Read()
478 const size_t num_atoms = header_data.atoms.size(); in Dump()
484 DWARFFormValue form_value (header_data.atoms[i].form); in Dump()
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DDFA.java564 int[] atoms = labels.toArray();
565 for (int a = 0; a < atoms.length; a++) {
567 if ( atoms[a]>=Label.MIN_CHAR_VALUE ) {
568 int labelIndex = atoms[a]-smin; // offset from 0
608 int[] atoms = labels.toArray();
609 for (int a = 0; a < atoms.length; a++) {
610 if ( atoms[a]==Label.EOT ) {
614 else if ( atoms[a]==Label.EOF ) {
/external/libxml2/
Dxmlregexp.c257 xmlRegAtomPtr *atoms; member
277 xmlRegAtomPtr *atoms; member
443 ret->atoms = ctxt->atoms; in xmlRegEpxFromParse()
455 (ret->atoms != NULL) && in xmlRegEpxFromParse()
456 (ret->atoms[0] != NULL) && in xmlRegEpxFromParse()
457 (ret->atoms[0]->type == XML_REGEXP_STRING)) { in xmlRegEpxFromParse()
507 if ((ret->atoms[i]->type == XML_REGEXP_STRING) && in xmlRegEpxFromParse()
508 (ret->atoms[i]->quant == XML_REGEXP_QUANT_ONCE)) { in xmlRegEpxFromParse()
509 value = ret->atoms[i]->valuep; in xmlRegEpxFromParse()
649 if (ret->atoms != NULL) { in xmlRegEpxFromParse()
[all …]
/external/ceres-solver/data/nist/
DRoszman1.dat12 quantum defects in iodine atoms. The response
/external/lldb/test/functionalities/data-formatter/data-formatter-objc/
Dmain.m77 NSArray *atoms; field
80 -(NSArray *)atoms; method
100 atoms = newAtoms;
102 -(NSArray *)atoms
104 return atoms;
668 …[molecule addObserver:[My_KVO_Observer new] forKeyPath:@"atoms" options:0 context:NULL]; // Se…
/external/llvm/test/DebugInfo/
Ddwarfdump-accel.test28 CHECK: Number of atoms = 1
/external/llvm/docs/
DSourceLevelDebugging.rst1118 Atoms atoms[atom_count0];
1121 ``HeaderData`` defines the base DIE offset that should be added to any atoms
1136 HeaderData.atoms[0].type = eAtomTypeDIEOffset;
1137 HeaderData.atoms[0].form = DW_FORM_data4;
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DDefineGrammarItemsWalker.g589 //{System.out.println("atoms="+currentRewriteBlock.rewriteRefs);}
/external/libvpx/libwebm/
Dmkvparser.cpp4023 Atom* const atoms = new (std::nothrow) Atom[size]; in ExpandAtomsArray() local
4025 if (atoms == NULL) in ExpandAtomsArray()
4029 m_atoms[idx].ShallowCopy(atoms[idx]); in ExpandAtomsArray()
4033 m_atoms = atoms; in ExpandAtomsArray()

12