/frameworks/base/tools/aapt/ |
SourcePos.cpp | 14 int line; member in struct:ErrorPos 20 ErrorPos(const String8& file, int line, const String8& error, bool fatal); 32 :line(-1), fatal(false) 38 line(that.line), 46 line(l), 61 if (this->line < rhs.line) return true; 62 if (this->line == rhs.line) { [all...] |
/frameworks/native/opengl/libs/EGL/ |
trace.cpp | 81 char line[lineSize]; member in class:android::StringBuilder 86 line[0] = '\0'; 91 line_index += vsnprintf(line + line_index, lineSize-line_index, fmt, argp); 96 line[lineSize-1] = '\0'; 97 return line; 162 ALOGD("%s", ""); // Print a blank line.
|
/hardware/qcom/display/msm8960/libmemtrack/ |
kgsl.c | 51 char line[1024]; local 88 if (fgets(line, sizeof(line), fp) == NULL) { 96 ret = sscanf(line, "%*x %lx %lu %*d %*s %6s %*s %*d\n", 113 if (fgets(line, sizeof(line), smaps_fp) == NULL) { 117 if (sscanf(line, "%8lx-%8lx", &start, &end) == 2) { 126 if (sscanf(line, "Rss: %lu kB", &smaps_size) == 1) {
|
/hardware/qcom/display/msm8974/libmemtrack/ |
kgsl.c | 51 char line[1024]; local 88 if (fgets(line, sizeof(line), fp) == NULL) { 96 ret = sscanf(line, "%*x %lx %lu %*d %*s %6s %*s %*d\n", 113 if (fgets(line, sizeof(line), smaps_fp) == NULL) { 117 if (sscanf(line, "%8lx-%8lx", &start, &end) == 2) { 126 if (sscanf(line, "Rss: %lu kB", &smaps_size) == 1) {
|
/hardware/ril/reference-ril/ |
atchannel.h | 50 MULTILINE /* multiple line intermediate response 57 char *line; member in struct:ATLine 71 * "s" is the line, and "sms_pdu" is either NULL or the PDU response 72 * for multi-line TS 27.005 SMS PDU responses (eg +CMT:)
|
/libcore/luni/src/main/java/javax/xml/transform/ |
TransformerException.java | 218 int line = locator.getLineNumber(); local 226 if (0 != line) { 227 sbuffer.append("; Line#: "); 228 sbuffer.append(line); 251 int line = locator.getLineNumber(); local 259 if (0 != line) { 260 sbuffer.append("; Line#: "); 261 sbuffer.append(line);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldLineNumberReaderTest.java | 33 String line; local 36 line = lnr.readLine(); 39 line.equals(lnr.readLine())); 62 assertEquals("Test 2: Read failed to increase the line number;", 123 assertEquals("Returned incorrect line number", 0, lnr.getLineNumber()); 124 String line = null; local 126 line = lnr.readLine(); 127 assertEquals("Test 1: Returned incorrect string;", "1", line); 128 assertTrue("Test 2: Returned incorrect line number:" + lnr.getLineNumber(), 142 assertEquals("Test 1: Returned incorrect line number;" 144 String line = null; local [all...] |
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-boost.c | 81 char *line = NULL; local 108 while ((len = getline (&line, &line_len, f)) > 0) 113 if (line[len - 1] == '\n') 114 line[--len] = '\0'; 116 puts (line); 118 if (line[0] == ';') 121 if (line[0] == '\0') 124 if (line[0] == '-') 126 if (strstr (line, "REG_BASIC")) 130 if (strstr (line, "REG_ICASE") [all...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
new1_3.cpp | 46 int line; member in struct:line_error 47 line_error(int i):line(i){} 166 printf("Got error in line %d\n",e.line);
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
new1_3.cpp | 46 int line; member in struct:line_error 47 line_error(int i):line(i){} 166 printf("Got error in line %d\n",e.line);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
SearchUtil.java | 29 public String line; field in class:SearchUtil.MatchedLine 34 "line='" + line + '\'' + 41 * Given a string with lines delimited with '\n', finds the matching line to the given 46 * @return A MatchedLine object containing the matching line and the startIndex of the substring 47 * match within that line. 56 // Match found. Find the corresponding line. 71 matched.line = contents.substring(start + 1, end); 130 * @param line The string to search for the next token. 132 * @return The index for the start of the next token. line.length() if next token not found [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
LineIterator.java | 39 * String line = it.nextLine();
40 * /// do something with line
57 /** The current line. */
96 String line = bufferedReader.readLine();
local 97 if (line == null) {
100 } else if (isValidLine(line)) {
101 cachedLine = line;
113 * Overridable method to validate each line that is returned.
115 * @param line the line that is to be validated [all...] |
IOUtils.java | 99 * The Unix line separator string.
103 * The Windows line separator string.
107 * The system line separator string.
444 * one entry per line, using the default character encoding of the platform.
462 * one entry per line, using the specified character encoding.
488 * one entry per line.
502 String line = reader.readLine();
local 503 while (line != null) {
504 list.add(line);
505 line = reader.readLine(); 903 Object line = it.next(); local 939 Object line = it.next(); local 968 Object line = it.next(); local [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
AddressList.java | 124 String line = reader.readLine();
local 125 if (line.length() == 0 || line.toLowerCase().equals("exit") || line.toLowerCase().equals("quit")) {
129 AddressList list = parse(line);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ |
VersionCheck.java | 46 * Inside that text file, there is a line in the format "plugin.version=#.#.#". This is checked 82 String line; local 83 while ((line = reader.readLine()) != null) { 84 Matcher m = sPluginVersionPattern.matcher(line); 153 String line; local 154 while ((line = reader.readLine()) != null) { 155 Matcher m = sSourcePropPattern.matcher(line);
|
/sdk/emulator/opengl/host/tools/emugen/ |
TypeFactory.cpp | 76 char line[1000]; local 78 while(fgets(line, sizeof(line), fp) != NULL) { 80 std::string str = trim(line); 133 "Warining: %d : type %s is already known, definition in line %d is taken\n",
|
/system/core/debuggerd/ |
backtrace.c | 57 _LOG(log, SCOPE_AT_FAULT, "Cmd line: %s\n", procname); 102 char line[MAX_BACKTRACE_LINE_LENGTH]; local 104 line, MAX_BACKTRACE_LINE_LENGTH); 105 _LOG(log, SCOPE_AT_FAULT, " %s\n", line);
|
/system/core/libutils/ |
CallStack.cpp | 136 char line[MAX_BACKTRACE_LINE_LENGTH]; local 138 line, MAX_BACKTRACE_LINE_LENGTH); 139 printer.printLine(line);
|
/cts/tools/dasm/src/dasm/ |
Scanner.java | 99 public StringBuffer line; field in class:Scanner 110 line = new StringBuffer(); 148 line.append((char) nextChar); 152 line.setLength(0);
|
/external/clang/utils/ |
clang-completion-mode.el | 5 ;; This minor mode uses Clang's command line interface for code 41 ;; line, Clang's code-completion is enabled. 77 ;;; Compute the current line in the buffer 78 (defun current-line () 103 (defun is-completion-line (line) 104 (or (string-match "OVERLOAD:" line) 105 (string-match (concat "COMPLETION: " clang-completion-substring) line))) 114 (completion-lines (filter 'is-completion-line all-lines))) 141 (number-to-string (+ 1 (current-line))) [all...] |
/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/os/src/android/os/cts/ |
BuildTest.java | 90 String line = ""; local 93 line = scanner.nextLine(); 99 return line; 112 String line = scanner.nextLine(); local 113 assertEquals(message + " Value found: " + line , expected, line); 136 String line = scanner.nextLine(); local 137 assertFalse(message + "Property found: " + line, 138 line.startsWith("[" + property + "]"));
|
/cts/tests/tests/security/src/android/security/cts/ |
ServicePermissionsTest.java | 118 String line; local 119 while ((line = reader.readLine()) != null) { 120 lines.add(line); 121 Log.v(TAG, "--> " + line); 130 + "single line when the caller doesn't have DUMP permission."); 137 fail("dump() for " + service + " produced a single line which didn't "
|
VoldExploitTest.java | 167 String line = scanner.nextLine().trim(); local 168 if (!line.startsWith("dev_mount")) { 172 String[] fields = line.split("\\s+"); 235 * (excluding the first line) 244 String line = scanner.nextLine().trim(); local 245 if (line.startsWith("sk")) { 249 List<String> lineList = Arrays.asList(line.split("\\s+"));
|
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
TestListParser.java | 42 String line = scanner.nextLine(); local 43 String[] tokens = line.split(":");
|