/packages/services/Telephony/src/org/apache/commons/io/ |
IOUtils.java | 98 * The Unix line separator string. 102 * The Windows line separator string. 106 * The system line separator string. 446 * one entry per line, using the default character encoding of the platform. 464 * one entry per line, using the specified character encoding. 490 * one entry per line. 504 String line = reader.readLine(); local 505 while (line != null) { 506 list.add(line); 507 line = reader.readLine() 831 Object line = it.next(); local 867 Object line = it.next(); local 896 Object line = it.next(); local [all...] |
/art/compiler/dwarf/ |
dwarf_test.h | 52 // If next is true, it must be the next line. Otherwise lines are skipped. 101 const char* line; local 102 while ((line = fgets(buffer, sizeof(buffer), output)) != nullptr) { 104 printf("%s", line); 106 if (line[0] != '\0' && line[0] != '\n') { 107 EXPECT_TRUE(strstr(line, "objdump: Error:") == nullptr) << line; 108 EXPECT_TRUE(strstr(line, "objdump: Warning:") == nullptr) << line; [all...] |
/art/runtime/arch/arm/ |
instruction_set_features_arm.cc | 135 std::string line; local 136 std::getline(in, line); 138 LOG(INFO) << "cpuinfo line: " << line; 139 if (line.find("Features") != std::string::npos) { 141 if (line.find("idivt") != std::string::npos) { 144 CHECK_NE(line.find("idiva"), std::string::npos); 147 if (line.find("lpae") != std::string::npos) { 150 } else if (line.find("processor") != std::string::npos && 151 line.find(": 1") != std::string::npos) [all...] |
/cts/common/host-side/java-scanner/src/com/android/compatibility/common/scanner/ |
JavaScanner.java | 78 String line = null; local 79 while ((line = in.readLine()) != null) { 80 if (line.startsWith("suite:") || 81 line.startsWith("case:") || 82 line.startsWith("test:")) { 83 System.out.println(line);
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
SampleHostTest.java | 131 String line = in.nextLine(); local 132 if(line.startsWith("I/"+CLASS)) { 133 testString = line.split(":")[1].trim();
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureTest.java | 28 * Basic tests that verify expected values when a simple line gesture stroke is added. 50 GestureStroke line = mLineHelper.createLineGesture(); local 51 mGesture.addStroke(line); 53 assertEquals(line, mGesture.getStrokes().get(0)); 62 GestureStroke line = mLineHelper.createLineGesture(); local 63 mGesture.addStroke(line);
|
/cts/tests/tests/security/src/android/security/cts/ |
HwRngTest.java | 139 // The format of the file is line-oriented. 140 // Each variable takes up one line. 147 String line; local 148 while ((line = in.readLine()) != null) { 149 if (line.trim().length() == 0) { 156 int delimiterIndex = line.indexOf('='); 158 key = line.substring(0, delimiterIndex); 159 value = line.substring(delimiterIndex + 1); 161 key = line;
|
ServicePermissionsTest.java | 123 String line; local 124 while ((line = reader.readLine()) != null) { 125 lines.add(line); 126 Log.v(TAG, "--> " + line); 135 + "single line when the caller doesn't have DUMP permission."); 142 fail("dump() for " + service + " produced a single line which didn't "
|
/cts/tools/cts-java-scanner/src/com/android/cts/javascanner/ |
DocletRunner.java | 59 String line = null; local 60 while ((line = reader.readLine()) != null) { 61 System.out.println(line);
|
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
TestListParser.java | 42 String line = scanner.nextLine(); local 43 String[] tokens = line.split(":");
|
/dalvik/libdex/ |
DexDebugInfo.cpp | 154 u4 line = readUnsignedLeb128(&stream); local 224 line += readSignedLeb128(&stream); 294 line += DBG_LINE_BASE + (adjopcode % DBG_LINE_RANGE); 298 done = posCb(cnxt, address, line);
|
/development/tools/btsnooz/ |
btsnooz_utils.cpp | 168 std::string line; local 175 while (std::getline(in, line)) { 176 // Ensure line endings aren't wonky... 178 if (!line.empty() && line[line.size() - 1] == '\r') 179 line.erase(line.end() - 1); 184 if (line.compare(0, log_prefix.length(), log_prefix) == 0) 189 if (line.compare(0, log_postfix.length(), log_postfix) == 0 [all...] |
/development/tools/idegen/src/ |
Configuration.java | 199 String line; local 200 while ((line = in.readLine()) != null) { 201 String trimmed = line.trim(); 205 // line ends in a ";". 238 * Reads a list of regular expressions from a file, one per line, and adds 242 * @param file containing regular expressions, one per line 249 String line; local 250 while ((line = in.readLine()) != null) { 251 String trimmed = line.trim();
|
/external/aac/libAACenc/src/ |
quantize.cpp | 109 int line; local 115 for (line = 0; line < noOfLines; line++) 117 FIXP_DBL accu = fMultDiv2(mdctSpectrum[line],quantizer); 131 quaSpectrum[line] = (SHORT)(-((LONG)(k + accu) >> (DFRACT_BITS-1-16))); 144 quaSpectrum[line] = (SHORT)((LONG)(k + accu) >> (DFRACT_BITS-1-16)); 147 quaSpectrum[line]=0; 169 INT line; local 174 for (line = 0; line < noOfLines; line++) [all...] |
/external/aac/libSYS/src/ |
cmdl_parser.cpp | 87 Description: command line parser 142 FDKprintf("No command line arguments\n"); 148 FDKprintf("Error allocating memory line %d, file %s\n", __LINE__, __FILE__); 161 FDKprintf("Error allocating memory line %d, file %s\n", __LINE__, __FILE__); 501 static char line[CMDL_MAX_STRLEN*CMDL_MAX_ARGC]; variable 535 /* Obtain a command line from config file */ 536 while (FDKfgets(line, CMDL_MAX_STRLEN*CMDL_MAX_ARGC, config_fp) != NULL) 541 line_ptr = (char*)FDKstrchr(line, '\n'); 545 line_ptr = line; 547 /* Scan the line and put the command line params into argv * [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3input.h | 98 /** The line number we are traversing in the input file. This gets incremented 101 ANTLR3_UINT32 line; member in struct:ANTLR3_INPUT_STREAM_struct 103 /** Pointer into the input buffer where the current line 108 /** The offset within the current line of the current character 172 /** Pointer to function to return the current line number in the input stream 176 /** Pointer to function to return the current line buffer in the input stream 182 * is no way at the moment to position the input stream at a particular line 187 /** Pointer to function to return the current offset in the current input stream line 191 /** Pointer to function to set the current line number in the input stream 193 void (*setLine) (struct ANTLR3_INPUT_STREAM_struct * input, ANTLR3_UINT32 line); 255 ANTLR3_UINT32 line; member in struct:ANTLR3_LEX_STATE_struct [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
ANTLRStringStream.java | 47 /** line number 1..n within the input */ 48 protected int line = 1; field in class:ANTLRStringStream 50 /** The index of the character relative to the beginning of the line 0..n-1 */ 57 * values line, charPositionInLine, and p that can change as you 92 line = 1; 103 System.out.println("newline char found on line: "+line+ 106 line++; 165 state.line = line; [all...] |
CommonToken.java | 34 protected int line; field in class:CommonToken 75 line = oldToken.getLine(); 90 public void setLine(int line) { 91 this.line = line; 120 return line; 189 return "[@"+getTokenIndex()+","+start+":"+stop+"='"+txt+"',<"+type+">"+channelStr+","+line+":"+getCharPositionInLine()+"]";
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
DTMException.java | 226 int line = locator.getLineNumber(); local 234 if (0 != line) { 235 sbuffer.append("; Line#: "); 236 sbuffer.append(line); 259 int line = locator.getLineNumber(); local 267 if (0 != line) { 268 sbuffer.append("; Line#: "); 269 sbuffer.append(line);
|
/external/deqp/modules/glshared/ |
glsRasterizationTestUtil.cpp | 50 // Lines do not intersect if the other line's endpoints are on the same side 53 // Test line 0 55 const I64Vec2 line = line0End - line0Beg; local 58 const deInt64 crossProduct0 = (line.x() * v0.y() - line.y() * v0.x()); 59 const deInt64 crossProduct1 = (line.x() * v1.y() - line.y() * v1.x()); 67 // Test line 1 69 const I64Vec2 line = line1End - line1Beg; local 72 const deInt64 crossProduct0 = (line.x() * v0.y() - line.y() * v0.x()) 114 const tcu::Vec2 line = p1 - p0; local [all...] |
/external/dexmaker/src/test/java/com/google/dexmaker/ |
AppDataDirGuesserTest.java | 110 String line = local 112 if (line != null) { 113 return Integer.parseInt(line);
|
/external/e2fsprogs/util/ |
subst.c | 118 static void substitute_line(char *line) 128 ptr = line; 173 ptr = line; 208 char line[2048]; local 212 memset(line, 0, sizeof(line)); 213 if (fgets(line, sizeof(line), f) == NULL) 218 cp = strchr(line, '\n'); 221 cp = strchr(line, '#'); 303 char line[2048]; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
GenerateExcludeListTask.java | 67 String line; 68 while ((line = r.readLine()) != null) { 69 int start = line.lastIndexOf('/'); 70 int lastcomma = line.lastIndexOf(','); 71 int end = line.length(); 75 int lastzip = line.lastIndexOf(".zip"); 77 String rstring = line.substring(0, lastzip); 78 line = rstring + ".jar"; 81 String substr = line.substring(start + 1, end); 94 String line; local [all...] |
/external/eigen/scripts/ |
eigen_gen_credits.cpp | 11 // this function takes a line that may contain a name and/or email address, 13 std::string contributor_name(const std::string& line) 19 if(line.find("markb@localhost.localdomain") != string::npos) 24 if(line.find("kayhman@contact.intra.cea.fr") != string::npos) 35 size_t position_of_email_address = line.find_first_of('<'); 41 if(line.find("hauke.heibel") != string::npos) 46 result = line.substr(0, position_of_email_address); 53 if(line.find("convert-repo") != string::npos) 56 result = line; 71 string line; local 135 string line; local [all...] |
/external/elfutils/src/libdwfl/ |
linux-pid-attach.c | 311 char *line = NULL; local 313 while (getline (&line, &linelen, procfile) >= 0) 314 if (strncmp (line, "Tgid:", 5) == 0) 318 long val = strtol (&line[5], &endptr, 10); 326 free (line);
|