Home | History | Annotate | Download | only in Modules

Lines Matching refs:LIST

89 -c cmd : program passed in as string (terminates option list)\n\
98 -m mod : run library module as a script (terminates option list)\n\
127 PYTHONPATH : '%lc'-separated list of directories prefixed to the\n\
511 clear_wstrlist(int len, wchar_t **list)
514 PyMem_RawFree(list[i]);
516 PyMem_RawFree(list);
701 wstrlist_append(int *len, wchar_t ***list, const wchar_t *str)
708 size_t size = (*len + 1) * sizeof(list[0]);
709 wchar_t **list2 = (wchar_t **)PyMem_RawRealloc(*list, size);
715 *list = list2;
722 pymain_wstrlist_append(_PyMain *pymain, int *len, wchar_t ***list, const wchar_t *str)
724 _PyInitError err = wstrlist_append(len, list, str);
998 * the `sys.warnoptions` list. Since the warnings module works on the basis
1247 copy_wstrlist(int len, wchar_t **list)
1249 assert((len > 0 && list != NULL) || len == 0);
1250 size_t size = len * sizeof(list[0]);
1256 wchar_t* arg = _PyMem_RawWcsdup(list[i]);
1319 _Py_wstrlist_as_pylist(int len, wchar_t **list)
1321 assert(list != NULL || len < 1);
1329 PyObject *v = PyUnicode_FromWideChar(list[i], -1);
2441 #define CLEAR_WSTRLIST(LEN, LIST) \
2443 clear_wstrlist(LEN, LIST); \
2445 LIST = NULL; \
2486 #define COPY_WSTRLIST(LEN, LIST) \
2488 if (config2->LIST != NULL) { \
2489 config->LIST = copy_wstrlist(config2->LEN, config2->LIST); \
2490 if (config->LIST == NULL) { \
2781 #define COPY_WSTRLIST(ATTR, LEN, LIST) \
2784 ATTR = _Py_wstrlist_as_pylist(LEN, LIST); \