Home
last modified time | relevance | path

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

/aosp_15_r20/external/libfuse/lib/modules/
H A Diconv.c258 char *newto; in iconv_symlink() local
261 err = iconv_convpath(ic, to, &newto, 0); in iconv_symlink()
263 err = fuse_fs_symlink(ic->next, newfrom, newto); in iconv_symlink()
264 free(newto); in iconv_symlink()
275 char *newto; in iconv_rename() local
278 err = iconv_convpath(ic, to, &newto, 0); in iconv_rename()
280 err = fuse_fs_rename(ic->next, newfrom, newto, flags); in iconv_rename()
281 free(newto); in iconv_rename()
292 char *newto; in iconv_link() local
295 err = iconv_convpath(ic, to, &newto, 0); in iconv_link()
[all …]
H A Dsubdir.c260 char *newto; in subdir_rename() local
263 err = subdir_addpath(d, to, &newto); in subdir_rename()
265 err = fuse_fs_rename(d->next, newfrom, newto, flags); in subdir_rename()
266 free(newto); in subdir_rename()
277 char *newto; in subdir_link() local
280 err = subdir_addpath(d, to, &newto); in subdir_link()
282 err = fuse_fs_link(d->next, newfrom, newto); in subdir_link()
283 free(newto); in subdir_link()
/aosp_15_r20/external/python/cpython2/Modules/
Ditertoolsmodule.c501 teeobject *newto; in tee_copy() local
503 newto = PyObject_GC_New(teeobject, &tee_type); in tee_copy()
504 if (newto == NULL) in tee_copy()
507 newto->dataobj = to->dataobj; in tee_copy()
508 newto->index = to->index; in tee_copy()
509 newto->weakreflist = NULL; in tee_copy()
510 PyObject_GC_Track(newto); in tee_copy()
511 return (PyObject *)newto; in tee_copy()
/aosp_15_r20/external/python/cpython3/Modules/
Ditertoolsmodule.c845 teeobject *newto; in tee_copy() local
847 newto = PyObject_GC_New(teeobject, &tee_type); in tee_copy()
848 if (newto == NULL) in tee_copy()
851 newto->dataobj = to->dataobj; in tee_copy()
852 newto->index = to->index; in tee_copy()
853 newto->weakreflist = NULL; in tee_copy()
854 PyObject_GC_Track(newto); in tee_copy()
855 return (PyObject *)newto; in tee_copy()
/aosp_15_r20/external/python/cpython2/Objects/
Dtypeobject.c3172 compatible_for_assignment(PyTypeObject* oldto, PyTypeObject* newto, char* attr) in compatible_for_assignment() argument
3176 if (newto->tp_dealloc != oldto->tp_dealloc || in compatible_for_assignment()
3177 newto->tp_free != oldto->tp_free) in compatible_for_assignment()
3183 newto->tp_name, in compatible_for_assignment()
3187 newbase = newto; in compatible_for_assignment()
3200 newto->tp_name, in compatible_for_assignment()
3212 PyTypeObject *newto; in object_set_class() local
3225 newto = (PyTypeObject *)value; in object_set_class()
3226 if (!(newto->tp_flags & Py_TPFLAGS_HEAPTYPE) || in object_set_class()
3233 if (compatible_for_assignment(newto, oldto, "__class__")) { in object_set_class()
[all …]
/aosp_15_r20/external/python/cpython3/Objects/
Dtypeobject.c4725 compatible_for_assignment(PyTypeObject* oldto, PyTypeObject* newto, const char* attr) in compatible_for_assignment() argument
4729 if (newto->tp_free != oldto->tp_free) { in compatible_for_assignment()
4734 newto->tp_name, in compatible_for_assignment()
4748 newbase = newto; in compatible_for_assignment()
4761 ((newto->tp_flags & Py_TPFLAGS_MANAGED_DICT))) in compatible_for_assignment()
4770 newto->tp_name, in compatible_for_assignment()
4791 PyTypeObject *newto = (PyTypeObject *)value; in object_set_class() local
4847 if (!(PyType_IsSubtype(newto, &PyModule_Type) && in object_set_class()
4849 (_PyType_HasFeature(newto, Py_TPFLAGS_IMMUTABLETYPE) || in object_set_class()
4857 if (compatible_for_assignment(oldto, newto, "__class__")) { in object_set_class()
[all …]
/aosp_15_r20/external/libxml2/
H A Dxmlregexp.c1805 int statenr, i, j, newto; in xmlFAEliminateSimpleEpsilonTransitions() local
1823 newto = state->trans[0].to; in xmlFAEliminateSimpleEpsilonTransitions()
1833 ctxt->states[newto], in xmlFAEliminateSimpleEpsilonTransitions()
1840 ctxt->states[newto]->type = XML_REGEXP_FINAL_STATE; in xmlFAEliminateSimpleEpsilonTransitions()
1901 int newto = state->trans[transnr].to; in xmlFAEliminateEpsilonTransitions() local
1907 newto, state->trans[transnr].counter); in xmlFAEliminateEpsilonTransitions()
1908 xmlFAFinishReduceEpsilonTransitions(ctxt, newto); in xmlFAEliminateEpsilonTransitions()
1954 int newto = state->trans[transnr].to; in xmlFAEliminateEpsilonTransitions() local
1956 if (ctxt->states[newto] == NULL) in xmlFAEliminateEpsilonTransitions()
1958 if (ctxt->states[newto]->reached == XML_REGEXP_MARK_NORMAL) { in xmlFAEliminateEpsilonTransitions()
[all …]