/bionic/libc/tools/ |
genserv.py | 43 for line in f.xreadlines(): 44 if len(line) > 0 and line[-1] == "\n": 45 line = line[:-1] 46 if len(line) > 0 and line[-1] == "\r": 47 line = line[:-1] 49 line = string.strip(line [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
ATResponseParser.java | 26 private String line; field in class:ATResponseParser 33 ATResponseParser (String line) 35 this.line = line; 49 char c = line.charAt(tokStart); 67 char c = line.charAt(i); 86 return line.substring(tokStart, tokEnd); 92 return next < line.length(); 98 int len = line.length(); 111 char c = line.charAt(next++) [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
CharStream.as | 45 /** ANTLR tracks the line information automatically */ 46 function get line():int; 48 /** Because this stream can rewind, we need to be able to reset the line */ 49 function set line(line:int):void; 53 /** The index of the character relative to the beginning of the line 0..n-1 */
|
CharStreamState.as | 32 * line, etc...) so that we can rewind the state after scanning ahead. 40 /** What line number is the scanner at before processing buffer[p]? */ 41 public var line:int; variable 43 /** What char position 0..n-1 in line is scanner before processing buffer[p]? */
|
/external/clang/test/ |
make_test_dirs.pl | 9 while ($line = <STDIN>) { 10 $line =~ /^\s*/; 12 if ($line =~ /\[([^\]]*)\]/) {
|
/external/compiler-rt/lib/ |
int_util.c | 28 void compilerrt_abort_impl(const char *file, int line, const char *function) { 29 panic("%s:%d: abort in %s", file, line, function); 36 int line, const char * message) __attribute__((noreturn)); 40 void compilerrt_abort_impl(const char *file, int line, const char *function) { 41 __assert_rtn(function, file, line, "libcompiler_rt abort"); 52 void compilerrt_abort_impl(const char *file, int line, const char *function) {
|
eprintf.c | 27 const char* line, const char* file) 29 fprintf(stderr, format, assertion_expression, line, file);
|
/external/elfutils/libdw/ |
dwarf_getsrc_file.c | 1 /* Find line information for given file/line/column triple. 87 /* Get the line number information for this file. */ 93 /* Search through all the line number records for a matching 94 file and line/column number. If any of the numbers is zero, 100 Dwarf_Line *line = &lines->info[cnt]; local 102 if (lastfile != line->file) 104 lastfile = line->file; 105 if (lastfile >= line->files->nfiles) 112 const char *fname2 = line->files->info[lastfile].name [all...] |
/external/doclava/src/com/google/doclava/ |
SourcePositionInfo.java | 22 public SourcePositionInfo(String file, int line, int column) { 24 this.line = line; 30 this.line = that.line; 44 int line = that.line; local 49 line++; 53 return new SourcePositionInfo(that.file, line, 0); 60 int line = that.line - 1; // -1 because, well, it seems to wor local 101 public int line; field in class:SourcePositionInfo [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
SourcePosition.java | 24 * line number and original bytecode address. 41 * {@code >= -1;} the line number, or {@code -1} if that 44 private final int line; field in class:SourcePosition 53 * @param line {@code >= -1;} original line number or {@code -1} if 56 public SourcePosition(CstUtf8 sourceFile, int address, int line) { 61 if (line < -1) { 62 throw new IllegalArgumentException("line < -1"); 67 this.line = line; [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
SourcePosition.java | 24 * line number and original bytecode address. 41 * {@code >= -1;} the line number, or {@code -1} if that 44 private final int line; field in class:SourcePosition 53 * @param line {@code >= -1;} original line number or {@code -1} if 56 public SourcePosition(CstString sourceFile, int address, int line) { 61 if (line < -1) { 62 throw new IllegalArgumentException("line < -1"); 67 this.line = line; [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
SourcePosition.java | 24 * line number and original bytecode address. 41 * {@code >= -1;} the line number, or {@code -1} if that 44 private final int line; field in class:SourcePosition 53 * @param line {@code >= -1;} original line number or {@code -1} if 56 public SourcePosition(CstString sourceFile, int address, int line) { 61 if (line < -1) { 62 throw new IllegalArgumentException("line < -1"); 67 this.line = line; [all...] |
/external/webkit/Tools/Scripts/ |
split-file-by-class | 41 $filename =~ m/^(\w+)\.h$/ or die "Command line args must be .h files.\n"; 51 while (my $line = <OLDFILE>) { 53 $classDefs{$currentClassName} .= $line; 54 if ($line =~ /^$classIndent};\s*$/) { 58 if ($line =~ /^(\s*)class\s+(\w+)\s+[^;]*$/) { 61 $classDefs{$currentClassName} .= $line; 64 $fileContent .= $line; 96 foreach my $line (@lines) { 97 if ($line =~ /^###CLASS###(\w+)/) { 102 print NEWHEADER $line . "\n" [all...] |
/external/chromium/net/ftp/ |
ftp_ctrl_response_buffer.cc | 30 ParsedLine line = lines_.front(); local 34 if (!line.is_complete || line.status_code != response_buf_.status_code) { 35 line_buf_.append(line.raw_text); 41 line_buf_ = line.status_text; 42 DCHECK_EQ(line.status_code, response_buf_.status_code); 44 if (!line.is_multiline) { 54 if (!line.is_complete) 57 response_buf_.status_code = line.status_code; 58 if (line.is_multiline) [all...] |
/external/harfbuzz/contrib/tables/ |
mirroring-parse.py | 13 for line in infile: 14 line = line[:-1] 15 if len(line) == 0 or line[0] == '#': 17 if '#' in line: 18 (data, _) = line.split('#', 1) 20 data = line
|
/external/libffi/src/ |
debug.c | 41 void ffi_assert(char *expr, char *file, int line) 43 fprintf(stderr, "ASSERTION FAILURE: %s at %s:%d\n", expr, file, line); 50 void ffi_type_test(ffi_type *a, char *file, int line) 52 FFI_ASSERT_AT(a != NULL, file, line); 54 FFI_ASSERT_AT(a->type <= FFI_TYPE_LAST, file, line); 55 FFI_ASSERT_AT(a->type == FFI_TYPE_VOID || a->size > 0, file, line); 56 FFI_ASSERT_AT(a->type == FFI_TYPE_VOID || a->alignment > 0, file, line); 57 FFI_ASSERT_AT(a->type != FFI_TYPE_STRUCT || a->elements != NULL, file, line);
|
/external/webkit/Source/WebKit/chromium/src/ |
WebCommon.cpp | 38 void failedAssertion(const char* file, int line, const char* function, const char* assertion) 40 WTFReportAssertionFailure(file, line, function, assertion);
|
/frameworks/compile/libbcc/runtime/lib/ |
eprintf.c | 27 const char* line, const char* file) 29 fprintf(stderr, format, assertion_expression, line, file);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/ |
LogCatStackTraceParser.java | 24 * and line where the exception occured. 27 /** Regex to match a stack trace line. E.g.: 38 * Identify if a input line matches the expected pattern 41 public boolean isValidExceptionTrace(String line) { 42 return EXCEPTION_LINE_PATTERN.matcher(line).find(); 47 * @param line line from the stack trace, must have been validated with 51 public String getMethodName(String line) { 52 Matcher m = EXCEPTION_LINE_PATTERN.matcher(line); 58 * Get source file name where exception was generated. Input line must be first validated wit [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
CharStreamState.cs | 39 * line, etc...) so that we can rewind the state after scanning ahead. 50 /** <summary>What line number is the scanner at before processing buffer[p]?</summary> */ 51 public int line; field in class:Antlr.Runtime.CharStreamState 53 /** <summary>What char position 0..n-1 in line is scanner before processing buffer[p]?</summary> */
|
/external/srec/srec/include/ |
errhndl.h | 32 int line,
|
/ndk/sources/host-tools/sed-4.2.1/build-aux/ |
link-warning.h | 13 # define GL_LINK_WARNING1(file, line, message) \ 14 GL_LINK_WARNING2 (file, line, message) /* macroexpand file and line */ 15 # define GL_LINK_WARNING2(file, line, message) \ 16 GL_LINK_WARNING3 (file ":" #line ": warning: " message)
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/util/ |
LineUtil.java | 23 * Reformats a line so that it fits in 78 characters max. 25 * When wrapping the second line and following, prefix the string with a number of 29 * @param line The line to reflow. Must be non-null. 30 * @return A new line to print as-is, that contains \n as needed. 32 public static String reflowLine(String line) { 35 // Most of time the line will fit in the given length and this will be a no-op 36 int n = line.length(); 37 int cr = line.indexOf('\n'); 39 return line; [all...] |
/external/qemu/ |
gen-charmap.py | 69 def match_char_or_hex(line): 70 m = re_char.match(line) 72 m = re_hex.match(line) 82 def process_line(line,result): 83 m = re_start.match(line) 85 print "bad bad line: " + line 88 line = m.group(2) 89 m = match_char_or_hex(line) 91 print "character expected in: " + line [all...] |
/external/elfutils/libdwfl/ |
dwfl_line_comp_dir.c | 1 /* Get information from a source line record returned by libdwfl. 54 dwfl_line_comp_dir (Dwfl_Line *line) 56 if (line == NULL) 59 struct dwfl_cu *cu = dwfl_linecu (line);
|