/external/marisa-trie/v0_1_5/tools/ |
marisa_alpha-build.cc | 42 std::string line; local 43 while (std::getline(*input, line)) { 44 const std::string::size_type delim_pos = line.find_last_of('\t'); 45 if (delim_pos != line.npos) { 47 key.second = std::strtod(&line[delim_pos + 1], &end_of_value); 49 line.resize(delim_pos); 56 key.first = line; 82 std::cerr << ex.filename() << ':' << ex.line() << ": " << ex.what() 96 std::cerr << ex.filename() << ':' << ex.line() << ": " << ex.what() 105 std::cerr << ex.filename() << ':' << ex.line() << ": " << ex.what( [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_unfilled.c | 29 * \brief Drawing stage for handling glPolygonMode(line/point). 68 static void line( struct draw_stage *stage, function 75 stage->next->line( stage->next, &tmp ); 102 if ((header->flags & DRAW_PIPE_EDGE_FLAG_2) && v2->edgeflag) line( stage, v2, v0 ); 103 if ((header->flags & DRAW_PIPE_EDGE_FLAG_0) && v0->edgeflag) line( stage, v0, v1 ); 104 if ((header->flags & DRAW_PIPE_EDGE_FLAG_1) && v1->edgeflag) line( stage, v1, v2 ); 210 unfilled->stage.line = draw_pipe_passthrough_line;
|
/external/mesa3d/src/gallium/auxiliary/indices/ |
u_unfilled_gen.py | 101 def line( intype, outtype, ptr, v0, v1 ): function 107 # and only emitting each line at most once. 110 line( intype, outtype, ptr, v0, v1 ) 111 line( intype, outtype, ptr + '+2', v1, v2 ) 112 line( intype, outtype, ptr + '+4', v2, v0 ) 115 line( intype, outtype, ptr, v0, v1 ) 116 line( intype, outtype, ptr + '+2', v1, v2 ) 117 line( intype, outtype, ptr + '+4', v2, v3 ) 118 line( intype, outtype, ptr + '+6', v3, v0 ) 171 line( intype, outtype, 'out+j', 'i', '(i+1)%(nr/2)' [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_aalinetemp.h | 27 * Antialiased line template. 32 * Function to render each fragment in the AA line. 37 NAME(plot)(struct gl_context *ctx, struct LineInfo *line, int ix, int iy) 42 const GLfloat coverage = compute_coveragef(line, ix, iy); 43 const GLuint i = line->span.end; 50 line->span.end++; 51 line->span.array->coverage[i] = coverage; 52 line->span.array->x[i] = ix; 53 line->span.array->y[i] = iy; 60 line->span.array->z[i] = (GLuint) solve_plane(fx, fy, line->zPlane) 106 NAME(line)(struct gl_context *ctx, const SWvertex *v0, const SWvertex *v1) function 114 struct LineInfo line; local [all...] |
/external/openssh/ |
hostfile.h | 28 u_long line; member in struct:hostkey_entry
|
loginrec.h | 68 char line[LINFO_LINESIZE]; /* tty/pty name */ member in struct:logininfo 90 const char *hostname, const char *line); 95 const char *hostname, const char *line); 124 /* produce various forms of the line filename */
|
/external/oprofile/daemon/liblegacy/ |
opd_parse_proc.c | 31 * @param line 0-terminated ASCII string 34 * Attempt to parse the string @line for map information 43 static int opd_add_ascii_map(struct opd_proc * proc, char const * line, 48 char const * cp = line; 59 if (sscanf(line, "%lx-%lx", &start, &end) != 2) 96 char * line; local 120 line = op_get_line(fp); 121 if (!line) 124 opd_add_ascii_map(proc, line, image_name); 125 free(line); 168 char * line; local [all...] |
/external/oprofile/libpopt/ |
poptparse.c | 126 * 2== line to long 131 char line[999]; local 138 size_t maxlinelen = sizeof(line); 155 while (fgets(line, (int)maxlinelen, fp) != NULL) { 157 p = line; 165 return POPT_ERROR_OVERFLOW; /* XXX line too long */ 167 if (*p == '\0' || *p == '\n') continue; /* line is empty */ 168 if (*p == '#') continue; /* comment line */ 181 /* single command line option (ie, no name=val, just name) */ 194 continue; /* XXX for now, silently ignore bogus line */ [all...] |
/external/pixman/pixman/ |
pixman-edge-imp.h | 34 uint32_t *line; local 39 line = buf + pixman_fixed_to_int (y) * stride; 53 * when the sample point lies exactly on the line, we round towards 108 uint32_t *a = line; 131 DEFINE_ALPHA(line,lxi); 177 line += stride;
|
/external/qemu/android/tools/ |
gen-hw-config.py | 98 for line in open(sourceFile): 99 line = line.strip() variable 101 if len(line) == 0 or line[0] in ";#": 103 key, value = line.split('=')
|
/external/qemu/android/utils/ |
lineinput.c | 18 char* line; member in struct:LineInput 31 /* Error codes returned by the internal line reading function(s) */ 44 input->line = input->line0; 60 /* Grow the line buffer a bit */ 64 char* line; local 67 line = input->line; 68 if (line == input->line0) 69 line = NULL; 71 AARRAY_RENEW(line, input->line_size) [all...] |
system.c | 144 char* line = *pline; local 145 char* p = line; 169 return line;
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11image.c | 155 char line[BUFSIZ]; local 158 while ( fgets(line, sizeof(line), pstat) ) { 159 if (SDL_memcmp(line, "cpu", 3) == 0 && line[3] != ' ') {
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testbitmap.c | 21 Uint8 *line; local 32 line = (Uint8 *)bitmap->pixels; 35 memcpy(line, bits, w); 38 for ( buf=line, i=0; i<w; ++i, ++buf ) { 47 line += bitmap->pitch;
|
/external/qemu/proxy/ |
proxy_http_connector.c | 127 PROXY_LOG("%s: header sent, receiving first answer line", root->name); 137 const char* line = root->str->s; local 139 if ( sscanf(line, "HTTP/%d.%d %d", &http1, &http2, &codenum) != 3 ) { 141 root->name, line ); 153 PROXY_LOG("%s: receiving second answer line", root->name);
|
/external/skia/src/core/ |
SkUtilsArm.cpp | 135 // Now, find a line that starts with "Features", i.e. look for 140 char* line = (char*) memmem(buffer, buffer_end - buffer, local 142 if (line == NULL) { // Weird, no Features line, bad kernel? 143 SkDebugf("Could not find a line starting with 'Features'" 148 line += features_len; // Skip the "\nFeatures\t" prefix 150 // Find the end of the current line 151 char* line_end = (char*) memchr(line, '\n', buffer_end - line); 160 const char* flag = (const char*) memmem(line, line_end - line [all...] |
/external/skia/tests/ |
PathOpsCubicLineIntersectionTest.cpp | 16 SkDLine line; member in struct:lineCubic 48 const SkDLine& line = lineCubicTests[iIndex].line; local 49 SkASSERT(ValidLine(line)); 53 int order2 = reduce2.reduce(line); 59 SkDebugf("[%d] line order=%d\n", iIndex, order2); 64 int roots = i.intersect(cubic, line); 69 SkDPoint xy2 = line.ptAtT(tt2); 91 const SkDLine& line = lineCubicTests[iIndex].line; local [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
CustomInlineMethodResolver.java | 59 String line = br.readLine(); local 61 while (line != null) { 62 if (line.length() > 0) { 63 lines.add(line); 66 line = br.readLine();
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
symbol-table.cpp | 29 // Maximum line length in textual symbols file. 46 char line[kLineLen]; local 47 while (strm.getline(line, kLineLen)) { 50 SplitToVector(line, "\n\t ", &col, true); 51 if (col.size() == 0) // empty line 55 << "file = " << filename << ", line = " << nline; 65 << "file = " << filename << ", line = " << nline; 148 char line[kLineLen]; local 149 snprintf(line, kLineLen, "%s\t%lld\n", symbols_[i], Find(symbols_[i])); 150 strm.write(line, strlen(line)) [all...] |
/external/tremolo/Tremolo/ |
misc.c | 56 long line; member in struct:__anon26919 64 static void *_insert(void *ptr,long bytes,char *file,long line){ 66 ((head *)ptr)->line=line; 123 fprintf(out,"%ld, %ld # FILE %s LINE %ld\n", 125 file_bytes[i],file,line); 188 fprintf(stderr,"\t%s %ld\n",((head *)ptr)->file,((head *)ptr)->line); 204 ptr->file,ptr->line); 209 extern void *_VDBG_malloc(void *ptr,long bytes,char *file,long line){ 219 return _insert(ptr,bytes,file,line); [all...] |
/external/v8/test/mjsunit/ |
debug-sourceinfo.js | 29 // For this test to work this file MUST have CR LF line endings.
68 // This is the last line of entire file (note: starting at 0).
70 // This is the last column of last line (note: starting at 0 and +2, due
74 // This magic number is the length or the first line comment (actually number
82 // The position of the first line of d(), i.e. "x = 1 ;".
84 // The line # of the first line of d() (note: starting at 0).
102 // Test that when running through source positions the position, line and
105 var line;
variable 111 if (line == location.line) { [all...] |
/external/webrtc/src/system_wrappers/source/ |
cpu_linux.cc | 119 char line[100]; local 120 if (fgets(line, 100, fp) == NULL) { 125 if (sscanf(line, "%s ", firstWord) != 1) { 137 if (sscanf(line, "%s %s %s %s %s ", 151 if (fgets(line, 100, fp) == NULL) { 155 if (sscanf(line, "%s %s %s %s %s ", firstWord, sUser, sNice, sSystem, 178 // Skip first line 179 char line[100]; local 180 if (!fgets(line, 100, fp)) 190 if (fgets(line, 100, fp) [all...] |
/frameworks/base/core/java/android/text/method/ |
ScrollingMovementMethod.java | 104 int line = layout.getLineCount() - 1; local 107 layout.getLineTop(line+1) -
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
accessorychat.c | 60 char *line = fgets(buffer, sizeof(buffer), stdin); local 61 if (!line || !sDevice) 63 ret = usb_device_bulk_transfer(sDevice, endpoint, line, strlen(line), 1000);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
PatternScanner.java | 110 String line = mInput.substring(mStartOfLine, mOffset); local 111 return "Unexpected token on line " + (mLineNo + 1) + " after '" + line + "' <- Expected " +
|