Home
last modified time | relevance | path

Searched refs:ensure_text (Results 1 – 14 of 14) sorted by relevance

/external/autotest/client/bin/
Dfs_sync.py51 stdout = six.ensure_text(stdout, errors='replace')
58 stderr = six.ensure_text(stderr, errors='replace')
/external/autotest/client/common_lib/
Dseven.py78 def ensure_text(s, encoding='utf-8', errors='strict'): function
/external/tensorflow/tensorflow/tools/test/
Dsystem_info_lib.py88 six.ensure_text(fh.read(), 'utf-8'))
/external/autotest/client/tools/
Dcrash_handler.py161 backtrace = six.ensure_text(backtrace, 'utf-8', 'ignore')
/external/autotest/site_utils/
Ddump_to_cloudsql.py71 self._cursor.execute(six.ensure_text(self._cmd, 'utf-8'))
/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dexport_utils.py246 compat.as_bytes('temp-{}'.format(six.ensure_text(basename))))
/external/python/apitools/apitools/base/py/
Dcredentials_lib.py254 self.__service_account_name = six.ensure_text(
323 scopes = sorted([six.ensure_text(scope) for scope in scopes])
Dtransfer.py432 self.stream.write(six.ensure_text(response.content))
/external/autotest/client/cros/
Dliststorage.py248 dev['mountpoint'] = seven.ensure_text(mount, 'unicode-escape')
/external/tensorflow/tensorflow/lite/python/
Dconvert.py74 return six.ensure_text(output)
Dinterpreter_test.py456 x if isinstance(x, str) else six.ensure_text(x, 'utf-8'))
Dlite.py1889 file_content = six.ensure_text(file_content, "utf-8")
/external/tensorflow/tensorflow/python/eager/
Ddef_function.py633 implements_attr = six.ensure_text(self._implements, "utf-8")
/external/autotest/client/common_lib/cros/
Ddev_server.py179 strip.feed(seven.ensure_text(message, 'utf_32'))