/external/skia/bench/ |
bench_graph_svg.py | 221 lines = {} # {Label:[(x,y)] | x[n] <= x[n+1]} 252 if line_name not in lines: 253 lines[line_name] = [] 255 lines[line_name].append((revision, point.time)) 257 return lines 259 def bounds(lines): 260 """Finds the bounding rectangle for the lines. 268 for line in lines.itervalues(): 277 def create_regressions(lines, start_x, end_x): 284 for label, line in lines.iteritems() [all...] |
/external/chromium_org/third_party/icu/source/tools/ctestfw/ |
uperf.cpp | 82 lines(NULL), numLines(0), line_mode(TRUE), 98 lines(NULL), numLines(0), line_mode(TRUE), 206 lines = new ULine[MAXLINES]; 216 lines[numLines].name = new UChar[len]; 217 lines[numLines].len = len; 218 memcpy(lines[numLines].name, line, len * U_SIZEOF_UCHAR); 228 delete []lines; 232 memcpy(newLines, lines, numLines*sizeof(ULine)); 233 delete []lines; 234 lines = newLines [all...] |
/external/chromium_org/ppapi/generators/ |
idl_c_proto.py | 28 def CommentLines(lines, tabs=0): 33 out = '%s/*' % tab + ('\n%s *' % tab).join(lines) 37 if not lines[-1]: 46 lines = comment.split('\n') 54 if prefix_lines[0] == '*' and lines[0] == '*': 55 lines = prefix_lines + lines[1:] 57 lines = prefix_lines + lines; 58 return CommentLines(lines, tabs [all...] |
/external/ganymed-ssh2/examples/ |
SwingShell.java | 85 * This dialog displays a number of text lines and a text field. 186 char[][] lines = new char[y][]; field in class:SwingShell.TerminalDialog.RemoteConsumer 216 lines[k - 1] = lines[k]; 218 lines[y - 1] = new char[x]; 220 lines[y - 1][k] = ' '; 238 lines[k - 1] = lines[k]; 239 lines[y - 1] = new char[x]; 241 lines[y - 1][k] = ' ' [all...] |
/external/chromium_org/chrome/test/chromedriver/chrome/ |
adb_impl.cc | 87 base::StringTokenizer lines(response, "\n"); 88 while (lines.GetNext()) { 90 base::SplitStringAlongWhitespace(lines.token(), &fields); 195 std::vector<std::string> lines; 196 base::SplitString(response, '\n', &lines); 197 for (size_t i = 0; i < lines.size(); ++i) { 198 std::string line = lines[i];
|
/external/chromium_org/third_party/skia/src/core/ |
SkEdgeBuilder.cpp | 117 SkPoint lines[SkLineClipper::kMaxPoints]; local 118 int lineCount = SkLineClipper::ClipLine(pts, clip, lines); 121 if (edge->setLine(lines[i], lines[i + 1], shiftUp)) { 193 SkPoint lines[SkLineClipper::kMaxPoints]; local 194 int lineCount = SkLineClipper::ClipLine(pts, clip, lines); 196 this->addLine(&lines[i]);
|
/external/libvorbis/vq/ |
distribution.c | 35 long lines=0; local 167 lines++; 169 sprintf(buf,"getting min/max (%.2f::%.2f). lines...",min,max); 170 if(!(lines&0xff))spinnit(buf,lines); 209 lines--; 210 if(!(lines&0xff))spinnit("counting distribution. lines so far...",lines);
|
/external/oprofile/gui/ |
oprof_start_util.cpp | 183 * breaking lines at spaces between words. 192 vector<string> lines; local 199 lines.push_back(line + oline); 202 lines.push_back(line); 209 lines.push_back(line); 218 lines.push_back(line); 222 for(vector<string>::const_iterator it = lines.begin(); it != lines.end(); ++it)
|
/external/skia/src/core/ |
SkEdgeBuilder.cpp | 117 SkPoint lines[SkLineClipper::kMaxPoints]; local 118 int lineCount = SkLineClipper::ClipLine(pts, clip, lines); 121 if (edge->setLine(lines[i], lines[i + 1], shiftUp)) { 193 SkPoint lines[SkLineClipper::kMaxPoints]; local 194 int lineCount = SkLineClipper::ClipLine(pts, clip, lines); 196 this->addLine(&lines[i]);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
CodeContext.py | 6 the lines which contain the block opening keywords, e.g. 'if', for the 7 enclosing block. The number of hint lines is determined by the numlines 8 variable in the CodeContext section of config-extensions.def. Lines which do 51 # Start two update cycles, one for context lines, one for font changes. 95 The indentation of empty lines (or comment lines) is INFINITY. 108 """Get context lines, starting at new_topvisible and working backwards. 115 lines = [] 128 lines.append((linenum, indent, text, opener)) 131 lines.reverse( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
CodeContext.py | 6 the lines which contain the block opening keywords, e.g. 'if', for the 7 enclosing block. The number of hint lines is determined by the numlines 8 variable in the CodeContext section of config-extensions.def. Lines which do 51 # Start two update cycles, one for context lines, one for font changes. 95 The indentation of empty lines (or comment lines) is INFINITY. 108 """Get context lines, starting at new_topvisible and working backwards. 115 lines = [] 128 lines.append((linenum, indent, text, opener)) 131 lines.reverse( [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_binascii.py | 65 lines = [] 69 lines.append(a) 71 for line in lines: 81 lines = [] 85 lines.append(a) 105 for line in map(addnoise, lines): 117 lines = [] 121 lines.append(a) 123 for line in lines:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_binascii.py | 65 lines = [] 69 lines.append(a) 71 for line in lines: 81 lines = [] 85 lines.append(a) 105 for line in map(addnoise, lines): 117 lines = [] 121 lines.append(a) 123 for line in lines:
|
/development/tools/axl/ |
chewperf.py | 48 lines = [x for x in rawLines if "Pulled" in x] 50 sidx = lines[0].split().index("Pulled") 52 chewed = [[int(x.split()[sidx + 2]), int(x.split()[sidx + 4])] for x in lines]
|
/external/chromium/chrome/browser/importer/ |
firefox_importer_utils.cc | 102 std::vector<std::string> lines; local 103 base::SplitString(content, '\n', &lines); 105 for (size_t i = 0; i < lines.size(); ++i) { 106 const std::string& line = lines[i]; 133 std::vector<std::string> lines; local 134 base::SplitString(content, '\n', &lines); 139 for (size_t i = 0; i < lines.size(); ++i) { 140 std::string line = lines[i]; 369 std::vector<std::string> lines; 370 Tokenize(contents, "\n", &lines); [all...] |
/external/chromium/net/ftp/ |
ftp_ctrl_response_buffer.cc | 39 response_buf_.lines.push_back(line_buf_); 45 response_buf_.lines.push_back(line_buf_); 48 // Prepare to handle following lines. 62 response_buf_.lines.push_back(line.status_text); 65 // Prepare to handle following lines.
|
/external/chromium_org/third_party/jinja2/ |
exceptions.py | 102 lines = [self.message, ' ' + location] 111 lines.append(' ' + line.strip()) 113 return u'\n'.join(lines)
|
/external/e2fsprogs/po/ |
at-expand.pl | 68 my $lines = 0; 106 $lines++; 107 if ($lines == 6) {
|
/external/elfutils/libdw/ |
dwarf_getsrc_file.c | 88 Dwarf_Lines *lines; local 90 if (INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines) != 0) 100 Dwarf_Line *line = &lines->info[cnt];
|
/external/skia/tools/ |
sanitize_source_files.py | 28 lines in a file (Eg: TabReplacer). 41 lines = f.readlines() 45 new_lines = [] # Collect changed lines here. 50 for line in lines: 61 old_content = ''.join(lines)
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
scanresults.cpp | 79 QStringList lines = bss.split(QRegExp("\\n")); local 80 for (QStringList::Iterator it = lines.begin(); 81 it != lines.end(); it++) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_file_util.py | 62 lines = ['a', 'b', 'c'] 65 write_file(foo, lines) 67 self.assertEqual(content, lines)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
base64mime.py | 19 in To:, From:, Cc:, etc. fields, as well as Subject: lines. 72 the Base64 encoding), and subsequent lines must start with a space. 110 lines = [] 116 lines.append('=?%s?b?%s?=' % (charset, line)) 117 # Glue the lines together and return it. BAW: should we be able to 120 return joiner.join(lines)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_file_util.py | 62 lines = ['a', 'b', 'c'] 65 write_file(foo, lines) 67 self.assertEqual(content, lines)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
base64mime.py | 19 in To:, From:, Cc:, etc. fields, as well as Subject: lines. 72 the Base64 encoding), and subsequent lines must start with a space. 110 lines = [] 116 lines.append('=?%s?b?%s?=' % (charset, line)) 117 # Glue the lines together and return it. BAW: should we be able to 120 return joiner.join(lines)
|