/external/tensorflow/tensorflow/core/lib/strings/ |
D | scanner_test.cc | 26 string ClassStr(Scanner::CharClass clz) { in ClassStr() 30 if (Scanner::Matches(clz, ch)) { in ClassStr() 40 EXPECT_TRUE(Scanner(" horse0123") in TEST_F() 41 .Any(Scanner::SPACE) in TEST_F() 42 .Any(Scanner::DIGIT) in TEST_F() 43 .Any(Scanner::LETTER) in TEST_F() 48 EXPECT_TRUE(Scanner("") in TEST_F() 49 .Any(Scanner::SPACE) in TEST_F() 50 .Any(Scanner::DIGIT) in TEST_F() 51 .Any(Scanner::LETTER) in TEST_F() [all …]
|
D | scanner.h | 33 class Scanner { 63 explicit Scanner(StringPiece source) : cur_(source) { RestartCapture(); } in Scanner() function 67 Scanner& One(CharClass clz) { in One() 77 Scanner& ZeroOrOneLiteral(StringPiece s) { in ZeroOrOneLiteral() 84 Scanner& OneLiteral(StringPiece s) { in OneLiteral() 94 Scanner& Any(CharClass clz) { in Any() 102 Scanner& Many(CharClass clz) { return One(clz).Any(clz); } in Many() 108 Scanner& RestartCapture() { in RestartCapture() 118 Scanner& StopCapture() { in StopCapture() 124 Scanner& Eos() { in Eos() [all …]
|
D | proto_text_util.cc | 21 bool ProtoParseBoolFromScanner(Scanner* scanner, bool* value) { in ProtoParseBoolFromScanner() 24 .Many(Scanner::LETTER_DIGIT) in ProtoParseBoolFromScanner() 40 bool ProtoParseStringLiteralFromScanner(Scanner* scanner, string* value) { in ProtoParseStringLiteralFromScanner() 45 if (!scanner->One(Scanner::ALL) in ProtoParseStringLiteralFromScanner() 49 .One(Scanner::ALL) in ProtoParseStringLiteralFromScanner()
|
D | proto_text_util.h | 121 inline void ProtoSpaceAndComments(Scanner* scanner) { in ProtoSpaceAndComments() 126 while (scanner->Peek('\n') != '\n') scanner->One(Scanner::ALL); in ProtoSpaceAndComments() 133 bool ProtoParseNumericFromScanner(Scanner* scanner, T* value) { in ProtoParseNumericFromScanner() 136 if (!scanner->Many(Scanner::LETTER_DIGIT_DOT_PLUS_MINUS) in ProtoParseNumericFromScanner() 158 bool ProtoParseBoolFromScanner(Scanner* scanner, bool* value); 162 bool ProtoParseStringLiteralFromScanner(Scanner* scanner, string* value);
|
/external/pcre/pcrecpp/ |
D | pcre_scanner.cc | 42 Scanner::Scanner() in Scanner() function in pcrecpp::Scanner 53 Scanner::Scanner(const string& in) in Scanner() function in pcrecpp::Scanner 64 Scanner::~Scanner() { in ~Scanner() 69 void Scanner::SetSkipExpression(const char* re) { in SetSkipExpression() 83 void Scanner::Skip(const char* re) { in Skip() 97 void Scanner::DisableSkip() { in DisableSkip() 102 void Scanner::EnableSkip() { in EnableSkip() 108 int Scanner::LineNumber() const { in LineNumber() 119 int Scanner::Offset() const { in Offset() 123 bool Scanner::LookingAt(const RE& re) const { in LookingAt() [all …]
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | transform_graph.cc | 31 using tensorflow::strings::Scanner; 52 Scanner(remaining).AnySpace().GetResult(&remaining, &match); in ParseTransformParameters() 60 Scanner(remaining) in ParseTransformParameters() 61 .Many(Scanner::LETTER_DIGIT_UNDERSCORE) in ParseTransformParameters() 67 if (Scanner(remaining).OneLiteral("(").GetResult(&remaining, &match)) { in ParseTransformParameters() 76 if (Scanner(remaining).OneLiteral(")").GetResult(&remaining, &match)) { in ParseTransformParameters() 82 Scanner(remaining).ZeroOrOneLiteral(",").GetResult(&remaining, &match); in ParseTransformParameters() 83 Scanner(remaining).AnySpace().GetResult(&remaining, &match); in ParseTransformParameters() 86 Scanner(remaining) in ParseTransformParameters() 87 .Many(Scanner::LETTER_DIGIT_UNDERSCORE) in ParseTransformParameters() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/ |
D | com_github_javaparser_SourcesHelper.txt | 6 …Line 32) java.util.Scanner s = new java.util.Scanner(in, encoding).useDelimiter("\\A") ==> java.ut… 7 Line 32) new java.util.Scanner(in, encoding).useDelimiter("\\A") ==> java.util.Scanner 9 Line 38) java.util.Scanner s = new java.util.Scanner(in).useDelimiter("\\A") ==> java.util.Scanner 10 Line 38) new java.util.Scanner(in).useDelimiter("\\A") ==> java.util.Scanner
|
/external/v8/src/parsing/ |
D | scanner.cc | 28 Scanner::Location* location_stack) in ErrorState() 34 *location_stack_ = Scanner::Location::invalid(); in ErrorState() 43 Scanner::Location* location_dest) { in MoveErrorTo() 52 *location_stack_ = Scanner::Location::invalid(); in MoveErrorTo() 58 Scanner::Location* const location_stack_; 59 Scanner::Location const old_location_; 62 Handle<String> Scanner::LiteralBuffer::Internalize(Isolate* isolate) const { in Internalize() 69 int Scanner::LiteralBuffer::NewCapacity(int min_capacity) { in NewCapacity() 75 void Scanner::LiteralBuffer::ExpandBuffer() { in ExpandBuffer() 82 void Scanner::LiteralBuffer::ConvertToTwoByte() { in ConvertToTwoByte() [all …]
|
D | expression-classifier.h | 61 : location(Scanner::Location::invalid()), in Error() 66 V8_INLINE explicit Error(Scanner::Location loc, 72 Scanner::Location location; 205 void RecordExpressionError(const Scanner::Location& loc, 213 void RecordExpressionError(const Scanner::Location& loc, 221 void RecordFormalParameterInitializerError(const Scanner::Location& loc, 229 void RecordBindingPatternError(const Scanner::Location& loc, 237 void RecordAssignmentPatternError(const Scanner::Location& loc, 245 void RecordPatternError(const Scanner::Location& loc, 252 void RecordArrowFormalParametersError(const Scanner::Location& loc, [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | op_def_builder.cc | 30 using ::tensorflow::strings::Scanner; 41 return Scanner(*sp) in ConsumeAttrName() 42 .One(Scanner::LETTER) in ConsumeAttrName() 43 .Any(Scanner::LETTER_DIGIT_UNDERSCORE) in ConsumeAttrName() 52 return Scanner(*sp) in ConsumeListPrefix() 62 return Scanner(*sp) in ConsumeQuotedString() 73 return Scanner(*sp) in ConsumeAttrType() 74 .Many(Scanner::LOWERLETTER_DIGIT) in ConsumeAttrType() 81 Scanner scan(*sp); in ConsumeAttrNumber() 89 if (!scan.Many(Scanner::DIGIT) in ConsumeAttrNumber() [all …]
|
D | node_def_util.cc | 546 using ::tensorflow::strings::Scanner; 549 return Scanner(sp) in IsValidOpName() 550 .One(Scanner::LETTER_DIGIT_DOT) in IsValidOpName() 551 .Any(Scanner::LETTER_DIGIT_DASH_DOT_SLASH_UNDERSCORE) in IsValidOpName() 558 Scanner scan(sp); in IsValidDataInputName() 559 scan.One(Scanner::LETTER_DIGIT_DOT) in IsValidDataInputName() 560 .Any(Scanner::LETTER_DIGIT_DASH_DOT_SLASH_UNDERSCORE); in IsValidDataInputName() 566 scan.Many(Scanner::DIGIT); // :[1-9][0-9]* in IsValidDataInputName() 575 return Scanner(sp) in IsValidControlInputName() 577 .One(Scanner::LETTER_DIGIT_DOT) in IsValidControlInputName() [all …]
|
/external/llvm/lib/Support/ |
D | YAMLParser.cpp | 266 class Scanner { class 268 Scanner(StringRef Input, SourceMgr &SM, bool ShowColors = true); 269 Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors = true); 380 typedef StringRef::iterator (Scanner::*SkipWhileFunc)(StringRef::iterator); 603 Scanner scanner(Input, SM); in dumpTokens() 687 llvm::yaml::Scanner scanner(Input, SM); in scanTokens() 761 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors) in Scanner() function in Scanner 766 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors) in Scanner() function in Scanner 771 void Scanner::init(MemoryBufferRef Buffer) { in init() 787 Token &Scanner::peekNext() { in peekNext() [all …]
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 236 ClassPath.Scanner scanner = new ClassPath.Scanner(); in testScan_classPathCycle() 246 ClassPath.Scanner scanner = new ClassPath.Scanner(); in testScanFromFile_fileNotExists() 254 ClassPath.Scanner scanner = new ClassPath.Scanner(); in testScanFromFile_notJarFile() 265 ClassPath.Scanner.getClassPathEntry( in testGetClassPathEntry() 268 ClassPath.Scanner.getClassPathEntry(new File("/home/build/outer.jar"), "a.jar")); in testGetClassPathEntry() 270 ClassPath.Scanner.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z")); in testGetClassPathEntry() 272 ClassPath.Scanner.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z.jar")); in testGetClassPathEntry() 276 assertThat(ClassPath.Scanner.getClassPathFromManifest(new File("some.jar"), null)).isEmpty(); in testGetClassPathFromManifest_nullManifest() 281 assertThat(ClassPath.Scanner.getClassPathFromManifest(jarFile, manifest(""))) in testGetClassPathFromManifest_noClassPath() 287 assertThat(ClassPath.Scanner.getClassPathFromManifest(jarFile, manifestClasspath(""))) in testGetClassPathFromManifest_emptyClassPath() [all …]
|
/external/v8/src/ast/ |
D | modules.h | 37 const AstRawString* module_request, const Scanner::Location loc, 43 const Scanner::Location loc, Zone* zone); 57 const Scanner::Location loc, Zone* zone); 63 const AstRawString* module_request, const Scanner::Location loc, 68 const AstRawString* module_request, const Scanner::Location loc, 77 Scanner::Location location; 98 explicit Entry(Scanner::Location loc) in Entry()
|
D | modules.cc | 17 const AstRawString* module_request, Scanner::Location loc, Zone* zone) { in AddImport() 28 Scanner::Location loc, Zone* zone) { in AddStarImport() 42 Scanner::Location loc, Zone* zone) { in AddExport() 52 const AstRawString* module_request, Scanner::Location loc, Zone* zone) { in AddExport() 64 const AstRawString* module_request, Scanner::Location loc, Zone* zone) { in AddStarExport() 100 Entry* result = new (avfactory->zone()) Entry(Scanner::Location::invalid()); in Deserialize() 176 new (avfactory->zone()) Entry(Scanner::Location::invalid()); in DeserializeRegularExports()
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | CpuMonitor.java | 20 import java.util.Scanner; 96 Scanner scanner = new Scanner(rdr).useDelimiter("[-\n]"); in init() 249 Scanner scannerC = new Scanner(rdr); in readFreqFromFile() 276 Scanner scanner = new Scanner(rdr); in readIdleAndRunTime()
|
/external/pcre/pcrecpp/include/ |
D | pcre_scanner.h | 56 class Scanner { 58 Scanner(); 59 explicit Scanner(const std::string& input); 60 ~Scanner();
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ |
D | SourcesHelper.java | 32 java.util.Scanner s = new java.util.Scanner(in, encoding).useDelimiter("\\A"); in streamToString() 38 java.util.Scanner s = new java.util.Scanner(in).useDelimiter("\\A"); in streamToString()
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/util/ |
D | JavaVersion.java | 5 import java.util.Scanner; 12 Scanner s = new Scanner(version).useDelimiter("[^\\d]+"); in JavaVersion()
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
D | MultibindingsScanner.java | 53 binder().scanModulesForAnnotatedMethods(Scanner.INSTANCE); in asModule() 64 return Scanner.INSTANCE; 67 private static class Scanner extends ModuleAnnotatedMethodScanner { 68 private static final Scanner INSTANCE = new Scanner();
|
/external/skqp/src/ports/ |
D | SkFontMgr_android.cpp | 145 typedef SkTypeface_FreeType::Scanner Scanner; typedef in SkFontStyleSet_Android 148 explicit SkFontStyleSet_Android(const FontFamily& family, const Scanner& scanner, in SkFontStyleSet_Android() 172 Scanner::AxisDefinitions axisDefinitions; in SkFontStyleSet_Android() 208 Scanner::computeAxisValues(axisDefinitions, position, in SkFontStyleSet_Android() 442 using Scanner = SkTypeface_FreeType::Scanner; in onMakeFromStreamArgs() typedef 446 Scanner::AxisDefinitions axisDefinitions; in onMakeFromStreamArgs() 454 Scanner::computeAxisValues(axisDefinitions, args.getVariationDesignPosition(), in onMakeFromStreamArgs() 489 SkTypeface_FreeType::Scanner fScanner;
|
/external/skia/src/ports/ |
D | SkFontMgr_android.cpp | 145 typedef SkTypeface_FreeType::Scanner Scanner; typedef in SkFontStyleSet_Android 148 explicit SkFontStyleSet_Android(const FontFamily& family, const Scanner& scanner, in SkFontStyleSet_Android() 172 Scanner::AxisDefinitions axisDefinitions; in SkFontStyleSet_Android() 208 Scanner::computeAxisValues(axisDefinitions, position, in SkFontStyleSet_Android() 442 using Scanner = SkTypeface_FreeType::Scanner; in onMakeFromStreamArgs() typedef 446 Scanner::AxisDefinitions axisDefinitions; in onMakeFromStreamArgs() 454 Scanner::computeAxisValues(axisDefinitions, args.getVariationDesignPosition(), in onMakeFromStreamArgs() 489 SkTypeface_FreeType::Scanner fScanner;
|
/external/apache-http/src/org/apache/http/client/utils/ |
D | URLEncodedUtils.java | 41 import java.util.Scanner; 81 parse(result, new Scanner(query), encoding); in parse() 106 parse(result, new Scanner(content), in parse() 138 final Scanner scanner, in parse()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | GrammarSpelunker.java | 50 protected Scanner scanner; 78 scanner = new Scanner(br); in parse() 154 public static class Scanner { class in GrammarSpelunker 159 public Scanner(Reader input) throws IOException { in Scanner() method in GrammarSpelunker.Scanner
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/ |
D | JreConditionalExpression.java.txt | 6 java.util.Scanner s = new java.util.Scanner(in, encoding).useDelimiter("\\A");
|