Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dstropmodule.c462 char *s, *s_new; in strop_lower() local
473 s_new = PyString_AsString(newstr); in strop_lower()
479 *s_new = tolower(c); in strop_lower()
481 *s_new = c; in strop_lower()
482 s_new++; in strop_lower()
501 char *s, *s_new; in strop_upper() local
512 s_new = PyString_AsString(newstr); in strop_upper()
518 *s_new = toupper(c); in strop_upper()
520 *s_new = c; in strop_upper()
521 s_new++; in strop_upper()
[all …]
D_struct.c1346 s_new(PyTypeObject *type, PyObject *args, PyObject *kwds) in s_new() function
1803 s_new, /* tp_new */
/external/python/cpython2/Objects/
Dstringobject.c2049 char *s = PyString_AS_STRING(self), *s_new; in string_title() local
2057 s_new = PyString_AsString(newobj); in string_title()
2070 *s_new++ = c; in string_title()
2084 char *s = PyString_AS_STRING(self), *s_new; in string_capitalize() local
2091 s_new = PyString_AsString(newobj); in string_capitalize()
2095 *s_new = toupper(c); in string_capitalize()
2097 *s_new = c; in string_capitalize()
2098 s_new++; in string_capitalize()
2103 *s_new = tolower(c); in string_capitalize()
2105 *s_new = c; in string_capitalize()
[all …]
/external/ltp/testcases/kernel/mem/lib/
Dmem.c812 char s_new[BUFSIZ], s[BUFSIZ], value[BUFSIZ]; in umount_mem() local
820 snprintf(s_new, BUFSIZ, "%s/tasks", path_new); in umount_mem()
821 fp = fopen(s_new, "r"); in umount_mem()
823 tst_resm(TWARN | TERRNO, "fopen %s", s_new); in umount_mem()