/external/chromium_org/third_party/skia/src/pathops/ |
SkDCubicLineIntersection.cpp | 12 Find the interection of a line and cubic by solving for valid t values. 14 Analogous to line-quadratic intersection, solve line-cubic intersection by 18 and the line as: 19 y = i*x + j (if the line is more horizontal) 21 x = i*y + j (if the line is more vertical) 24 line: 38 if i goes to infinity, we can rewrite the line in terms of x. Mathematica: 96 // see parallel routine in line quadratic intersections 218 /* Note that this does not look for endpoints of the line that are near the cubic 333 SkDLine line = {{{ left, y }, { right, y }}}; local 340 SkDLine line = {{{ x, top }, { x, bottom }}}; local [all...] |
SkDQuadLineIntersection.cpp | 12 Find the interection of a line and quadratic by solving for valid t values. 25 If you add for instance the line equation (y = kx + m) to that, you'll end up 31 and the line as 35 line: 55 Using the results above (when the line tends towards horizontal) 60 If g goes to infinity, we can rewrite the line in terms of x. 83 Thus, if the slope of the line tends towards vertical, we use: 111 solve by rotating line+quad so line is horizontal, then finding the roots 120 A = line[1].fX - line[0].fX (adjacent side of the right triangle 388 SkDLine line = {{{ left, y }, { right, y }}}; local 395 SkDLine line = {{{ x, top }, { x, bottom }}}; local [all...] |
SkIntersections.h | 88 SkDLine line; local 89 line.set(b); 91 return intersect(cubic, line); 122 SkDLine line; local 123 line.set(a); 125 return horizontal(line, left, right, y, flipped); 129 SkDLine line; local 130 line.set(a); 132 return vertical(line, top, bottom, x, flipped); 165 SkDLine line; local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/dwarf2/ |
dwarf2-dbgfmt.h | 63 unsigned long vline; /* virtual line number of .loc directive */ 67 unsigned long line; /* source line number */ member in struct:dwarf2_loc 106 /* Line number functions */ 113 unsigned long line); 116 unsigned long line);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/ |
nasm-preproc.c | 40 char *line; member in struct:yasm_preproc_nasm 156 preproc_nasm->line = NULL; 172 if (preproc_nasm->line) 173 yasm_xfree(preproc_nasm->line); 187 char *line; local 189 if (preproc_nasm->line) { 190 char *retval = preproc_nasm->line; 191 preproc_nasm->line = NULL; 195 line = nasmpp.getline(); 196 if (!line) 242 char *line; local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/ |
genperf.c | 48 unsigned int line; member in struct:keyword 177 final.line = buf2; 181 final.line[i] = buf[i]; 220 fprintf(out, "#line %u \"%s\"\n", kw->line, filename); 237 fprintf(out, "%s", final.line[i]); 255 static char line[1024], tmp[1024]; local 300 while (fgets(line, 1024, in)) { 301 /* Comments start with # as the first thing on a line */ 302 if (line[0] == '#') [all...] |
perfect.h | 28 char **line; /* array of text lines, 80 bytes apiece */ member in struct:gencode 38 * Each way of filling in **line should be given a comment that is a unique
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
re.h | 93 unsigned int line; member in struct:RegExp::__anon14572::__anon14573
|
/external/chromium_org/tools/android/memdump/ |
memdump.cc | 121 bool ParseMemoryMapLine(const std::string& line, 125 base::SplitString(line, ' ', tokens); 186 std::string line; local 188 while (std::getline(maps_file, line) && !line.empty()) { 190 if (!ParseMemoryMapLine(line, &tokens, &memory_map)) { 191 LOG(ERROR) << "Could not parse line: " << line;
|
/external/chromium_org/tools/cygprofile/ |
cygprofile.cc | 186 char line[kMaxLineSize]; local 189 while (mapsfile.getline(line, kMaxLineSize)) { 190 const std::string str_line = line; 277 // We do not update log header line (CygCommon data) as it will be the same
|
/external/chromium_org/tools/emacs/ |
flymake-chromium.el | 64 (defun cr-flymake-ninja-command-line () 65 "Return the command-line for running ninja, as a list of strings, or nil if 87 ;; copy/pasted from flymake-display-err-menu-for-current-line because I 89 ;; line was in a single call: 90 (let* ((line-no (flymake-current-line-no)) 91 (line-err-info-list 92 (nth 0 (flymake-find-err-info flymake-err-info line-no))) 93 (menu-data (flymake-make-err-menu-data line-no line-err-info-list)) [all...] |
/external/chromium_org/ui/views/corewm/ |
tooltip_aura.cc | 102 // Format each line to fit. 106 // We break the line at word boundaries, then stuff as many words as we can 107 // in the available width to the current line, and move the remaining words 108 // to a new line. 112 string16 line; local 120 // Current width will exceed the available width. Must start a new line. 121 if (!line.empty()) 122 result_lines.push_back(line); 124 line.clear(); 127 line.append(word) [all...] |
/external/chromium_org/v8/tools/profviz/ |
composer.js | 40 var kExecutionFrameWidth = 0.2; // Width of the top stack frame line. 322 var line; variable 323 while (line = input()) { 324 logreader.processLogLine(line); 386 output("set style line 1 lt 1 lw 1 lc rgb \"#000000\""); 388 output("set style line 2 lt 1 lw 1 lc rgb \"#9944CC\"");
|
/external/compiler-rt/lib/tsan/go/ |
tsan_go.cc | 56 int *line, int *off); 64 int line = 0, off = 0; local 65 if (__tsan_symbolize(addr, &func, &file, &line, &off)) { 69 s->line = line;
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_report.h | 38 int line; member in struct:__tsan::ReportStack 77 int line; member in struct:__tsan::ReportLocation
|
/external/dhcpcd/ |
if-options.c | 762 parse_config_line(struct if_options *ifo, const char *opt, char *line) 771 if (cf_options[i].has_arg == required_argument && !line) { 778 return parse_option(ifo, cf_options[i].val, line); 791 char *line, *option, *p, *platform; local 832 while ((line = get_line(f))) { 833 option = strsep(&line, " \t"); 835 if (line && *line) { 836 p = line + strlen(line) - 1 [all...] |
/external/doclava/src/com/google/doclava/ |
DocFile.java | 27 public static final Pattern LINE = Pattern.compile("(.*)[\r]?\n", Pattern.MULTILINE); 86 // The document is properties up until the line "@jd:body". 90 Matcher lines = LINE.matcher(filedata); 91 String line = null; local 93 line = lines.group(1); 94 if (line.length() > 0) { 95 if (line.equals("@jd:body")) { 99 Matcher prop = PROP.matcher(line); 112 if (line != null) { 113 System.err.println(docfile + ":" + lineno + ":" + line); [all...] |
SampleTagInfo.java | 34 * and reducing the indent level of the text to the indent level of the first non-whitespace line. 93 static String getTrimString(String line) { 95 int len = line.length(); 97 char c = line.charAt(i); 105 return line.substring(0, i); 109 static String addLineNumber(String line, String num) { 112 numberedLine.append("<span class=\"code-line\" id=\"l" + num + "\">" + line + "</span>"); 134 String line = lines.readLine(); local 135 if (line == null) 218 String line = lines.readLine(); local [all...] |
/external/e2fsprogs/lib/blkid/ |
devname.c | 367 char line[100]; local 375 while (fgets(line, sizeof(line), procpt)) { 376 if (sscanf (line, " %d %d %d %*s %*s %[^\n ]", 397 char line[1024]; local 427 while (fgets(line, sizeof(line), proc)) { 432 if (sscanf(line, " %d %d %llu %128[^\n ]",
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
UnpackUpdateJars.java | 136 String line = null; local 137 while ((line = br.readLine()) != null) 138 System.out.println(type + ">" + line);
|
/external/elfutils/src/ |
addr2line.c | 1 /* Locate source files and line information for given addresses 81 Locate source files and line information for ADDRs (in a.out by default)."); 144 line, read from stdin. */ 457 Dwfl_Line *line = dwfl_module_getsrc (mod, addr); local 461 if (line != NULL && (src = dwfl_lineinfo (line, &addr, &lineno, &linecol, 471 comp_dir = dwfl_line_comp_dir (line);
|
findtextrel.c | 500 Dwarf_Line *line; local 507 && (line = dwarf_getsrc_die (die, addr)) != NULL 508 && (src = dwarf_linesrc (line, NULL, NULL)) != NULL)
|
/external/emma/core/java12/com/vladium/emma/data/ |
MethodDescriptor.java | 53 // line metadata is available: blockMap must not be null or empty 123 public IntObjectMap /* line no->int[](blockIDs) */ getLineMap () 130 // construct reverse line->block ID mapping: 144 final int line = lines [l]; local 145 IntSet blockIDs = (IntSet) lineMap.get (line); 150 lineMap.put (line, blockIDs); 161 final int line = lines [l]; local 162 final int [] blockIDs = ((IntSet) lineMap.get (line)).values (); 163 if ($assert.ENABLED) $assert.ASSERT (blockIDs != null && blockIDs.length > 0, "wrong line mapping for line #" + line) [all...] |
/external/freetype/src/base/ |
ftbitmap.c | 153 FT_Byte* line = bitmap->buffer + ( bit_last >> 3 ); local 160 for ( ; count > 0; count--, line += pitch, end += pitch ) 162 FT_Byte* write = line; 516 FT_Int val = ss[0]; /* avoid a byte->int cast on each line */
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/ |
PEMDecoder.java | 130 String line = null; local 138 line = br.readLine(); 140 if (line == null) 143 line = line.trim(); 145 if (line.startsWith("-----BEGIN DSA PRIVATE KEY-----")) 152 if (line.startsWith("-----BEGIN RSA PRIVATE KEY-----")) 162 line = br.readLine(); 164 if (line == null) 167 line = line.trim() [all...] |