/external/llvm-project/mlir/include/mlir/IR/ |
D | DialectImplementation.h | 115 ParseResult getCurrentLocation(llvm::SMLoc *loc) { in getCurrentLocation() 135 virtual ParseResult parseFloat(double &result) = 0; 138 template <typename IntT> ParseResult parseInteger(IntT &result) { in parseInteger() 171 virtual ParseResult parseArrow() = 0; 174 virtual ParseResult parseOptionalArrow() = 0; 177 virtual ParseResult parseLBrace() = 0; 180 virtual ParseResult parseOptionalLBrace() = 0; 183 virtual ParseResult parseRBrace() = 0; 186 virtual ParseResult parseOptionalRBrace() = 0; 189 virtual ParseResult parseColon() = 0; [all …]
|
D | OpImplementation.h | 249 ParseResult getCurrentLocation(llvm::SMLoc *loc) { in getCurrentLocation() 292 virtual ParseResult parseArrow() = 0; 295 virtual ParseResult parseOptionalArrow() = 0; 298 virtual ParseResult parseLBrace() = 0; 301 virtual ParseResult parseOptionalLBrace() = 0; 304 virtual ParseResult parseRBrace() = 0; 307 virtual ParseResult parseOptionalRBrace() = 0; 310 virtual ParseResult parseColon() = 0; 313 virtual ParseResult parseOptionalColon() = 0; 316 virtual ParseResult parseComma() = 0; [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | JavaParser.java | 105 public <N extends Node> ParseResult<N> parse(ParseStart<N> start, Provider provider) { in parse() 116 …ParseResult<N> result = new ParseResult<>(resultNode, parser.problems, parser.getCommentsCollectio… in parse() 127 return new ParseResult<>(null, parser.problems, parser.getCommentsCollection()); in parse() 146 public ParseResult<CompilationUnit> parse(final InputStream in, Charset encoding) { in parse() 158 public ParseResult<CompilationUnit> parse(final InputStream in) { in parse() 174 …public ParseResult<CompilationUnit> parse(final File file, final Charset encoding) throws FileNotF… in parse() 175 ParseResult<CompilationUnit> result = parse(COMPILATION_UNIT, provider(file, encoding)); in parse() 189 public ParseResult<CompilationUnit> parse(final File file) throws FileNotFoundException { in parse() 190 …ParseResult<CompilationUnit> result = parse(COMPILATION_UNIT, provider(file, configuration.getChar… in parse() 207 …public ParseResult<CompilationUnit> parse(final Path path, final Charset encoding) throws IOExcept… in parse() [all …]
|
/external/llvm-project/mlir/lib/Parser/ |
D | Parser.h | 37 ParseResult 39 function_ref<ParseResult()> parseElement, 44 ParseResult parseCommaSeparatedList(function_ref<ParseResult()> parseElement); 46 ParseResult parsePrettyDialectSymbolName(StringRef &prettyName); 128 ParseResult parseToken(Token::Kind expectedToken, const Twine &message); 134 ParseResult parseFunctionResultTypes(SmallVectorImpl<Type> &elements); 135 ParseResult parseTypeListNoParens(SmallVectorImpl<Type> &elements); 136 ParseResult parseTypeListParens(SmallVectorImpl<Type> &elements); 167 ParseResult parseDimensionListRanked(SmallVectorImpl<int64_t> &dimensions, 169 ParseResult parseXInDimensionList(); [all …]
|
D | Parser.cpp | 38 ParseResult 39 Parser::parseCommaSeparatedList(function_ref<ParseResult()> parseElement) { in parseCommaSeparatedList() 58 ParseResult 60 function_ref<ParseResult()> parseElement, in parseCommaSeparatedListUntil() 90 ParseResult Parser::parseToken(Token::Kind expectedToken, in parseToken() 117 ParseResult finalize(); 137 ParseResult popSSANameScope(); 140 ParseResult addDefinition(SSAUseInfo useInfo, Value value); 143 ParseResult parseOptionalSSAUseList(SmallVectorImpl<SSAUseInfo> &results); 146 ParseResult parseSSAUse(SSAUseInfo &result); [all …]
|
D | DialectSymbolParser.cpp | 65 ParseResult parseFloat(double &result) override { in parseFloat() 106 ParseResult parseArrow() override { in parseArrow() 111 ParseResult parseOptionalArrow() override { in parseOptionalArrow() 116 ParseResult parseLBrace() override { in parseLBrace() 121 ParseResult parseOptionalLBrace() override { in parseOptionalLBrace() 126 ParseResult parseRBrace() override { in parseRBrace() 131 ParseResult parseOptionalRBrace() override { in parseOptionalRBrace() 136 ParseResult parseColon() override { in parseColon() 141 ParseResult parseOptionalColon() override { in parseOptionalColon() 146 ParseResult parseComma() override { in parseComma() [all …]
|
D | AffineParser.cpp | 49 function_ref<ParseResult(bool)> parseElement = nullptr) in AffineParser() 54 ParseResult parseAffineMapOrIntegerSetInline(AffineMap &map, IntegerSet &set); 56 ParseResult parseAffineMapOfSSAIds(AffineMap &map, 67 ParseResult parseDimIdList(unsigned &numDims); 68 ParseResult parseSymbolIdList(unsigned &numSymbols); 69 ParseResult parseDimAndOptionalSymbolIdList(unsigned &numDims, 71 ParseResult parseIdentifierDefinition(AffineExpr idExpr); 93 function_ref<ParseResult(bool)> parseElement; 459 ParseResult AffineParser::parseIdentifierDefinition(AffineExpr idExpr) { in parseIdentifierDefinition() 475 ParseResult AffineParser::parseDimIdList(unsigned &numDims) { in parseDimIdList() [all …]
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/validator/ |
D | Java1_1ValidatorTest.java | 4 import com.github.javaparser.ParseResult; 26 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider(allModifiers + "… in topClass() 45 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + all… in nestedClass() 61 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{ void x… in localClass() 81 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider(allModifiers + "… in topInterface() 101 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + all… in nestedInterface() 118 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + all… in constructor() 138 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{X(" + a… in constructorParameter() 159 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + all… in classMethod() 174 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("interface X{" +… in interfaceMethod() [all …]
|
D | Java10ValidatorTest.java | 4 import com.github.javaparser.ParseResult; 23 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("var a = 5;")); in varAllowedInLocalVariableDeclaration() 29 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(var a : as){}")); in varAllowedInForEach() 35 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(var a = 5;a<9;a++){}")); in varAllowedInOldFor() 41 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("int a = (var)20;")); in varNotAllowedInCast() 47 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try(var f = new FileReader(\… in varNotAllowedInTryWithResources() 53 … ParseResult<BodyDeclaration<?>> result = javaParser.parse(CLASS_BODY, provider("var a = 20;")); in varNotAllowedInField() 59 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("new X<var>();")); in varNotAllowedInTypeArguments() 65 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("x((var x) -> null);")); in varNotAllowedInLambdaParameters() 71 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("var a;")); in emptyInitializerNotAllowed() [all …]
|
D | Java1_2ValidatorTest.java | 4 import com.github.javaparser.ParseResult; 23 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider(allModifiers + "… in topClass() 42 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + all… in nestedClass() 58 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{ void x… in localClass() 78 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider(allModifiers + "… in topInterface() 98 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + all… in nestedInterface() 115 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + all… in constructor() 135 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{X(" + a… in constructorParameter() 157 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + all… in classMethod() 172 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("interface X{" +… in interfaceMethod() [all …]
|
D | Java5ValidatorTest.java | 4 import com.github.javaparser.ParseResult; 23 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X<A>{List… in genericsWithoutDiamond() 29 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider(allModifiers + "… in topAnnotationDeclaration() 49 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + all… in nestedAnnotationDeclaration() 66 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("@interface X{" … in annotationMember() 87 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider(allModifiers + "… in topEnum() 108 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{" + all… in nestedEnum() 126 ParseResult<Parameter> result = javaParser.parse(PARAMETER, provider("String... x")); in varargs() 132 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(X x: xs){}")); in foreach() 138 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(int i, j : nums){}")); in noMultipleVariablesInForEach() [all …]
|
D | Java1_0ValidatorTest.java | 4 import com.github.javaparser.ParseResult; 29 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try(X x=new Y()){}")); in tryWithoutResources() 37 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X extends… in classExtendingMoreThanOne() 43 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("interface X imp… in interfaceUsingImplements() 49 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("interface X {{}… in interfaceWithInitializer() 55 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X {defaul… in defaultInClass() 61 ParseResult<Expression> result = javaParser.parse(EXPRESSION, provider("(1==2)=3")); in leftHandAssignmentCannotBeAConditional() 67 ParseResult<Expression> result = javaParser.parse(EXPRESSION, provider("()=3")); in leftHandAssignmentCannotBeEmptyBraces() 75 ParseResult<Expression> result = javaParser.parse(EXPRESSION, provider("(i) += (i) += 1")); in leftHandAssignmentCanBeInBraces() 81 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{class Y… in noInnerClasses() [all …]
|
D | Java7ValidatorTest.java | 4 import com.github.javaparser.ParseResult; 29 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X<A>{List… in generics() 35 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("interface X {de… in defaultMethodWithoutBody() 41 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try{}")); in tryWithoutAnything() 47 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try(Reader r = new Reader())… in tryWithResourceVariableDeclaration() 53 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try(a.b.c){}")); in tryWithResourceReference() 59 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("switch(x){case \"abc\": ;}")… in stringsInSwitch() 65 ParseResult<Expression> result = javaParser.parse(EXPRESSION, provider("0b01")); in binaryIntegerLiterals() 71 ParseResult<Expression> result = javaParser.parse(EXPRESSION, provider("1_000_000")); in underscoresInIntegerLiterals() 77 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try{}catch(Abc|Def e){}")); in multiCatch() [all …]
|
D | Java1_4ValidatorTest.java | 4 import com.github.javaparser.ParseResult; 22 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("assert a;")); in yesAssert() 28 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X<A>{List… in noGenerics() 37 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("@Abc @Def() @Gh… in noAnnotations() 47 ParseResult<Parameter> result = javaParser.parse(PARAMETER, provider("String... x")); in novarargs() 53 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(X x: xs){}")); in noforeach() 59 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("import static x… in staticImport() 67 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("int enum;")); in enumAllowedAsIdentifier()
|
D | Java8ValidatorTest.java | 4 import com.github.javaparser.ParseResult; 23 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X {void a… in localInterface() 29 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("class X{int x()… in lambdaParameter() 52 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("interface X{" +… in interfaceMethod() 67 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("interface X {de… in defaultMethodWithoutBody() 73 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("a(() -> 1);")); in lambdas() 79 …ParseResult<CompilationUnit> result = javaParser.parse(COMPILATION_UNIT, provider("open module x {… in noModules()
|
/external/webrtc/api/audio_codecs/ |
D | audio_decoder.cc | 59 AudioDecoder::ParseResult::ParseResult() = default; 60 AudioDecoder::ParseResult::ParseResult(ParseResult&& b) = default; 61 AudioDecoder::ParseResult::ParseResult(uint32_t timestamp, in ParseResult() function in webrtc::AudioDecoder::ParseResult 68 AudioDecoder::ParseResult::~ParseResult() = default; 70 AudioDecoder::ParseResult& AudioDecoder::ParseResult::operator=( 71 ParseResult&& b) = default; 73 std::vector<AudioDecoder::ParseResult> AudioDecoder::ParsePayload( in ParsePayload() 76 std::vector<ParseResult> results; in ParsePayload()
|
D | audio_decoder.h | 66 struct ParseResult { struct 67 ParseResult(); 68 ParseResult(uint32_t timestamp, 71 ParseResult(ParseResult&& b); 72 ~ParseResult(); 74 ParseResult& operator=(ParseResult&& b); argument 91 virtual std::vector<ParseResult> ParsePayload(rtc::Buffer&& payload, argument
|
/external/llvm-project/mlir/include/mlir/Interfaces/ |
D | ViewLikeInterface.h | 70 ParseResult parseOffsetsSizesAndStrides( 72 llvm::function_ref<ParseResult(OpAsmParser &, OperationState &)> 74 llvm::function_ref<ParseResult(OpAsmParser &)> parseOptionalOffsetPrefix = 76 llvm::function_ref<ParseResult(OpAsmParser &)> parseOptionalSizePrefix = 78 llvm::function_ref<ParseResult(OpAsmParser &)> parseOptionalStridePrefix = 81 ParseResult parseOffsetsSizesAndStrides( 83 llvm::function_ref<ParseResult(OpAsmParser &)> parseOptionalOffsetPrefix = 85 llvm::function_ref<ParseResult(OpAsmParser &)> parseOptionalSizePrefix = 87 llvm::function_ref<ParseResult(OpAsmParser &)> parseOptionalStridePrefix =
|
/external/rust/crates/chrono/src/format/ |
D | scan.rs | 10 use super::{ParseResult, INVALID, OUT_OF_RANGE, TOO_SHORT}; 37 pub fn number(s: &str, min: usize, max: usize) -> ParseResult<(&str, i64)> { in number() 70 pub fn nanosecond(s: &str) -> ParseResult<(&str, i64)> { in nanosecond() 89 pub fn nanosecond_fixed(s: &str, digits: usize) -> ParseResult<(&str, i64)> { in nanosecond_fixed() 102 pub fn short_month0(s: &str) -> ParseResult<(&str, u8)> { in short_month0() 126 pub fn short_weekday(s: &str) -> ParseResult<(&str, Weekday)> { in short_weekday() 146 pub fn short_or_long_month0(s: &str) -> ParseResult<(&str, u8)> { in short_or_long_month0() 164 pub fn short_or_long_weekday(s: &str) -> ParseResult<(&str, Weekday)> { in short_or_long_weekday() 181 pub fn char(s: &str, c1: u8) -> ParseResult<&str> { in char() 190 pub fn space(s: &str) -> ParseResult<&str> { in space() [all …]
|
/external/skia/modules/svg/include/ |
D | SkSVGAttributeParser.h | 29 template <typename T> using ParseResult = SkTLazy<T>; variable 31 template <typename T> static ParseResult<T> parse(const char* value) { in parse() 32 ParseResult<T> result; in parse() 41 static ParseResult<T> parse(const char* expectedName, in parse() 48 return ParseResult<T>(); in parse() 52 static ParseResult<PropertyT> parseProperty(const char* expectedName, in parseProperty() 56 return ParseResult<PropertyT>(); in parseProperty() 61 return ParseResult<PropertyT>(&result); in parseProperty() 67 return ParseResult<PropertyT>(&result); in parseProperty() 70 return ParseResult<PropertyT>(); in parseProperty()
|
/external/libcppbor/include/cppbor/ |
D | cppbor_parse.h | 23 using ParseResult = std::tuple<std::unique_ptr<Item> /* result */, const uint8_t* /* newPos */, variable 37 ParseResult parse(const uint8_t* begin, const uint8_t* end); 55 ParseResult parseWithViews(const uint8_t* begin, const uint8_t* end); 68 inline ParseResult parse(const std::vector<uint8_t>& encoding) { in parse() 83 inline ParseResult parse(const uint8_t* begin, size_t size) { in parse() 103 inline ParseResult parseWithViews(const uint8_t* begin, size_t size) { in parseWithViews() 118 inline ParseResult parse(const Bstr* bstr) { in parse() 120 return ParseResult(nullptr, nullptr, "Null Bstr pointer"); in parse()
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | PathTypeTest.java | 20 import static com.google.common.jimfs.PathType.ParseResult; 49 ParseResult path = type.parsePath("foo/bar/baz/one\\two"); in testParsePath() 52 ParseResult path2 = type.parsePath("$one//\\two"); in testParsePath() 58 ParseResult path = type.parsePath("foo/bar\\baz"); in testToString() 61 ParseResult path2 = type.parsePath("$/foo/bar"); in testToString() 97 static void assertParseResult(ParseResult result, @NullableDecl String root, String... names) { in assertParseResult() 103 ParseResult result = type.parsePath(path); in assertUriRoundTripsCorrectly() 105 ParseResult parsedUri = type.fromUri(uri); in assertUriRoundTripsCorrectly() 118 public ParseResult parsePath(String path) { in parsePath() 125 return new ParseResult(root, splitter().split(path)); in parsePath() [all …]
|
/external/ukey2/src/main/cpp/include/securegcm/ |
D | ukey2_handshake.h | 107 struct ParseResult { struct 116 ParseResult ParseHandshakeMessage(const string& handshake_message); argument 178 ParseResult ParseClientInitUkey2Message(const string& handshake_message); 182 ParseResult ParseServerInitUkey2Message(const string& handshake_message); 186 ParseResult ParseClientFinishUkey2Message(const string& handshake_message); 190 ParseResult CreateFailedResultWithAlert(Ukey2Alert::AlertType alert_type, 195 ParseResult CreateFailedResultWithoutAlert(const string& error_message); 198 ParseResult CreateSuccessResult();
|
/external/webrtc/common_video/h264/ |
D | sps_vui_rewriter.cc | 79 SpsVuiRewriter::ParseResult* out_vui_rewritten); 91 SpsVuiRewriter::ParseResult* out_vui_rewritten); 96 void SpsVuiRewriter::UpdateStats(ParseResult result, Direction direction) { in UpdateStats() 98 case SpsVuiRewriter::ParseResult::kVuiRewritten: in UpdateStats() 106 case SpsVuiRewriter::ParseResult::kVuiOk: in UpdateStats() 114 case SpsVuiRewriter::ParseResult::kFailure: in UpdateStats() 125 SpsVuiRewriter::ParseResult SpsVuiRewriter::ParseAndRewriteSps( in ParseAndRewriteSps() 138 return ParseResult::kFailure; in ParseAndRewriteSps() 164 ParseResult vui_updated; in ParseAndRewriteSps() 168 return ParseResult::kFailure; in ParseAndRewriteSps() [all …]
|
D | sps_vui_rewriter_unittest.cc | 304 SpsVuiRewriter::ParseResult expected_parse_result) { in TestSps() 311 SpsVuiRewriter::ParseResult result = SpsVuiRewriter::ParseAndRewriteSps( in TestSps() 322 if (result == SpsVuiRewriter::ParseResult::kVuiRewritten) { in TestSps() 328 EXPECT_EQ(SpsVuiRewriter::ParseResult::kVuiOk, result); in TestSps() 340 SpsVuiRewriter::ParseResult>> { 346 SpsVuiRewriter::ParseResult expected_parse_result = in TEST_P() 357 SpsVuiRewriter::ParseResult::kVuiOk), 360 SpsVuiRewriter::ParseResult::kVuiOk), 363 SpsVuiRewriter::ParseResult::kVuiOk), 366 SpsVuiRewriter::ParseResult::kVuiRewritten), [all …]
|