/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
BidiTest.java | 787 Bidi line = bd.createLineBidi(2, 7); local 788 assertFalse(line.baseIsLeftToRight()); 789 assertEquals(1, line.getBaseLevel()); 790 assertEquals(5, line.getLength()); 791 assertEquals(2, line.getLevelAt(0)); 792 assertEquals(3, line.getLevelAt(1)); 793 assertEquals(3, line.getLevelAt(2)); 794 assertEquals(3, line.getLevelAt(3)); 795 assertEquals(2, line.getLevelAt(4)); 796 assertEquals(1, line.getLevelAt(1000)) 855 Bidi line = bd.createLineBidi(1, 4); local [all...] |
/external/chromium_org/net/android/javatests/src/org/chromium/net/ |
X509UtilTest.java | 41 String line = reader.readLine(); local 42 while (line != null && !line.contains(BEGIN_MARKER)) line = reader.readLine(); 45 while (line != null && line.contains(BEGIN_MARKER)) line = reader.readLine(); 48 while (line != null && !line.contains(END_MARKER)) { 49 builder.append(line.trim()) [all...] |
/libcore/luni/src/main/java/java/io/ |
DataInputStream.java | 113 StringBuilder line = new StringBuilder(80); // Typical line length local 119 if (line.length() == 0 && !foundTerminator) { 122 return line.toString(); 126 return line.toString(); 135 return line.toString(); 139 return line.toString(); 141 line.append((char) nextByte);
|
/bootable/recovery/tools/ota/ |
check-lost+found.c | 126 char *saveptr, *line; local 128 for (line = strtok_r(dmesg, "\n", &saveptr); line != NULL; 129 line = strtok_r(NULL, "\n", &saveptr)) { 130 if (strstr(line, "yaffs: dev is")) in_yaffs = 1; 133 strstr(line, "yaffs") || 134 strstr(line, "mtd") || 135 strstr(line, "msm_nand")) { 136 fprintf(out, "%s\n", line); 139 if (strstr(line, "yaffs_read_super: isCheckpointed")) in_yaffs = 0 [all...] |
/bootable/recovery/updater/ |
updater.c | 138 char* line = strtok(state.errmsg, "\n"); local 139 while (line) { 140 fprintf(cmd_pipe, "ui_print %s\n", line); 141 line = strtok(NULL, "\n");
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
LowRamDeviceTest.java | 55 String line = scanner.nextLine(); local 56 if (line.startsWith(property)) { 57 StringTokenizer tokenizer = new StringTokenizer(line); 59 throw new IOException("Malformed " + property + " line");
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
ClassicToken.cs | 47 int line; field in class:Antlr.Runtime.ClassicToken 61 line = oldToken.Line; 96 public int Line { 98 return line; 101 line = value; 171 return "[@" + TokenIndex + ",'" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharPositionInLine + "]";
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
ClassicToken.cs | 49 int line; field in class:Antlr.Runtime.ClassicToken 65 line = oldToken.Line; 108 public int Line 112 return line; 116 line = value; 209 return "[@" + TokenIndex + ",'" + txt + "',<" + type + ">" + channelStr + "," + line + ":" + CharPositionInLine + "]";
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRCommonToken.h | 36 NSUInteger line; variable 121 @property (assign, getter = line, setter = setLine:) NSUInteger line; variable
|
ANTLRToken.h | 54 @property (assign) NSUInteger line; variable 69 // ANTLR v3 provides automatic line and position tracking. Subclasses do not need to 70 // override these, if they do not want to store line/pos tracking information 71 - (NSUInteger)line;
|
/external/bison/examples/calc++/ |
position.hh | 55 /* Line 36 of location.cc */ 56 #line 57 "../../../../examples/calc++/position.hh" 67 , line (l) 79 line = l; 83 /** \name Line and Column related manipulators 85 /// (line related) Advance to the COUNT next lines. 89 line += count; 101 /// Current line number. 102 unsigned int line; member in class:yy::position 141 return (pos1.line == pos2.lin [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
PEMUtil.java | 58 String line; local 61 while ((line = readLine(in)) != null) 63 if (line.startsWith(_header1) || line.startsWith(_header2)) 69 while ((line = readLine(in)) != null) 71 if (line.startsWith(_footer1) || line.startsWith(_footer2)) 76 pemBuf.append(line);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PEMUtil.java | 60 String line; local 63 while ((line = readLine(in)) != null) 65 if (line.startsWith(_header1) || line.startsWith(_header2)) 71 while ((line = readLine(in)) != null) 73 if (line.startsWith(_footer1) || line.startsWith(_footer2)) 78 pemBuf.append(line);
|
/external/chromium/chrome/browser/chromeos/ |
plugin_selection_policy.cc | 67 string line; local 72 while (std::getline(input_stream, line)) { 74 string::size_type pos = line.find("#"); 76 line = line.substr(0, pos); 78 TrimWhitespaceASCII(line, TRIM_ALL, &line); 79 if (line.find("allow") == 0) { 86 line = line.substr(5) [all...] |
/external/chromium_org/base/debug/ |
proc_maps_linux.cc | 101 // Due to splitting on '\n' the last line should be empty. 109 const char* line = lines[i].c_str(); local 124 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR " %4c %llx %hhx:%hhx %ld %n", 154 regions.back().path.assign(line + path_index);
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
console_logger.cc | 69 int line = -1; local 70 if (message_dict->GetInteger("line", &line)) { 73 base::SStringPrintf(&line_column, "%d:%d", line, column); 75 base::SStringPrintf(&line_column, "%d", line); 78 // No line number, but print anyway, just to maintain the number of
|
/external/chromium_org/content/browser/accessibility/ |
accessibility_tree_formatter_android.cc | 121 base::string16 line; local 125 WriteAttribute(true, UTF16ToUTF8(class_value), &line); 131 WriteAttribute(true, attribute_name, &line); 141 &line); 151 &line); 154 return indent + line + ASCIIToUTF16("\n");
|
/external/chromium_org/net/ftp/ |
ftp_ctrl_response_buffer.cc | 35 ParsedLine line = lines_.front(); local 39 if (!line.is_complete || line.status_code != response_buf_.status_code) { 40 line_buf_.append(line.raw_text); 46 line_buf_ = line.status_text; 47 DCHECK_EQ(line.status_code, response_buf_.status_code); 49 if (!line.is_multiline) { 59 if (!line.is_complete) 62 response_buf_.status_code = line.status_code; 63 if (line.is_multiline) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
BufferedLineReaderTest.cpp | 48 String line; local 49 ASSERT_FALSE(reader.getLine(line)); 55 String line; local 56 ASSERT_FALSE(reader.getLine(line)); 58 // No input observed, so still no line. 59 ASSERT_FALSE(reader.getLine(line)); 67 String line; local 68 ASSERT_TRUE(reader.getLine(line)); 69 ASSERT_EQ(line, "A"); 77 String line; local 90 String line; local 103 String line; local 115 String line; local 126 String line; local 138 String line; local 149 String line; local 161 String line; local 214 String line; local 247 String line; local 261 String line; local 272 String line; local 287 String line; local [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
test-buffer-serialize.cc | 103 char line[BUFSIZ], out[BUFSIZ]; local 104 while (fgets (line, sizeof(line), stdin) != 0) 108 const char *p = line;
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/test/ |
fake_downloader.cc | 49 std::string line; local 51 std::getline(file, line); 52 std::string::size_type divider = line.find('='); 55 GetLookupKeyUtil().GetUrlForKey(line.substr(0, divider)), 56 line.substr(divider + 1)));
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
optionsfile.cc | 53 std::string line; local 56 res = stream.ReadLine(&line); 60 size_t equals_pos = line.find('='); 62 // We do not consider this an error. Instead we ignore the line and 64 LOG_F(LS_WARNING) << "Ignoring malformed line in " << path_; 67 std::string key(line, 0, equals_pos); 68 std::string value(line, equals_pos + 1, line.length() - (equals_pos + 1));
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_pipe.h | 41 * Basic info for a point/line/triangle primitive. 68 void (*line)( struct draw_stage *, member in struct:draw_stage
|
/external/chromium_org/third_party/skia/src/utils/ |
SkPathUtils.cpp | 40 static void Line2path_pixel(SkPath* path, const char* line, 44 if (GetBit(line,i)) { 51 static void Line2path_pixelCircle(SkPath* path, const char* line, 55 if (GetBit(line,i)) { 64 static void Line2path_span(SkPath* path, const char* line, 70 int curPixel = GetBit(line,i); 87 if ( GetBit(line,width-1) ) ++end; 91 } else if ( GetBit(line, width - 1) ) { // if last pixel on add 101 // loop for every line in bitmap 103 // fn ptr handles each line separatel 119 const char* line = &bitmap[y * stride]; local [all...] |
/external/chromium_org/tools/gn/ |
err.cc | 27 std::string* line) { 28 // Only bother if the range's begin or end overlaps the line. If the entire 29 // line is highlighted as a result of this range, it's not very helpful. 44 end_char = static_cast<int>(line->size()); // Ending is non-inclusive. 49 CHECK(begin_char >= 0 && begin_char <= static_cast<int>(line->size())); 50 CHECK(end_char >= 0 && end_char <= static_cast<int>(line->size())); 52 line->at(i) = '-'; 55 // The line length is used to clip the maximum length of the markers we'll 56 // make if the error spans more than one line (like unterminated literals). 60 // Make a buffer of the line in spaces 176 std::string line = GetNthLine(input_file->contents(), local [all...] |