/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/ |
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 82 const SkDLine& line = oneOffs[index].line; local 109 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 100 SkDLine line = {{{x - h, y - v}, {x, y}}}; local [all...] |
/external/srec/srec/Nametag/src/ |
NametagsImpl.c | 77 LCHAR line[256]; local 126 result = pfgets ( line, 256, file ); 129 if (LSTRLEN(line) == 255) 135 lstrtrim(line); 138 id = line;
|
/external/stlport/test/eh/ |
main.cpp | 84 char line[20]; local 85 std::sprintf( line, "%d", lineno ); 86 std::strncat( msg, line, 255 ); 126 EFFECTS: Prints a message describing the command-line parameters 161 #if defined( __MWERKS__ ) && defined( macintosh ) // Get command line.
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
psy_main.c | 259 Word16 line; /* counts through lines */ local 297 for(line=0; line<FRAME_LEN_LONG; line++) { 319 for (line=hPsyConfLong->sfbOffset[sfb+1] - 1; line>=hPsyConfLong->sfbOffset[sfb]; line--) { 321 if (psyData[ch].mdctSpectrum[line] != 0) break; 323 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/cmds/media/src/com/android/commands/media/ |
Media.java | 45 * Command-line entry point. 47 * @param args The command-line arguments 193 String line; local 195 while ((line = in.readLine()) != null) { 197 if (line.length() <= 0) { 199 } else if ("q".equals(line) || "quit".equals(line)) { 202 System.out.println("Invalid command: " + line);
|
/frameworks/base/core/java/android/text/method/ |
BaseKeyListener.java | 44 * the line the cursor is on. 56 * the line the cursor is on. 77 // Alt+Backspace or Alt+ForwardDelete deletes the current line, if possible. 119 final int line = layout.getLineForOffset(Selection.getSelectionStart(content)); local 120 final int start = layout.getLineStart(line); 121 final int end = layout.getLineEnd(line);
|
/hardware/ti/omap4xxx/domx/mm_osal/inc/ |
timm_osal_trace.h | 101 const int line; member in struct:__anon35644
|
/hardware/ti/wlan/mac80211/ti-utils/ |
ini.c | 30 static char *ini_get_line(char *s, int size, FILE *stream, int *line, 39 /* Skip white space from the beginning of line. */ 78 (*line)++; 93 static int split_line(char *line, char **name, char **value) 95 char *pos = line; 99 fprintf(stderr, "Wrong format of line\n"); 1050 int line = 0; local 1053 while (ini_get_line(buf, sizeof(buf), f, &line, &pos)) { 1085 int ret = 0, line = 0; local 1102 while (ini_get_line(buf, sizeof(buf), f, &line, &pos)) [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...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
term_entry.h | 60 long line; member in struct:entry::__anon40728
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
term_entry.h | 60 long line; member in struct:entry::__anon42394
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
term_entry.h | 60 long line; member in struct:entry::__anon43906
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/ |
Text_Suite.py | 36 class line(aetools.ComponentItem): class in inherits:aetools.ComponentItem 37 """line - A line of text """ 44 lines = line 121 line._superclassnames = ['text'] 122 line._privpropdict = { 126 line._privelemdict = { 146 'line' : line, 196 'clin' : line, [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
XmlErrorHandler.java | 113 * Handles a parsing error and an optional line number. 157 // get the line number 158 int line = locator.getLineNumber(); local 162 AdtConstants.MARKER_ANDROID, result, line, IMarker.SEVERITY_ERROR);
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
WindowsLoader.java | 53 String line; local 54 while ((line = in.readLine()) != null) { 55 if ("DONE.".equalsIgnoreCase(line)) { 59 int index = line.indexOf(' '); 61 String windowId = line.substring(0, index); 70 Window w = new Window(line.substring(index + 1), id);
|
/system/core/libcorkscrew/ |
map_info.c | 38 static map_info_t* parse_vmmap_line(const char* line) { 43 if (sscanf(line, "%*21c %lx-%lx [%*13c] %3c/%*3c SM=%*3c %n", 48 const char* name = line + name_pos; 77 char line[1024]; local 79 while (fgets(line, sizeof(line), fp) != NULL) { 80 map_info_t* mi = parse_vmmap_line(line); 96 static map_info_t* parse_maps_line(const char* line) 102 if (sscanf(line, "%lx-%lx %4s %*x %*x:%*x %*d%n", &start, &end, 107 while (isspace(line[name_pos])) 136 char line[1024]; local [all...] |
/system/core/toolbox/ |
cat.c | 55 int ch, gobble, line, prev; local 58 line = gobble = 0; 71 "%6d\t", ++line) < 0) { 84 if (fprintf(stdout, "%6d\t", ++line) < 0) {
|
/system/extras/libpagemap/ |
pm_process.c | 233 char line[MAX_LINE], name[MAX_LINE], perms[MAX_PERMS]; local 255 while (fgets(line, MAX_LINE, maps_f)) { 273 sscanf(line, "%lx-%lx %s %lx %*s %*d %" S(MAX_LINE) "s",
|
/frameworks/base/core/java/android/text/ |
BoringLayout.java | 27 * fits on a single line and is all left-to-right characters. 211 TextLine line = TextLine.obtain(); local 212 line.set(paint, source, 0, source.length(), Layout.DIR_LEFT_TO_RIGHT, 214 mMax = (int) FloatMath.ceil(line.metrics(null)); 215 TextLine.recycle(line); 305 TextLine line = TextLine.obtain(); local 306 line.set(paint, text, 0, length, Layout.DIR_LEFT_TO_RIGHT, 308 fm.width = (int) FloatMath.ceil(line.metrics(fm)); 309 TextLine.recycle(line); 328 public int getLineTop(int line) { [all...] |