/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
RootProcessScanner.java | 23 import java.util.Scanner; 100 Scanner scanner = null; local 102 scanner = new Scanner(statm); 106 if (scanner.nextInt() != 0) { 111 if (scanner.hasNext()) { 118 if (scanner != null) { 119 scanner.close(); 143 Scanner scanner = null local 213 Scanner scanner = new Scanner(status); local [all...] |
GLESSurfaceView.java | 24 import java.util.Scanner; 64 Scanner scanner = new Scanner(extensions); local 65 scanner.useDelimiter(" "); 67 while (scanner.hasNext()) { 68 String ext = scanner.next();
|
/external/v8/src/ |
dateparser-inl.h | 42 DateStringTokenizer<Char> scanner(&in); 95 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz); 101 token = scanner.Next()) { 105 if (scanner.SkipSymbol(':')) { 106 if (scanner.SkipSymbol(':')) { 114 if (scanner.Peek().IsSymbol('.')) scanner.Next(); 116 } else if (scanner.SkipSymbol('.') && time.IsExpecting(n)) { 118 if (!scanner.Peek().IsNumber()) return false; 119 int n = ReadMilliseconds(scanner.Next()) [all...] |
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/ |
scanner.py | 2 Iterator based sre token scanner 9 __all__ = ['Scanner', 'pattern'] 12 class Scanner(object): 30 self.scanner = sre_compile.compile(p) 37 match = self.scanner.scanner(string, idx).match 52 # "fast forward" the scanner 54 match = self.scanner.scanner(string, matchend).match
|
/external/opencv/cv/src/ |
cvcontours.cpp | 160 CvPoint pt; /* current scanner position */ 189 Initializes scanner structure. 201 CvContourScanner scanner = 0; local 226 scanner = (CvContourScanner)cvAlloc( sizeof( *scanner )); 227 if( !scanner ) 230 memset( scanner, 0, sizeof( *scanner )); 232 scanner->storage1 = scanner->storage2 = storage 1087 CvContourScanner scanner; local 1515 CvContourScanner scanner = 0; local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
ScannerTest.java | 47 import java.util.Scanner; 55 private Scanner s; 80 * @tests java.util.Scanner#Scanner(File) 84 s = new Scanner(tmpFile); 90 s = new Scanner(tmpFile); 100 s = new Scanner(tmpFile); 103 // Scanner(File = null) 105 s = new Scanner((File) null); 115 * @tests java.util.Scanner#Scanner(File, String 5678 final Scanner scanner = new Scanner(pis); local [all...] |
ScannerParseLargeFileBenchmarkTest.java | 20 import java.util.Scanner; 28 * the Scanner will exhaust all heap memory 33 Scanner scanner = new Scanner(reader).useDelimiter(delimiter); local 35 while (scanner.hasNext()) { 36 scanner.next(); 38 scanner.close();
|
/cts/tests/tests/os/src/android/os/cts/ |
NoExecutePermissionTest.java | 21 import java.util.Scanner; 39 Scanner scanner = null; local 41 scanner = new Scanner(new File("/proc/self/maps")); 42 while (scanner.hasNextLine()) { 43 String line = scanner.nextLine().trim(); 61 if (scanner != null) { 62 scanner.close();
|
BuildTest.java | 23 import java.util.Scanner; 89 Scanner scanner = null; local 92 scanner = new Scanner(process.getInputStream()); 93 line = scanner.nextLine(); 95 if (scanner != null) { 96 scanner.close(); 109 Scanner scanner = null local 132 Scanner scanner = null; local [all...] |
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
TestListParser.java | 22 import java.util.Scanner; 38 Scanner scanner = null; local 40 scanner = new Scanner(input); 41 while(scanner.hasNextLine()) { 42 String line = scanner.nextLine(); 63 if (scanner != null) { 64 scanner.close();
|
/external/qemu/android/utils/ |
dirscanner.h | 20 /* Create a new directory scanner object from a given rootPath. 25 /* Destroy a given directory scanner. You must always call 30 /* Get the name of the next file from a directory scanner. 38 * The returned string is owned by the scanner, and will 40 * scanner is destroyed.
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
SeedTest.java | 19 import java.util.Scanner; 36 Scanner s1 = new Scanner(out1); 37 Scanner s2 = new Scanner(out2); 52 private String getNextLine(Scanner sc) {
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
CharStreamState.pm | 12 # What line number is the scanner at before processing buffer[p]? 19 # What char position 0..n-1 in line is scanner before processing buffer[p]?
|
/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.
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldScannerTest.java | 27 import java.util.Scanner; 34 private Scanner s; 39 s = new Scanner("123test"); 46 s = new Scanner("12345test1234test next"); 48 * If the pattern is found the scanner advances past the input that 67 // scanner's position remains unchanged. 123 s = new Scanner("test"); 127 s = new Scanner("aa\n\rb"); 145 s = new Scanner(""); 158 s = new Scanner("1 fish 2 fish red fish blue fish") [all...] |
/cts/tools/cts-java-scanner/src/com/android/cts/javascanner/ |
DocletRunner.java | 23 import java.util.Scanner; 49 Scanner scanner = null; local 51 scanner = new Scanner(process.getInputStream()); 52 while (scanner.hasNextLine()) { 53 System.out.println(scanner.nextLine()); 56 if (scanner != null) { 57 scanner.close();
|
/cts/tools/cts-native-scanner/src/com/android/cts/nativescanner/ |
TestScanner.java | 25 import java.util.Scanner; 30 * Scanner of C++ gTest source files. 76 scanFile(new Scanner(file), testNames); 87 public void scanFile(Scanner scanner, List<String> testNames) { 90 while (scanner.hasNextLine()) { 91 String line = scanner.nextLine(); 108 if (scanner != null) { 109 scanner.close();
|
/cts/tools/cts-native-scanner/tests/src/com/android/cts/nativescanner/ |
TestScannerTest.java | 25 import java.util.Scanner; 48 Scanner scanner = new Scanner(new StringReader(sb.toString())); local 49 testScanner.scanFile(scanner, names); 60 scanner.close();
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
TextGraphReader.java | 200 PatternScanner scanner = new PatternScanner(graphString, ignorePattern); local 209 while (!scanner.atEnd()) { 212 String curCommand = scanner.eat(commandPattern, "<command>"); 234 String packageName = scanner.eat(packageNamePattern, "<package-name>"); 241 String libraryName = scanner.eat(libraryNamePattern, "<library-name>"); 248 curClassName = scanner.eat(wordPattern, "<class-name>"); 253 String curFilterName = scanner.eat(wordPattern, "<filter-name>"); 260 scanner.eat(curlyOpenPattern, "{"); 265 KeyValueMap params = readKeyValueAssignments(scanner, curlyClosePattern); 272 scanner.eat(curlyClosePattern, "}") 346 PatternScanner scanner = new PatternScanner(assignments, ignorePattern); local [all...] |
/cts/tools/cts-native-scanner/tests/ |
Android.mk | 22 LOCAL_MODULE := cts-native-scanner-tests 24 LOCAL_JAVA_LIBRARIES := ddmlib-prebuilt tradefed-prebuilt cts-native-scanner
|
/external/bison/src/ |
scan-gram.h | 1 /* Bison Grammar Scanner 23 /* From the scanner. */ 30 /* These are declared by the scanner, but not used. We put them here
|
/frameworks/base/media/java/android/media/ |
MediaScannerConnection.java | 33 * newly created or downloaded media file to the media scanner service. 34 * The media scanner service will read metadata from the file and add 37 * media scanner service to return the Uri for a newly scanned file 64 * Called to notify the client when the media scanner has finished 86 * Called to notify the client when the media scanner has finished 98 * the media scanner service. 100 * interface, for receiving notifications from the media scanner. 108 * Initiates a connection to the media scanner service. 123 * Releases the connection to the media scanner service. 129 Log.v(TAG, "Disconnecting from Media Scanner"); [all...] |
/libcore/luni/src/main/java/java/util/ |
Scanner.java | 50 * Scanner s = new Scanner("1A true"); 56 * <p>A {@code Scanner} can also find or skip specific patterns without regard for the 60 * The {@code Scanner} class is not thread-safe. 62 public final class Scanner implements Iterator<String> { 98 // The input source of scanner. 120 // Record the status of this scanner. True if the scanner 149 * Creates a {@code Scanner} with the specified {@code File} as input. The default charset 157 public Scanner(File src) throws FileNotFoundException [all...] |
/external/webkit/Tools/android/flex-2.5.4a/MISC/texinfo/ |
flex.texi | 4 @settitle Flex - a scanner generator 19 * Flex: (flex). A fast scanner generator. 79 @subtitle A fast scanner generator 118 @cindex scanner generator 132 * Generated scanner:: The generated scanner 190 @item The Generated Scanner 191 details regarding the scanner that flex produces; 219 how to make your scanner go as fast as possible 223 scanner classe [all...] |
flex.info | 5 * Flex: (flex). A fast scanner generator. 55 * Generated scanner:: The generated scanner 113 The Generated Scanner 114 details regarding the scanner that flex produces; how to control 141 how to make your scanner go as fast as possible 144 the (experimental) facility for generating C++ scanner classes 174 description of a scanner to generate. The description is in the form 189 The following `flex' input specifies a scanner which whenever it 196 By default, any text not matched by a `flex' scanner is copied t [all...] |