/development/tools/glesv2debugger/ |
D | generate_MessageFormatter_java.py | 23 def RemoveAnnotation(line): argument 24 if line.find(":") >= 0: 25 annotation = line[line.find(":"): line.find(" ", line.find(":"))] 26 return line.replace(annotation, "*") 28 return line 123 for line in lines: 124 if line.find("API_ENTRY(") >= 0: # a function prototype 125 returnType = line[0: line.find(" API_ENTRY(")].replace("const ", "") 126 functionName = line[line.find("(") + 1: line.find(")")] #extract GL function name 127 parameterList = line[line.find(")(") + 2: line.find(") {")] [all …]
|
D | generate_GLEnum_java.py | 50 for line in lines: 51 value = line[line.find("(") + 1: line.find(",")] 52 name = line[line.find(",") + 1: line.find(")")]
|
D | generate_MessageParser_java.py | 23 def RemoveAnnotation(line): argument 24 if line.find(":") >= 0: 25 annotation = line[line.find(":"): line.find(" ", line.find(":"))] 26 return line.replace(annotation, "*") 28 return line 182 for line in lines: 183 if line.find("API_ENTRY(") >= 0: # a function prototype 184 returnType = line[0: line.find(" API_ENTRY(")].replace("const ", "") 185 functionName = line[line.find("(") + 1: line.find(")")] #extract GL function name 186 parameterList = line[line.find(")(") + 2: line.find(") {")]
|
/development/testrunner/ |
D | am_instrument_parser.py | 48 for line in result.splitlines(): 49 result_block_string += line + '\n' 51 if "INSTRUMENTATION_STATUS_CODE:" in line: 60 if "INSTRUMENTATION_CODE:" in line: 90 for line in result.split('\n'): 91 line = line.strip(string.whitespace) 92 if re_result.match(line): 94 key = re_result.search(line).group(1).strip(string.whitespace) 97 val = re_result.search(line).group(2).strip(string.whitespace) 104 elif re_code.match(line): [all …]
|
D | android_mk.py | 45 def _ProcessMKLine(self, line): argument 53 m = self._RE_INCLUDE.match(line) 57 parts = line.split(self._VAR_DELIMITER) 61 if line.find('libgtest_main') != -1: 150 for line in mk: 151 self._ProcessMKLine(line)
|
/development/tools/axl/ |
D | chewperf.py | 17 line = rawLines[x].split() 19 if line[-1] == "SIGNAL_STRENGTH": 34 for line in rawLines: 35 if "Pulled" in line: 36 chewed = [int(line.split()[5]), int(line.split()[7])] 39 out.append("%s %d" % (line, (tm - last))) 42 out.append(line)
|
D | chewie.py | 74 line = f.readline() 75 if len(line) == 0: break 77 splitup = line.split()
|
/development/tools/findunused/ |
D | find_unused_resources.rb | 94 file.each { |line| 96 findAllOccurrences(re, line).each { |id| 114 file.each { |line| 115 findAllOccurrences(@@stringIdPattern, line).each {|id| 118 findAllOccurrences(@@layoutIdPattern, line).each {|id| 122 findAllOccurrences(re, line).each {|id| 133 file.each { |line| 135 findAllOccurrences(re, line).each {|id|
|
/development/tools/emulator/opengl/host/tools/emugen/ |
D | EntryPoint.cpp | 205 int EntryPoint::setAttribute(const std::string &line, size_t lc) in setAttribute() argument 209 std::string token = getNextToken(line, 0, &last, WHITESPACE); in setAttribute() 213 std::string varname = getNextToken(line, pos, &last, WHITESPACE); in setAttribute() 227 v->setLenExpression(line.substr(pos)); in setAttribute() 230 std::string varname = getNextToken(line, pos, &last, WHITESPACE); in setAttribute() 244 v->setParamCheckExpression(line.substr(pos)); in setAttribute() 248 std::string varname = getNextToken(line, pos, &last, WHITESPACE); in setAttribute() 261 std::string pointerDirStr = getNextToken(line, pos, &last, WHITESPACE); in setAttribute() 278 std::string varname = getNextToken(line, pos, &last, WHITESPACE); in setAttribute() 292 std::string flag = getNextToken(line, pos, &last, WHITESPACE); in setAttribute() [all …]
|
D | ApiGen.cpp | 958 char line[1000]; in readSpec() local 960 while (fgets(line, sizeof(line), specfp) != NULL) { in readSpec() 963 if (ref.parse(lc, std::string(line))) { in readSpec() 989 std::string line(buf); in readAttributes() local 990 if (line.size() == 0) continue; // could that happen? in readAttributes() 992 if (line.at(0) == '#') continue; // comment in readAttributes() 994 size_t first = line.find_first_not_of(" \t\n"); in readAttributes() 997 line = trim(line); in readAttributes() 998 if (line.size() == 0 || line.at(0) == '#') continue; in readAttributes() 1002 if (line == "GLOBAL") { in readAttributes() [all …]
|
D | TypeFactory.cpp | 76 char line[1000]; in initFromFile() local 78 while(fgets(line, sizeof(line), fp) != NULL) { in initFromFile() 80 std::string str = trim(line); in initFromFile()
|
/development/scripts/ |
D | stack | 90 for line in lines: 91 fingerprint_search = fingerprint_regex.match(line.strip()) 275 line = unicode(ln, errors='ignore') 276 header = process_info_line.search(line) 280 header = signal_line.search(line) 284 header = register_line.search(line) 288 if trace_line.match(line): 289 match = trace_line.match(line) 319 if code_line.match(line): 323 if value_line.match(line): [all …]
|
D | symbol.py | 239 for line in stream: 242 components = func_regexp.match(line) 258 components = asm_regexp.match(line)
|
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
D | plasma.c | 201 uint16_t* line = (uint16_t*)pixels; in fill_plasma() local 216 uint16_t* line_end = line + info->width; in fill_plasma() 218 if (line < line_end) { in fill_plasma() 219 if (((uint32_t)line & 3) != 0) { in fill_plasma() 225 line[0] = palette_from_fixed(ii >> 2); in fill_plasma() 226 line++; in fill_plasma() 229 while (line + 2 <= line_end) { in fill_plasma() 241 ((uint32_t*)line)[0] = pixel; in fill_plasma() 242 line += 2; in fill_plasma() 245 if (line < line_end) { in fill_plasma() [all …]
|
/development/ndk/platforms/android-9/samples/native-plasma/jni/ |
D | plasma.c | 210 uint16_t* line = (uint16_t*)pixels; in fill_plasma() local 225 uint16_t* line_end = line + buffer->width; in fill_plasma() 227 if (line < line_end) { in fill_plasma() 228 if (((uint32_t)line & 3) != 0) { in fill_plasma() 234 line[0] = palette_from_fixed(ii >> 2); in fill_plasma() 235 line++; in fill_plasma() 238 while (line + 2 <= line_end) { in fill_plasma() 250 ((uint32_t*)line)[0] = pixel; in fill_plasma() 251 line += 2; in fill_plasma() 254 if (line < line_end) { in fill_plasma() [all …]
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceScript.java | 182 String line; in readHeader() local 184 while ((line = mBufferedReader.readLine()) != null) { in readHeader() 185 line = line.trim(); in readHeader() 187 if (line.indexOf(HEADER_COUNT) >= 0) { in readHeader() 189 String value = line.substring(HEADER_COUNT.length() + 1).trim(); in readHeader() 195 } else if (line.indexOf(HEADER_SPEED) >= 0) { in readHeader() 197 String value = line.substring(HEADER_COUNT.length() + 1).trim(); in readHeader() 203 } else if (line.indexOf(STARTING_DATA_LINE) >= 0) { in readHeader() 218 String line; in readLines() local 220 line = mBufferedReader.readLine(); in readLines() [all …]
|
/development/tools/idegen/src/ |
D | Configuration.java | 206 String line; in parsePackageName() local 207 while ((line = in.readLine()) != null) { in parsePackageName() 208 String trimmed = line.trim(); in parsePackageName() 256 String line; in parseFile() local 257 while ((line = in.readLine()) != null) { in parseFile() 258 String trimmed = line.trim(); in parseFile()
|
/development/tools/emulator/opengl/tests/gles_android_wrapper/ |
D | egl.cpp | 119 char line[1000]; in getProcName() local 120 if (fgets(line, sizeof(line), fp) == NULL) { in getProcName() 127 if (line[0] == '\0') { in getProcName() 133 line[sizeof(line) - 1] = '\0'; in getProcName() 134 char *p = line; in getProcName() 143 while (p > line && *p != '/') p--; in getProcName() 166 char line[100]; in isNeedEncode() local 170 while (fgets(line, sizeof(line), fp) != NULL) { in isNeedEncode() 171 if (strlen(line) >= procnameLen && in isNeedEncode() 172 !strncmp(procname, line, procnameLen)) { in isNeedEncode() [all …]
|
/development/samples/TtsEngine/src/com/example/android/ttsengine/ |
D | RobotSpeakTtsService.java | 217 String line = null; in buildFrequencyMap() local 220 while ((line = br.readLine()) != null) { in buildFrequencyMap() 221 String[] parts = line.split(":"); in buildFrequencyMap() 223 throw new IOException("Invalid line encountered: " + line); in buildFrequencyMap()
|
/development/samples/TicTacToeMain/ |
D | README.txt | 10 Build is supported both via Ant (command-line tools) or via ADT (the Android 22 file TicTacToeMain/default.properties contains the special line: 29 contains the special line:
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | DictionaryDatabase.java | 209 String line; in loadWords() local 210 while ((line = reader.readLine()) != null) { in loadWords() 211 String[] strings = TextUtils.split(line, "-"); in loadWords()
|
/development/samples/SampleSyncAdapter/samplesyncadapter_server/static/css/ |
D | main.css | 44 line-height: 2em; 62 text-decoration: line-through;
|
/development/tools/mkstubs/src/com/android/mkstubs/ |
D | Main.java | 236 String line; in addStringsFromFile() local 237 while ((line = br.readLine()) != null) { in addStringsFromFile() 238 addString(p, line); in addStringsFromFile()
|
/development/pdk/docs/source/ |
D | code-lines.jd | 11 for a given "code line". For instance, when a release is cut, sometimes that 34 <li>At all times, a release code-line (which may actually consist of 53 correspond to the internal code-line being made a public release branch, and the 54 new current platform code-line.</li> 56 code-line will be created at the same time.</li> 59 <p>The source management strategy above includes a code-line that Google will
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | RssService.java | 230 String line; in readRss() local 232 while ((line = inStream.readLine()) != null){ in readRss() 233 rssFeed.append(line); in readRss()
|