/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureStrokeTest.java | 59 * Test {@link GestureStroke#getPath()} when a line is provided. 69 * for a single line, where the given toPath bounds exceeds the expected path. 85 * Verifies method returns expected results for a single line, where the given toPath bounds 107 * Verifies method returns expected results for a single line. 110 GestureStroke line = mHelper.createLineGesture(); local 111 OrientedBoundingBox box = line.computeOrientedBoundingBox(); 120 * a simple straight line gesture 123 GestureStroke line = mHelper.createLineGesture(); local 124 mHelper.assertLineBoundingBox(line.boundingBox);
|
/external/chromium/net/tools/flip_server/ |
balsa_headers_token_utils.cc | 16 // Find where this line is stored 37 // Find the last line with that key. 45 // Tokenize just that line. 52 header_line->skip = true; // remove the whole line 54 header_line->skip = true; // remove the whole line 56 // Shrink the line size and leave the extra data in the buffer. 75 // Find the last line 83 // Tokenize just that line 99 // We may have more then 1 line with the same header key. Tokenize them all
|
/external/chromium_org/net/tools/flip_server/ |
balsa_headers_token_utils.cc | 16 // Find where this line is stored 37 // Find the last line with that key. 45 // Tokenize just that line. 52 header_line->skip = true; // remove the whole line 54 header_line->skip = true; // remove the whole line 56 // Shrink the line size and leave the extra data in the buffer. 75 // Find the last line 83 // Tokenize just that line 99 // We may have more then 1 line with the same header key. Tokenize them all
|
/external/chromium_org/sandbox/linux/seccomp-bpf/ |
die.cc | 45 void Die::SandboxDie(const char *msg, const char *file, int line) { 47 LogToStderr(msg, file, line); 50 Die::LogToStderr(msg, file, line); 52 logging::LogMessage(file, line, logging::LOG_FATAL).stream() << msg; 58 void Die::SandboxInfo(const char *msg, const char *file, int line) { 61 Die::LogToStderr(msg, file, line); 63 logging::LogMessage(file, line, logging::LOG_INFO).stream() << msg; 68 void Die::LogToStderr(const char *msg, const char *file, int line) { 71 snprintf(buf, sizeof(buf), "%d", line);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
DOMSyntaxHighlighter.js | 58 var line = lines[i]; 60 this._tokenizer.line = line; 67 var plainText = line.substring(plainTextStart, column); 70 var token = line.substring(column, newColumn); 75 } while (column < line.length) 77 if (plainTextStart < line.length) { 78 var plainText = line.substring(plainTextStart, line.length);
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
mkfts2amal.tcl | 40 # text of the file in-line. The file only needs to be included once. 76 set line [gets $in] 77 if {[regexp {^#\s*include\s+["<]([^">]+)[">]} $line all hdr]} { 86 puts $out $line 88 } elseif {[regexp {^#ifdef __cplusplus} $line]} { 90 } elseif {[regexp {^#line} $line]} { 91 # Skip #line directives. 93 puts $out $line
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
mkfts3amal.tcl | 40 # text of the file in-line. The file only needs to be included once. 76 set line [gets $in] 77 if {[regexp {^#\s*include\s+["<]([^">]+)[">]} $line all hdr]} { 86 puts $out $line 88 } elseif {[regexp {^#ifdef __cplusplus} $line]} { 90 } elseif {[regexp {^#line} $line]} { 91 # Skip #line directives. 93 puts $out $line
|
/external/chromium_org/third_party/sqlite/src/test/ |
lock6.test | 30 fconfigure $chan -buffering line 41 set line [gets $chan] 42 if { $line == "OVER" } { 45 append r $line 52 # process, followed by the word "OVER" on a line of its own. The child 61 set line [gets stdin] 62 puts $l "READ $line" 63 if { $line == "OVER" } { 72 append script $line
|
/external/chromium_org/tools/perf/measurements/ |
blink_perf.py | 46 for line in open(skipped_file, 'r').readlines(): 47 line = line.strip() 48 if line and not line.startswith('#'): 49 skipped.append(line.replace('/', os.sep)) 93 for line in log.splitlines(): 94 if not line.startswith('values '): 96 parts = line.split()
|
/external/linux-tools-perf/util/ |
probe-event.h | 44 int line; /* Line number */ member in struct:perf_probe_point 76 /* Line number container */ 79 int line; member in struct:line_node 82 /* Line range */ 86 int start; /* Start line number */ 87 int end; /* End line number */ 88 int offset; /* Start line offset */ 116 /* Command string to line-range */
|
/external/llvm/test/DebugInfo/X86/ |
empty-array.ll | 30 !5 = metadata !{i32 786484, i32 0, null, metadata !"a", metadata !"a", metadata !"", metadata !6, i32 1, metadata !7, i32 0, i32 1, %class.A* @a, null} ; [ DW_TAG_variable ] [a] [line 1] [def] 32 !7 = metadata !{i32 786434, metadata !20, null, metadata !"A", i32 1, i64 0, i64 32, i32 0, i32 0, null, metadata !8, i32 0, null, null} ; [ DW_TAG_class_type ] [A] [line 1, size 0, align 32, offset 0] [from ] 34 !9 = metadata !{i32 786445, metadata !20, metadata !7, metadata !"x", i32 1, i64 0, i64 0, i64 0, i32 1, metadata !10} ; [ DW_TAG_member ] [x] [line 1, size 0, align 0, offset 0] [private] [from ] 35 !10 = metadata !{i32 786433, null, null, metadata !"", i32 0, i64 0, i64 32, i32 0, i32 0, metadata !11, metadata !12, i32 0, i32 0} ; [ DW_TAG_array_type ] [line 0, size 0, align 32, offset 0] [from int] 36 !11 = metadata !{i32 786468, null, null, metadata !"int", i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed] 39 !14 = metadata !{i32 786478, metadata !6, metadata !7, metadata !"A", metadata !"A", metadata !"", i32 1, metadata !15, i1 false, i1 false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !18, i32 1} ; [ DW_TAG_subprogram ] [line 1] [A] 40 !15 = metadata !{i32 786453, i32 0, metadata !"", i32 0, i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !16, i32 0, i32 0} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ] 42 !17 = metadata !{i32 786447, i32 0, metadata !"", i32 0, i32 0, i64 64, i64 64, i64 0, i32 1088, metadata !7} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from A] 44 !19 = metadata !{i32 786468} ; [ DW_TAG_base_type ] [line 0, size 0, align 0, offset 0]
|
nondefault-subrange-array.ll | 33 !5 = metadata !{i32 786484, i32 0, null, metadata !"a", metadata !"a", metadata !"", metadata !6, i32 1, metadata !7, i32 0, i32 1, %class.A* @a, null} ; [ DW_TAG_variable ] [a] [line 1] [def] 35 !7 = metadata !{i32 786434, metadata !20, null, metadata !"A", i32 1, i64 0, i64 32, i32 0, i32 0, null, metadata !8, i32 0, null, null} ; [ DW_TAG_class_type ] [A] [line 1, size 0, align 32, offset 0] [from ] 37 !9 = metadata !{i32 786445, metadata !20, metadata !7, metadata !"x", i32 1, i64 0, i64 0, i64 0, i32 1, metadata !10} ; [ DW_TAG_member ] [x] [line 1, size 0, align 0, offset 0] [private] [from ] 38 !10 = metadata !{i32 786433, null, null, metadata !"", i32 0, i64 0, i64 32, i32 0, i32 0, metadata !11, metadata !12, i32 0, i32 0} ; [ DW_TAG_array_type ] [line 0, size 0, align 32, offset 0] [from int] 39 !11 = metadata !{i32 786468, null, null, metadata !"int", i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed] 42 !14 = metadata !{i32 786478, metadata !6, metadata !7, metadata !"A", metadata !"A", metadata !"", i32 1, metadata !15, i1 false, i1 false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata !18, i32 1} ; [ DW_TAG_subprogram ] [line 1] [A] 43 !15 = metadata !{i32 786453, i32 0, metadata !"", i32 0, i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !16, i32 0, i32 0} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ] 45 !17 = metadata !{i32 786447, i32 0, metadata !"", i32 0, i32 0, i64 64, i64 64, i64 0, i32 1088, metadata !7} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [from A] 47 !19 = metadata !{i32 786468} ; [ DW_TAG_base_type ] [line 0, size 0, align 0, offset 0]
|
/external/v8/tools/ |
utils.py | 36 for line in open(name): 37 if '#' in line: 38 line = line[:line.find('#')] 39 line = line.strip() 40 if len(line) == 0: 42 list.append(line)
|
/libcore/luni/src/test/java/libcore/java/lang/ |
SystemTest.java | 32 // Before Java 7, the small number of classes that wanted the line separator would 34 // "line.separator" property has no effect after the VM has started. 38 System.setProperty("line.separator", "poop"); 40 assertFalse(System.lineSeparator().equals(System.getProperty("line.separator"))); 48 assertFalse(System.lineSeparator().equals(System.getProperty("line.separator"))); 54 assertFalse(System.lineSeparator().equals(System.getProperty("line.separator"))); 60 assertFalse(System.lineSeparator().equals(System.getProperty("line.separator"))); 64 assertFalse(System.lineSeparator().equals(System.getProperty("line.separator"))); 66 System.setProperty("line.separator", "\n");
|
/external/chromium_org/third_party/lcov/bin/ |
genpng | 68 # Check whether we're called from the command line or from another script 81 # Parse command line options 129 # Write out command line usage information to given filehandle. 193 # Uninstrumented line 198 # Line with zero execution count 203 # Line with positive execution count 223 # which is a list of lines <count>:<source code> per source code line. 250 my $line; # Current line during iteration 255 my $last_count; # Count of last processed line [all...] |
/external/chromium_org/third_party/lcov-1.9/bin/ |
genpng | 71 # Check whether we're called from the command line or from another script 84 # Parse command line options 132 # Write out command line usage information to given filehandle. 196 # Uninstrumented line 201 # Line with zero execution count 206 # Line with positive execution count 226 # which is a list of lines <count>:<source code> per source code line. 253 my $line; # Current line during iteration 258 my $last_count; # Count of last processed line [all...] |
/external/dropbear/ |
svr-authpubkey.c | 40 #define MAX_AUTHKEYS_LINE 4200 /* max length of a line in authkeys */ 160 buffer * line = NULL; local 195 line = buf_new(MAX_AUTHKEYS_LINE); 200 if (buf_getline(line, authfile) == DROPBEAR_FAILURE) { 206 if (line->len < MIN_AUTHKEYS_LINE) { 207 TRACE(("checkpubkey: line too short")) 208 continue; /* line is too short for it to be a valid key */ 213 if (strncmp(buf_getptr(line, algolen), algo, algolen) != 0) { 216 buf_incrpos(line, algolen); 219 if (buf_getbyte(line) != ' ') [all...] |
/development/testrunner/ |
am_instrument_parser.py | 48 for line in result.splitlines(): 49 result_block_string += line + '\n' 51 if "INSTRUMENTATION_STATUS_CODE:" in line: 60 if "INSTRUMENTATION_CODE:" in line: 90 for line in result.split('\n'): 91 line = line.strip(string.whitespace) 92 if re_result.match(line): 94 key = re_result.search(line).group(1).strip(string.whitespace) 97 val = re_result.search(line).group(2).strip(string.whitespace [all...] |
/external/bison/examples/calc++/ |
position.hh | 55 /* Line 36 of location.cc */ 56 #line 57 "../../../../examples/calc++/position.hh" 67 , line (l) 79 line = l; 83 /** \name Line and Column related manipulators 85 /// (line related) Advance to the COUNT next lines. 89 line += count; 101 /// Current line number. 102 unsigned int line; member in class:yy::position 141 return (pos1.line == pos2.lin [all...] |
/external/chromium/webkit/glue/ |
webpreferences.cc | 154 // Enable the web audio API if requested on the command line. 157 // Enable experimental WebGL support if requested on command line 161 // Disable GL multisampling if requested on command line. 165 // on command line. 168 // Display an FPS indicator if requested on the command line. 172 // the command line 175 // Enable gpu-accelerated compositing if requested on the command line. 178 // Always enter compositing if requested on the command line. 181 // Enable composite to offscreen texture if requested on the command line. 184 // Enable gpu-accelerated 2d canvas if requested on the command line [all...] |
/external/chromium_org/gpu/command_buffer/common/ |
logging.h | 42 const char* file, int line, 49 << file << "(" << line << "): " << check_name 55 const char* file, int line, 62 << file << "(" << line << "): " << check_name 69 const char* file, int line, 76 << file << "(" << line << "): " << check_name 83 const char* file, int line, 90 << file << "(" << line << "): " << check_name 97 const char* file, int line, 104 << file << "(" << line << "): " << check_nam [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
add-include | 38 unless ($filename =~ /(\w+)\.cpp$/) { print STDERR "Command line args must be .cpp files: $filename.\n"; next FILE; } 56 while (my $line = <INPUT>) { 57 if ($line =~ /^\s*#(include|import)\s*($headerPattern)\s*\n/) { 59 if ($pastIncludes) { print STDERR "Saw more includes after include section in $filename, line $.\n"; next FILE; } 63 unless ($sawConfig) { print STDERR "First include must be config.h in $filename, line $.\n"; next FILE; } 67 unless ($sawSelfInclude) { print STDERR "Second include must be $base.h in $filename, line $.\n"; next FILE; } 73 if ($line =~ /^\s*#\s*if\s+(.+?)\s*$/) { 79 unless ($currentCondition eq "") { print STDERR "Nested #if in include section in $filename, line $.\n"; next FILE; } 83 if ($line =~ /^\s*#\s*endif\s*$/) { 84 unless ($currentCondition ne "") { print STDERR "Extra #endif in include section in $filename, line $.\n"; next FILE; [all...] |
/external/chromium_org/third_party/android_testrunner/ |
am_instrument_parser.py | 48 for line in result.splitlines(): 49 result_block_string += line + '\n' 51 if "INSTRUMENTATION_STATUS_CODE:" in line: 60 if "INSTRUMENTATION_CODE:" in line: 90 for line in result.split('\n'): 91 line = line.strip(string.whitespace) 92 if re_result.match(line): 94 key = re_result.search(line).group(1).strip(string.whitespace) 97 val = re_result.search(line).group(2).strip(string.whitespace [all...] |
/external/compiler-rt/lib/asan/scripts/ |
symbolize.py | 24 address often belongs to the next source code line, or even to a different 40 for line in readelf_pipe.stdout: 41 if ('LOAD' in line) and (' E ' in line): 42 match = re.match(r'\s*LOAD\s+0x[01-9a-zA-Z]+\s+(0x[01-9a-zA-Z]+)', line, re.UNICODE) 59 def symbolize_addr2line(line, binary_prefix, paths_to_cut): 62 line = re.sub(r'^[A-Z]/[^\s]*\(\s*\d+\): ', '', line) 64 match = re.match(r'^(\s*#)([0-9]+) *(0x[0-9a-f]+) *\((.*)\+(0x[0-9a-f]+)\)', line, re.UNICODE) 110 print line.rstrip().encode('utf-8' 117 line = line.decode('utf-8') variable [all...] |
/external/icu4c/tools/toolutil/ |
ppucd.h | 64 /** No line, end of file. */ 66 /** Empty line. (Might contain a comment.) */ 105 * Reads a line from the preparsed UCD file. 106 * Splits the line by replacing each ';' with a NUL. 110 /** Returns the number of the line read by readLine(). */ 113 /** Returns the line's next field, or NULL. */ 119 /** Returns TRUE if the current line has property values. */ 123 * Parses properties from the current line. 125 * on the current line (as opposed to being inherited). 127 * The returned UniProps are usable until the next line of the same type is read [all...] |