/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
H A D | Headers.java | 32 * <p>This class tracks header values line-by-line. A field with multiple comma- 33 * separated values on the same line will be treated as a field with a single 142 /** Add an header line containing a field name, a literal colon, and a value. */ 143 public Builder addLine(String line) { argument 144 int index = line.indexOf(":", 1); 146 return addLenient(line.substring(0, index), line.substring(index + 1)); 147 } else if (line.startsWith(":")) { 150 return addLenient("", line [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
H A D | DiskLruCache.java | 118 * the application's version, the value count, and a blank line. 121 * cache entry. Each line contains space-separated values: a state, a key, 128 * and may be read. A publish line is followed by the lengths of each of 275 private void readJournalLine(String line) throws IOException { argument 276 int firstSpace = line.indexOf(' '); 278 throw new IOException("unexpected journal line: " + line); 282 int secondSpace = line.indexOf(' ', keyBegin); 285 key = line.substring(keyBegin); 286 if (firstSpace == REMOVE.length() && line [all...] |
/external/nist-sip/java/gov/nist/core/ |
H A D | StringTokenizer.java | 166 String line = getLine(); 167 result.addElement(line); 187 /** get the SDP field name of the line 190 public static String getSDPFieldName(String line) { argument 191 if (line == null) 195 int begin = line.indexOf("="); 196 fieldName = line.substring(0, begin);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | Lexer.java | 48 * get the header name of the line 53 public static String getHeaderName(String line) { argument 54 if (line == null) 58 int begin = line.indexOf(":"); 61 headerName = line.substring(0, begin).trim(); 74 * get the header value of the line 78 public static String getHeaderValue(String line) { argument 79 if (line == null) 83 int begin = line.indexOf(":"); 84 headerValue = line [all...] |
H A D | ParserFactory.java | 284 public static HeaderParser createParser(String line) argument 286 String headerName = Lexer.getHeaderName(line); 287 String headerValue = Lexer.getHeaderValue(line); 300 args[0] = line; 312 return new HeaderParser(line); 351 * CVS: then name the system in this line, otherwise delete it. 355 * CVS: address here. If this is your work then delete this line. 359 * CVS: If you have not had it reviewed then delete this line. 381 * CVS: then name the system in this line, otherwise delete it. 385 * CVS: address here. If this is your work then delete this line [all...] |
H A D | StringMsgParser.java | 145 // Iterate thru the request/status line and headers. 154 // Find the length of the line. 175 // Last header line, process the previous buffered header. 190 // This is a continuation, append it to the previous line. 260 // Iterate thru the request/status line and headers. 269 // Find the length of the line. 287 // Last header line, process the previous buffered header. 301 // This is a continuation, append it to the previous line. 340 private String trimEndOfLine(String line) { argument 341 if (line [all...] |
/external/mesa3d/src/mesa/program/ |
H A D | nvfragparse.c | 167 GLint line, column; local 170 parseState->pos, &line, &column); 172 "nvfragparse.c(%d): line %d, column %d:%s (%s)\n", 173 lineNo, line, column, (char *) lineStr, msg);
|
H A D | nvvertparse.c | 79 GLint line, column; local 82 parseState->pos, &line, &column); 84 "nvfragparse.c(%d): line %d, column %d:%s (%s)\n", 85 lineNo, line, column, (char *) lineStr, msg);
|
H A D | program.c | 218 * Find the line number and column for 'pos' within 'string'. 219 * Return a copy of the line which contains 'pos'. Free the line with 223 * \param line returns the line number corresponding to 'pos'. 225 * \return copy of the line containing 'pos'. 229 GLint *line, GLint *col) 236 *line = 1; 240 (*line)++; 248 /* return copy of this line */ 228 _mesa_find_line_column(const GLubyte *string, const GLubyte *pos, GLint *line, GLint *col) argument [all...] |
/external/mesa3d/src/mesa/swrast/ |
H A D | s_aaline.c | 40 * Info about the AA line we're rendering 48 GLfloat halfWidth; /* half of line width */ 49 GLfloat xAdj, yAdj; /* X and Y adjustment for quad corners around line */ 77 * Compute the equation of a plane used to interpolate line fragment data 79 * Input: (x0, y0) and (x1,y1) are the endpoints of the line. 84 * We take the endpoints of the line and compute a plane such that 85 * the cross product of the line vector and the plane normal is 326 typedef void (*plot_func)(struct gl_context *ctx, struct LineInfo *line, 332 * Draw an AA line segment (called many times per line whe 335 segment(struct gl_context *ctx, struct LineInfo *line, plot_func plot, GLfloat t0, GLfloat t1) argument [all...] |
H A D | 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) argument 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 106 NAME(line)(struct gl_context *ctx, const SWvertex *v0, const SWvertex *v1) function 114 struct LineInfo line; local [all...] |
/external/mesa3d/src/mesa/tnl_dd/ |
H A D | t_dd_triemit.h | 113 static __inline void TAG(line)( CTX_ARG, function
|
H A D | t_dd_tritmp.h | 601 static void TAG(line)( struct gl_context *ctx, GLuint e0, GLuint e1 ) function 666 TAB[IND].line = TAG(line);
|
/external/mksh/src/ |
H A D | histrap.c | 165 char *pat = NULL, *rep = NULL, *line; local 193 strdupx(line, *hp, ATEMP); 224 line = Xclose(xs, xp); 226 return (hist_execute(line)); 279 hist_source->line - (int)(histptr - hp)); 281 /* print multi-line commands correctly */ 376 if (histptr >= history && last_line != hist_source->line) { 377 hist_source->line--; 380 last_line = hist_source->line; 391 histsave(&hist_source->line, [all...] |
H A D | main.c | 416 /* this to note if monitor is set on command line (see below) */ 420 /* this to note if utf-8 mode is set on command line (see below) */ 565 /* not set on command line, not FTALKING */ 717 /* spawn a command into a shell optionally keeping track of the line number */ 719 command(const char *comm, int line) argument 725 s->line = line; 1285 source->errline > 0 ? source->errline : source->line);
|
H A D | sh.h | 782 #define OF_CMDLINE 0x01 /* command line */ 1001 /* input line size */ 1004 * Minimum required space to work with on a line - if the prompt leaves 1005 * less space than this on a line, the prompt is truncated. 1009 * Minimum allowed value for x_cols: 2 for prompt, 3 for " < " at end of line 1502 int line; /* line number */ member in struct:source 1503 int errline; /* line the error occurred on (0 if not set) */ 1584 #define HERES 10 /* max number of << in line */
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
H A D | Label.java | 124 * The line number corresponding to this label, if known.
126 int line;
field in class:Label
|
H A D | MethodAdapter.java | 184 public void visitLineNumber(final int line, final Label start) {
argument 185 mv.visitLineNumber(line, start);
|
H A D | MethodVisitor.java | 369 * Visits a line number declaration.
371 * @param line a line number. This number refers to the source file from
373 * @param start the first instruction corresponding to this line number.
378 void visitLineNumber(int line, Label start);
argument
|
H A D | MethodWriter.java | 1196 public void visitLineNumber(final int line, final Label start) {
argument 1202 lineNumber.putShort(line);
2444 // local var and line number tables
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/ |
H A D | LineNumberNode.java | 37 * A node that represents a line number declaration. These nodes are pseudo
45 * A line number. This number refers to the source file from which the class
48 public int line;
field in class:LineNumberNode 51 * The first instruction corresponding to this line number.
58 * @param line a line number. This number refers to the source file from
60 * @param start the first instruction corresponding to this line number.
62 public LineNumberNode(final int line, final LabelNode start) {
argument 64 this.line = line;
[all...] |
H A D | MethodNode.java | 349 public void visitLineNumber(final int line, final Label start) {
argument 350 instructions.add(new LineNumberNode(line, getLabelNode(start)));
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/ |
H A D | ASMifierMethodVisitor.java | 354 public void visitLineNumber(final int line, final Label start) {
argument 356 buf.append("mv.visitLineNumber(").append(line).append(", ");
|
H A D | CheckMethodAdapter.java | 627 public void visitLineNumber(final int line, final Label start) {
argument 630 checkUnsignedShort(line, "Invalid line number");
632 mv.visitLineNumber(line, start);
|
H A D | TraceMethodVisitor.java | 473 public void visitLineNumber(final int line, final Label start) {
argument 475 buf.append(tab2).append("LINENUMBER ").append(line).append(' ');
481 mv.visitLineNumber(line, start);
|