/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 | 34 class Scanner { 64 explicit Scanner(StringPiece source) : cur_(source) { RestartCapture(); } in Scanner() function 68 Scanner& One(CharClass clz) { in One() 78 Scanner& ZeroOrOneLiteral(StringPiece s) { in ZeroOrOneLiteral() 85 Scanner& OneLiteral(StringPiece s) { in OneLiteral() 95 Scanner& Any(CharClass clz) { in Any() 103 Scanner& Many(CharClass clz) { return One(clz).Any(clz); } in Many() 109 Scanner& RestartCapture() { in RestartCapture() 119 Scanner& StopCapture() { in StopCapture() 125 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/v8/src/parsing/ |
D | scanner.cc | 23 class Scanner::ErrorState { 26 Scanner::Location* location_stack) in ErrorState() 55 Scanner::Location* const location_stack_; 56 Scanner::Location const old_location_; 62 Handle<String> Scanner::LiteralBuffer::Internalize(Isolate* isolate) const { in Internalize() 70 int Scanner::LiteralBuffer::NewCapacity(int min_capacity) { in NewCapacity() 76 void Scanner::LiteralBuffer::ExpandBuffer() { in ExpandBuffer() 83 void Scanner::LiteralBuffer::ConvertToTwoByte() { in ConvertToTwoByte() 107 void Scanner::LiteralBuffer::AddTwoByteChar(uc32 code_unit) { in AddTwoByteChar() 128 const size_t Scanner::BookmarkScope::kBookmarkAtFirstPos = [all …]
|
D | expression-classifier.h | 62 : location(Scanner::Location::invalid()), in Error() 66 V8_INLINE explicit Error(Scanner::Location loc, 71 Scanner::Location location; 197 void RecordExpressionError(const Scanner::Location& loc, 205 void RecordFormalParameterInitializerError(const Scanner::Location& loc, 213 void RecordBindingPatternError(const Scanner::Location& loc, 221 void RecordAssignmentPatternError(const Scanner::Location& loc, 229 void RecordPatternError(const Scanner::Location& loc, 236 void RecordArrowFormalParametersError(const Scanner::Location& loc, 244 void RecordAsyncArrowFormalParametersError(const Scanner::Location& loc, [all …]
|
D | duplicate-finder.h | 13 class Scanner; variable 28 friend class Scanner;
|
/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/tensorflow/tensorflow/tools/graph_transforms/ |
D | transform_graph.cc | 34 using tensorflow::strings::Scanner; 55 Scanner(remaining).AnySpace().GetResult(&remaining, &match); in ParseTransformParameters() 63 Scanner(remaining) in ParseTransformParameters() 64 .Many(Scanner::LETTER_DIGIT_UNDERSCORE) in ParseTransformParameters() 70 if (Scanner(remaining).OneLiteral("(").GetResult(&remaining, &match)) { in ParseTransformParameters() 79 if (Scanner(remaining).OneLiteral(")").GetResult(&remaining, &match)) { in ParseTransformParameters() 85 Scanner(remaining).ZeroOrOneLiteral(",").GetResult(&remaining, &match); in ParseTransformParameters() 86 Scanner(remaining).AnySpace().GetResult(&remaining, &match); in ParseTransformParameters() 89 Scanner(remaining) in ParseTransformParameters() 90 .Many(Scanner::LETTER_DIGIT_UNDERSCORE) in ParseTransformParameters() [all …]
|
/external/v8/src/ast/ |
D | modules.h | 38 const Scanner::Location loc, 39 const Scanner::Location specifier_loc, Zone* zone); 44 const Scanner::Location loc, 45 const Scanner::Location specifier_loc, Zone* zone); 51 const Scanner::Location specifier_loc); 60 const Scanner::Location loc, Zone* zone); 67 const Scanner::Location loc, 68 const Scanner::Location specifier_loc, Zone* zone); 72 const Scanner::Location loc, 73 const Scanner::Location specifier_loc, Zone* zone); [all …]
|
D | modules.cc | 33 const Scanner::Location loc, in AddImport() 34 const Scanner::Location specifier_loc, in AddImport() 45 const Scanner::Location loc, in AddStarImport() 46 const Scanner::Location specifier_loc, in AddStarImport() 55 const Scanner::Location specifier_loc) { in AddEmptyImport() 62 Scanner::Location loc, Zone* zone) { in AddExport() 72 const Scanner::Location loc, in AddExport() 73 const Scanner::Location specifier_loc, in AddExport() 85 const Scanner::Location loc, in AddStarExport() 86 const Scanner::Location specifier_loc, in AddStarExport() [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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | YAMLParser.cpp | 253 class Scanner { class 255 Scanner(StringRef Input, SourceMgr &SM, bool ShowColors = true, 257 Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors = true, 373 using SkipWhileFunc = StringRef::iterator (Scanner::*)(StringRef::iterator); 596 Scanner scanner(Input, SM); in dumpTokens() 680 Scanner scanner(Input, SM); in scanTokens() 757 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors, in Scanner() function in Scanner 763 Scanner::Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors, in Scanner() function in Scanner 769 void Scanner::init(MemoryBufferRef Buffer) { in init() 785 Token &Scanner::peekNext() { in peekNext() [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/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/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | function_utils.cc | 41 if (strings::Scanner(input) in FunctionDefTensorDesc() 42 .One(strings::Scanner::LETTER_DIGIT_DOT_UNDERSCORE) in FunctionDefTensorDesc() 43 .Any(strings::Scanner::LETTER_DIGIT_DASH_DOT_SLASH_UNDERSCORE) in FunctionDefTensorDesc() 49 if (strings::Scanner(remaining) in FunctionDefTensorDesc() 52 .One(strings::Scanner::LETTER) in FunctionDefTensorDesc() 53 .Any(strings::Scanner::LETTER_DIGIT_UNDERSCORE) in FunctionDefTensorDesc() 59 if (strings::Scanner(remaining) in FunctionDefTensorDesc() 62 .Many(strings::Scanner::DIGIT) in FunctionDefTensorDesc()
|
/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/skia/src/ports/ |
D | SkFontMgr_android.cpp | 172 typedef SkTypeface_FreeType::Scanner Scanner; typedef in SkFontStyleSet_Android 175 explicit SkFontStyleSet_Android(const FontFamily& family, const Scanner& scanner, in SkFontStyleSet_Android() 201 Scanner::AxisDefinitions axisDefinitions; in SkFontStyleSet_Android() 237 Scanner::computeAxisValues(axisDefinitions, position, in SkFontStyleSet_Android() 473 using Scanner = SkTypeface_FreeType::Scanner; in onMakeFromStreamArgs() typedef 477 Scanner::AxisDefinitions axisDefinitions; in onMakeFromStreamArgs() 485 Scanner::computeAxisValues(axisDefinitions, args.getVariationDesignPosition(), in onMakeFromStreamArgs() 520 SkTypeface_FreeType::Scanner fScanner;
|
/external/skqp/src/ports/ |
D | SkFontMgr_android.cpp | 172 typedef SkTypeface_FreeType::Scanner Scanner; typedef in SkFontStyleSet_Android 175 explicit SkFontStyleSet_Android(const FontFamily& family, const Scanner& scanner, in SkFontStyleSet_Android() 201 Scanner::AxisDefinitions axisDefinitions; in SkFontStyleSet_Android() 237 Scanner::computeAxisValues(axisDefinitions, position, in SkFontStyleSet_Android() 473 using Scanner = SkTypeface_FreeType::Scanner; in onMakeFromStreamArgs() typedef 477 Scanner::AxisDefinitions axisDefinitions; in onMakeFromStreamArgs() 485 Scanner::computeAxisValues(axisDefinitions, args.getVariationDesignPosition(), in onMakeFromStreamArgs() 520 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/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
|