/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
accessorychat.c | 60 char *line = fgets(buffer, sizeof(buffer), stdin); local 61 if (!line || !sDevice) 63 ret = usb_device_bulk_transfer(sDevice, endpoint, line, strlen(line), 1000);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
PatternScanner.java | 110 String line = mInput.substring(mStartOfLine, mOffset); local 111 return "Unexpected token on line " + (mLineNo + 1) + " after '" + line + "' <- Expected " +
|
/frameworks/base/tools/aapt/ |
SourcePos.cpp | 20 int line; member in struct:ErrorPos 26 ErrorPos(const String8& file, int line, const String8& error, Level level); 35 :line(-1), level(NOTE) 41 line(that.line), 49 line(l), 59 this->line = rhs.line; 82 if (this->line >= 0) { 83 fprintf(to, "%s:%d: %s%s\n", this->file.string(), this->line, type, this->error.string()) [all...] |
/frameworks/base/tools/aapt2/ |
ResourceTypeExtensions.h | 37 * for source entries (path/to/source:line). 140 * Line number this resource was defined on. 142 uint32_t line; member in struct:aapt::ResTable_entry_source
|
/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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/include/ |
vpx_mem_tracker.h | 29 line; member in struct:mem_block 65 char * file, unsigned int line) 69 line - the line in file addr was referenced from 70 Adds memory address addr, it's size, file and line it came from 74 char *file, unsigned int line, 78 vpx_memory_tracker_add(size_t addr, unsigned int size, char * file, unsigned int line) 114 fail, the filename and line of the check will be printed out. 116 void vpx_memory_tracker_check_integrity(char *file, unsigned int line);
|
/hardware/intel/img/hwcomposer/merrifield/test/ |
nv12_ved_test.cpp | 66 int line = 0; local 77 for (line = 0; line < buffer_height; line++) { 78 printf("reading line %d...\n", line); 79 offset = line * stride;
|
/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/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 validate [all...] |
IOUtils.java | 99 * The Unix line separator string. 103 * The Windows line separator string. 107 * The system line separator string. 447 * one entry per line, using the default character encoding of the platform. 465 * one entry per line, using the specified character encoding. 491 * one entry per line. 505 String line = reader.readLine(); local 506 while (line != null) { 507 list.add(line); 508 line = reader.readLine() 906 Object line = it.next(); local 942 Object line = it.next(); local 971 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);
|
/packages/services/Telephony/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);
|
/system/bt/btif/src/ |
btif_sock_util.c | 68 #define asrt(s) if(!(s)) BTIF_TRACE_ERROR("## %s assert %s failed at line:%d ##",__FUNCTION__, #s, __LINE__) 189 char *line; local 196 line = line_buff; 197 *line++ = ' '; 198 *line++ = ' '; 199 *line++ = ' '; 200 *line++ = ' '; 201 *line++ = ' '; 202 *line++ = ' '; 205 byte2hex((const char*)&j, &line); [all...] |
/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/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/ |
PowellOptimizer.java | 43 * Default relative tolerance for line search ({@value}). 47 * Default absolute tolerance for line search ({@value}). 51 * Line search. 53 private final LineSearch line; field in class:PowellOptimizer 56 * Constructor with default line search tolerances (see the 65 * Constructor with default absolute line search tolerances (see 69 * the line search algorithm ({@link BrentOptimizer}). 78 * the line search algorithm ({@link BrentOptimizer}). 80 * the line search algorithm ({@link BrentOptimizer}). 84 line = new LineSearch(lsRelativeTolerance [all...] |
/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...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
UCAConformanceTest.java | 145 private String parseString(String line) { 150 while(i < line.length() && Character.isWhitespace(line.charAt(i))) { 153 while(i < line.length() && Character.isLetterOrDigit(line.charAt(i))) { 154 buffer.append(line.charAt(i)); 200 String line = null, oldLine = null, buffer = null, oldB = null; local 205 while ((line = in.readLine()) != null) { 207 if(line.length() == 0 || line.charAt(0) == '#') [all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpServerTest.java | 49 String line = lines.get(i); local 50 assertTrue("Output line " + i + " doesn't match expectation.\n" + 51 " Output: " + line + "\n" + 52 "Expected: " + expected[i], line.matches(expected[i])); 76 String line = ""; local 77 while (line != null) { 78 line = reader.readLine(); 79 if (line != null) { 80 lines.add(line.trim());
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaPlayerStreamingStressTest.java | 134 String line; local 135 while ((line = br.readLine()) != null) { 136 urls.add(line.trim());
|