/external/chromium_org/chrome/tools/convert_dict/ |
H A D | hunspell_reader.cc | 15 // Shortcut for trimming whitespace from both ends of the line. 16 void TrimLine(std::string* line) { argument 17 if (line->size() > 3 && 18 static_cast<unsigned char>((*line)[0]) == 0xef && 19 static_cast<unsigned char>((*line)[1]) == 0xbb && 20 static_cast<unsigned char>((*line)[2]) == 0xbf) 21 *line = line->substr(3); 26 base::TrimWhitespace(*line, base::TRIM_ALL, line); 30 const char* line = fgets(line_buffer, kLineBufferLen - 1, file); local 39 StripComment(std::string* line) argument [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/ |
H A D | testharness_results.py | 20 lines = [line.strip() for line in lines] 25 for line in lines: 26 if line == TESTHARNESSREPORT_HEADER: 28 elif line == TESTHARNESSREPORT_FOOTER: 44 lines = [line.strip() for line in lines] 47 for line in lines: 49 if len(line) == 0: 53 if line [all...] |
/external/lldb/test/functionalities/command_script/import/ |
H A D | main.c | 4 printf("Hello world.\n"); // Set break point at this line. 9 char line[100]; local 10 while (fgets(line, sizeof(line), stdin)) { // Waiting to be attached... 11 printf("input line=>%s\n", line);
|
/external/lldb/test/python_api/hello_world/ |
H A D | main.c | 4 printf("Hello world.\n"); // Set break point at this line. 9 char line[100]; local 10 while (fgets(line, sizeof(line), stdin)) { // Waiting to be attached... 11 printf("input line=>%s\n", line);
|
/external/chromium_org/tools/deep_memory_profiler/visualizer/static/ |
H A D | graph-view_unittest.js | 6 * Test whether given line is valid. 7 * @param {Object} line 8 * @param {number} length Length of line data. 11 var lineIsValid = function(line, length) { 12 if (!('id' in line)) 14 if (!('label' in line)) 16 if (!('data' in line) || 17 'data' in line && line.data.length !== length) 32 lines.forEach(function(line) { [all...] |
/external/doclava/src/com/google/doclava/apicheck/ |
H A D | ApiParseException.java | 21 public int line; field in class:ApiParseException 33 this.line = ((ApiParseException)cause).line; 37 public ApiParseException(String message, int line) { argument 39 this.line = line; 43 if (line > 0) { 44 return super.getMessage() + " line " + line;
|
/external/valgrind/main/drd/tests/ |
H A D | run_openmp_test | 30 while read line 32 if [ "${line%: no symbols}" != "${line}" ]; then 35 elif [ "${line% gomp_barrier_init}" != "${line}" ]; then
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/ |
H A D | echo_wsh.py | 43 line = request.ws_stream.receive_message() 44 if line is None: 46 if isinstance(line, unicode): 47 request.ws_stream.send_message(line, binary=False) 48 if line == _GOODBYE_MESSAGE: 51 request.ws_stream.send_message(line, binary=True)
|
/external/chromium_org/net/data/websocket/ |
H A D | echo-with-no-extension_wsh.py | 14 line = request.ws_stream.receive_message() 15 if line is None: 17 if isinstance(line, unicode): 18 request.ws_stream.send_message(line, binary=False) 19 if line == _GOODBYE_MESSAGE: 22 request.ws_stream.send_message(line, binary=True)
|
H A D | close_wsh.py | 14 line = request.ws_stream.receive_message() 15 if line is None: 17 if isinstance(line, unicode): 18 request.ws_stream.send_message(line, binary=False) 19 if line == _GOODBYE_MESSAGE: 22 request.ws_stream.send_message(line, binary=True)
|
/external/chromium_org/tools/valgrind/memcheck/ |
H A D | PRESUBMIT.py | 19 # - False: don't skip the next line. 20 # - 'skip_suppression_name': the next line is a suppression name, skip. 21 # - 'skip_param': the next line is a system call parameter error, skip. 25 for line, line_num in zip(f.NewContents(), 27 line = line.lstrip() 28 if line.startswith('#') or not line: 33 if 'insert_a_suppression_name_here' in line: 36 if suppressions.has_key(line) [all...] |
/external/elfutils/0.153/libdw/ |
H A D | dwarf_linesrc.c | 1 /* Find line information for address. 59 dwarf_linesrc (Dwarf_Line *line, Dwarf_Word *mtime, Dwarf_Word *length) argument 61 if (line == NULL) 64 if (line->file >= line->files->nfiles) 71 *mtime = line->files->info[line->file].mtime; 74 *length = line->files->info[line->file].length; 76 return line [all...] |
/external/valgrind/main/helgrind/tests/ |
H A D | filter_xml | 6 # The script works line-by-line and is generally unaware of XML structure 13 # TOOL_FILES or in the list of files given on the command line 15 # a line <frame>...</frame> will be inserted. 71 line: label 73 my $line = $_; 74 chomp($line); 79 if ($line =~ $ignore_sections{$tag}) { 82 next line; 87 if ($line [all...] |
/external/valgrind/main/tests/ |
H A D | filter_xml_frames | 18 my $has_source_info = 0; # <dir>, <file>, <line> 22 while (my $line = <>) 25 if ($line =~ /<frame>/) { 26 $frame = $line; 30 print $line; 36 $frame .= $line; 37 if ($line =~ /<\/frame>/) { 46 $has_source_info = 1 if ($line =~ /<(dir|file|line)>/); 47 $has_function_name = 1 if ($line [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
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/swrast/ |
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/chromium_org/third_party/sqlite/src/tool/ |
H A D | vdbe-compress.tcl | 31 # on the first line after the open curly-brace that begins a new opcode 49 set line [gets stdin] 50 if {[regexp {INSERT STACK UNION HERE} $line]} break 51 append beforeUnion $line\n 61 set line [gets stdin] 62 if {[regexp "^case (OP_\\w+): \173" $line all operator]} { 63 append afterUnion $line\n 66 set line [gets stdin] 67 if {[regexp {^ +(const )?\w+ \**(\w+)(\[.*\])?;} $line \ 79 append unionDef " $line\ [all...] |
H A D | mksqlite3h.tcl | 12 # on the command-line. 33 # Get the source tree root directory from the command-line 55 set line [gets $in] 56 if {[regexp {^D (2[-0-9T:]+)} $line all date]} { 74 set line [gets $in] 76 # File sqlite3rtree.h contains a line "#include <sqlite3.h>". Omit this 77 # line when copying sqlite3rtree.h into sqlite3.h. 79 if {[string match {*#include*<sqlite3.h>*} $line]} continue 81 regsub -- --VERS-- $line $zVersion line [all...] |
/external/clang/test/CodeGen/ |
H A D | compound-assign-overflow.c | 16 #line 100 23 #line 200 32 #line 300
|
/external/elfutils/0.153/libdwfl/ |
H A D | dwfl_linecu.c | 1 /* Fetch the module containing a source line record returned by libdwfl. 55 dwfl_linecu (Dwfl_Line *line) argument 57 if (line == NULL) 60 struct dwfl_cu *cu = dwfl_linecu_inline (line);
|
/external/lldb/test/python_api/process/io/ |
H A D | main.c | 5 char line[100]; local 7 while (fgets(line, sizeof(line), stdin)) { // Reading from stdin... 8 fprintf(stderr, "input line=>%d\n", count++);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/ |
H A D | diff_parser.py | 51 def git_diff_to_svn_diff(line): 52 """Converts a git formatted diff line to a svn formatted line. 55 line: A string representing a line of the diff. 66 matched = match(pattern, line) 69 return line 73 def svn_diff_to_svn_diff(line): 74 return line 83 If this line i [all...] |
/external/chromium_org/native_client_sdk/src/tools/ |
H A D | fix_deps.py | 26 def ParseLine(line, new_target): 27 """Parse one line of a GCC-generated deps file. 29 Each line contains an optional target and then a list 35 if new_target and ':' in line: 36 line = line.split(':', 1)[1] 38 line = line.strip() 39 line = line [all...] |
/external/chromium_org/third_party/libyuv/tools/valgrind-libyuv/memcheck/ |
H A D | PRESUBMIT.py | 35 # - False: don't skip the next line. 36 # - 'skip_suppression_name': the next line is a suppression name, skip. 37 # - 'skip_param': the next line is a system call parameter error, skip. 41 for line, line_num in zip(f.NewContents(), 43 line = line.lstrip() 44 if line.startswith('#') or not line: 49 if 'insert_a_suppression_name_here' in line: 52 if suppressions.has_key(line) [all...] |
/external/clang/test/ |
H A D | make_test_dirs.pl | 9 while ($line = <STDIN>) { 10 $line =~ /^\s*/; 12 if ($line =~ /\[([^\]]*)\]/) {
|