/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
bdist_wininst.py | 208 lines = [] 212 lines.append("[metadata]") 228 lines.append("%s=%s" % (name, escape(data))) 232 lines.append("\n[Setup]") 234 lines.append("install_script=%s" % self.install_script) 235 lines.append("info=%s" % escape(info)) 236 lines.append("target_compile=%d" % (not self.no_target_compile)) 237 lines.append("target_optimize=%d" % (not self.no_target_optimize)) 239 lines.append("target_version=%s" % self.target_version) 241 lines.append("user_access_control=%s" % self.user_access_control [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
parseSvnProperty.pl | 323 multiple lines. 331 value => "A\nlong sentence that spans\nmultiple lines.", 343 multiple lines. 352 value => "A\r\nlong sentence that spans\r\nmultiple lines.", 364 multiple lines. 372 value => "A\nlong sentence that spans\nmultiple lines.", 384 multiple lines. 393 value => "A\r\nlong sentence that spans\r\nmultiple lines.", 445 multiple lines. 453 value => "A\nlong sentence that spans\nmultiple lines." [all...] |
parseSvnPropertyValue.pl | 115 multiple lines. 119 expectedReturn => ["A\nlong sentence that spans\nmultiple lines.", "\n"], 128 multiple lines. 133 expectedReturn => ["A\r\nlong sentence that spans\r\nmultiple lines.", "\r\n"], 142 multiple lines. 145 expectedReturn => ["A\nlong sentence that spans\nmultiple lines.", " + A single-line.\n"], 154 multiple lines. 157 expectedReturn => ["A\nlong sentence that spans\nmultiple lines.", "Added: svn:executable\n"], 166 multiple lines. 169 multiple lines [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
feedparser.py | 55 # The list of full, pushed lines, in reverse order 101 # Crack into lines, but preserve the newlines on the end of each 113 # and the eol character(s). Gather up a list of lines after 115 lines = [] 117 lines.append(parts[i*2] + parts[i*2+1]) 118 self.pushlines(lines) 120 def pushlines(self, lines): 121 # Reverse and insert at the front of the lines. 122 self._lines[:0] = lines[::-1] 220 # remaining lines in the input are thrown into the message body [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
feedparser.py | 55 # The list of full, pushed lines, in reverse order 101 # Crack into lines, but preserve the newlines on the end of each 113 # and the eol character(s). Gather up a list of lines after 115 lines = [] 117 lines.append(parts[i*2] + parts[i*2+1]) 118 self.pushlines(lines) 120 def pushlines(self, lines): 121 # Reverse and insert at the front of the lines. 122 self._lines[:0] = lines[::-1] 220 # remaining lines in the input are thrown into the message body [all...] |
/build/tools/ |
adbs | 37 lines = stream.readlines() 38 list = map(string.strip, lines) 80 lines = stream.readlines() 81 map(string.strip, lines) 96 num_lines = len(lines) 99 func_name = lines[num_lines-2]
|
/external/chromium/testing/ |
generate_gmock_mutant.py | 370 lines = Clean(s).splitlines() 372 lines[0] = Wrap(lines[0], 80, 10) 373 lines[2] = Wrap(lines[2], 80, 4) 374 return "\n".join(lines)
|
/external/chromium_org/net/ftp/ |
ftp_directory_listing_parser_ls.cc | 126 const std::vector<base::string16>& lines, 133 for (size_t i = 0; i < lines.size(); i++) { 134 if (lines[i].empty()) 138 base::SplitString(CollapseWhitespace(lines[i], false), ' ', &columns); 166 // Some servers send a message in one of the first few lines. 170 if (lines[i].find(ASCIIToUTF16(".:")) != base::string16::npos) 215 entry.name = FtpUtil::GetStringPartAfterColumns(lines[i],
|
/external/chromium_org/testing/ |
generate_gmock_mutant.py | 371 lines = Clean(s).splitlines() 373 lines[0] = Wrap(lines[0], 80, 10) 374 lines[2] = Wrap(lines[2], 80, 4) 375 return "\n".join(lines)
|
/external/harfbuzz_ng/util/ |
view-cairo.cc | 38 (vertical ? *w : *h) = (int) lines->len * (font_extents.height + view_options.line_space) - view_options.line_space; 40 for (unsigned int i = 0; i < lines->len; i++) { 41 helper_cairo_line_t &line = g_array_index (lines, helper_cairo_line_t, i); 82 descent = font_extents.height * (lines->len + .5); 86 for (unsigned int i = 0; i < lines->len; i++) 88 helper_cairo_line_t &l = g_array_index (lines, helper_cairo_line_t, i);
|
/external/libvpx/libvpx/tools/ |
diff.py | 24 self.lines = [] 28 l = len(self.lines) 31 self.lines.append(line[1:]) 35 return len(self.lines) == self.length 48 self.lines = [] 62 self.lines.append(line)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
test_expectations_unittest.py | 66 def assert_lines_lint(self, lines, should_pass, expected_output=None): 74 # can check the lines. 78 checker.check_test_expectations(expectations_str='\n'.join(lines), 80 checker.check_tabs(lines)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
text_file.py | 5 lines, and joining lines with backslashes.""" 17 comment character), skip blank lines, join adjacent lines by 24 spans multiple physical lines. Also provides 'unreadline()' for 49 skip lines that are empty *after* stripping comments and 51 then some lines may consist of solely whitespace: these will 56 to it to form one "logical line"; if N consecutive lines end 57 with a backslash, then N+1 physical lines will be joined to 60 strip leading whitespace from lines that are joined to thei [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
text_file.py | 5 lines, and joining lines with backslashes.""" 17 comment character), skip blank lines, join adjacent lines by 24 spans multiple physical lines. Also provides 'unreadline()' for 49 skip lines that are empty *after* stripping comments and 51 then some lines may consist of solely whitespace: these will 56 to it to form one "logical line"; if N consecutive lines end 57 with a backslash, then N+1 physical lines will be joined to 60 strip leading whitespace from lines that are joined to thei [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/check-for-inappropriate-macros-in-external-headers-tests/ |
run-test.rb | 34 lines = output.split("\n").map { |line| line.sub(/\'(.*)?\/(.*)?\.framework/, "'--stripped--/\\2.framework") } 35 lines.join("\n") + (lines.empty? ? "" : "\n")
|
/external/chromium_org/third_party/angle/src/compiler/ |
generate_parser.sh | 20 bison --no-lines --skeleton=yacc.c --defines=$output_header --output=$output_source $input_file
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
generate_parser.sh | 19 bison --no-lines --skeleton=yacc.c --output=$output_source $input_file
|
/external/chromium_org/v8/test/mjsunit/ |
debug-sourceslice.js | 29 // Source lines for test. 30 var lines = [ 'function a() { b(); };\n', variable 42 // Build source by putting all lines together 44 for (var i = 0; i < lines.length; i++) { 45 source += lines[i]; 61 for (var slice_size = 0; slice_size < lines.length; slice_size++) { 62 for (var n = 0; n < lines.length - slice_size; n++) { 70 expected += lines[n + i];
|
/external/elfutils/tests/ |
line2addr.c | 84 Dwfl_Line **lines = NULL; local 87 if (dwfl_module_getsrc_file (mod, a->file, a->line, 0, &lines, &nlines) == 0) 93 const char *file = dwfl_lineinfo (lines[inner], &addr, &line, &col, 113 free (lines);
|
/external/libvpx/libvpx/examples/includes/geshi/geshi/ |
povray.php | 176 # normal hash lines
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
CustomInlineMethodResolver.java | 54 List<String> lines = new ArrayList<String>(); local 63 lines.add(line); 72 inlineMethods = new DeodexUtil.InlineMethod[lines.size()]; 75 inlineMethods[i] = parseAndResolveInlineMethod(lines.get(i));
|
/external/v8/test/mjsunit/ |
debug-sourceslice.js | 29 // Source lines for test. 30 var lines = [ 'function a() { b(); };\n', variable 42 // Build source by putting all lines together 44 for (var i = 0; i < lines.length; i++) { 45 source += lines[i]; 61 for (var slice_size = 0; slice_size < lines.length; slice_size++) { 62 for (var n = 0; n < lines.length - slice_size; n++) { 70 expected += lines[n + i];
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
nntplib.py | 184 2: also print raw lines read and sent before stripping CR/LF""" 295 # Parse lines into "group last first flag" 312 resp, lines = self.descriptions(group) 313 if len(lines) == 0: 316 return lines[0][1] 328 lines = [] 332 lines.append(match.group(1, 2)) 333 return resp, lines 418 - list: the lines of the article's header""" 430 - list: the lines of the article's body or an empty lis [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
nntplib.py | 184 2: also print raw lines read and sent before stripping CR/LF""" 295 # Parse lines into "group last first flag" 312 resp, lines = self.descriptions(group) 313 if len(lines) == 0: 316 return lines[0][1] 328 lines = [] 332 lines.append(match.group(1, 2)) 333 return resp, lines 418 - list: the lines of the article's header""" 430 - list: the lines of the article's body or an empty lis [all...] |
/external/chromium_org/chrome/installer/util/prebuild/ |
create_string_rc.py | 176 lines = [kHeaderText] 182 lines.append(u' %s "%s"\n' % (translation_struct.resource_id_str + '_' 185 lines.append(kFooterText) 187 outfile.write(''.join(lines).encode('utf-16')) 194 lines = [] 205 lines.append('#define IDS_L10N_OFFSET_%s %s' % (lang, offset_id)) 215 lines.append('#define %s %s' % (translation_struct.resource_id_str + '_' 222 lines.append('#define %s_BASE %s_%s' % (string_id, 229 outfile.write('\n'.join(lines))
|