Searched refs:ensure_text (Results 1 – 14 of 14) sorted by relevance
/external/autotest/client/bin/ |
D | fs_sync.py | 51 stdout = six.ensure_text(stdout, errors='replace') 58 stderr = six.ensure_text(stderr, errors='replace')
|
/external/autotest/client/common_lib/ |
D | seven.py | 78 def ensure_text(s, encoding='utf-8', errors='strict'): function
|
/external/tensorflow/tensorflow/tools/test/ |
D | system_info_lib.py | 88 six.ensure_text(fh.read(), 'utf-8'))
|
/external/autotest/client/tools/ |
D | crash_handler.py | 161 backtrace = six.ensure_text(backtrace, 'utf-8', 'ignore')
|
/external/autotest/site_utils/ |
D | dump_to_cloudsql.py | 71 self._cursor.execute(six.ensure_text(self._cmd, 'utf-8'))
|
/external/tensorflow/tensorflow/python/saved_model/model_utils/ |
D | export_utils.py | 246 compat.as_bytes('temp-{}'.format(six.ensure_text(basename))))
|
/external/python/apitools/apitools/base/py/ |
D | credentials_lib.py | 254 self.__service_account_name = six.ensure_text( 323 scopes = sorted([six.ensure_text(scope) for scope in scopes])
|
D | transfer.py | 432 self.stream.write(six.ensure_text(response.content))
|
/external/autotest/client/cros/ |
D | liststorage.py | 248 dev['mountpoint'] = seven.ensure_text(mount, 'unicode-escape')
|
/external/tensorflow/tensorflow/lite/python/ |
D | convert.py | 74 return six.ensure_text(output)
|
D | interpreter_test.py | 456 x if isinstance(x, str) else six.ensure_text(x, 'utf-8'))
|
D | lite.py | 1889 file_content = six.ensure_text(file_content, "utf-8")
|
/external/tensorflow/tensorflow/python/eager/ |
D | def_function.py | 633 implements_attr = six.ensure_text(self._implements, "utf-8")
|
/external/autotest/client/common_lib/cros/ |
D | dev_server.py | 179 strip.feed(seven.ensure_text(message, 'utf_32'))
|