Home
last modified time | relevance | path

Searched refs:part (Results 1 – 9 of 9) sorted by relevance

/cts/tools/dasm/src/java_cup/
Dlr_item_core.java36 production_part part; in lr_item_core() local
56 part = _the_production.rhs(_dot_pos); in lr_item_core()
57 if (!part.is_action()) in lr_item_core()
58 _symbol_after_dot = ((symbol_part)part).the_symbol(); in lr_item_core()
209 production_part part; in to_simple_string() local
233 part = _the_production.rhs(i); in to_simple_string()
234 if (part == null) in to_simple_string()
236 else if (part.is_action()) in to_simple_string()
238 else if (((symbol_part)part).the_symbol() != null && in to_simple_string()
239 ((symbol_part)part).the_symbol().name() != null) in to_simple_string()
[all …]
Dlalr_item.java177 production_part part; in calc_lookahead() local
191 part = the_production().rhs(pos); in calc_lookahead()
194 if (!part.is_action()) in calc_lookahead()
196 sym = ((symbol_part)part).the_symbol(); in calc_lookahead()
233 production_part part; in lookahead_visible() local
243 part = the_production().rhs(pos); in lookahead_visible()
246 if (!part.is_action()) in lookahead_visible()
248 sym = ((symbol_part)part).the_symbol(); in lookahead_visible()
Dproduction.java445 symbol_part part; in translate_labels() local
454 part = (symbol_part)rhs[pos]; in translate_labels()
457 if (part.label() != null) in translate_labels()
459 label_map.put(part.label(), new Integer(pos)); in translate_labels()
460 label_types.put(part.label(), part.the_symbol().stack_type()); in translate_labels()
612 production_part part; in check_nullable() local
629 part = rhs(pos); in check_nullable()
632 if (!part.is_action()) in check_nullable()
634 sym = ((symbol_part)part).the_symbol(); in check_nullable()
666 int part; in check_first_set() local
[all …]
Dparser.cup16 case we are part of the java_cup package and we import both the
71 /** helper routine to clone a new production part adding a given label */
72 protected production_part add_lab(production_part part, String lab)
76 if (lab == null || part.is_action()) return part;
79 return new symbol_part(((symbol_part)part).the_symbol(),lab);
94 /** add a new right hand side part */
95 protected void add_rhs_part(production_part part) throws java.lang.Exception
101 rhs_parts[rhs_pos] = part;
105 /** string to build up multiple part names */
502 /* add a labeled production part */
[all …]
Dparser.java362 protected production_part add_lab(production_part part, String lab) in add_lab() argument
366 if (lab == null || part.is_action()) return part; in add_lab()
369 return new symbol_part(((symbol_part)part).the_symbol(),lab); in add_lab()
385 protected void add_rhs_part(production_part part) throws java.lang.Exception in add_rhs_part() argument
391 rhs_parts[rhs_pos] = part; in add_rhs_part()
Dlalr_state.java163 production_part part; in dump_state() local
182 part = itm.the_production().rhs(i); in dump_state()
183 if (part.is_action()) in dump_state()
186 System.out.print(((symbol_part)part).the_symbol().name() + " "); in dump_state()
/cts/tests/tests/telephony/src/android/telephony/cts/
DMmsTest.java265 final PduPart part = new PduPart(); in addTextPart() local
267 part.setCharset(CharacterSets.UTF_8); in addTextPart()
269 part.setContentType(ContentType.TEXT_PLAIN.getBytes()); in addTextPart()
271 part.setContentLocation(TEXT_PART_FILENAME.getBytes()); in addTextPart()
275 part.setContentId(contentId.getBytes()); in addTextPart()
276 part.setData(message.getBytes()); in addTextPart()
277 pb.addPart(part); in addTextPart()
282 return part.getData().length; in addTextPart()
/cts/tools/cfassembler/src/dxconvext/
DClassFileAssembler.java187 String part = parts[i].trim(); in writeClassFile() local
188 if (!part.equals("")) { in writeClassFile()
189 int res = Integer.parseInt(part, 16); in writeClassFile()
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/
Djquery.js4238 "+": function(checkSet, part){ argument
4239 var isPartStr = typeof part === "string",
4240 isTag = isPartStr && !rNonWord.test( part ),
4244 part = part.toLowerCase();
4251 checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ?
4253 elem === part;
4258 Sizzle.filter( part, checkSet, true );
4262 ">": function( checkSet, part ) { argument
4264 isPartStr = typeof part === "string",
4268 if ( isPartStr && !rNonWord.test( part ) ) {
[all …]