Searched refs:line (Results 1 - 25 of 239) sorted by relevance

12345678910

/frameworks/support/v17/leanback/
H A Dgeneratev4.py33 for line in file:
34 line = line.replace('IS_FRAMEWORK_FRAGMENT = true', 'IS_FRAMEWORK_FRAGMENT = false'); variable
36 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) variable
37 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') variable
38 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') variable
39 line variable
40 line = line.replace('Activity activity', 'FragmentActivity activity') variable
41 line = line.replace('(Activity', '(FragmentActivity') variable
50 line = line.replace('PlaybackControlGlue', 'PlaybackControlSupportGlue'); variable
51 line = line.replace('PlaybackOverlayFragment', 'PlaybackOverlaySupportFragment'); variable
[all...]
/frameworks/support/v17/tests/
H A Dgeneratev4.py35 for line in file:
37 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) variable
38 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') variable
39 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') variable
40 outfile.write(line)
54 for line in file:
56 line variable
58 line = line.replace('{}FragmentTest'.format(w), '{}SupportFragmentTest'.format(w)) variable
59 line = line.replace('{}FragmentTestActivity'.format(w), '{}SupportFragmentTestActivity'.format(w)) variable
60 line = line.replace('{}TestFragment'.format(w), '{}TestSupportFragment'.format(w)) variable
71 line = line.replace('BrowseTestFragment', 'BrowseTestSupportFragment') variable
72 line = line.replace('BrowseFragmentTestActivity', 'BrowseSupportFragmentTestActivity') variable
73 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') variable
74 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') variable
75 line = line.replace('extends Activity', 'extends FragmentActivity') variable
76 line = line.replace('getFragmentManager', 'getSupportFragmentManager') variable
[all...]
/frameworks/native/opengl/libs/tools/
H A Dglentrygen26 while (my $line = <>) {
27 next if $line =~ /^\//;
28 next if $line =~ /^#/;
29 next if $line =~ /^\s*$/;
30 if ($line !~ /^GL_API(CALL)?\s+(.+)\s+GL_APIENTRY\s+([\w]+)\s*\(([^\)]+)\);/) {
H A Dglenumsgen21 while (my $line = <STDIN>) {
22 next if $line =~ /^\//;
24 next if $line =~ /_BIT(\d+_|\s+)/;
25 if ($line !~ /^#define\s+(\S+)\s+(0x\S+)/) {
H A Dglapigen26 while (my $line = <>) {
27 next if $line =~ /^\//;
28 next if $line =~ /^#/;
29 next if $line =~ /^\s*$/;
30 if ($line !~ /^GL_API(CALL)?\s+(.+)\s+GL_APIENTRY\s+([\w]+)\s*\(([^\)]+)\);/) {
37 #printf("%s", $line);
/frameworks/wilhelm/src/
H A Dassert.c24 void __assert(const char *file, int line, const char *failedexpr) argument
26 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d", failedexpr, file, line);
30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) argument
32 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"",
33 failedexpr, file, line, func);
/frameworks/native/cmds/installd/
H A Dfile_parsing.h35 // Read the next line.
36 std::string line; local
37 getline(input_stream, line);
39 // Is the line empty? Simplifies the next check.
40 if (line.empty()) {
45 if (line[0] == '#') {
49 if (!parse(line)) {
/frameworks/base/tools/aapt2/
H A DSource.h34 Maybe<size_t> line; member in struct:aapt::Source
41 inline Source(const StringPiece& path, size_t line) : path(path.toString()), line(line) { argument
44 inline Source withLine(size_t line) const {
45 return Source(path, line);
55 if (source.line) {
56 out << ":" << source.line.value();
62 return lhs.path == rhs.path && lhs.line == rhs.line;
[all...]
/frameworks/base/core/java/com/android/internal/alsa/
H A DLineTokenizer.java32 int nextToken(String line, int startIndex) { argument
33 int len = line.length();
36 if (mDelimiters.indexOf(line.charAt(offset)) == -1) {
45 int nextDelimiter(String line, int startIndex) { argument
46 int len = line.length();
49 if (mDelimiters.indexOf(line.charAt(offset)) != -1) {
/frameworks/av/media/libstagefright/foundation/
H A Dhexdump.cpp47 AString line; local
49 appendIndent(&line, indent);
54 line.append(tmp);
58 line.append(' ');
61 line.append(" ");
64 line.append(tmp);
68 line.append(' ');
76 line.append((char)data[offset + i]);
78 line.append('.');
83 appendTo->append(line);
[all...]
H A DParsedMessage.cpp106 AString line(&data[offset], lineEndOffset - offset);
109 // Special handling for the request/status line.
111 mDict.add(AString("_"), line);
118 // An empty line separates headers from body.
124 if (line.c_str()[0] == ' ' || line.c_str()[0] == '\t') {
128 // Otherwise it's malformed since the first header line
132 value.append(line);
139 ssize_t colonPos = line.find(":");
141 AString key(line,
181 AString line; local
226 AString line; local
[all...]
/frameworks/rs/java/tests/Refocus/dataExtraction/
H A Dextract_data.sh24 while read line;do
25 if [[ $line =~ $regexN ]];
51 echo $line >> $cleanFilename
53 elif [[ $line =~ $regexData ]];
56 newLine=`echo $line|grep -oE '[0-9]+ ns'|awk '{print $1}'`
58 if [[ $line =~ 'Initialize' ]];
61 elif [[ $line =~ 'UnpackInputImage' ]];
64 elif [[ $line =~ 'MarkLayerMask' ]];
67 elif [[ $line =~ 'ComputeLayerMatteBehindFocalDepth' ]];
70 elif [[ $line
[all...]
H A Dextract_ave.sh24 while read line;do
25 if [[ $line =~ $regexN ]];
66 echo $line >> $cleanFilename
68 elif [[ $line =~ $regexData ]];
71 newLine=`echo $line|awk '{print $2}'`
73 if [[ $line =~ 'Initialize' ]];
76 elif [[ $line =~ 'UnpackInputImage' ]];
79 elif [[ $line =~ 'MarkLayerMask' ]];
82 elif [[ $line =~ 'ComputeLayerMatteBehindFocalDepth' ]];
85 elif [[ $line
[all...]
/frameworks/base/tools/aapt2/java/
H A DAnnotationProcessor.cpp51 // We need to process line by line to clean-up whitespace and append prefixes.
52 for (StringPiece16 line : util::tokenize(comment, u'\n')) {
53 line = util::trimWhitespace(line);
54 if (!line.empty()) {
55 std::string utf8Line = util::utf16ToUtf8(line);
62 for (StringPiece line : util::tokenize(comment, '\n')) {
63 line = util::trimWhitespace(line);
79 *out << prefix << line << "\\n"; local
[all...]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DLineVerifierElem.java36 public LineVerifierElem addExpected(final String line) { argument
37 if (!TextUtils.isEmpty(line)) {
38 mExpectedLineList.add(line);
51 final String line = lineArray[i];
52 if (TextUtils.isEmpty(line)) {
56 if ("BEGIN:VCARD".equalsIgnoreCase(line)) {
58 TestCase.fail("Multiple \"BEGIN:VCARD\" line found");
63 } else if ("END:VCARD".equalsIgnoreCase(line)) {
65 TestCase.fail("Multiple \"END:VCARD\" line found");
72 "VERSION:4.0")).equalsIgnoreCase(line)) {
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DAndroidPrintStream.java46 protected void log(String line) { argument
47 Log.println(priority, tag, line);
/frameworks/base/services/tests/servicestests/src/android/net/apf/
H A DBpf2Apf.java39 private static int parseImm(String line, String arg) { argument
41 throw new IllegalArgumentException("Unhandled instruction: " + line);
45 throw new IllegalArgumentException("Unhandled instruction: " + line);
51 * Convert a single line of "tcpdump -d" (human readable BPF program dump) {@code line} into
52 * APF instruction(s) and append them to {@code gen}. Here's an example line:
55 private static void convertLine(String line, ApfGenerator gen) argument
57 if (line.indexOf("(") != 0 || line.indexOf(")") != 4 || line
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DLineWidth.java32 public float getLineWidth(int line) { argument
33 return (line < mFirstWidthLineCount) ? mFirstWidth : mRestWidth;
/frameworks/native/opengl/tools/glgen/
H A Dconvert_to_java.py26 for line in sys.stdin:
27 defineValuePair = line.strip().split()[1:]
/frameworks/base/tools/aapt/
H A DSourcePos.cpp20 int line; member in struct:ErrorPos
26 ErrorPos(const String8& file, int line, const String8& error, Level level);
35 :line(-1), level(NOTE)
41 line(that.line),
49 line(l),
59 this->line = rhs.line;
82 if (this->line >= 0) {
83 fprintf(to, "%s:%d: %s%s\n", this->file.string(), this->line, typ
[all...]
/frameworks/minikin/libs/minikin/
H A Dunicode_emoji_h_gen.py56 for line in emoji_data_file:
57 if '#' in line:
58 line = line[:line.index('#')] # Drop comments.
59 if not line.strip():
60 continue # Skip empty line.
62 code_points, prop = line.split(';')
/frameworks/base/tools/preload/
H A DRecord.java18 * One line from the loaded-classes file.
103 /** Source file line# */
107 * Parses a line from the loaded-classes file.
109 Record(String line, int lineNum) { argument
110 char typeChar = line.charAt(0);
116 default: throw new AssertionError("Bad line: " + line);
122 line = line.replace(REPLACE_CLASSES[i], REPLACE_CLASSES[i+1]);
125 line
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.cpp65 AString line; local
67 // We accept both '\n' and '\r\n' line endings, if it's
69 line.setTo(desc, i, eolPos - i - 1);
71 line.setTo(desc, i, eolPos - i);
74 if (line.empty()) {
79 if (line.size() < 2 || line.c_str()[1] != '=') {
83 ALOGI("%s", line.c_str());
85 switch (line.c_str()[0]) {
88 if (strcmp(line
[all...]
/frameworks/compile/libbcc/tests/debuginfo/
H A Dtest_bcc_debuginfo.pl44 # at the beginning of a comment line.
47 my($line) = $_;
48 $i = index($line, "DEBUGGER:");
51 $s = substr($line, $i + $l);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dquantize.c109 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...]

Completed in 2039 milliseconds

12345678910