Home
last modified time | relevance | path

Searched refs:read_contents (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper_test.py102 def __init__(self, select_fds=_DEFAULT, read_contents=None, ts=_DEFAULT): argument
104 self.read_contents = read_contents
141 if o.read_contents is None:
156 return self._output_sequence[self._output_seq_index].read_contents
209 _ProcessOutputEvent(read_contents=b'1\n2\n'),
221 _ProcessOutputEvent(read_contents=b'\x80\x31\nHello\n\xE2\x98\xA0')
260 _ProcessOutputEvent(read_contents=b'1\n2\n', ts=1),
261 _ProcessOutputEvent(read_contents=None, ts=2),
262 _ProcessOutputEvent(read_contents=b'Awake', ts=10),
/external/python/pyfakefs/pyfakefs/
Dhelpers.py334 read_contents = byte_contents
337 read_contents = self.convert_newlines_after_reading(
345 length = read_contents.find(LF) + 1
355 length = read_contents.find(newline) + len(newline)
358 length = read_contents.find(newline)
365 length = len(read_contents)
370 else read_contents[:length])
/external/llvm-project/lldb/test/API/tools/lldb-server/
DTestLldbGdbServer.py807 read_contents = seven.unhexlify(context.get("read_contents"))
808 self.assertEqual(read_contents, MEMORY_CONTENTS)