/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
AbstractPropertiesFieldsPart.java | 163 String line = doc.get(info.getOffset(), info.getLength()); local 164 line = line.trim(); 165 if (line.startsWith("#")) { //$NON-NLS-1$ 169 int pos = line.indexOf('='); 170 if (pos > 0 && pos < line.length() - 1) { 171 String key = line.substring(0, pos).trim(); 176 // This is the new line to inject 177 line = key + "=" + getFieldText(field); 180 // replace old line by new one. This doesn't change th 183 doc.replace(info.getOffset(), info.getLength(), line); local 201 String line = key + "=" + getFieldText(field); local 212 doc.replace(info.getOffset(), info.getLength(), line); local 278 String line = doc.get(info.getOffset(), info.getLength()); local [all...] |
/dalvik/dx/tests/069-dex-source-position/ |
expected.txt | 74 0000: line 20 75 0004: line 21 76 0006: line 29 77 line = 24 78 0007: line 24 79 0010: line 28 80 001b: line 29 81 001e: line 25 82 0020: line 26 124 0000: line 2 [all...] |
/external/chromium_org/chrome/browser/ui/omnibox/ |
omnibox_popup_model.h | 48 // Call to change the hovered line. |line| should be within the range of 50 void SetHoveredLine(size_t line); 56 // Call to change the selected line. This will update all state and repaint 58 // new temporary text. |line| will be clamped to the range of valid lines. 61 // |manually_selected_match_|). If |force| is true then the selected line will 62 // be updated forcibly even if the |line| is same as the current selected 63 // line. 65 // the selected line should not be kNoMatch. 66 void SetSelectedLine(size_t line, bool reset_to_default, bool force) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/perlasm/ |
ppc-xlate.pl | 74 my $line = join(",",@_); 75 if ($line =~ /^"(.*)"$/) 126 while($line=<>) { 128 $line =~ s|[#!;].*$||; # get rid of asm-style comments... 129 $line =~ s|/\*.*\*/||; # ... and C-style comments... 130 $line =~ s|^\s+||; # ... and skip white spaces in beginning... 131 $line =~ s|\s+$||; # ... and at the end 134 $line =~ s|\b\.L(\w+)|L$1|g; # common denominator for Locallabel 135 $line =~ s|\bL(\w+)|\.L$1|g if ($dotinlocallabels); 139 $line =~ s|(^[\.\w]+)\:\s*|| [all...] |
/external/chromium_org/tools/gn/ |
err.cc | 27 std::string* line) { 28 // Only bother if the range's begin or end overlaps the line. If the entire 29 // line is highlighted as a result of this range, it's not very helpful. 44 end_char = line->size(); // Ending is non-inclusive. 49 CHECK(begin_char >= 0 && begin_char <= static_cast<int>(line->size())); 50 CHECK(end_char >= 0 && end_char <= static_cast<int>(line->size())); 52 line->at(i) = '-'; 55 // The line length is used to clip the maximum length of the markers we'll 56 // make if the error spans more than one line (like unterminated literals). 60 // Make a buffer of the line in spaces 181 std::string line = GetNthLine(input_file->contents(), local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_suppressions.cc | 94 const char *line = str; local 95 while (line) { 96 while (line[0] == ' ' || line[0] == '\t') 97 line++; 98 const char *end = internal_strchr(line, '\n'); 100 end = line + internal_strlen(line); 101 if (line != end && line[0] != '#') [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
SCPClient.java | 107 throw new IOException("Remote scp sent a too long line"); 123 protected LenNamePair parseCLine(String line) throws IOException 125 /* Minimum line: "xxxx y z" ---> 8 chars */ 127 if (line.length() < 8) 128 throw new IOException("Malformed C line sent by remote SCP binary, line too short."); 130 if ((line.charAt(4) != ' ') || (line.charAt(5) == ' ')) 131 throw new IOException("Malformed C line sent by remote SCP binary."); 133 int length_name_sep = line.indexOf(' ', 5) [all...] |
/external/openssl/crypto/perlasm/ |
ppc-xlate.pl | 74 my $line = join(",",@_); 75 if ($line =~ /^"(.*)"$/) 126 while($line=<>) { 128 $line =~ s|[#!;].*$||; # get rid of asm-style comments... 129 $line =~ s|/\*.*\*/||; # ... and C-style comments... 130 $line =~ s|^\s+||; # ... and skip white spaces in beginning... 131 $line =~ s|\s+$||; # ... and at the end 134 $line =~ s|\b\.L(\w+)|L$1|g; # common denominator for Locallabel 135 $line =~ s|\bL(\w+)|\.L$1|g if ($dotinlocallabels); 139 $line =~ s|(^[\.\w]+)\:\s*|| [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/ |
logged_expectations.ipp | 92 std::string line; 94 std::getline( m_log_file, line, LINE_SEP ); 96 const_string cline( line ); 114 std::string line; 116 std::getline( m_log_file, line, LINE_SEP ); 118 const_string cline( line ); 137 std::string line; 139 std::getline( m_log_file, line, LINE_SEP ); 141 const_string cline( line ); 160 std::string line; [all...] |
/external/libvorbis/vq/ |
distribution.c | 25 /* command line: 42 char *line; local 163 line=setup_line(in); 164 while(line){ 172 while(!flag && sscanf(line,"%f",&code)==1){ 173 line=strchr(line,','); 178 while(line && sscanf(line,"%f",&code)==1){ 179 line=strchr(line,',') [all...] |
/libcore/luni/src/main/java/java/io/ |
LineNumberInputStream.java | 24 * Wraps an existing {@link InputStream} and counts the line terminators 25 * encountered while reading the data. Line numbering starts at 0. Recognized 26 * line terminator sequences are {@code '\r'}, {@code '\n'} and {@code "\r\n"}. 27 * When using {@code read}, line terminator sequences are always translated into 45 * {@code in}. Line numbers are counted for all data read from this stream. 51 * The non-null input stream to count line numbers. 71 * Returns the current line number for this stream. Numbering starts at 0. 73 * @return the current line number. 84 * The line number count will also be reset to the last marked 85 * line number count [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
cpp.py | 184 True, if the given line is blank. 226 # matches anything to ensure that we get the last possible match in a line. 276 s: a string which is a substring of line after '(' 298 """Tracks line numbers for includes, and the order in which includes appear. 301 filename and line number on which that file was included. 417 """Converts multiple lines into a single line (with line breaks replaced by a 423 lines: a list of multiple lines to combine into a single line. 424 start_position: offset within lines of where to start the single line. 430 # Remove the columns on the last line that aren't included [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 23 This module does not do the line wrapping or end-of-line character 25 does dumb encoding and decoding. To deal with the various line 118 """Encode a single header line with quoted-printable (like) encoding. 133 with each line wrapped safely at, at most, maxlinelen characters (defaults 137 End-of-line characters (\\r, \\n, \\r\\n) will be automatically converted 138 to the canonical email line separator \\r\\n unless the keep_eols 141 Each line of the header will be terminated in the value of eol, which 152 # Quopri encode each line, in encoded chunks no greater than maxlinelen in 176 return joiner.join(['=?%s?q?%s?=' % (charset, line) for line in quoted] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 23 This module does not do the line wrapping or end-of-line character 25 does dumb encoding and decoding. To deal with the various line 118 """Encode a single header line with quoted-printable (like) encoding. 133 with each line wrapped safely at, at most, maxlinelen characters (defaults 137 End-of-line characters (\\r, \\n, \\r\\n) will be automatically converted 138 to the canonical email line separator \\r\\n unless the keep_eols 141 Each line of the header will be terminated in the value of eol, which 152 # Quopri encode each line, in encoded chunks no greater than maxlinelen in 176 return joiner.join(['=?%s?q?%s?=' % (charset, line) for line in quoted] [all...] |
/art/tools/ |
cpplint.py | 49 # - Check for spaces between brackets in one-line inline method 75 same line, but it is far from perfect (in either direction). 103 'NOLINT(category)' comment to the line. NOLINT or NOLINT(*) 104 suppresses errors of all categories on that line. 320 # False positives include C-style multi-line comments (http://go/nsiut ) 321 # and multi-line strings (http://go/beujw ), but those have always been 338 _END_ASM = 2 # Last line of inline assembly block 363 Parses any NOLINT comments on the current line, updating the global 369 raw_line: str, the line of input text, with comments. 370 linenum: int, the number of the current line [all...] |
/external/libvpx/libvpx/tools/ |
cpplint.py | 49 # - Check for spaces between brackets in one-line inline method 75 same line, but it is far from perfect (in either direction). 103 'NOLINT(category)' comment to the line. NOLINT or NOLINT(*) 104 suppresses errors of all categories on that line. 319 # False positives include C-style multi-line comments (http://go/nsiut ) 320 # and multi-line strings (http://go/beujw ), but those have always been 337 _END_ASM = 2 # Last line of inline assembly block 362 Parses any NOLINT comments on the current line, updating the global 368 raw_line: str, the line of input text, with comments. 369 linenum: int, the number of the current line [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
parseSvnProperty.pl | 240 # Property value followed by empty line and start of next diff 244 diffName => "add svn:executable, followed by empty line and start of next diff", 262 diffName => "add svn:executable, followed by empty line and start of next diff using Windows line endings", 281 diffName => "add svn:executable, followed by empty line and start of next property diff", 299 diffName => "add svn:executable, followed by empty line and start of next property diff using Windows line endings", 318 diffName => "multi-line '+' change, followed by empty line and start of next diff", 338 diffName => "multi-line '+' change, followed by empty line and start of next diff using Windows line endings" [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
quantize.c | 109 Word32 line; local 122 for (line=0; line<noOfLines; line++) { 126 mdctSpeL = mdctSpectrum[line]; 165 quaSpectrum[line] = qua ; 170 for (line=0; line<noOfLines; line++) { 174 mdctSpeL = mdctSpectrum[line]; 235 Word32 line; local 331 Word32 line; local [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/test/org/antlr/runtime/test/ |
TestANTLRStringStream.as | 18 assertEquals(stream.line, 1); 26 assertEquals(stream.line, 1); // invariant 36 assertEquals(stream.line, 1); // invariant 65 assertEquals(stream.line, 1); 73 assertEquals(stream.line, 1); 80 assertEquals(stream.line, 1); 97 assertEquals(stream.line, 2); 105 assertEquals(stream.line, 2); 111 assertEquals(stream.line, 1); 122 assertEquals(stream.line, 2) [all...] |
/external/chromium_org/chrome/tools/build/win/ |
sln_deps.py | 38 line = sln.readline().strip() 39 if not line: 42 if line.startswith('Project("{'): 43 # Project definition line looks like 45 items = line.split('"') 54 if line == "ProjectSection(ProjectDependencies) = postProject": 55 line = sln.readline().strip() 57 while line and line != "EndProjectSection": 58 project.deps.append(line[:len(project.guid)] [all...] |
/external/chromium_org/net/android/javatests/src/org/chromium/net/ |
X509UtilTest.java | 49 String line = reader.readLine(); local 50 while (line != null && !line.contains(BEGIN_MARKER)) line = reader.readLine(); 53 while (line != null && line.contains(BEGIN_MARKER)) line = reader.readLine(); 56 while (line != null && !line.contains(END_MARKER)) { 57 builder.append(line.trim()) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
SpacingHeuristics.pm | 59 my $line = shift; 60 my $isOnlyWhiteSpace = ($line =~ m/^\s+$/); 61 $pendingEmptyLines .= $line if ($isOnlyWhiteSpace); 67 my ($out, $line) = @_; 69 printPendingEmptyLines($out, $line); 71 print $out $line; 76 my $line = shift; 77 $previousAllowedLine = $line; 83 my $line = shift; 85 if (!($pendingEmptyLines eq "") && !($previousAllowedLine =~ m/{\s*$/) && !($line =~ m/^\s*}/)) [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsCurve.h | 15 SkDLine line; local 16 line.set(a); 17 return line.ptAtT(t); 59 SkDLine line; local 60 line.set(a); 61 return line[1] - line[0]; 124 SkDLine line; local 125 line.set(a); 126 SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) } [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/gas/ |
gas-parse-intel.c | 51 unsigned char *line; local 70 if (&stok[length] == slim && parser_gas->line) { 71 line = yasm_xmalloc(length + parser_gas->lineleft + 1); 72 memcpy(line, parser_gas->s.tok, length); 73 memcpy(line + length, parser_gas->linepos, parser_gas->lineleft); 75 if (line[length - 1] == '\n') length--; 77 line = yasm_xmalloc(length + 1); 78 memcpy(line, parser_gas->s.tok, length); 80 line[length] = '\0'; 82 bc = gas_intel_syntax_parse_instr(&parser_nasm, line); [all...] |
/external/elfutils/libdw/ |
dwarf_linesrc.c | 1 /* Find line information for address. 59 dwarf_linesrc (Dwarf_Line *line, Dwarf_Word *mtime, Dwarf_Word *length) 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->files->info[line->file].name [all...] |