Home
last modified time | relevance | path

Searched refs:part (Results 1 – 11 of 11) 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/current/src/android/telephony/cts/
DMmsTest.java285 final PduPart part = new PduPart(); in addTextPart() local
287 part.setCharset(CharacterSets.UTF_8); in addTextPart()
289 part.setContentType(ContentType.TEXT_PLAIN.getBytes()); in addTextPart()
291 part.setContentLocation(TEXT_PART_FILENAME.getBytes()); in addTextPart()
295 part.setContentId(contentId.getBytes()); in addTextPart()
296 part.setData(message.getBytes()); in addTextPart()
297 pb.addPart(part); in addTextPart()
302 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/hostsidetests/sustainedperf/dhrystone/
DRationale83 The initialization and UNIX instrumentation part - which had been
85 However, any changes in the initialization part and in the printing of
97 suppresses code generation for a part of the statements. Therefore in
124 makes the program simpler.) However, since the loop check is now part
138 executed "then" part of the statement
171 was added in the non-executed "else" part of the "if" statement, to
183 has been added in the non-executed part of the last "if" statement,
186 o In Func_3, a non-executed "else" part has been added to the "if"
188 "else" part, it is considered bad programming practice if a function
191 To compensate for this change, the (non-executed) "else" part in the
[all …]
DDrystone-2.1.sh1237 X * File: dhry_2.c (part 3 of 3)
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DProcessStatsDumpsysTest.java344 final String part = parts[i]; in getTagValueSum() local
345 final Matcher m = tagPattern.matcher(part); in getTagValueSum()