Home
last modified time | relevance | path

Searched refs:getline (Results 1 – 25 of 35) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_linecache.py42 getline = linecache.getline
45 self.assertEqual(getline(FILENAME, 2**15), EMPTY)
46 self.assertEqual(getline(FILENAME, -1), EMPTY)
49 self.assertRaises(TypeError, getline, FILENAME, 1.1)
52 self.assertEqual(getline(EMPTY, 1), EMPTY)
53 self.assertEqual(getline(INVALID_NAME, 1), EMPTY)
59 self.assertEqual(line, getline(filename, index + 1))
65 self.assertEqual(line, getline(filename, index + 1))
83 linecache.getline(filename, 1)
95 getline = linecache.getline
[all …]
Dtest_warnings.py529 expected_line = ' ' + linecache.getline(path, line).strip() + '\n'
544 file_line = linecache.getline(file_name, line_num).strip()
560 expected_file_line = linecache.getline(file_name, line_num).strip()
/device/google/crosshatch/vibrator/
Dimpl.cpp78 for (std::string line; std::getline(cal_data, line);) { in loadCalibrationData()
84 if (std::getline(is_line, key, ':')) { in loadCalibrationData()
87 if (std::getline(is_line, value)) { in loadCalibrationData()
/device/google/wahoo/vibrator/
Dservice.cpp95 while (std::getline(cal_data, line)) { in loadCalibrationData()
101 if (std::getline(is_line, key, ':')) { in loadCalibrationData()
104 if (std::getline(is_line, value)) { in loadCalibrationData()
/device/google/cuttlefish_common/common/libs/strings/
Dstr_split.cpp26 for (std::string s; std::getline(stream, s, delimiter); s.clear()) { in StrSplit()
/device/google/bonito/vibrator/
Dservice.cpp102 while (std::getline(cal_data, line)) { in loadCalibrationData()
108 if (std::getline(is_line, key, ':')) { in loadCalibrationData()
111 if (std::getline(is_line, value)) { in loadCalibrationData()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dtraceback.py69 line = linecache.getline(filename, lineno, f.f_globals)
101 line = linecache.getline(filename, lineno, f.f_globals)
306 line = linecache.getline(filename, lineno, f.f_globals)
Dlinecache.py13 def getline(filename, lineno, module_globals=None): function
Dwarnings.py43 line = linecache.getline(filename, lineno) if line is None else line
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dtraceback.py69 line = linecache.getline(filename, lineno, f.f_globals)
101 line = linecache.getline(filename, lineno, f.f_globals)
305 line = linecache.getline(filename, lineno, f.f_globals)
Dnntplib.py200 def getline(self): member in NNTP
214 resp = self.getline()
240 line = self.getline()
Dlinecache.py13 def getline(filename, lineno, module_globals=None): function
Dbdb.py242 line = linecache.getline(filename, lineno)
369 line = linecache.getline(filename, lineno, frame.f_globals)
611 line = linecache.getline(fn, frame.f_lineno, frame.f_globals)
Dcgitb.py135 try: return linecache.getline(file, lnum[0])
219 try: return linecache.getline(file, lnum[0])
Dftplib.py182 def getline(self): member in FTP
196 line = self.getline()
200 nextline = self.getline()
Dtrace.py633 linecache.getline(filename, lineno)),
646 linecache.getline(filename, lineno)),
Dwarnings.py39 line = linecache.getline(filename, lineno) if line is None else line
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dpindent.py140 def getline(self): member in PythonIndenter
167 line = self.getline()
212 line = self.getline()
243 line = self.getline()
Dreindent.py177 tokenize.tokenize(self.getline, self.tokeneater)
249 def getline(self): member in Reindenter
Dcleanfuture.py146 def getline(self): member in FutureFinder
165 get = tokenize.generate_tokens(self.getline).next
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c226 while ((numRead = getline(&line, &len, fp)) != -1) { in parseInstalledAppInfo()
262 while ((numRead = getline(&line, &len, fp)) != -1) { in findAppIdByName()
296 …while (((numRead = getline(&line, &len, fp)) != -1) && (*installCnt < MAX_INSTALL_CNT) && (*uninst… in parseConfigAppInfo()
/device/generic/goldfish/camera/
DEmulatedQemuCamera.cpp78 while (std::getline(ss, input, ',')) { in Initialize()
/device/google/contexthub/util/nanotool/
Dnanotool.cpp249 while (std::getline(full_arg_ss, param, '=')) { in ParseSensorArg()
265 while (std::getline(pre_cal_ref_ss, param, ':')) { in ParseSensorArg()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/
Dscantools.py466 def getline(self): member in Scanner
472 return self.getline()
497 try: line = self.getline()
556 line = self.getline()
/device/google/marlin/power/
Dpower-helper.c580 ((read = getline(&line, &len, fp) != -1) && (index < num_parameters)); in extract_stats()

12