/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...] |
/system/hardware/interfaces/net/netd/testutils/ |
VtsHalNetNetdTestUtils.cpp | 48 std::vector<std::string> lines; local 53 return lines; 60 lines.push_back(std::string(line, linelen)); 65 return lines;
|
/system/netd/libbpf/include/bpf/ |
BpfNetworkStats.h | 55 int parseBpfNetworkStatsDetailInternal(std::vector<stats_line>* lines, 99 int parseBpfNetworkStatsDevInternal(std::vector<stats_line>* lines, 105 int parseBpfNetworkStatsDetail(std::vector<stats_line>* lines, 109 int parseBpfNetworkStatsDev(std::vector<stats_line>* lines);
|
/system/sepolicy/build/ |
file_utils.py | 34 """"Removes lines in input_file that match any line in pattern_files.""" 41 # Copy lines that are not in the pattern.
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/ |
VtsMultiDeviceTestResultParser.java | 117 public void processNewLines(String[] lines) { 118 init(lines); 133 // parse all lines 134 for (String line : lines) { 150 summary(lines); 186 void init(String[] lines) { 187 mAllLines = lines; 193 * This method parses individual lines and calls functions based on the parsing state. 262 * @param lines The corresponding logs. 264 void summary(String[] lines) { [all...] |
/test/vts-testcase/kernel/api/proc/ |
ProcShowUidStatTest.py | 27 start = 'lines'
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
TraceFormatParser.java | 87 public TraceFormatItem parse(List<String> lines) { 89 if (lines == null || lines.size() != 1) { 94 Matcher formatLineMatcher = SPLIT_FORMAT_LINE.matcher(lines.get(0));
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
TopHelperTest.java | 45 final String lines = ("User 7%, System 5%, IOW 3%, IRQ 2%\r\n" + local 55 mTop.getReceiver().processNewLines(lines.split("\r\n")); 71 final String lines = ( local 90 mTop.getReceiver().processNewLines(lines.split("\r\n"));
|
/art/test/ti-agent/ |
breakpoint_helper.cc | 70 jvmtiLineNumberEntry* lines = nullptr; local 72 jvmti_env->GetLineNumberTable(method, &nlines, &lines))) { 77 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(lines)); 82 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(lines)); 87 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(lines)); 92 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(lines)); 98 temp_lines[i] = lines[i].line_number; 99 temp_locs[i] = lines[i].start_location; 105 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(lines));
|
/cts/tests/framework/base/activitymanager/src/android/server/am/ |
ActivityManagerConfigChangeTests.java | 197 final String[] lines = getDeviceLogsForComponents(logSeparator, getLogTag(activityName)); local 198 for (int i = lines.length - 1; i >= 0; i--) { 199 final String line = lines[i].trim(); 224 final String[] lines = getDeviceLogsForComponents(logSeparator, getLogTag(activityName)); local 225 for (int i = lines.length - 1; i >= 0; i--) { 226 final String line = lines[i].trim(); 241 final String[] lines = getDeviceLogsForComponents(logSeparator, getLogTag(activityName)); local 242 for (int i = lines.length - 1; i >= 0; i--) { 243 final String line = lines[i].trim();
|
/external/autotest/client/profilers/powertop/src/ |
display.c | 283 if (lines[i].count > 0 && counter++ < maxtimerstats) { 284 if ((lines[i].count * 1.0 / ticktime) >= 10.0) 289 print(timerstat_window, i+1, 0," %5.1f%% (%5.1f) [%6s] %s \n", lines[i].count * 100.0 / linectotal, 290 lines[i].count * 1.0 / ticktime, 291 lines[i].pid, lines[i].string); 293 print(timerstat_window, i+1, 0," %5.1f%% (%5.1f) %s \n", lines[i].count * 100.0 / linectotal, 294 lines[i].count * 1.0 / ticktime, 295 lines[i].string);
|
/external/autotest/server/cros/faft/utils/ |
faft_checkers.py | 22 def _parse_crossystem_output(self, lines): 25 @param lines: The list of crossystem output strings. 51 for line in lines: 73 lines = self.faft_client.system.run_shell_command_get_output( 75 got_dict = self._parse_crossystem_output(lines) 192 lines = self.faft_client.system.run_shell_command_get_output( 194 vdat_flags = int(lines[0], 16) 276 lines = self.faft_client.system.run_shell_command_get_output(cmd) 278 for line in lines: 287 logging.info("Wrong output format of '%s':\n%s", cmd, '\n'.join(lines)) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
DataDrivenTestHelper.java | 30 private List<List<String>> lines = new ArrayList<List<String>>(); field in class:DataDrivenTestHelper 40 for (int i = 0; i < lines.size(); ++i) { 41 List<String> components = lines.get(i); 64 lines.add(Collections.unmodifiableList(arguments)); 80 for (int i = 0; i < lines.size(); ++i) { 81 List<String> arguments = lines.get(i); 163 lines = Collections.unmodifiableList(lines); // should do deep unmodifiable... 186 return lines;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
DataDrivenTestHelper.java | 29 private List<List<String>> lines = new ArrayList<List<String>>(); field in class:DataDrivenTestHelper 39 for (int i = 0; i < lines.size(); ++i) { 40 List<String> components = lines.get(i); 63 lines.add(Collections.unmodifiableList(arguments)); 79 for (int i = 0; i < lines.size(); ++i) { 80 List<String> arguments = lines.get(i); 162 lines = Collections.unmodifiableList(lines); // should do deep unmodifiable... 185 return lines;
|
/external/tensorflow/tensorflow/python/debug/cli/ |
readline_ui_test.py | 69 lines = ["bar"] * parsed.num_times 70 return debugger_cli_common.RichTextLines(lines) 110 self.assertEqual(["bar"] * 60, screen_outputs[0].lines) 121 self.assertEqual(["bar"] * 3, screen_outputs[0].lines) 122 self.assertEqual(["bar"] * 6, screen_outputs[1].lines) 133 self.assertEqual(["bar"] * 3, screen_outputs[0].lines) 135 screen_outputs[1].lines) 162 self.assertEqual(["bar"] * 2, screen_outputs[0].lines) 177 " graph_recursion_depth: 5"], outputs[1].lines[:3])
|
curses_widgets_test.py | 65 self.assertEqual(["bar"], output.screen_output.lines) 147 self.assertEqual(1, len(output.lines)) 150 output.lines[0]) 164 self.assertEqual(1, len(output.lines)) 168 output.lines[0]) 191 self.assertEqual(1, len(output.lines)) 195 output.lines[0]) 227 self.assertEqual(1, len(output.lines)) 231 output.lines[0]) 254 self.assertEqual(1, len(output.lines)) [all...] |
/device/linaro/bootloader/edk2/BaseTools/Scripts/ |
PatchCheck.py | 184 lines = self.msg.splitlines()
186 if len(lines) >= 1 and lines[0].endswith('\r\n'):
191 lines.insert(0, empty_line)
192 lines.insert(0, self.subject + empty_line)
194 count = len(lines)
200 if count >= 1 and len(lines[0]) >= 72:
204 if count >= 1 and len(lines[0].strip()) == 0:
208 if count >= 2 and lines[1].strip() != '':
213 if (len(lines[i]) >= 76 and [all...] |
/external/icu/icu4c/source/tools/ctestfw/ |
uperf.cpp | 88 lines(NULL), numLines(0), line_mode(TRUE), 104 lines(NULL), numLines(0), line_mode(TRUE), 215 if (lines != NULL) { 216 return lines; // don't do it again 218 lines = new ULine[MAXLINES]; 228 lines[numLines].name = new UChar[len]; 229 lines[numLines].len = len; 230 memcpy(lines[numLines].name, line, len * U_SIZEOF_UCHAR); 240 delete []lines; 244 memcpy(newLines, lines, numLines*sizeof(ULine)) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
fancy_getopt.py | 346 # - 2 spaces before option block start lines
351 # Now generate lines of help text. (If 80 columns were good enough
357 lines = [header]
359 lines = ['Option summary:']
370 lines.append(" --%-*s %s" % (max_opt, long, text[0]))
372 lines.append(" --%-*s " % (max_opt, long))
379 lines.append(" --%-*s %s" %
382 lines.append(" --%-*s" % opt_names)
385 lines.append(big_indent + l)
389 return lines
[all...] |
/external/python/cpython2/Lib/distutils/ |
fancy_getopt.py | 346 # - 2 spaces before option block start lines 351 # Now generate lines of help text. (If 80 columns were good enough 357 lines = [header] 359 lines = ['Option summary:'] 370 lines.append(" --%-*s %s" % (max_opt, long, text[0])) 372 lines.append(" --%-*s " % (max_opt, long)) 379 lines.append(" --%-*s %s" % 382 lines.append(" --%-*s" % opt_names) 385 lines.append(big_indent + l) 389 return lines [all...] |
/external/python/cpython3/Lib/distutils/ |
fancy_getopt.py | 318 # - 2 spaces before option block start lines 323 # Now generate lines of help text. (If 80 columns were good enough 329 lines = [header] 331 lines = ['Option summary:'] 342 lines.append(" --%-*s %s" % (max_opt, long, text[0])) 344 lines.append(" --%-*s " % (max_opt, long)) 351 lines.append(" --%-*s %s" % 354 lines.append(" --%-*s" % opt_names) 357 lines.append(big_indent + l) 358 return lines [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_stereo_proc.cpp | 355 sfbNo = mp3_sfBandIndex[sfreq].l[sfbTemp+1] - mp3_sfBandIndex[sfreq].l[sfbTemp]; /* No of lines to process */ 373 sfbNo = mp3_sfBandIndex[sfreq].s[sfbTemp+1] - mp3_sfBandIndex[sfreq].s[sfbTemp]; /* No of lines to process */ 405 int32 lines; local 406 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; 407 i = 3 * mp3_sfBandIndex[sfreq].s[sfb] + (j + 1) * lines - 1; 409 while (lines > 0) 415 lines = -10; 417 lines--; 449 sfbNo = mp3_sfBandIndex[sfreq].s[sfbTemp+1] - mp3_sfBandIndex[sfreq].s[sfbTemp]; /* No of lines to process */ 488 int32 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb] local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/distutils/ |
fancy_getopt.py | 346 # - 2 spaces before option block start lines 351 # Now generate lines of help text. (If 80 columns were good enough 357 lines = [header] 359 lines = ['Option summary:'] 370 lines.append(" --%-*s %s" % (max_opt, long, text[0])) 372 lines.append(" --%-*s " % (max_opt, long)) 379 lines.append(" --%-*s %s" % 382 lines.append(" --%-*s" % opt_names) 385 lines.append(big_indent + l) 389 return lines [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/distutils/ |
fancy_getopt.py | 346 # - 2 spaces before option block start lines 351 # Now generate lines of help text. (If 80 columns were good enough 357 lines = [header] 359 lines = ['Option summary:'] 370 lines.append(" --%-*s %s" % (max_opt, long, text[0])) 372 lines.append(" --%-*s " % (max_opt, long)) 379 lines.append(" --%-*s %s" % 382 lines.append(" --%-*s" % opt_names) 385 lines.append(big_indent + l) 389 return lines [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
fancy_getopt.py | 346 # - 2 spaces before option block start lines 351 # Now generate lines of help text. (If 80 columns were good enough 357 lines = [header] 359 lines = ['Option summary:'] 370 lines.append(" --%-*s %s" % (max_opt, long, text[0])) 372 lines.append(" --%-*s " % (max_opt, long)) 379 lines.append(" --%-*s %s" % 382 lines.append(" --%-*s" % opt_names) 385 lines.append(big_indent + l) 389 return lines [all...] |