Lines Matching refs:newname
1201 PetscErrorCode PetscOptionsSetAlias(PetscOptions options, const char newname[], const char oldname[… in PetscOptionsSetAlias() argument
1207 PetscAssertPointer(newname, 2); in PetscOptionsSetAlias()
1210 PetscCall(PetscOptionsValidKey(newname, &valid)); in PetscOptionsSetAlias()
1211 PetscCheck(valid, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Invalid aliased option %s", newname); in PetscOptionsSetAlias()
1230 newname++; in PetscOptionsSetAlias()
1232 PetscCall(PetscStrlen(newname, &len)); in PetscOptionsSetAlias()
1234 PetscCall(PetscStrncpy(options->aliases1[options->Na], newname, len + 1)); in PetscOptionsSetAlias()
3322 …te(PetscOptionItems PetscOptionsObject, const char oldname[], const char newname[], const char ver… in PetscOptionsDeprecated_Private() argument
3342 if (newname) { in PetscOptionsDeprecated_Private()
3346 PetscCall(PetscOptionsFindPair(options, prefix, newname, NULL, &newfound)); in PetscOptionsDeprecated_Private()
3349 PetscCall(PetscOptionsSetValue(options, newname, value)); in PetscOptionsDeprecated_Private()
3363 if (newname) { in PetscOptionsDeprecated_Private()
3366 PetscCall(PetscStrlcat(msg, newname + 1, sizeof(msg))); in PetscOptionsDeprecated_Private()