Searched refs:model_module (Results 1 – 2 of 2) sorted by relevance
16 from telemetry.timeline import model as model_module unknown146 timeline_model = model_module.TimelineModel(results)148 event_type_predicate=model_module.IsSliceOrAsyncSlice)
1842 PyObject *model_module; in MODULE_INITFUNC() local1909 model_module = PyDict_GetItem(d, modelmod_name); in MODULE_INITFUNC()1910 if (model_module == NULL) { in MODULE_INITFUNC()1911 model_module = PyModule_New(MODULE_NAME ".model"); in MODULE_INITFUNC()1912 if (model_module != NULL) { in MODULE_INITFUNC()1913 PyDict_SetItem(sys_modules, modelmod_name, model_module); in MODULE_INITFUNC()1915 PyModule_AddObject(m, "model", model_module); in MODULE_INITFUNC()1919 if (errors_module == NULL || model_module == NULL) in MODULE_INITFUNC()2009 #define MYCONST(c) PyModule_AddIntConstant(model_module, #c, c) in MODULE_INITFUNC()2010 PyModule_AddStringConstant(model_module, "__doc__", in MODULE_INITFUNC()