| /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
| mkbuiltin.go | 57 scanner := bufio.NewScanner(r) 60 for scanner.Scan() { 61 if strings.Contains(scanner.Text(), "$$") { 77 for scanner.Scan() { 78 p := scanner.Text()
|
| /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
| mkbuiltin.go | 57 scanner := bufio.NewScanner(r) 60 for scanner.Scan() { 61 if strings.Contains(scanner.Text(), "$$") { 77 for scanner.Scan() { 78 p := scanner.Text()
|
| /external/snakeyaml/src/test/java/org/pyyaml/ |
| PyTokensTest.java | 30 import org.yaml.snakeyaml.scanner.Scanner; 31 import org.yaml.snakeyaml.scanner.ScannerImpl; 97 Scanner scanner = new ScannerImpl(reader); local 99 while (scanner.checkToken(new Token.ID[0])) { 100 Token token = scanner.getToken(); 128 Scanner scanner = new ScannerImpl(reader); local 130 while (scanner.checkToken(new Token.ID[0])) [all...] |
| /external/v8/src/parsing/ |
| parser-base.h | 14 #include "src/parsing/scanner.h" 92 ParserBase(Zone* zone, Scanner* scanner, uintptr_t stack_limit, 106 scanner_(scanner), 209 Scanner::Location this_location() const { return this_location_; } 210 Scanner::Location super_location() const { return super_location_; } 211 Scanner::Location return_location() const { return return_location_; } 212 void set_this_location(Scanner::Location location) { 215 void set_super_location(Scanner::Location location) { 218 void set_return_location(Scanner::Location location) 347 Scanner* scanner() const { return scanner_; } function in class:v8::internal::ParserBase 861 Scanner* scanner() const { return parser_->scanner(); } function in class:v8::internal::ParserBase::ObjectLiteralCheckerBase [all...] |
| /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
| CpuMonitor.java | 20 import java.util.Scanner; 96 Scanner scanner = new Scanner(rdr).useDelimiter("[-\n]"); local 97 scanner.nextInt(); // Skip leading number 0. 98 cpusPresent = 1 + scanner.nextInt(); 99 scanner.close(); 249 Scanner scannerC = new Scanner(rdr); 276 Scanner scanner = new Scanner(rdr) local [all...] |
| /prebuilts/go/darwin-x86/src/cmd/gofmt/ |
| gofmt_test.go | 15 "text/scanner" 34 // initialize scanner 35 var s scanner.Scanner 37 s.Error = func(*scanner.Scanner, string) {} // ignore errors 38 s.Mode = scanner.GoTokens &^ scanner.SkipComments // want comments 43 case scanner.Comment: 48 case scanner.EOF [all...] |
| /prebuilts/go/darwin-x86/src/text/scanner/ |
| scanner.go | 5 // Package scanner provides a scanner and tokenizer for UTF-8-encoded text. 11 // By default, a Scanner skips white space and Go comments and recognizes all 15 package scanner package 53 // to configure a Scanner such that it only recognizes (Go) identifiers, 54 // integers, and skips comments, set the Scanner's Mode field to: 59 // set, unrecognized tokens are not ignored. Instead, the scanner simply 108 // GoWhitespace is the default value for the Scanner's Whitespace field. 114 // A Scanner implements reading of Unicode characters and tokens from an io.Reader. 115 type Scanner struct [all...] |
| /prebuilts/go/linux-x86/src/cmd/gofmt/ |
| gofmt_test.go | 15 "text/scanner" 34 // initialize scanner 35 var s scanner.Scanner 37 s.Error = func(*scanner.Scanner, string) {} // ignore errors 38 s.Mode = scanner.GoTokens &^ scanner.SkipComments // want comments 43 case scanner.Comment: 48 case scanner.EOF [all...] |
| /prebuilts/go/linux-x86/src/text/scanner/ |
| scanner.go | 5 // Package scanner provides a scanner and tokenizer for UTF-8-encoded text. 11 // By default, a Scanner skips white space and Go comments and recognizes all 15 package scanner package 53 // to configure a Scanner such that it only recognizes (Go) identifiers, 54 // integers, and skips comments, set the Scanner's Mode field to: 59 // set, unrecognized tokens are not ignored. Instead, the scanner simply 108 // GoWhitespace is the default value for the Scanner's Whitespace field. 114 // A Scanner implements reading of Unicode characters and tokens from an io.Reader. 115 type Scanner struct [all...] |
| /prebuilts/go/darwin-x86/src/bufio/ |
| scan.go | 14 // Scanner provides a convenient interface for reading data such as 30 type Scanner struct { 49 // Scanner to read more data into the slice and try again with a longer slice 60 // Errors returned by Scanner. 62 ErrTooLong = errors.New("bufio.Scanner: token too long") 63 ErrNegativeAdvance = errors.New("bufio.Scanner: SplitFunc returns negative advance count") 64 ErrAdvanceTooFar = errors.New("bufio.Scanner: SplitFunc returns advance count beyond input") 74 // NewScanner returns a new Scanner to read from r. 76 func NewScanner(r io.Reader) *Scanner { 77 return &Scanner{ [all...] |
| /prebuilts/go/linux-x86/src/bufio/ |
| scan.go | 14 // Scanner provides a convenient interface for reading data such as 30 type Scanner struct { 49 // Scanner to read more data into the slice and try again with a longer slice 60 // Errors returned by Scanner. 62 ErrTooLong = errors.New("bufio.Scanner: token too long") 63 ErrNegativeAdvance = errors.New("bufio.Scanner: SplitFunc returns negative advance count") 64 ErrAdvanceTooFar = errors.New("bufio.Scanner: SplitFunc returns advance count beyond input") 74 // NewScanner returns a new Scanner to read from r. 76 func NewScanner(r io.Reader) *Scanner { 77 return &Scanner{ [all...] |
| /build/blueprint/bootstrap/ |
| cleanup.go | 86 scanner := bufio.NewScanner(logFile) 90 if !scanner.Scan() || scanner.Text() != expectedFirstLine { 95 for scanner.Scan() { 96 line := scanner.Text() 117 if err := scanner.Err(); err != nil {
|
| /cts/tests/tests/media/src/android/media/cts/ |
| Utils.java | 29 import java.util.Scanner; 43 try (Scanner scanner = new Scanner(is).useDelimiter("\\A")) { 44 return scanner.hasNext() ? scanner.next() : "";
|
| /external/proguard/src/proguard/ant/ |
| ConfigurationElement.java | 72 DirectoryScanner scanner = fileSet.getDirectoryScanner(getProject()); local 73 baseDir = scanner.getBasedir(); 74 fileNames = scanner.getIncludedFiles(); 84 DirectoryScanner scanner = getDirectoryScanner(getProject()); local 85 baseDir = scanner.getBasedir(); 86 fileNames = scanner.getIncludedFiles();
|
| /tools/test/connectivity/acts/tests/google/ble/gatt/ |
| GattConnectTest.py | 201 2. Start a generic scanner. 203 4. Stop the first scanner. 204 5. Create a GATT connection between the scanner and advertiser. 236 2. Start a generic scanner. 238 4. Stop the first scanner. 239 5. Create a GATT connection between the scanner and advertiser. 286 2. Start a generic scanner. 288 4. Stop the first scanner. 289 5. Create a GATT connection between the scanner and advertiser. 290 6. From the scanner (client) request MTU size change to th [all...] |
| /cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
| MonkeyTest.java | 21 import java.util.Scanner; 43 Scanner s = new Scanner(logs);
|
| /external/libnl/lib/route/ |
| pktloc_syntax.y | 14 %parse-param {void *scanner} 15 %lex-param {void *scanner} 27 static void yyerror(YYLTYPE *locp, void *scanner, const char *msg)
|
| /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 {
|
| /cts/build/ |
| config.mk | 23 CTS_NATIVE_TEST_SCANNER := $(HOST_OUT_EXECUTABLES)/cts-native-scanner 24 CTS_JAVA_TEST_SCANNER := $(HOST_OUT_EXECUTABLES)/cts-java-scanner 25 CTS_JAVA_TEST_SCANNER_DOCLET := $(HOST_OUT_JAVA_LIBRARIES)/cts-java-scanner-doclet.jar 27 # Generator of test XMLs from scanner output.
|
| /cts/tools/dasm/src/java_cup/runtime/ |
| token.java | 5 * by the scanner and placed on the parse stack. At present, this
|
| /external/zxing/qr_scanner/res/values-fr/ |
| strings.xml | 4 <string name="msg_default_status" msgid="639431501805022060">"Positionnez un code 2D ŕ l\'intérieur du rectangle du viseur pour le scanner."</string>
|
| /prebuilts/go/darwin-x86/src/go/scanner/ |
| scanner.go | 5 // Package scanner implements a scanner for Go source text. 9 package scanner package 21 // An ErrorHandler may be provided to Scanner.Init. If a syntax error is 28 // A Scanner holds the scanner's internal state while processing 32 type Scanner struct { 56 func (s *Scanner) next() { 89 // They control scanner behavior. 98 // Init prepares the scanner s to tokenize the text src by setting th [all...] |
| /prebuilts/go/linux-x86/src/go/scanner/ |
| scanner.go | 5 // Package scanner implements a scanner for Go source text. 9 package scanner package 21 // An ErrorHandler may be provided to Scanner.Init. If a syntax error is 28 // A Scanner holds the scanner's internal state while processing 32 type Scanner struct { 56 func (s *Scanner) next() { 89 // They control scanner behavior. 98 // Init prepares the scanner s to tokenize the text src by setting th [all...] |
| /external/guice/core/src/com/google/inject/internal/ |
| ProviderMethodsModule.java | 72 private final ModuleAnnotatedMethodScanner scanner; field in class:ProviderMethodsModule 75 ModuleAnnotatedMethodScanner scanner) { 79 this.scanner = scanner; 90 * Returns a module which creates bindings methods in the module that match the scanner. 92 public static Module forModule(Object module, ModuleAnnotatedMethodScanner scanner) { 93 return forObject(module, false, scanner); 108 ModuleAnnotatedMethodScanner scanner) { 114 return new ProviderMethodsModule(object, skipFastClassGeneration, scanner); 186 for (Class<? extends Annotation> annotationClass : scanner.annotationClasses()) [all...] |
| /external/apache-http/src/org/apache/http/client/utils/ |
| URLEncodedUtils.java | 41 import java.util.Scanner; 81 parse(result, new Scanner(query), encoding); 106 parse(result, new Scanner(content), 123 * Adds all parameters within the Scanner to the list of 125 * example, a scanner containing the string <code>a=1&b=2&c=3</code> would 131 * @param scanner 138 final Scanner scanner, 140 scanner.useDelimiter(PARAMETER_SEPARATOR); 141 while (scanner.hasNext()) [all...] |