Searched refs:encoded_string (Results 1 – 2 of 2) sorted by relevance
171 my ($self, $encoded_string) = @_;174 while ($encoded_string =~ /(.)(.)/gxms) {184 my ($self, $encoded_string) = @_;186 return $self->unpack_encoded_string($encoded_string);
335 PyObject* encoded_string = NULL; in CheckAndGetInteger() local339 encoded_string = PyString_AsEncodedObject(arg, "utf-8", NULL); in CheckAndGetInteger()341 encoded_string = arg; // Already encoded. in CheckAndGetInteger()342 Py_INCREF(encoded_string); in CheckAndGetInteger()345 encoded_string = PyUnicode_AsEncodedObject(arg, "utf-8", NULL); in CheckAndGetInteger()349 encoded_string = arg; in CheckAndGetInteger()350 Py_INCREF(encoded_string); in CheckAndGetInteger()353 if (encoded_string == NULL) { in CheckAndGetInteger()359 if (PyBytes_AsStringAndSize(encoded_string, &value, &value_len) < 0) { in CheckAndGetInteger()360 Py_DECREF(encoded_string); in CheckAndGetInteger()[all …]