Home | History | Annotate | Download | only in compiler

Lines Matching refs:opPos

171    * @param opPos index into op map.
172 * @return the op that corresponds to the opPos argument.
174 public int getOp(int opPos)
176 return m_opMap.elementAt(opPos);
182 * @param opPos index into op map.
185 public void setOp(int opPos, int value)
187 m_opMap.setElementAt(value,opPos);
194 * @param opPos An op position of an operation for which there is a size
198 public int getNextOpPos(int opPos)
200 return opPos + m_opMap.elementAt(opPos + 1);
207 * @param opPos the position of a location step.
210 public int getNextStepPos(int opPos)
213 int stepType = getOp(opPos);
218 return getNextOpPos(opPos);
223 int newOpPos = getNextOpPos(opPos);
253 * @param opPos index to operation, for which there is a size entry following.
256 public static int getNextOpPos(int[] opMap, int opPos)
258 return opPos + opMap[opPos + 1];
270 * @param opPos position of FROM_stepType op.
273 public int getFirstPredicateOpPos(int opPos)
277 int stepType = m_opMap.elementAt(opPos);
282 return opPos + m_opMap.elementAt(opPos + 2);
287 return opPos + m_opMap.elementAt(opPos + 1);
296 new Object[]{ String.valueOf(stepType) }); //"ERROR! Unknown op code: "+m_opMap[opPos]);
327 * @param opPos position of operation.
331 public static int getFirstChildPos(int opPos)
333 return opPos + 2;
339 * @param opPos The position of the operation in the op map.
343 public int getArgLength(int opPos)
345 return m_opMap.elementAt(opPos + MAPINDEX_LENGTH);
351 * @param opPos Position of location step in op map.
355 public int getArgLengthOfStep(int opPos)
357 return m_opMap.elementAt(opPos + MAPINDEX_LENGTH + 1) - 3;
363 * @param opPos Position of location step in the location map.
367 public static int getFirstChildPosOfStep(int opPos)
369 return opPos + 3;