Lines Matching refs:names
206 const char **names; member
212 …amesCreate_Internal(MPI_Comm comm, PetscInt num_names_local, const char **names, PetscInt *num_nam… in PetscLogGlobalNamesCreate_Internal() argument
234 PetscCall(PetscStrallocpy(names[i], &global_names[i])); in PetscLogGlobalNamesCreate_Internal()
248 PetscCall(PetscStrlen(names[i], &i_len)); in PetscLogGlobalNamesCreate_Internal()
288 PetscCall(PetscStrallocpy(names[s], &global_names[num_names_global])); in PetscLogGlobalNamesCreate_Internal()
289 PetscCall(PetscStrncpy(str_buffer, names[s], max_name_len + 1)); in PetscLogGlobalNamesCreate_Internal()
303 PetscCall(PetscStrncmp(names[s], str_buffer, max_name_len + 1, &same)); in PetscLogGlobalNamesCreate_Internal()
334 …unt_global, &global_names->global_to_local, &global_names->local_to_global, &global_names->names)); in PETSC_PRAGMA_DIAGNOSTIC_IGNORED_END()
349 …for (PetscInt i = 0; i < global_names->count_global; i++) PetscCall(PetscFree(global_names->names[… in PetscLogGlobalNamesDestroy()
350 PetscCall(PetscFree(global_names->names)); in PetscLogGlobalNamesDestroy()
359 *name = global_names->names[idx]; in PetscLogGlobalNamesGlobalGetName()
390 const char **names; in PetscLogRegistryCreateGlobalStageNames() local
394 PetscCall(PetscMalloc1(num_stages_local, &names)); in PetscLogRegistryCreateGlobalStageNames()
398 names[i] = stage_info.name; in PetscLogRegistryCreateGlobalStageNames()
400 PetscCall(PetscLogGlobalNamesCreate(comm, num_stages_local, names, global_names_p)); in PetscLogRegistryCreateGlobalStageNames()
401 PetscCall(PetscFree(names)); in PetscLogRegistryCreateGlobalStageNames()
408 const char **names; in PetscLogRegistryCreateGlobalEventNames() local
412 PetscCall(PetscMalloc1(num_events_local, &names)); in PetscLogRegistryCreateGlobalEventNames()
417 names[i] = event_info.name; in PetscLogRegistryCreateGlobalEventNames()
419 PetscCall(PetscLogGlobalNamesCreate(comm, num_events_local, names, global_names_p)); in PetscLogRegistryCreateGlobalEventNames()
420 PetscCall(PetscFree(names)); in PetscLogRegistryCreateGlobalEventNames()