HomeSort by relevance Sort by last modified time
    Searched defs:line (Results 376 - 400 of 2369) sorted by null

<<11121314151617181920>>

  /external/skia/src/utils/
SkRTConf.cpp 19 char line[1024]; local
23 if (!sk_fgets(line, sizeof(line), fp)) {
27 char *commentptr = strchr(line, '#');
28 if (commentptr == line) {
37 char *keyptr = strtok(line, sep);
  /external/skia/tests/
PathOpsConicLineIntersectionTest.cpp 17 SkDLine line; member in struct:lineConic
31 static int doIntersect(SkIntersections& intersections, const SkDConic& conic, const SkDLine& line,
35 if (line[0].fX == line[1].fX) {
36 double top = line[0].fY;
37 double bottom = line[1].fY;
42 result = intersections.vertical(conic, top, bottom, line[0].fX, flipped);
43 } else if (line[0].fY == line[1].fY) {
44 double left = line[0].fX
60 SkDLine line; member in struct:oneLineConic
73 const SkDLine& line = oneOffs[index].line; local
100 const SkDLine& line = lineConicTests[index].line; local
    [all...]
PathOpsCubicLineIntersectionTest.cpp 16 SkDLine line; member in struct:lineCubic
30 const SkDLine& line = failLineCubicTests[iIndex].line; local
31 SkASSERT(ValidLine(line));
35 int order2 = reduce2.reduce(line);
41 SkDebugf("[%d] line order=%d\n", iIndex, order2);
46 int roots = i.intersect(cubic, line);
99 static int doIntersect(SkIntersections& intersections, const SkDCubic& cubic, const SkDLine& line) {
102 if (line[0].fX == line[1].fX)
128 const SkDLine& line = lineCubicTests[iIndex].line; local
194 const SkDLine& line = lineCubicTests[iIndex].line; local
    [all...]
PathOpsQuadLineIntersectionTest.cpp 17 SkDLine line; member in struct:lineQuad
21 // quad line results
31 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line,
35 if (line[0].fX == line[1].fX) {
36 double top = line[0].fY;
37 double bottom = line[1].fY;
42 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped);
43 } else if (line[0].fY == line[1].fY)
60 SkDLine line; member in struct:oneLineQuad
84 const SkDLine& line = oneOffs[index].line; local
111 const SkDLine& line = lineQuadTests[index].line; local
    [all...]
PathOpsQuadLineIntersectionThreadedTest.cpp 14 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line,
18 if (line[0].fX == line[1].fX) {
19 double top = line[0].fY;
20 double bottom = line[1].fY;
25 result = intersections.vertical(quad, top, bottom, line[0].fX, flipped);
26 } else if (line[0].fY == line[1].fY) {
27 double left = line[0].fX;
28 double right = line[1].fX
99 SkDLine line = {{{x - h, y - v}, {x, y}}}; local
    [all...]
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/
InplaceFileConverter.java 39 import org.slf4j.migrator.line.LineConverter;
40 import org.slf4j.migrator.line.RuleSet;
51 lineTerminator = System.getProperty("line.separator");
93 String line = breader.readLine(); local
94 if (line != null) {
95 String[] replacement = lineConverter.getReplacement(line);
  /external/squashfs-tools/squashfs-tools/
sort.c 222 char *line, *name; local
231 while(fgets(line = line_buffer, MAX_LINE + 1, fd) != NULL) {
232 int len = strlen(line);
234 if(len == MAX_LINE && line[len - 1] != '\n') {
235 /* line too large */
236 ERROR("Line too long when reading "
243 * Remove '\n' terminator if it exists (the last line
246 if(len && line[len - 1] == '\n')
247 line[len - 1] = '\0';
250 while(isspace(*line))
    [all...]
  /external/toybox/toys/pending/
mdev.c 26 Each line must contain three whitespace separated fields. The first
92 int line = 0; local
99 line++;
100 // find end of this line
125 // If not this device, skip rest of line
176 if (field && field!=3) error_exit("Bad line %d", line);
178 // Next line
sh.c 22 * TODO: // Handle embedded NUL bytes in the command line.
39 -c command line to execute
49 Exit shell. If no return value supplied on command line, use value
157 Support multiple commands on the same command line. This includes
202 char *cmdline; // Unparsed line for display purposes
206 // Parse one word from the command line, appending one or more argv[] entries
214 // Detect end of line (and truncate line at comment)
231 // Parse a line of text into a pipeline.
232 // Returns a pointer to the next line
331 struct pipeline line; local
    [all...]
  /external/toybox/toys/posix/
grep.c 28 -w whole word (implies -E) -x whole line
31 display modes: (default: matched line)
38 -h hide filename -n line number of match
79 char *line = 0, *start; local
86 if (0 > (len = getdelim(&line, &unused, indelim, file))) break;
87 if (line[len-1] == indelim) line[len-1] = 0;
89 start = line;
103 if ((i ? strcasecmp : strcmp)(seek->arg, line)) s = line;
    [all...]
  /external/vboot_reference/cgpt/
cgpt_find.c 225 char *line = NULL; local
226 while (getline(&line, &line_length, fp) != -1) {
230 if (sscanf(line, " %d %d %llu %127[^\n ]", &ma, &mi, &sz, partname) != 4)
244 free(line);
248 while (getline(&line, &line_length, fp) != -1) {
253 if (sscanf(line, "%64[^:]: %" PRIx64 " %x \"%127[^\"]\"",
282 free(line);
  /frameworks/av/media/libstagefright/codecs/aacenc/src/
psy_main.c 263 Word16 line; /* counts through lines */ local
301 for(line=0; line<FRAME_LEN_LONG; line++) {
323 for (line=hPsyConfLong->sfbOffset[sfb+1] - 1; line>=hPsyConfLong->sfbOffset[sfb]; line--) {
325 if (psyData[ch].mdctSpectrum[line] != 0) break;
327 if (line >= hPsyConfLong->sfbOffset[sfb]) break;
quantize.c 109 Word32 line; local
122 for (line=0; line<noOfLines; line++) {
126 mdctSpeL = mdctSpectrum[line];
165 quaSpectrum[line] = qua ;
170 for (line=0; line<noOfLines; line++) {
174 mdctSpeL = mdctSpectrum[line];
235 Word32 line; local
331 Word32 line; local
    [all...]
  /frameworks/av/media/libstagefright/foundation/
ParsedMessage.cpp 106 AString line(&data[offset], lineEndOffset - offset);
109 // Special handling for the request/status line.
111 mDict.add(AString("_"), line);
118 // An empty line separates headers from body.
124 if (line.c_str()[0] == ' ' || line.c_str()[0] == '\t') {
128 // Otherwise it's malformed since the first header line
132 value.append(line);
139 ssize_t colonPos = line.find(":");
141 AString key(line, 0, colonPos)
181 AString line; local
226 AString line; local
    [all...]
  /frameworks/av/media/libstagefright/rtsp/
ASessionDescription.cpp 65 AString line; local
67 // We accept both '\n' and '\r\n' line endings, if it's
69 line.setTo(desc, i, eolPos - i - 1);
71 line.setTo(desc, i, eolPos - i);
74 if (line.empty()) {
79 if (line.size() < 2 || line.c_str()[1] != '=') {
83 ALOGI("%s", line.c_str());
85 switch (line.c_str()[0]) {
88 if (strcmp(line.c_str(), "v=0"))
    [all...]
  /frameworks/base/core/java/android/text/method/
BaseKeyListener.java 46 * the line the cursor is on.
58 * the line the cursor is on.
92 // Alt+Backspace or Alt+ForwardDelete deletes the current line, if possible.
179 final int line = layout.getLineForOffset(Selection.getSelectionStart(content)); local
180 final int start = layout.getLineStart(line);
181 final int end = layout.getLineEnd(line);
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
WifiConnectionTest.java 95 String line; local
96 while ((line = reader.readLine()) != null) {
97 jsonBuffer.append(line);
  /frameworks/base/libs/usb/tests/accessorytest/
usb.c 69 char *line = fgets(buffer, sizeof(buffer), stdin); local
70 if (!line || !current_device)
72 ret = usb_device_bulk_transfer(current_device, write_ep, line, strlen(line), 1000);
  /hardware/broadcom/wlan/bcmdhd/wifi_hal/
cpp_bindings.cpp 487 char line[81]; local
490 appendFmt(line, offset, "%02x", data[i]);
492 appendFmt(line, offset, " %02x", data[i+j]);
496 appendFmt(line, offset, " ");
499 line[23] = '-';
501 appendFmt(line, offset, " ");
505 appendFmt(line, offset, "%c", data[i+j]);
507 appendFmt(line, offset, "-");
511 ALOGD("%s", line);
  /hardware/ti/omap4xxx/domx/mm_osal/inc/
timm_osal_trace.h 101 const int line; member in struct:__anon27678
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ConsoleTest.java 87 String line = console.readLine(); local
88 assertEquals("hello world", line);
92 String line = console.readLine("%d %s", 2, "Please input a line of string to test:"); local
93 assertEquals("hello world", line);
95 assertEquals("2 Please input a line of string to test:", prompt);
LineNumberReaderTest.java 56 assertEquals("Returned incorrect line number--expected 0, got ", 0, lnr
62 assertTrue("Returned incorrect line number--expected 2, got: "
71 String line; local
74 line = lnr.readLine();
76 assertTrue("Failed to return to marked position", line.equals(lnr
111 assertEquals("Returned incorrect line number", 0, lnr.getLineNumber());
112 String line = null; local
114 line = lnr.readLine();
116 assertEquals("Returned incorrect string", "1", line);
117 assertTrue("Returned incorrect line number :" + lnr.getLineNumber()
138 String line = null; local
    [all...]
  /libcore/luni/src/main/java/java/io/
BufferedReader.java 74 * readLine returns a line as soon as it sees '\n' or '\r'. In the latter
76 * the same line ending. Both readLine and all read methods are supposed
365 * Returns the next line of text available from this reader. A line is
370 * @return the contents of the line or {@code null} if no characters were
381 // Do we have a whole line in the buffer?
385 String line = new String(buf, pos, i - pos); local
388 return line;
392 // Accumulate buffers in a StringBuilder until we've read a whole line.
402 // Do we have a whole line in the buffer now
    [all...]
  /libcore/luni/src/main/java/java/util/
ServiceLoader.java 38 * Otherwise, each line contains the binary name of one implementation class.
225 String line; local
226 while ((line = reader.readLine()) != null) {
228 int commentStart = line.indexOf('#');
230 line = line.substring(0, commentStart);
232 line = line.trim();
234 if (line.isEmpty()) {
237 String className = line;
    [all...]
  /libcore/tzdata/update/src/main/libcore/tzdata/update/
FileUtils.java 190 String line; local
191 while ((line = fileReader.readLine()) != null) {
192 lines.add(line);

Completed in 231 milliseconds

<<11121314151617181920>>