Home | History | Annotate | Download | only in libiberty

Lines Matching defs:NULL

23     array of string pointers, terminated by a NULL pointer. */
39 #ifndef NULL
40 #define NULL 0
47 #define INITIAL_MAXARGC 8 /* Number of args + NULL in initial argv */
55 duplicating each argument until the terminating @code{NULL} is found.
57 @code{NULL} if there is insufficient memory to complete building the
70 if (argv == NULL)
71 return NULL;
74 for (argc = 0; argv[argc] != NULL; argc++);
78 for (argc = 0; argv[argc] != NULL; argc++)
80 copy[argc] = NULL;
90 the terminating @code{NULL} is found, and then frees @var{vector}
101 if (vector != NULL)
103 for (scan = vector; *scan != NULL; scan++)
138 @code{NULL} element.
146 @code{NULL} if @var{sp} is @code{NULL} or if there is insufficient
149 If the input is a null string (as opposed to a @code{NULL} pointer),
150 then buildarg returns an argument vector that has one arg, a null
163 The argument vector is always kept terminated with a @code{NULL} arg
178 char **argv = NULL;
181 if (input != NULL)
185 argv, even for null strings. See NOTES above, test case below. */
194 if (argv == NULL)
205 argv[argc] = NULL;
269 argv[argc] = NULL;
297 if (f == NULL)
300 while (*argv != NULL)
427 file_argv[0] = NULL;
440 NULL terminator at the end of ARGV. */
469 Returns zero if @var{argv} is NULL.
480 if (argv == NULL)
482 for (argc = 0; argv[argc] != NULL; argc++)
505 NULL
515 for (test = tests; *test != NULL; test++)
518 if ((argv = buildargv (*test)) == NULL)
524 for (targs = argv; *targs != NULL; targs++)