/external/toybox/lib/ |
portability.c | 39 char *line, *new_line; local 52 line = *linep; 61 line = *linep = new_line; 64 line[i++] = ch; 74 line = *linep = new_line; 76 line[i] = '\0';
|
/external/toybox/toys/posix/ |
nl.c | 1 /* nl.c - print line numbers 24 -s Separator to use between number and line (instead of TAB) 25 -w Width of line numbers (default 6) 49 char *line = 0; local 53 if (getline(&line, &temp, f) < 1) { 58 if (*TT.b == 'p') match = !regexec((void *)(toybuf+16), line, 0, 0, 0); 60 if (*line == '\n') match = TT.l && ++TT.lcount >= TT.l; 65 xprintf("%s", line); 67 free(line);
|
/frameworks/av/media/libstagefright/foundation/ |
hexdump.cpp | 47 AString line; local 49 appendIndent(&line, indent); 54 line.append(tmp); 58 line.append(' '); 61 line.append(" "); 64 line.append(tmp); 68 line.append(' '); 76 line.append((char)data[offset + i]); 78 line.append('.'); 83 appendTo->append(line); [all...] |
/frameworks/base/cmds/incident_helper/src/parsers/ |
KernelWakesParser.cpp | 30 string line; local 40 // parse line by line 41 while (reader.readLine(&line)) { 42 if (line.empty()) continue; 43 // parse head line 45 header = parseHeader(line, TAB_DELIMITER); 49 // parse for each record, the line delimiter is \t only! 50 record = parseRecord(line, TAB_DELIMITER); 54 fprintf(stderr, "[%s]Line %d has missing fields\n%s\n", this->name.string(), nline, line.c_str()) [all...] |
/frameworks/native/cmds/bugreportz/ |
bugreportz.cpp | 33 static void write_line(const std::string& line, bool show_progress) { 34 if (line.empty()) return; 38 if (!show_progress && (android::base::StartsWith(line, PROGRESS_PREFIX) || 39 android::base::StartsWith(line, BEGIN_PREFIX))) 42 android::base::WriteStringToFd(line, STDOUT_FILENO); 46 std::string line; local 61 // Writes line by line. 64 line.append(1, c); 66 write_line(line, show_progress) [all...] |
/frameworks/native/opengl/tools/glgen/src/ |
ParameterChecker.java | 25 String line; local 26 while ((line = reader.readLine()) != null) { 27 String s = line.trim(); 34 // skip single-line comments
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/include/cloog/matrix/ |
constraintset.h | 20 cloog_int_t **line; member in struct:cloogconstraint
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/testdata/ |
hist.go | 26 type line struct { type 57 l := line{point{1 + zero, 2 + zero}, point{3 + zero, 4 + zero}}
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/testdata/ |
hist.go | 26 type line struct { type 57 l := line{point{1 + zero, 2 + zero}, point{3 + zero, 4 + zero}}
|
/system/chre/util/nanoapp/ |
debug.cc | 32 char line[32]; local 49 snprintf(&line[offset], sizeof(line) - offset, "%02x ", buffer[i - 1])); 54 LOGD(" %s\t%s", line, lineChars); 59 snprintf(&line[offset], sizeof(line) - offset, " ")); 71 LOGD(" %s%s%s", line, tabs, lineChars);
|
/system/core/init/ |
import_parser.cpp | 27 const std::string& filename, int line) { 40 imports_.emplace_back(std::move(conf_file), line); local
|
/system/extras/memory_replay/tests/ |
ActionTest.cpp | 26 const char* line = "1024"; local 27 Action* action = Action::CreateAction(0x1234, "malloc", line, memory); 41 const char* line = ""; local 42 Action* action = Action::CreateAction(0x1234, "malloc", line, memory); 48 const char* line = ""; local 49 Action* action = Action::CreateAction(0x1234, "free", line, memory); 61 const char* line = "100 10"; local 62 Action* action = Action::CreateAction(0x1234, "calloc", line, memory); 76 const char* line = ""; local 77 Action* action = Action::CreateAction(0, "free", line, memory) 98 const char* line = "0xabcd 100"; local 135 const char* line = "16 300"; local 161 const char* line = ""; local [all...] |
/system/netd/server/ |
DumpWriter.cpp | 51 void DumpWriter::println(const std::string& line) { 52 if (!line.empty()) { 56 write(mFd, line.c_str(), line.size()); 62 std::string line; local 65 StringAppendV(&line, fmt, ap); 67 println(line);
|
/system/tools/hidl/ |
DocComment.cpp | 34 const std::string& line = lines[l]; local 38 for (; idx < line.size() && isspace(line[idx]); idx++) 40 if (idx < line.size() && line[idx] == '*') idx++; 41 if (idx < line.size() && line[idx] == ' ') idx++; 43 if (idx < line.size()) { 49 is << line.substr(idx);
|
/toolchain/binutils/binutils-2.27/gprof/ |
source.h | 33 void **line; /* Usage-dependent per-line data. */ 53 MAX_WIDTH characters wide and for each source-line an annotation is 32 void **line; \/* Usage-dependent per-line data. *\/ member in struct:source_file
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
ApiParseException.java | 24 public int line; field in class:ApiParseException 33 this.line = ((ApiParseException) cause).line; 37 public ApiParseException(String message, int line) { 39 this.line = line; 43 if (line > 0) { 44 return super.getMessage() + " line " + line;
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
BuildMirroringTables.java | 32 StringBuffer line = new StringBuffer(" "); local 39 output.println(line.toString()); 40 line.setLength(4); 43 line.append("0x" + Utility.hex(array[i], 4)); 44 line.append(", "); 47 line.setLength(line.length() - 2); 49 output.println(line.toString());
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/ |
SourceNodeImpl.java | 26 /** first line number in {@link #lines} */ 49 * first line number or {@link ISourceNode#UNKNOWN_LINE} 51 * last line number or {@link ISourceNode#UNKNOWN_LINE} 76 * incrementing the line counter it is assumed that the child refers to the 95 final ILine line = child.getLine(i); local 96 incrementLine(line.getInstructionCounter(), 97 line.getBranchCounter(), i); 104 * optional line number is specified the instructions and branches are added 105 * to the given line. The line counter is incremented accordingly 165 final LineImpl line = lines[nr - offset]; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/ |
PemReader.java | 28 String line = readLine(); local 30 while (line != null && !line.startsWith(BEGIN)) 32 line = readLine(); 35 if (line != null) 37 line = line.substring(BEGIN.length()); 38 int index = line.indexOf('-'); 39 String type = line.substring(0, index); 53 String line; local [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
Trans.java | 22 * A command-line interface to the ICU4J transliterators. 80 String line = null; local 82 line = inText; 85 line = in.readLine(); 87 if (line == null) { 95 right = line.indexOf('>'); 97 right = line.length()-1; 99 buf.append(line.substring(0, right+1)); 100 if (DEBUG) System.out.println("*S:" + line.substring(0, right+1)); 104 int left = line.indexOf('<', right+1) [all...] |
/art/runtime/arch/mips64/ |
instruction_set_features_mips64.cc | 62 std::string line; local 63 std::getline(in, line); 65 LOG(INFO) << "cpuinfo line: " << line; 66 if (line.find("ASEs") != std::string::npos) { 68 if (line.find("msa") != std::string::npos) {
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
MutationSerializer.java | 50 String line = reader.readLine(); local 52 if (line != null) { 53 fields = line.split(" "); 55 Log.errorAndQuit("Could not read line during mutation loading.");
|
/bionic/libc/bionic/ |
sysinfo.cpp | 68 char* line = nullptr; local 70 if (getline(&line, &len, fp) != -1) { 71 cpu_count = GetCpuCountFromString(line); 72 free(line);
|
/bootable/recovery/ |
vr_ui.cpp | 42 int VrRecoveryUI::DrawTextLine(int x, int y, const char* line, bool bold) const { 43 gr_text(gr_sys_font(), x + kStereoOffset, y, line, bold); local 44 gr_text(gr_sys_font(), x - kStereoOffset + ScreenWidth(), y, line, bold); local
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
TextUtils.java | 26 * Return the first section in {@code source} between the line matches 27 * {@code extractionStartRegex} and the line matches {@code extractionEndRegex}. 41 final String line = lines[i]; local 42 if (start.matcher(line).matches()) { 44 sb.append(line); 53 final String line = lines[i]; local 54 if (end.matcher(line).matches()) { 56 sb.append(line); 61 sb.append(line);
|