Lines Matching refs:line
153 for line in data.split("\n"):
154 if not line:
156 name, value = line.split(" ", 1)
194 for line in lines:
195 line = line.strip()
196 if not line or line.startswith("#"):
198 if "=" in line:
199 name, value = line.split("=", 1)
221 for line in data.split("\n"):
222 line = line.strip()
223 if not line or line.startswith("#"):
225 pieces = line.split()
227 raise ValueError("malformed recovery.fstab line: \"%s\"" % (line,))
256 for line in data.split("\n"):
257 line = line.strip()
258 if not line or line.startswith("#"):
261 pieces = line.split()
263 raise ValueError("malformed recovery.fstab line: \"%s\"" % (line,))
614 for line in tf_zip.read("META/apkcerts.txt").split("\n"):
615 line = line.strip()
616 if not line:
619 r'private_key="(.*)"$', line)
631 raise ValueError("failed to parse line from apkcerts.txt:\n" + line)
831 for line in f:
832 line = line.strip()
833 if not line or line[0] == '#':
835 m = re.match(r"^\[\[\[\s*(.*?)\s*\]\]\]\s*(\S+)$", line)
837 print "failed to parse password file: ", line
1353 for line in data.split("\n"):
1354 if "--END CERTIFICATE--" in line:
1357 cert.append(line)
1358 if "--BEGIN CERTIFICATE--" in line:
1421 for line in f:
1422 m = re.match(r"^service flash_recovery /system/(\S+)\s*$", line)