/system/tools/aidl/tests/ |
aidl_test_sentinel_searcher.cpp | 43 string line; local 44 while (getline(watched_file, line)) { 45 lines->push_back(line); 52 for (const auto& line : lines) { 53 if (line.find(sentinel) != string::npos) { 107 for (const auto& line : lines) { 108 cout << " " << line << endl;
|
/system/tools/hidl/ |
Location.cpp | 23 Position::Position(std::string filename, size_t line, size_t column) 24 : mFilename(filename), mLine(line), mColumn(column) {} 30 size_t Position::line() const { function in class:android::Position 54 return ostr << pos.line() << "." << pos.column(); 100 Position last = Position(loc.end().filename(), loc.end().line(), 105 } else if (loc.begin().line() != last.line()) { 106 ostr << "-" << last.line() << "." << last.column();
|
/tools/dexter/slicer/ |
debuginfo_encoder.cc | 45 // location (the .line directive) while .dex format uses it to 46 // advance the "line" register without emitting a "position entry" 47 int line = dbg_annotation->CastOperand<LineNumber>(0)->line; local 50 // if initial line == 0 is valid, but a number of existing 52 SLICER_CHECK(line >= 0); 53 line_start_ = line; 55 SLICER_WEAK_CHECK(line > 0); 56 int delta = line - last_line_; 68 last_line_ = line; [all...] |
/tools/loganalysis/tests/src/com/android/loganalysis/item/ |
ProcrankItemTest.java | 51 JSONObject line = lines.getJSONObject(0); local 53 assertEquals(0, line.get(ProcrankItem.PID)); 54 assertEquals("process0", line.get(ProcrankItem.PROCESS_NAME)); 55 assertEquals(1, line.get(ProcrankItem.VSS)); 56 assertEquals(2, line.get(ProcrankItem.RSS)); 57 assertEquals(3, line.get(ProcrankItem.PSS)); 58 assertEquals(4, line.get(ProcrankItem.USS));
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
PropertyChanger.java | 54 String line = null; local 55 while ((line = br.readLine()) != null) { 56 int pos = line.indexOf('='); 58 String name = line.substring(0, pos); 60 // modify the line if property needs to be changed 61 line = String.format("%s=%s", name, propsToAdd.get(name)); 65 // write line into new property file 66 bw.write(line + '\n');
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/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...] |
/cts/hostsidetests/sample/src/android/sample/cts/ |
SampleHostJUnit4Test.java | 103 String line = in.nextLine(); local 104 if(line.startsWith("I/"+CLASS)) { 105 testString = line.split(":")[1].trim();
|
SampleHostTest.java | 78 String line = in.nextLine(); local 79 if(line.startsWith("I/"+CLASS)) { 80 testString = line.split(":")[1].trim();
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoReadLogsPermissionTest.java | 56 String line; local 57 while ((line = reader.readLine()) != null) { 58 if (!line.startsWith("--------- beginning of ")) { 64 // Logcat returns only one line:
|
/device/google/marlin/dataservices/datatop/src/ |
datatop_value_only_poll.c | 35 * value_only files, meaning a file with a single line, containing 60 char line[DTOP_SINGLE_LINE]; local 75 line_len = dt_read_line(line, DTOP_SINGLE_LINE, data, 79 dt_single_line_parse(line, line_len, &dict); 90 * @brief Frees dynamically allocated single line dpg. 109 * @brief Creates a dpg for a single line file. 134 * @brief Scans a single line file in order to autodetect dps. 136 * Searches through a file that contains a single line and only 145 char line[DTOP_SINGLE_LINE]; local 158 line_len = dt_read_line(line, [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
dlgdef.h | 58 int line;
member in struct:zzdlg_state 72 extern int zzline; /* line current token is on */
73 extern int zzreal_line; /* line of 1st portion of token that is not skipped */
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
dlgdef.h | 58 int line;
member in struct:zzdlg_state 72 extern int zzline; /* line current token is on */
73 extern int zzreal_line; /* line of 1st portion of token that is not skipped */
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
getnetbyht.c | 62 static char line[BUFSIZ+1];
variable 98 p = fgets(line, sizeof line, netf);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
fparseln.c | 100 * Read a line from a file parsing continuations ending in \
234 size_t size, line;
local 236 line = 0;
237 while ((ptr = fparseln(stdin, &size, &line, NULL,
239 printf("line %d (%d) |%s|\n", line, size, ptr);
246 line 1
247 line 2 \
248 line 3 # Comment
249 line 4 \# Not comment \\\\ [all...] |
/external/annotation-tools/asmx/test/conform/org/objectweb/asm/signature/ |
SignatureTest.java | 50 private String line; field in class:SignatureTest 52 public SignatureTest(String line) { 54 this.line = line; 62 String line; local 63 while ((line = lnr.readLine()) != null) { 64 if (line.length() < 2) { 67 suite.addTest(new SignatureTest(line)); 74 if (line.length() > 2) { 75 String signature = line.substring(2) [all...] |
/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/autotest/client/profilers/powertop/src/ |
intelcstates.c | 80 char line[4096]; local 116 memset(line, 0, 4096); 117 f = fgets(line, 4096, file); 122 f = strstr(line, "MWAIT ");
|
misctips.c | 65 if (strstr(buffer, "on-line") != NULL) 296 char line[1024]; local 297 sprintf(line,_("Suggestion: increase the VM dirty writeback time from %1.2f to 15 seconds with:\n" 301 add_suggestion(line, 15, 'W', _(" W - Increase Writeback time "), writeback_long);
|
/external/boringssl/src/crypto/err/ |
err_test.cc | 52 int peeked_line, line, peeked_flags, flags; local 57 uint32_t packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); 65 EXPECT_EQ(4, line); 115 int line; local 117 uint32_t error = ERR_get_error_line(&file, &line); 120 EXPECT_EQ(expected_line, line); 143 int line, flags; local 145 uint32_t packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); 149 EXPECT_EQ(line, 1); 158 packed_error = ERR_get_error_line_data(&file, &line, &data, &flags) [all...] |
/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/clang/tools/libclang/ |
CXLoadedDiagnostic.h | 66 /// \brief Decode the CXSourceLocation into file, line, column, and offset. 69 unsigned *line, 75 unsigned line; member in struct:clang::CXLoadedDiagnostic::Location 79 Location() : line(0), column(0), offset(0) {}
|
/external/deqp/scripts/ |
convert_case_list_to_xml.py | 74 for line in lines: 75 line = line[:-1] variable 76 if line.startswith(packageName + "."): 77 m = caseRE.match(line)
|