/aosp_15_r20/external/emboss/compiler/front_end/ |
H A D | lr1.py | 34 class Item(collections.namedtuple("Item", ["production", "dot", "terminal", 36 """An Item is an LR(1) Item: a production, a cursor location, and a terminal. 38 An Item represents a partially-parsed production, and a lookahead symbol. The 39 position of the dot indicates what portion of the production has been parsed. 44 production: The Production this Item covers. 45 dot: The index of the "dot" in production's rhs. 46 terminal: The terminal lookahead symbol that follows the production in the 52 return (str(self.production.lhs) + " -> " + " ".join( 53 [str(r) for r in self.production.rhs[0:self.dot] + (".",) + 54 self.production.rhs[self.dot:]]) + ", " + str(self.terminal)) [all …]
|
H A D | generate_grammar_md.py | 33 term `<empty>` to the right of the `->` indicates an empty production (a rule 84 for production in sorted(productions_by_lhs[symbol]): 85 main_production_list.append(production) 86 for symbol in production.rhs: 88 # production. 99 for production in boilerplate_production_list: 100 assert production.lhs[-1] in "*+?", "Found orphaned production {}".format( 101 production.lhs) 126 max_lhs_len = max([len(production.lhs) for production in productions]) 131 for production in productions: [all …]
|
H A D | lr1_test.py | 42 """Parses text into a grammar by calling Production.parse on each line.""" 43 return [parser_types.Production.parse(line) for line in text.splitlines()] 89 (4, "c"): lr1.Reduce(parser_types.Production("C", ("d",))), 90 (4, "d"): lr1.Reduce(parser_types.Production("C", ("d",))), 91 (5, lr1.END_OF_INPUT): lr1.Reduce(parser_types.Production("S", ("C", "C"))), 94 (7, lr1.END_OF_INPUT): lr1.Reduce(parser_types.Production("C", ("d",))), 95 (8, "c"): lr1.Reduce(parser_types.Production("C", ("c", "C"))), 96 (8, "d"): lr1.Reduce(parser_types.Production("C", ("c", "C"))), 97 (9, lr1.END_OF_INPUT): lr1.Reduce(parser_types.Production("C", ("c", "C"))), 131 lr1.Item(parser_types.Production(lr1.START_PRIME, ("S",)), [all …]
|
/aosp_15_r20/external/libxkbcommon/src/compose/ |
H A D | parser.c | 73 * FILE ::= { [PRODUCTION] [COMMENT] "\n" | INCLUDE } 75 * PRODUCTION ::= LHS ":" RHS [ COMMENT ] 316 struct production { struct 332 const struct production *production) in add_production() argument 340 if (darray_size(table->nodes) + production->len + MAX_LHS_LEN > MAX_COMPOSE_NODES) in add_production() 342 if (darray_size(table->nodes) + production->len >= MAX_COMPOSE_NODES) in add_production() 354 const xkb_keysym_t keysym = production->lhs[lhs_pos]; in add_production() 355 const bool last = lhs_pos + 1 == production->len; in add_production() 399 (node->leaf.utf8 == 0 && !production->has_string) || in add_production() 401 node->leaf.utf8 != 0 && production->has_string && in add_production() [all …]
|
/aosp_15_r20/external/bc/ |
H A D | NEWS.md | 5 This is a production release that fixes build warnings on the musl libc. 11 This is a production release that fixes `Ctrl+d` on FreeBSD and Linux when using 19 This is a production release that fixes a warning using GCC on FreeBSD. 25 This is a production release to fix three bugs. 39 This is a production release to fix one bug. 46 This is a production release to fix one small bug. 55 This is a production release to fix problems in the `bc` manual. 61 This is a production release to fix the library build on Mac OSX. 67 This is a production release to remove some debugging code that I accidentally 72 This is a production release with a bug fix for `SIGINT` only being handled [all …]
|
/aosp_15_r20/external/ply/ply/doc/ |
H A D | internal.html | 154 <tt>Production</tt> which has information about the production rule 168 Diagnostic function. Returns a list of <tt>Production</tt> instances 169 corresponding to production rules that were defined in the grammar, 218 a production representing the starting rule. The objects in this list 219 are instances of the <tt>Production</tt> class, described shortly. 233 production numbers where they are used. 240 production numbers where they are used. 264 <tt>__getitem__()</tt> special methods. Accessing <tt>g[n]</tt> returns the nth production 271 <tt>Grammar</tt> objects store grammar rules as instances of a <tt>Production</tt> class. This 273 The following attributes are available on a <tt>Production</tt> instance <tt>p</tt>. [all …]
|
/aosp_15_r20/external/emboss/compiler/util/ |
H A D | parser_types_test.py | 95 """Tests for parser_types.Production.""" 98 self.assertEqual(parser_types.Production(lhs="A", 100 parser_types.Production.parse("A -> B C")) 101 self.assertEqual(parser_types.Production(lhs="A", 103 parser_types.Production.parse("A -> B")) 104 self.assertEqual(parser_types.Production(lhs="A", 106 parser_types.Production.parse(" A -> B C ")) 107 self.assertEqual(parser_types.Production(lhs="A", 109 parser_types.Production.parse("A ->")) 110 self.assertEqual(parser_types.Production(lhs="A", [all …]
|
H A D | parser_types.py | 91 class Production(collections.namedtuple("Production", ["lhs", "rhs"])): class 92 """A Production is a simple production from a context-free grammar. 94 A Production takes the form: 103 lhs: The non-terminal symbol on the left-hand-side of the production. 104 rhs: The sequence of symbols on the right-hand-side of the production. 112 """Parses a Production from a "symbol -> symbol symbol symbol" string.""" 116 return Production(words[0], tuple(words[2:]))
|
/aosp_15_r20/external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/ |
H A D | ParserImpl.java | 130 private final ArrayStack<Production> states; 132 private Production state; 152 states = new ArrayStack<Production>(100); in ParserImpl() 205 private class ParseStreamStart implements Production { 217 private class ParseImplicitDocumentStart implements Production { 239 private class ParseDocumentStart implements Production { 285 private class ParseDocumentEnd implements Production { 305 private class ParseDocumentContent implements Production { 406 private class ParseBlockNode implements Production { 536 private class ParseBlockSequenceFirstEntry implements Production { [all …]
|
/aosp_15_r20/external/pigweed/docs/showcases/sense/tutorial/ |
H A D | production.rst | 16 is called ``production``. The purpose of the ``production`` app is to 43 Flash the ``production`` app to your Pico: 50 In **Bazel Build Targets** expand **//apps/production**, then 58 $ bazelisk run //apps/production:flash 64 INFO: Analyzed target //apps/production:flash (2 packages loaded, 84 targets configured). 66 Target //apps/production:flash_rp2040 up-to-date: 67 bazel-bin/apps/production/flash_rp2040.exe 71 INFO: Running command line: bazel-bin/apps/production/flash_rp2040.exe apps/production/rp2040.elf 88 In **Bazel Build Targets** expand **//apps/production**, then 100 $ bazelisk run //apps/production:rp2040_console [all …]
|
/aosp_15_r20/external/libese/apps/boot/ |
H A D | README.md | 53 in production and can only be unlocked if provided a cryptographic signature. 88 applet is not in 'production' mode. 93 production mode, then clearing the lock value requires authorization. 208 - production=true 209 - production=false 211 On initial installation, production is false. When the applet is not 212 in production mode, it does not enforce a number of security boundaries, 217 To transition to "production", a call to `ese_boot_set_production(true)` 222 the production state, any errors codes from lock initialization, and the 299 - To move from factory mode to production mode call: [all …]
|
/aosp_15_r20/external/libchrome/third_party/ply/ |
H A D | yacc.py | 290 … prod = self.productions # Local reference to production list (to avoid lookup on self.) 291 pslice = YaccProduction(None) # Production object passed to grammar rules 324 pslice.stack = symstack # Put in the production 380 # reduce a symbol on the stack, emit a production 385 # Get production function 387 sym.type = pname # Production name 605 … prod = self.productions # Local reference to production list (to avoid lookup on self.) 606 pslice = YaccProduction(None) # Production object passed to grammar rules 635 pslice.stack = symstack # Put in the production 677 # reduce a symbol on the stack, emit a production [all …]
|
/aosp_15_r20/external/selinux/python/sepolgen/src/sepolgen/ |
H A D | yacc.py | 356 …prod = self.productions # Local reference to production list (to avoid lookup on … 358 pslice = YaccProduction(None) # Production object passed to grammar rules 394 pslice.stack = symstack # Put in the production 457 # reduce a symbol on the stack, emit a production 462 # Get production function 464 sym.type = pname # Production name 514 … symstack.extend(targ[1:-1]) # Put the production slice back on the stack 703 …prod = self.productions # Local reference to production list (to avoid lookup on … 705 pslice = YaccProduction(None) # Production object passed to grammar rules 738 pslice.stack = symstack # Put in the production [all …]
|
/aosp_15_r20/external/ply/ply/ply/ |
H A D | yacc.py | 356 …prod = self.productions # Local reference to production list (to avoid lookup on … 358 pslice = YaccProduction(None) # Production object passed to grammar rules 394 pslice.stack = symstack # Put in the production 457 # reduce a symbol on the stack, emit a production 462 # Get production function 464 sym.type = pname # Production name 514 … symstack.extend(targ[1:-1]) # Put the production slice back on the stack 703 …prod = self.productions # Local reference to production list (to avoid lookup on … 705 pslice = YaccProduction(None) # Production object passed to grammar rules 738 pslice.stack = symstack # Put in the production [all …]
|
/aosp_15_r20/external/python/pycparser/pycparser/ply/ |
D | yacc.py | 354 …prod = self.productions # Local reference to production list (to avoid lookup on … 356 pslice = YaccProduction(None) # Production object passed to grammar rules 392 pslice.stack = symstack # Put in the production 455 # reduce a symbol on the stack, emit a production 460 # Get production function 462 sym.type = pname # Production name 512 … symstack.extend(targ[1:-1]) # Put the production slice back on the stack 701 …prod = self.productions # Local reference to production list (to avoid lookup on … 703 pslice = YaccProduction(None) # Production object passed to grammar rules 736 pslice.stack = symstack # Put in the production [all …]
|
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/ |
D | monitoring_v3.projects.groups.html | 118 …production". A child of that parent group has a filter, role="transcoder". The pare… 135 …production". A child of that parent group has a filter, role="transcoder". The pare… 177 …production". A child of that parent group has a filter, role="transcoder". The pare… 207 …production". A child of that parent group has a filter, role="transcoder". The pare… 242 …production". A child of that parent group has a filter, role="transcoder". The pare… 259 …production". A child of that parent group has a filter, role="transcoder". The pare…
|
/aosp_15_r20/external/dagger2/java/dagger/internal/codegen/binding/ |
H A D | ProductionBinding.java | 44 return BindingType.PRODUCTION; in bindingType() 82 * Returns the kind of object the produces method returns. All production bindings from 83 * {@code @Produces} methods will have a production kind, but synthetic production bindings may 92 * If this production requires an executor, this will be the corresponding request. All 93 * production bindings from {@code @Produces} methods will have an executor request, but 94 * synthetic production bindings may not. 98 /** If this production requires a monitor, this will be the corresponding request. All 99 * production bindings from {@code @Produces} methods will have a monitor request, but synthetic 100 * production bindings may not.
|
/aosp_15_r20/external/libxml2/include/libxml/ |
H A D | parserInternals.h | 111 * Macro to check the following production in the XML spec: 122 * Macro to check the following production in the XML spec: 142 * Macro to check the following production in the XML spec: 160 * Macro to check the following production in the XML spec: 170 * Macro to check the following production in the XML spec: 188 * Macro to check the following production in the XML spec: 206 * Macro to check the following production in the XML spec: 227 * Macro to check the following production in the XML spec: 238 * Macro to check the following production in the XML spec: 277 * Macro to check the following production in the XML spec: [all …]
|
/aosp_15_r20/prebuilts/vndk/v34/x86/include/external/libxml2/include/libxml/ |
D | parserInternals.h | 107 * Macro to check the following production in the XML spec: 118 * Macro to check the following production in the XML spec: 138 * Macro to check the following production in the XML spec: 156 * Macro to check the following production in the XML spec: 166 * Macro to check the following production in the XML spec: 184 * Macro to check the following production in the XML spec: 202 * Macro to check the following production in the XML spec: 223 * Macro to check the following production in the XML spec: 234 * Macro to check the following production in the XML spec: 273 * Macro to check the following production in the XML spec: [all …]
|
/aosp_15_r20/prebuilts/vndk/v34/arm/include/external/libxml2/include/libxml/ |
D | parserInternals.h | 107 * Macro to check the following production in the XML spec: 118 * Macro to check the following production in the XML spec: 138 * Macro to check the following production in the XML spec: 156 * Macro to check the following production in the XML spec: 166 * Macro to check the following production in the XML spec: 184 * Macro to check the following production in the XML spec: 202 * Macro to check the following production in the XML spec: 223 * Macro to check the following production in the XML spec: 234 * Macro to check the following production in the XML spec: 273 * Macro to check the following production in the XML spec: [all …]
|
/aosp_15_r20/external/cronet/third_party/libxml/src/include/libxml/ |
H A D | parserInternals.h | 111 * Macro to check the following production in the XML spec: 122 * Macro to check the following production in the XML spec: 142 * Macro to check the following production in the XML spec: 160 * Macro to check the following production in the XML spec: 170 * Macro to check the following production in the XML spec: 188 * Macro to check the following production in the XML spec: 206 * Macro to check the following production in the XML spec: 227 * Macro to check the following production in the XML spec: 238 * Macro to check the following production in the XML spec: 277 * Macro to check the following production in the XML spec: [all …]
|
/aosp_15_r20/prebuilts/vndk/v34/arm64/include/external/libxml2/include/libxml/ |
D | parserInternals.h | 107 * Macro to check the following production in the XML spec: 118 * Macro to check the following production in the XML spec: 138 * Macro to check the following production in the XML spec: 156 * Macro to check the following production in the XML spec: 166 * Macro to check the following production in the XML spec: 184 * Macro to check the following production in the XML spec: 202 * Macro to check the following production in the XML spec: 223 * Macro to check the following production in the XML spec: 234 * Macro to check the following production in the XML spec: 273 * Macro to check the following production in the XML spec: [all …]
|
/aosp_15_r20/prebuilts/vndk/v34/x86_64/include/external/libxml2/include/libxml/ |
D | parserInternals.h | 107 * Macro to check the following production in the XML spec: 118 * Macro to check the following production in the XML spec: 138 * Macro to check the following production in the XML spec: 156 * Macro to check the following production in the XML spec: 166 * Macro to check the following production in the XML spec: 184 * Macro to check the following production in the XML spec: 202 * Macro to check the following production in the XML spec: 223 * Macro to check the following production in the XML spec: 234 * Macro to check the following production in the XML spec: 273 * Macro to check the following production in the XML spec: [all …]
|
/aosp_15_r20/prebuilts/vndk/v32/arm64/include/external/libxml2/include/libxml/ |
D | parserInternals.h | 100 * Macro to check the following production in the XML spec: 111 * Macro to check the following production in the XML spec: 131 * Macro to check the following production in the XML spec: 149 * Macro to check the following production in the XML spec: 159 * Macro to check the following production in the XML spec: 177 * Macro to check the following production in the XML spec: 195 * Macro to check the following production in the XML spec: 216 * Macro to check the following production in the XML spec: 227 * Macro to check the following production in the XML spec: 266 * Macro to check the following production in the XML spec: [all …]
|
/aosp_15_r20/prebuilts/vndk/v33/arm/include/external/libxml2/include/libxml/ |
D | parserInternals.h | 100 * Macro to check the following production in the XML spec: 111 * Macro to check the following production in the XML spec: 131 * Macro to check the following production in the XML spec: 149 * Macro to check the following production in the XML spec: 159 * Macro to check the following production in the XML spec: 177 * Macro to check the following production in the XML spec: 195 * Macro to check the following production in the XML spec: 216 * Macro to check the following production in the XML spec: 227 * Macro to check the following production in the XML spec: 266 * Macro to check the following production in the XML spec: [all …]
|