Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Dmessage.cc678 PyObject* encoded_string = NULL; in CheckAndGetInteger() local
682 encoded_string = arg; // Already encoded. in CheckAndGetInteger()
683 Py_INCREF(encoded_string); in CheckAndGetInteger()
685 encoded_string = PyUnicode_AsEncodedObject(arg, "utf-8", NULL); in CheckAndGetInteger()
689 encoded_string = arg; in CheckAndGetInteger()
690 Py_INCREF(encoded_string); in CheckAndGetInteger()
693 return encoded_string; in CheckAndGetInteger()
702 ScopedPyObjectPtr encoded_string(CheckString(arg, descriptor)); in CheckAndGetInteger() local
704 if (encoded_string.get() == NULL) { in CheckAndGetInteger()
710 if (PyBytes_AsStringAndSize(encoded_string.get(), &value, &value_len) < 0) { in CheckAndGetInteger()