/external/chromium_org/components/test/data/autofill/merge/tools/ |
H A D | reserialize_profiles_from_query.py | 27 for line in serialized_profiles: 29 if line[-1] == '\n': 30 line = line[:-1] 32 values = line.split("|")
|
/external/chromium_org/net/data/websocket/ |
H A D | close-code-and-reason_wsh.py | 15 line = request.ws_stream.receive_message() 16 if line is None: 18 if line == '-': 20 elif line == '--': 23 code, reason = line.split(' ', 1)
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | LineUtilities.cpp | 10 bool implicitLine(const _Line& line, double& slope, double& axisIntercept) { argument 12 tangent(line, delta); 16 axisIntercept = line[0].y - slope * line[0].x; 19 axisIntercept = line[0].x - slope * line[0].y; 24 int reduceOrder(const _Line& line, _Line& reduced) { argument 25 reduced[0] = line[0]; 26 int different = line[0] != line[ 31 sub_divide(const _Line& line, double t1, double t2, _Line& dst) argument 61 is_left(const _Line& line, const _Point& pt) argument 67 t_at(const _Line& line, const _Point& pt) argument 119 xy_at_t(const _Line& line, double t, double& x, double& y) argument 129 xy_at_t(const _Line& line, double t) argument [all...] |
/external/skia/experimental/Intersection/ |
H A D | LineUtilities.cpp | 10 bool implicitLine(const _Line& line, double& slope, double& axisIntercept) { argument 12 tangent(line, delta); 16 axisIntercept = line[0].y - slope * line[0].x; 19 axisIntercept = line[0].x - slope * line[0].y; 24 int reduceOrder(const _Line& line, _Line& reduced) { argument 25 reduced[0] = line[0]; 26 int different = line[0] != line[ 31 sub_divide(const _Line& line, double t1, double t2, _Line& dst) argument 61 is_left(const _Line& line, const _Point& pt) argument 67 t_at(const _Line& line, const _Point& pt) argument 119 xy_at_t(const _Line& line, double t, double& x, double& y) argument 129 xy_at_t(const _Line& line, double t) argument [all...] |
/external/chromium_org/tools/ |
H A D | sort-headers.py | 40 def IncludeCompareKey(line): 45 if line.startswith(prefix): 46 line = line[len(prefix):] 52 if line.startswith('<windows.h>'): # Must be before e.g. shellapi.h 54 if line.startswith('<atlbase.h>'): # Must be before atlapp.h. 55 return '1' + line 56 if line.startswith('<ole2.h>'): # Must be before e.g. intshcut.h 57 return '1' + line 58 if line [all...] |
/external/chromium_org/base/third_party/dynamic_annotations/ |
H A D | dynamic_annotations.c | 74 const char *file, int line, const volatile void *lock) 78 const char *file, int line, const volatile void *lock) 82 const char *file, int line, const volatile void *lock, long is_w) 86 const char *file, int line, const volatile void *lock, long is_w) 90 const char *file, int line, const volatile void *barrier, long count, 95 const char *file, int line, const volatile void *barrier) 99 const char *file, int line, const volatile void *barrier) 103 const char *file, int line, const volatile void *barrier) 107 const char *file, int line, const volatile void *cv, 112 const char *file, int line, cons 73 AnnotateRWLockCreate( const char *file, int line, const volatile void *lock) argument 77 AnnotateRWLockDestroy( const char *file, int line, const volatile void *lock) argument 81 AnnotateRWLockAcquired( const char *file, int line, const volatile void *lock, long is_w) argument 85 AnnotateRWLockReleased( const char *file, int line, const volatile void *lock, long is_w) argument 89 AnnotateBarrierInit( const char *file, int line, const volatile void *barrier, long count, long reinitialization_allowed) argument 94 AnnotateBarrierWaitBefore( const char *file, int line, const volatile void *barrier) argument 98 AnnotateBarrierWaitAfter( const char *file, int line, const volatile void *barrier) argument 102 AnnotateBarrierDestroy( const char *file, int line, const volatile void *barrier) argument 106 AnnotateCondVarWait( const char *file, int line, const volatile void *cv, const volatile void *lock) argument 111 AnnotateCondVarSignal( const char *file, int line, const volatile void *cv) argument 115 AnnotateCondVarSignalAll( const char *file, int line, const volatile void *cv) argument 119 AnnotateHappensBefore( const char *file, int line, const volatile void *obj) argument 123 AnnotateHappensAfter( const char *file, int line, const volatile void *obj) argument 127 AnnotatePublishMemoryRange( const char *file, int line, const volatile void *address, long size) argument 131 AnnotateUnpublishMemoryRange( const char *file, int line, const volatile void *address, long size) argument 135 AnnotatePCQCreate( const char *file, int line, const volatile void *pcq) argument 139 AnnotatePCQDestroy( const char *file, int line, const volatile void *pcq) argument 143 AnnotatePCQPut( const char *file, int line, const volatile void *pcq) argument 147 AnnotatePCQGet( const char *file, int line, const volatile void *pcq) argument 151 AnnotateNewMemory( const char *file, int line, const volatile void *mem, long size) argument 155 AnnotateExpectRace( const char *file, int line, const volatile void *mem, const char *description) argument 160 AnnotateFlushExpectedRaces( const char *file, int line) argument 164 AnnotateBenignRace( const char *file, int line, const volatile void *mem, const char *description) argument 169 AnnotateBenignRaceSized( const char *file, int line, const volatile void *mem, long size, const char *description) argument 174 AnnotateMutexIsUsedAsCondVar( const char *file, int line, const volatile void *mu) argument 178 AnnotateMutexIsNotPHB( const char *file, int line, const volatile void *mu) argument 182 AnnotateTraceMemory( const char *file, int line, const volatile void *arg) argument 186 AnnotateThreadName( const char *file, int line, const char *name) argument 190 AnnotateIgnoreReadsBegin( const char *file, int line) argument 194 AnnotateIgnoreReadsEnd( const char *file, int line) argument 198 AnnotateIgnoreWritesBegin( const char *file, int line) argument 202 AnnotateIgnoreWritesEnd( const char *file, int line) argument 206 AnnotateIgnoreSyncBegin( const char *file, int line) argument 210 AnnotateIgnoreSyncEnd( const char *file, int line) argument 214 AnnotateEnableRaceDetection( const char *file, int line, int enable) argument 218 AnnotateNoOp( const char *file, int line, const volatile void *arg) argument 222 AnnotateFlushState( const char *file, int line) argument [all...] |
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/testing/ |
H A D | AddressDataMapLoader.java | 43 String line = null; 44 while (null != (line = br.readLine())) { 45 line = line.trim(); 46 if (line.length() == 0 || line.charAt(0) == '#') { 49 int x = line.indexOf('='); 50 DATA.put(line.substring(0, x), line.substring(x + 1));
|
/external/proguard/src/proguard/obfuscate/ |
H A D | MappingReader.java | 59 String line = reader.readLine(); 61 if (line == null) 66 line = line.trim(); 70 if (line.endsWith(":")) 74 className = processClassMapping(line, mappingProcessor); 80 processClassMemberMapping(className, line, mappingProcessor); 103 * Parses the given line with a class mapping and processes the 107 private String processClassMapping(String line, argument 113 int arrowIndex = line 140 processClassMemberMapping(String className, String line, MappingProcessor mappingProcessor) argument [all...] |
/external/valgrind/main/memcheck/tests/ |
H A D | client-msg-as-xml.stderr.exp | 9 <line>...</line> 10 <line>...</line> 11 <line>...</line> 12 <line>...</line> 42 <line>...</line> [all...] |
H A D | long_namespace_xml.stderr.exp | 9 <line>...</line> 10 <line>...</line> 11 <line>...</line> 12 <line>...</line> 43 <line>...</line> [all...] |
/external/libpng/scripts/ |
H A D | dfn.awk | 13 # the variable 'out', which should be set on the command line. 27 print "out=output.file must be given on the command line" 64 # A definition line, apparently correctly formatted; extract the 70 # if the quotes aren't closed and must read another line. In this 72 # are introduced #line directives. 74 line=$0 78 if (sub(/^[^"]*PNG_DFN *"/,"",line) != 1) { 79 print "line", lineno ": processing failed:" 110 if (line ~ /@"/) { 111 if (line ~ / [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
H A D | 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 */
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/ |
H A D | erroroutput.py | 26 """Get a output line for an error in UNIX format.""" 28 line = '' 31 line = '%d' % error.token.line_number 36 return '%s:%s:(%s) %s' % (filename, line, error_code, error.message) 40 """Get a output line for an error in regular format.""" 42 line = '' 44 line = 'Line %d, ' % error.token.line_number 52 return '%s%s: %s' % (line, code, error.message)
|
/external/chromium_org/media/tools/layout_tests/ |
H A D | test_expectations_unittest.py | 14 line = ('crbug.com/86714 [ Mac Gpu ] media/video-zoom.html [ Crash ' 19 self.assertEquals(TestExpectations.ParseLine(line), 23 line = ('crbug.com/86714 [ Mac Gpu ] media/video-zoom.html [ Crash ' 28 self.assertEquals(TestExpectations.ParseLine(line), 32 line = ('crbug.com/86714 [ Mac ] media/video-zoom.html [ Crash ' 37 self.assertEquals(TestExpectations.ParseLine(line),
|
/external/chromium_org/third_party/WebKit/Source/platform/clipboard/ |
H A D | ClipboardUtilities.cpp | 53 // be found, return an empty string. This is in line with the HTML5 spec. 55 String& line = items[i]; local 56 line = line.stripWhiteSpace(); 57 if (line.isEmpty()) 59 if (line[0] == '#') 61 KURL url = KURL(ParsedURLString, line);
|
/external/chromium_org/third_party/closure_linter/closure_linter/common/ |
H A D | erroroutput.py | 26 """Get a output line for an error in UNIX format.""" 28 line = '' 31 line = '%d' % error.token.line_number 36 return '%s:%s:(%s) %s' % (filename, line, error_code, error.message) 40 """Get a output line for an error in regular format.""" 42 line = '' 44 line = 'Line %d, ' % error.token.line_number 52 return '%s%s: %s' % (line, code, error.message)
|
/external/compiler-rt/lib/builtins/ |
H A D | int_util.c | 30 void compilerrt_abort_impl(const char *file, int line, const char *function) { argument 31 panic("%s:%d: abort in %s", file, line, function); 38 int line, const char * message) __attribute__((noreturn)); 44 void compilerrt_abort_impl(const char *file, int line, const char *function) { argument 45 __assert_rtn(function, file, line, "libcompiler_rt abort"); 57 void compilerrt_abort_impl(const char *file, int line, const char *function) { argument
|
/external/compiler-rt/test/msan/ |
H A D | getline.cc | 22 char *line = 0; local 24 int n = getline(&line, &len, fp); 26 assert(strcmp(line, "abcde\n") == 0); 28 n = getline(&line, &len, fp); 30 assert(strcmp(line, "12345\n") == 0); 32 free(line);
|
/external/elfutils/0.153/libdw/ |
H A D | dwarf_getsrc_file.c | 1 /* Find line information for given file/line/column triple. 88 /* Get the line number information for this file. */ 101 /* Search through all the line number records for a matching 102 file and line/column number. If any of the numbers is zero, 108 Dwarf_Line *line = &lines->info[cnt]; local 110 if (lastfile != line->file) 112 lastfile = line->file; 113 if (lastfile >= line->files->nfiles) 120 const char *fname2 = line [all...] |
/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...] |
/external/doclava/src/com/google/doclava/ |
H A D | SourcePositionInfo.java | 22 public SourcePositionInfo(String file, int line, int column) { argument 24 this.line = line; 30 this.line = that.line; 44 int line = that.line; 49 line++; 53 return new SourcePositionInfo(that.file, line, 0); 60 int line 101 public int line; field in class:SourcePositionInfo [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
H A D | 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 [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
H A D | 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) { argument 61 if (line < -1) { 62 throw new IllegalArgumentException("line < -1"); 67 this.line = line; [all...] |
/external/chromium_org/chrome/browser/ |
H A D | test_presubmit.py | 24 def GetHighlight(line, error): 25 """Returns the substring of |line| that is highlighted in |error|.""" 27 highlight = error_lines[error_lines.index(line) + 1] 28 return ''.join(ch1 for (ch1, ch2) in zip(line, highlight) if ch2 == '^') 40 def ShouldFailIncludeCheck(self, line): 41 """Checks that the '</include>' checker flags |line| as a style error.""" 42 error = self.checker.IncludeCheck(1, line) 44 'Should be flagged as style error: ' + line) 45 highlight = GetHighlight(line, error).strip() 48 def ShouldPassIncludeCheck(self, line) [all...] |
/external/chromium-trace/trace-viewer/src/tracing/importer/v8/ |
H A D | log_reader.js | 33 * Parses a line of CSV-encoded values. Returns an array of fields. 35 * @param {string} line Input line. 37 CsvParser.prototype.parseLine = function(line) { 41 var endPos = line.length; 45 var fieldMatch = fieldRe.exec(line.substr(pos)); 77 * Current line. 111 * Processes a line of V8 profiler event log. 113 * @param {string} line A line o [all...] |