Lines Matching defs:search

22  * InstructionFinder is a tool to search for given instructions patterns, i.e.,
30 * package to search for regular expressions.
40 * for (Iterator i = f.search(pat, constraint); i.hasNext(); ) {
67 * instruction list to search for given patterns
159 * Search for the given pattern in the instruction list. You can search for
175 * search("BranchInstruction NOP ((IfInstruction|GOTO)+ ISTORE Instruction)*");
181 * search() again, because the matches are cached.
184 * the instruction pattern to search for, where case is ignored
186 * where to start the search in the instruction list
193 public final Iterator<InstructionHandle[]> search( final String pattern,
195 final String search = compilePattern(pattern);
199 start = i; // Where to start search from (index)
207 final Pattern regex = Pattern.compile(search);
225 * Start search beginning from the start of the given instruction list.
228 * the instruction pattern to search for, where case is ignored
232 public final Iterator<InstructionHandle[]> search( final String pattern ) {
233 return search(pattern, il.getStart(), null);
238 * Start search beginning from `from'.
241 * the instruction pattern to search for, where case is ignored
243 * where to start the search in the instruction list
247 public final Iterator<InstructionHandle[]> search( final String pattern,
249 return search(pattern, from, null);
254 * Start search beginning from the start of the given instruction list. Check
258 * the instruction pattern to search for, case is ignored
263 public final Iterator<InstructionHandle[]> search( final String pattern,
265 return search(pattern, il.getStart(), constraint);