Home
last modified time | relevance | path

Searched +full:helper +full:- +full:string +full:- +full:parser (Results 1 – 25 of 1100) sorted by relevance

12345678910>>...44

/external/swiftshader/third_party/llvm-16.0/llvm/lib/Remarks/
DBitstreamRemarkParser.cpp1 //===- BitstreamRemarkParser.cpp ------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // parser for remark diagnostics in LLVM.
12 //===----------------------------------------------------------------------===//
42 /// Parse a record and fill in the fields in the parser.
43 static Error parseRecord(BitstreamMetaParserHelper &Parser, unsigned Code) { in parseRecord() argument
44 BitstreamCursor &Stream = Parser.Stream; in parseRecord()
57 Parser.ContainerVersion = Record[0]; in parseRecord()
58 Parser.ContainerType = Record[1]; in parseRecord()
[all …]
DBitstreamRemarkParser.h1 //===-- BitstreamRemarkParser.h - Parser for Bitstream remarks --*- C++/-*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file provides the impementation of the Bitstream remark parser.
11 //===----------------------------------------------------------------------===//
33 /// The string table used for parsing strings.
43 /// Wether the parser is ready to parse remarks.
46 /// Create a parser that expects to find a string table embedded in the
51 /// Create a parser that uses a pre-parsed string table.
59 return P->ParserFormat == Format::Bitstream; in classof()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DBitstreamRemarkParser.cpp1 //===- BitstreamRemarkParser.cpp ------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // parser for remark diagnostics in LLVM.
12 //===----------------------------------------------------------------------===//
41 /// Parse a record and fill in the fields in the parser.
42 static Error parseRecord(BitstreamMetaParserHelper &Parser, unsigned Code) { in parseRecord() argument
43 BitstreamCursor &Stream = Parser.Stream; in parseRecord()
56 Parser.ContainerVersion = Record[0]; in parseRecord()
57 Parser.ContainerType = Record[1]; in parseRecord()
[all …]
DBitstreamRemarkParser.h1 //===-- BitstreamRemarkParser.h - Parser for Bitstream remarks --*- C++/-*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file provides the impementation of the Bitstream remark parser.
11 //===----------------------------------------------------------------------===//
23 #include <string>
31 /// The string table used for parsing strings.
41 /// Wether the parser is ready to parse remarks.
44 /// Create a parser that expects to find a string table embedded in the
49 /// Create a parser that uses a pre-parsed string table.
[all …]
/external/libchrome/base/json/
Djson_parser.h2 // Use of this source code is governed by a BSD-style license that can be
12 #include <string>
33 // This parser guarantees O(n) time through the input string. Iteration happens
35 // conversion from byte to JSON token happens without advancing the parser in
36 // GetNextToken/ParseToken, that is tokenization operates on the current parser
40 // internally. Invariant: on entry of a Consume function, the parser is wound
49 // Parses the input string according to the set options and returns the
58 // Returns the human-friendly error message.
59 std::string GetErrorMessage() const;
86 // A helper class used for parsing strings. One optimization performed is to
[all …]
/external/cronet/base/json/
Djson_parser.h2 // Use of this source code is governed by a BSD-style license that can be
12 #include <string>
21 #include "third_party/abseil-cpp/absl/types/optional.h"
34 // This parser guarantees O(n) time through the input string. Iteration happens
36 // conversion from byte to JSON token happens without advancing the parser in
37 // GetNextToken/ParseToken, that is tokenization operates on the current parser
41 // internally. Invariant: on entry of a Consume function, the parser is wound
62 // String versions of parse error codes.
80 // Parses the input string according to the set options and returns the
89 // Returns the human-friendly error message.
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDOM2Helper.java10 * http://www.apache.org/licenses/LICENSE-2.0
19 * $Id: DOM2Helper.java 468655 2006-10-28 07:12:06Z minchau $
39 * This class provides a DOM level 2 "helper", which provides services currently
52 * that this helper is intended to support. This is currently
72 * Returns true if the DOM implementation handled by this helper
82 /** Field m_doc: Document Node for the document this helper is currently
90 * Specify which document this helper is currently operating on.
101 * Query which document this helper is currently operating on.
117 * <p>The application can use this method to instruct the SAX parser
122 * progress (they should create a new Parser instead for each
[all …]
/external/skia/modules/pathkit/
Dpackage-lock.json2 "name": "pathkit-local",
7 "@babel/code-frame": {
9 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
10 …"integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3O…
18 "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.10.tgz",
19 …"integrity": "sha512-eTAlQKq65zHfkHZV0sIVODCPGVgoo1HdBlbSLi9CqOzuZanMv2ihzY+4paiKr1mH+XmYESMAmJ/dp…
22 "@babel/code-frame": "^7.10.4",
24 "@babel/helper-module-transforms": "^7.12.1",
26 "@babel/parser": "^7.12.10",
30 "convert-source-map": "^1.7.0",
[all …]
/external/skia/modules/canvaskit/
Dpackage-lock.json2 "name": "canvaskit-local",
8 "name": "canvaskit-local",
10 "license": "BSD-3-Clause",
12 "is-docker": "~1.1.0",
13 "jasmine-core": "~3.6.0",
15 "karma-chrome-launcher": "~3.1.0",
16 "karma-coverage": "~2.0.3",
17 "karma-jasmine": "~4.0.1",
21 "node_modules/@babel/code-frame": {
23 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
[all …]
/external/clang/include/clang/ASTMatchers/Dynamic/
DDiagnostics.h1 //===--- Diagnostics.h - Helper class for error diagnostics -----*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
24 #include <string>
42 /// \brief A VariantValue instance annotated with its parser context.
50 /// \brief Helper class to manage error messages.
53 /// \brief Parser context types.
83 /// \brief Helper stream class.
86 ArgStream(std::vector<std::string> *Out) : Out(Out) {} in ArgStream()
93 std::vector<std::string> *Out;
[all …]
/external/libtraceevent/Documentation/
Dlibtraceevent-reg_print_func.txt5 ----
6 tep_register_print_function,tep_unregister_print_function -
7 Registers / Unregisters a helper function.
10 --------
12 --
13 *#include <event-parse.h>*
28 --
31 -----------
32 Some events may have helper functions in the print format arguments.
36 The *tep_register_print_function()* registers such helper function. The _tep_
[all …]
/external/llvm/docs/tutorial/
DLangImpl02.rst2 Kaleidoscope: Implementing a Parser and AST
14 `parser <http://en.wikipedia.org/wiki/Parsing>`_ for our Kaleidoscope
15 language. Once we have a parser, we'll define and build an `Abstract
18 The parser we will build uses a combination of `Recursive Descent
20 `Operator-Precedence
21 Parsing <http://en.wikipedia.org/wiki/Operator-precedence_parser>`_ to
24 talk about the output of the parser: the Abstract Syntax Tree.
36 .. code-block:: c++
38 /// ExprAST - Base class for all expression nodes.
44 /// NumberExprAST - Expression class for numeric literals like "1.0".
[all …]
/external/okio/kotlin-js-store/
Dyarn.lock7 …resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5…
8 …integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9…
10 "@discoveryjs/json-ext@^0.5.0":
12 …resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b770…
13 …integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iP…
15 "@jridgewell/gen-mapping@^0.3.0":
17 …resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df…
18 …integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9…
20 "@jridgewell/set-array" "^1.0.1"
21 "@jridgewell/sourcemap-codec" "^1.4.10"
[all …]
/external/mbedtls/scripts/
Dgenerate_ssl_debug_helpers.py5 The code generated by this module includes debug helper functions that can not be
11 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
20 def remove_c_comments(string): argument
22 Remove C style comments from input string
24 string_pattern = r"(?P<string>\".*?\"|\'.*?\')"
33 return pattern.sub(replacer, string)
122 Generate helper functions around enumeration.
124 Currently, it generate translation function from enum value to string.
129 - the '}' and ';' SHOULD NOT exist in different macro blocks. Like
144 def extract(cls, source_code, start=0, end=-1):
[all …]
/external/vulkan-validation-layers/scripts/
Dlvl_genvk.py3 # Copyright (c) 2013-2019 The Khronos Group Inc.
9 # http://www.apache.org/licenses/LICENSE-2.0
17 import argparse, cProfile, pdb, string, sys, time, os
31 write(msg, endTime - startTime, file=sys.stderr)
34 # Turn a list of strings into a regexp string matching exactly those strings
85 '** Copyright (c) 2015-2019 The Khronos Group Inc.',
91 '** http://www.apache.org/licenses/LICENSE-2.0',
111 # Defaults for generating re-inclusion protection wrappers (or not)
118 # Options for thread safety header code-generation
142 # Options for thread safety source code-generation
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/include/boost/spirit/repository/home/qi/nonterminal/
Dsubrule.hpp3 Copyright (c) 2001-2011 Joel de Guzman
17 #include <boost/spirit/home/qi/parser.hpp>
61 // - parser representing a group of subrule definitions (one or more),
66 : spirit::qi::parser<subrule_group_parser<Defs> >
177 // do down-stream transformation, provides attribute for in parse_subrule()
178 // rhs parser in parse_subrule()
192 // do up-stream transformation, this integrates the results in parse_subrule()
226 // do down-stream transformation, provides attribute for in parse_subrule()
227 // rhs parser in parse_subrule()
241 // do up-stream transformation, this integrates the results in parse_subrule()
[all …]
/external/vboot_reference/utility/include/
Dbmpblk_utility.h2 // Use of this source code is governed by a BSD-style license that can be
16 #include <string>
20 using std::string;
28 string filename;
29 string raw_content;
30 string compressed_content;
37 string image_names[MAX_IMAGE_IN_LAYOUT];
40 typedef map<string, ImageConfig> StrImageConfigMap;
41 typedef map<string, ScreenConfig> StrScreenConfigMap;
45 string config_filename;
[all …]
/external/pigweed/pw_protobuf/public/pw_protobuf/
Dmessage.h7 // https://www.apache.org/licenses/LICENSE-2.0
15 // The header provides a set of helper utils for protobuf related operations.
126 // An object that represents a parsed `string` field or an error code. The
127 // string value is available via an stream::IntervalReader by
132 class String : public Bytes {
136 // Check whether the string value equals the given `str`
140 // Forward declaration of parser classes.
150 using RepeatedStrings = RepeatedFieldParser<String>;
153 using StringToStringMapEntry = StringMapEntryParser<String>;
156 using StringToStringMap = StringMapParser<String>;
[all …]
/external/tink/go/testutil/
Dwycheproofutil.go7 // http://www.apache.org/licenses/LICENSE-2.0
33 // This is necessary when not using Blaze/Bazel, as we don't have a solution for referencing non-Go
36 t.Helper()
47 Algorithm string `json:"algorithm"`
48 GeneratorVersion string `json:"generatorVersion"`
50 Notes map[string]string `json:"notes"`
58 Type string `json:"type"`
67 Comment string `json:"comment"`
68 Result string `json:"result"`
69 Flags []string `json:"flags"`
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DDeserializationContext.java39 * Context for the process of deserialization a single root-level value.
43 * Instance life-cycle is such that a partially configured "blueprint" object
47 * API of sub-class
49 * Each instance is guaranteed to only be used from single-threaded context;
79 * Read-only factory instance; exposed to let
115 * Currently active parser used for deserialization.
116 * May be different from the outermost parser
129 /* Per-operation reusable helper objects (not for blueprints)
140 * Lazily-constructed holder for per-call attributes.
157 /* Life-cycle
[all …]
/external/spdx-tools/tvloader/parser2v3/
Dparse_creation_info.go1 // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9 "github.com/spdx/tools-golang/spdx/common"
10 "github.com/spdx/tools-golang/spdx/v2_3"
13 func (parser *tvParser2_3) parsePairFromCreationInfo2_3(tag string, value string) error { argument
14 // fail if not in Creation Info parser state
15 if parser.st != psCreationInfo2_3 {
16 return fmt.Errorf("got invalid state %v in parsePairFromCreationInfo2_3", parser.st)
20 if parser.doc.CreationInfo == nil {
21 parser.doc.CreationInfo = &v2_3.CreationInfo{}
24 ci := parser.doc.CreationInfo
[all …]
/external/spdx-tools/tvloader/parser2v2/
Dparse_creation_info.go1 // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9 "github.com/spdx/tools-golang/spdx/common"
10 "github.com/spdx/tools-golang/spdx/v2_2"
13 func (parser *tvParser2_2) parsePairFromCreationInfo2_2(tag string, value string) error { argument
14 // fail if not in Creation Info parser state
15 if parser.st != psCreationInfo2_2 {
16 return fmt.Errorf("got invalid state %v in parsePairFromCreationInfo2_2", parser.st)
20 if parser.doc.CreationInfo == nil {
21 parser.doc.CreationInfo = &v2_2.CreationInfo{}
24 ci := parser.doc.CreationInfo
[all …]
/external/spdx-tools/tvloader/parser2v1/
Dparse_creation_info.go1 // SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9 "github.com/spdx/tools-golang/spdx/common"
10 "github.com/spdx/tools-golang/spdx/v2_1"
13 func (parser *tvParser2_1) parsePairFromCreationInfo2_1(tag string, value string) error { argument
14 // fail if not in Creation Info parser state
15 if parser.st != psCreationInfo2_1 {
16 return fmt.Errorf("got invalid state %v in parsePairFromCreationInfo2_1", parser.st)
20 if parser.doc.CreationInfo == nil {
21 parser.doc.CreationInfo = &v2_1.CreationInfo{}
24 ci := parser.doc.CreationInfo
[all …]
/external/avb/tools/
Dat_write_persistent_digest.py10 # http://www.apache.org/licenses/LICENSE-2.0
17 """Helper tool for 'oem at-write-persistent-digest' fastboot command.
20 user-provided inputs, for the 'oem at-write-persistent-digest' fastboot command
25 - Name length: 4 bytes (little-endian)
26 - Name: 'name length' bytes
27 - Digest length: 4 bytes (little-endian)
28 - Digest: 'digest length' bytes
31 name should be deleted. This corresponds to the '--clear_digest' option for this
35 user-provided name does not include that prefix it is added automatically.
52 HELP_DESCRIPTION = """Helper script for 'fastboot oem
[all …]
/external/sdv/vsomeip/third_party/boost/spirit/repository/test/qi/
Ddistinct.cpp1 // Copyright (c) 2001-2010 Hartmut Kaiser
2 // Copyright (c) 2001-2010 Joel de Guzman
45 template <typename String>
47 : spirit::result_of::terminal<spirit::tag::ascii::char_(String)>
51 // Define a helper function allowing to create a distinct() construct from
52 // an arbitrary tail parser
60 // Define a helper function allowing to create a ascii::char_() construct
61 // from an arbitrary string representation
62 template <typename String>
63 inline typename traits::char_spec<String>::type
[all …]

12345678910>>...44