Lines Matching defs:errp
254 * random_range(int start, int end, int mult, char **errp)
258 * integer > 0. errp is a char ** which will be set to point to a static
261 * The errp is the only way to check if the routine fails - currently the only
267 * If random_range_fails, and errp is a valid pointer, it will point to an
268 * internal error buffer. If errp is a vaild pointer, and random_range
269 * is successful, errp will be set to NULL.
272 * possible, and errp need not be used.
278 long random_range(int min, int max, int mult, char **errp)
289 if (errp != NULL) {
291 *errp = errbuf;
325 if (errp != NULL) {
329 *errp = errbuf;
334 if (errp != NULL) {
335 *errp = NULL;
365 long random_rangel(long min, long max, long mult, char **errp)
376 if (errp != NULL) {
378 *errp = errbuf;
412 if (errp != NULL) {
416 *errp = errbuf;
421 if (errp != NULL) {
422 *errp = NULL;
452 long long mult, char **errp)
464 if (errp != NULL) {
466 *errp = errbuf;
500 if (errp != NULL) {
504 *errp = errbuf;
509 if (errp != NULL) {
510 *errp = NULL;