Searched refs:scriptobj (Results 1 – 2 of 2) sorted by relevance
72 PyObject *scriptobj; in syslog_get_argv() local89 scriptobj = PyList_GetItem(argv, 0); in syslog_get_argv()90 if (!PyUnicode_Check(scriptobj)) { in syslog_get_argv()93 scriptlen = PyUnicode_GET_LENGTH(scriptobj); in syslog_get_argv()98 slash = PyUnicode_FindChar(scriptobj, SEP, 0, scriptlen, -1); in syslog_get_argv()102 return PyUnicode_Substring(scriptobj, slash, scriptlen); in syslog_get_argv()104 Py_INCREF(scriptobj); in syslog_get_argv()105 return(scriptobj); in syslog_get_argv()
72 PyObject *scriptobj; in syslog_get_argv() local89 scriptobj = PyList_GetItem(argv, 0); in syslog_get_argv()90 if (!PyString_Check(scriptobj)) { in syslog_get_argv()93 if (PyString_GET_SIZE(scriptobj) == 0) { in syslog_get_argv()97 atslash = strrchr(PyString_AsString(scriptobj), SEP); in syslog_get_argv()101 Py_INCREF(scriptobj); in syslog_get_argv()102 return(scriptobj); in syslog_get_argv()