HomeSort by relevance Sort by last modified time
    Searched refs:Scanner (Results 1 - 25 of 465) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/tensorflow/tensorflow/core/lib/strings/
scanner_test.cc 16 #include "tensorflow/core/lib/strings/scanner.h"
26 string ClassStr(Scanner::CharClass clz) {
30 if (Scanner::Matches(clz, ch)) {
40 EXPECT_TRUE(Scanner(" horse0123")
41 .Any(Scanner::SPACE)
42 .Any(Scanner::DIGIT)
43 .Any(Scanner::LETTER)
48 EXPECT_TRUE(Scanner("")
49 .Any(Scanner::SPACE)
50 .Any(Scanner::DIGIT
    [all...]
proto_text_util.cc 21 bool ProtoParseBoolFromScanner(Scanner* scanner, bool* value) {
23 if (!scanner->RestartCapture()
24 .Many(Scanner::LETTER_DIGIT)
28 ProtoSpaceAndComments(scanner);
40 bool ProtoParseStringLiteralFromScanner(Scanner* scanner, string* value) {
41 const char quote = scanner->Peek();
45 if (!scanner->One(Scanner::ALL
    [all...]
scanner.h 26 // Scanner provides simplified string parsing, in which a string is parsed as a
33 class Scanner {
63 explicit Scanner(StringPiece source) : cur_(source) { RestartCapture(); }
67 Scanner& One(CharClass clz) {
77 Scanner& ZeroOrOneLiteral(StringPiece s) {
84 Scanner& OneLiteral(StringPiece s) {
94 Scanner& Any(CharClass clz) {
102 Scanner& Many(CharClass clz) { return One(clz).Any(clz); }
108 Scanner& RestartCapture() {
118 Scanner& StopCapture()
    [all...]
scanner.cc 16 #include "tensorflow/core/lib/strings/scanner.h"
21 void Scanner::ScanUntilImpl(char end_ch, bool escaped) {
44 bool Scanner::GetResult(StringPiece* remaining, StringPiece* capture) {
proto_text_util.h 20 #include "tensorflow/core/lib/strings/scanner.h"
121 inline void ProtoSpaceAndComments(Scanner* scanner) {
123 scanner->AnySpace();
124 if (scanner->Peek() != '#') return;
126 while (scanner->Peek('\n') != '\n') scanner->One(Scanner::ALL);
130 // Parse the next numeric value from <scanner>, returning false if parsing
133 bool ProtoParseNumericFromScanner(Scanner* scanner, T* value)
    [all...]
  /external/pcre/pcrecpp/
pcre_scanner.cc 42 Scanner::Scanner()
53 Scanner::Scanner(const string& in)
64 Scanner::~Scanner() {
69 void Scanner::SetSkipExpression(const char* re) {
83 void Scanner::Skip(const char* re) {
97 void Scanner::DisableSkip() {
102 void Scanner::EnableSkip()
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ScannerTest.java 59 import java.util.Scanner;
66 private Scanner s;
91 * @tests java.util.Scanner#Scanner(File)
95 s = new Scanner(tmpFile);
101 s = new Scanner(tmpFile);
111 s = new Scanner(tmpFile);
115 // Scanner(File = null)
117 s = new Scanner((File) null);
127 * @tests java.util.Scanner#Scanner(Path
5635 final Scanner scanner = new Scanner(pis); local
    [all...]
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/
Scanner.java 16 package org.yaml.snakeyaml.scanner;
23 * The parser and the scanner form together the 'Parse' step in the loading
30 public interface Scanner {
  /frameworks/rs/script_api/
Scanner.cpp 20 #include "Scanner.h"
29 Scanner::Scanner(const string& fileName, FILE* file)
33 bool Scanner::atEnd() {
37 int Scanner::getChar() {
45 void Scanner::readUpTo(char delimiter, string* segment) {
58 void Scanner::readRestOfLine(string* segment) {
68 bool Scanner::getNextEntry() {
98 ostream& Scanner::error() {
102 ostream& Scanner::error(int lineNumber)
    [all...]
  /cts/hostsidetests/monkey/src/com/android/cts/monkey/
SeedTest.java 19 import java.util.Scanner;
38 Scanner s1 = new Scanner(out1);
39 Scanner s2 = new Scanner(out2);
54 private String getNextLine(Scanner sc) {
MonkeyTest.java 22 import java.util.Scanner;
45 Scanner s = new Scanner(logs);
  /packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
ClipStorageReader.java 28 import java.util.Scanner;
45 private final Scanner mScanner;
49 mScanner = new Scanner(inStream);
93 private final Scanner mScanner;
95 private Iterator(Scanner scanner) {
96 mScanner = scanner;
113 // We need to keep this scanner here because if the scanner is closed, the file lock is
115 private final Scanner mScanner
    [all...]
  /cts/hostsidetests/sample/src/android/sample/cts/
SampleHostTest.java 22 import java.util.Scanner;
76 Scanner in = new Scanner(logs);
  /external/robolectric-shadows/sandbox/src/main/java/org/robolectric/util/
JavaVersion.java 5 import java.util.Scanner;
12 Scanner s = new Scanner(version).useDelimiter("[^\\d]+");
  /external/tensorflow/tensorflow/tools/graph_transforms/
transform_graph.cc 19 #include "tensorflow/core/lib/strings/scanner.h"
31 using tensorflow::strings::Scanner;
52 Scanner(remaining).AnySpace().GetResult(&remaining, &match);
60 Scanner(remaining)
61 .Many(Scanner::LETTER_DIGIT_UNDERSCORE)
67 if (Scanner(remaining).OneLiteral("(").GetResult(&remaining, &match)) {
76 if (Scanner(remaining).OneLiteral(")").GetResult(&remaining, &match)) {
82 Scanner(remaining).ZeroOrOneLiteral(",").GetResult(&remaining, &match);
83 Scanner(remaining).AnySpace().GetResult(&remaining, &match);
86 Scanner(remaining
    [all...]
  /test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
RootProcessScanner.java 25 import java.util.Scanner;
125 try (Scanner scanner = new Scanner(statm)) {
128 if (scanner.nextInt() != 0) {
133 if (scanner.hasNext()) {
160 try (Scanner scanner = new Scanner(status)) {
161 findToken(scanner, "Uid:")
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/
SourcesHelper.java 32 java.util.Scanner s = new java.util.Scanner(in, encoding).useDelimiter("\\A");
38 java.util.Scanner s = new java.util.Scanner(in).useDelimiter("\\A");
  /external/pcre/pcrecpp/include/
pcre_scanner.h 32 // Regular-expression based scanner for parsing an input stream.
36 // Scanner scanner(input);
39 // scanner.SetSkipExpression("\\s+"); // Skip any white space we encounter
40 // while (scanner.Consume("(\\w+) = (\\d+)", &var, &number)) {
56 class Scanner {
58 Scanner();
59 explicit Scanner(const std::string& input);
60 ~Scanner();
69 // Return the byte-offset that the scanner is looking in th
    [all...]
  /external/skia/src/ports/
SkFontMgr_custom_empty.cpp 15 void loadSystemFonts(const SkTypeface_FreeType::Scanner& scanner,
  /external/skqp/src/ports/
SkFontMgr_custom_empty.cpp 15 void loadSystemFonts(const SkTypeface_FreeType::Scanner& scanner,
  /external/tagsoup/src/org/ccil/cowan/tagsoup/
Scanner.java 15 // Scanner
26 public interface Scanner {
29 Invoke a scanner.
45 Signal to the scanner to start CDATA content mode.
  /cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
RootProcessScanner.java 23 import java.util.Scanner;
106 Scanner scanner = null; local
108 scanner = new Scanner(statm);
112 if (scanner.nextInt() != 0) {
117 if (scanner.hasNext()) {
124 if (scanner != null) {
125 scanner.close();
149 Scanner scanner = null local
218 Scanner scanner = new Scanner(status); local
    [all...]
  /external/python/cpython2/Mac/Modules/ae/
aescan.py 11 from scantools import Scanner
18 scanner = AppleEventsScanner(input, output, defsoutput)
19 scanner.scan()
20 scanner.close()
27 class AppleEventsScanner(Scanner):
  /external/python/cpython2/Mac/Modules/app/
appscan.py 6 from scantools import Scanner
16 scanner = MyScanner(input, output, defsoutput)
17 scanner.scan()
18 scanner.close()
25 class MyScanner(Scanner):
  /external/python/cpython2/Mac/Modules/dlg/
dlgscan.py 7 from scantools import Scanner
17 scanner = MyScanner(input, output, defsoutput)
18 scanner.scan()
19 scanner.close()
26 class MyScanner(Scanner):

Completed in 567 milliseconds

1 2 3 4 5 6 7 8 91011>>