/external/dhcpcd-6.8.2/ |
duid.c | 89 char line[DUID_STRLEN]; local 95 while (fgets(line, DUID_STRLEN, fp)) { 96 len = strlen(line); 98 if (line[len - 1] == '\n') 99 line[len - 1] = '\0'; 101 len = hwaddr_aton(NULL, line); 103 hwaddr_aton(d, line); 142 x = fprintf(fp, "%s\n", hwaddr_ntoa(d, len, line, sizeof(line)));
|
/external/doclava/src/com/google/doclava/ |
SourcePositionInfo.java | 22 public SourcePositionInfo(String file, int line, int column) { 24 this.line = line; 30 this.line = that.line; 44 int line = that.line; local 49 line++; 53 return new SourcePositionInfo(that.file, line, 0); 60 int line = that.line - 1; // -1 because, well, it seems to wor local 101 public int line; field in class:SourcePositionInfo [all...] |
/external/elfutils/libdw/ |
dwarf_getsrc_file.c | 1 /* Find line information for given file/line/column triple. 67 /* Get the line number information for this file. */ 80 /* Search through all the line number records for a matching 81 file and line/column number. If any of the numbers is zero, 87 Dwarf_Line *line = &lines->info[cnt]; local 89 if (lastfile != line->file) 91 lastfile = line->file; 92 if (lastfile >= line->files->nfiles) 99 const char *fname2 = line->files->info[lastfile].name [all...] |
/external/elfutils/libdwfl/ |
dwfl_module_getsrc_file.c | 34 dwfl_dwarf_line_file (const Dwarf_Line *line) 36 return line->files->info[line->file].name; 40 dwfl_line (const Dwfl_Line *line) 42 return &dwfl_linecu (line)->die.cu->lines->info[line->idx]; 46 dwfl_line_file (const Dwfl_Line *line) 48 return dwfl_dwarf_line_file (dwfl_line (line)); 79 /* Search through all the line number records for a matching 80 file and line/column number. If any of the numbers is zero 86 Dwarf_Line *line = &cu->die.cu->lines->info[cnt]; local [all...] |
/external/elfutils/tests/ |
allfcts.c | 33 int line = -1; local 34 dwarf_decl_line (func, &line); 37 printf ("%s:%d:%s\n", file, line, fct);
|
line2addr.c | 64 int line; member in struct:args 79 if (dwfl_module_getsrc_file (mod, a->file, a->line, 0, &lines, &nlines) == 0) 84 int line = a->line, col = 0; local 85 const char *file = dwfl_lineinfo (lines[inner], &addr, &line, &col, 93 if (strcmp (file, a->file) || line != a->line || col != 0) 95 file, line); 99 || strcmp (file, a->file) || line != a->line || col != 0 [all...] |
/external/google-breakpad/src/common/ |
stabs_reader.cc | 181 Line line; local 183 // the absolute address of the line. 184 line.address = iterator_->value; 185 line.filename = current_source_file_; 186 // The n_desc of a N_SLINE entry is the line number. It's a 187 // signed 16-bit field; line numbers from 32768 to 65535 are 189 line.number = (uint16_t) iterator_->descriptor; 190 queued_lines_.push_back(line); 238 for (vector<Line>::const_iterator it = queued_lines_.begin() [all...] |
stabs_to_module.cc | 117 bool StabsToModule::Line(uint64_t address, const char *name, int number) { 124 Module::Line line; local 125 line.address = address; 126 line.size = 0; // We compute this in StabsToModule::Finalize(). 127 line.file = current_source_file_; 128 line.number = number; 129 current_function_->lines.push_back(line); 182 Module::Line::CompareByAddress); 183 vector<Module::Line>::iterator last_line = f->lines.end() - 1 [all...] |
/external/google-breakpad/src/processor/ |
source_line_resolver_base_types.h | 35 // each concrete source line resolver class. 69 struct SourceLineResolverBase::Line { 70 Line() { } 71 Line(MemAddr addr, MemAddr code_size, int file_id, int source_line) 75 , line(source_line) { } 80 int32_t line; member in struct:google_breakpad::SourceLineResolverBase::Line 122 // Does NOT take ownership of memory_buffer (the caller, source line resolver,
|
/external/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/harfbuzz_ng/util/ |
view-cairo.cc | 56 helper_cairo_line_t &line = g_array_index (lines, helper_cairo_line_t, i); local 58 line.get_advance (&x_advance, &y_advance);
|
view-cairo.hh | 80 helper_cairo_line_t &line = g_array_index (lines, helper_cairo_line_t, i); local 81 line.finish ();
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
RulesFileParser.java | 45 String line; local 46 while ((line = br.readLine()) != null) { 47 line = stripComment(line); 48 if (line.isEmpty()) 50 String[] parts = line.split("\\s+"); 78 private static void error(int line, String[] parts) { 79 throw new IllegalArgumentException("Error on line " + line + ": " + Arrays.asList(parts));
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
Position.java | 32 public final int line; field in class:Position 40 public Position(int line, int column) { 41 if (line < Node.ABSOLUTE_END_LINE) { 42 throw new IllegalArgumentException("Can't position at line " + line); 47 this.line = line; 54 public static Position pos(int line, int column) { 55 return new Position(line, column); 59 return new Position(this.line, column) [all...] |
/external/jline/src/src/test/java/jline/example/ |
Example.java | 30 + "the next line is a password"); 80 String line; local 83 while ((line = reader.readLine("prompt> ")) != null) { 84 out.println("======>\"" + line + "\""); 88 // the next line. 89 if ((trigger != null) && (line.compareTo(trigger) == 0)) { 90 line = reader.readLine("password> ", mask); 92 if (line.equalsIgnoreCase("quit") || line.equalsIgnoreCase("exit")) {
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
Token.java | 9 private int line; field in class:Token 24 return this.line; 27 public void setLine(@SuppressWarnings("hiding") int line) 29 this.line = line;
|
/external/libcups/filter/ |
commandtops.c | 38 main(int argc, /* I - Number of command-line arguments */ 39 char *argv[]) /* I - Command-line arguments */ 43 char line[1024], /* Line from file */ local 44 *value; /* Value on line */ 45 int linenum; /* Line number in file */ 97 while (cupsFileGetConf(fp, line, sizeof(line), &value, &linenum)) 103 if (!_cups_strcasecmp(line, "AutoConfigure")) 105 else if (!_cups_strcasecmp(line, "PrintSelfTestPage") [all...] |
/external/libcxx/test/support/ |
assert_checkpoint.h | 11 int line; member in struct:Checkpoint 14 Checkpoint() : file(nullptr), func(nullptr), line(-1), msg(nullptr) {} 16 : file(xfile), func(xfunc), line(xline), msg(xmsg) 25 s << file << ":" << line << " " << func << ": Checkpoint";
|
/external/libmojo/base/debug/ |
proc_maps_linux.cc | 105 // Due to splitting on '\n' the last line should be empty. 108 DLOG(WARNING) << "Last line not empty"; 115 const char* line = lines[i].c_str(); local 130 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR " %4c %llx %hhx:%hhx %ld %n", 133 DPLOG(WARNING) << "sscanf failed for line: " << line; 161 regions.back().path.assign(line + path_index);
|
/external/libvncserver/examples/ |
camera.c | 80 int line=0; local 102 * draw a simple black line that moves down the screen. The faster the 106 line = now.tv_usec / (1000000/HEIGHT); 107 if (line>HEIGHT) line=HEIGHT-1; 108 memset(&buffer[(WIDTH * BPP) * line], 0, (WIDTH * BPP)); 112 if (last_line > line) { 116 last_line = line; 117 fprintf(stderr,"%03d/%03d Picture (%03d fps)\r", line, HEIGHT, fps);
|
/external/llvm/lib/Support/ |
ErrorHandling.cpp | 108 unsigned line) { 116 dbgs() << " at " << file << ":" << line; local 146 // I'd rather not double the line count of the following.
|
/external/ltp/testcases/kernel/numa/ |
support_numa.c | 68 char line[BUFSIZ], buf[BUFSIZ]; local 77 while (fgets(line, BUFSIZ, fp) != NULL) { 78 if (sscanf(line, "%64s %d", buf, &val) == 2)
|
/external/ltp/testcases/kernel/sched/clisrv/ |
pthserv.c | 24 /* Description: Read a stream socket one line at a time and write each line */ 53 /* Read a stream socket one line at a time and write each line back 60 char line[MAXLINE]; local 67 n = readline(sockfd, line, MAXLINE); 79 testint = writen(sockfd, line, n);
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
mmap14.c | 95 char line[LINELEN]; local 102 while (fgets(line, LINELEN, fstatus) != NULL) 103 if (strstr(line, "VmLck") != NULL) 106 ret = sscanf(line, "%*[^0-9]%d%*[^0-9]", lock_sz);
|
/external/mesa3d/src/compiler/glsl/glcpp/ |
glcpp-parse.y | 178 %token DEFINED ELIF_EXPANDED HASH_TOKEN DEFINE_TOKEN FUNC_IDENTIFIER OBJ_IDENTIFIER ELIF ELSE ENDIF ERROR_TOKEN IF IFDEF IFNDEF LINE PRAGMA UNDEF VERSION_TOKEN GARBAGE IDENTIFIER IF_EXPANDED INTEGER INTEGER_STRING LINE_EXPANDED NEWLINE OTHER PLACEHOLDER SPACE PLUS_PLUS MINUS_MINUS 204 | input line 207 line: label 233 "#line %" PRIiMAX "\n", 243 "#line %" PRIiMAX " %" PRIiMAX "\n", 265 | HASH_TOKEN LINE pp_tokens NEWLINE { 424 glcpp_error(& @1, parser, "#version must appear on the first line"); 430 glcpp_error(& @1, parser, "#version must appear on the first line"); [all...] |