Lines Matching defs:NULL
102 * == NULL - new string is created
106 * == NULL - no action is performed
128 assert(a_old != NULL);
133 if (a_new == NULL || *a_new == '\0') {
139 assert(strchr(a_new, (int)a_separator) == NULL);
143 if ((*a_old != NULL) && ((*a_old)[0] == '\0')) {
144 /* *a_old is set to NULL by free */
146 *a_old = NULL;
151 if (*a_old != NULL) {
161 assert(*a_old == NULL);
190 assert(a_separators != NULL);
198 if (a_token == NULL || a_string == NULL || *a_string == '\0') {
214 while ((current = strtok_r(NULL, a_separators, &lasts)) !=
215 NULL) {
251 * == NULL - no token matching criteria found
252 * != NULL - token matching criteria
267 assert(a_string != NULL);
269 assert(a_separators != NULL);
274 if (r_sep != NULL) {
286 while (q = strtok_r(NULL, a_separators, &lasts)) {
289 if (r_sep != NULL) {
293 if (x != NULL) {
325 /* return NULL pointer (token not found) */
327 return (NULL);
373 assert(a_string != NULL);
375 assert(a_separators != NULL);
377 assert(a_buf != NULL);
382 if (r_sep != NULL) {
398 while (q = strtok_r(NULL, a_separators, &lasts)) {
401 if (r_sep != NULL) {
404 if (x != NULL) {
448 char *rstr = NULL;
452 assert(a_format != NULL);
511 assert(a_format != NULL);
513 assert(a_buf != NULL);
537 * == NULL:
538 * - input string was NULL
540 * != NULL:
562 assert(a_str != NULL);
566 if (*a_str == NULL) {
571 /* if string is empty, deallocate and return NULL */
574 /* free string - handle is not reset to NULL by free */
576 *a_str = NULL;
592 /* if string was all space characters, deallocate and return NULL */
595 /* free string - *a_str is not reset to NULL by free */
597 *a_str = NULL;
647 assert(r_string != NULL);
648 assert(a_token != NULL);
650 assert(a_separators != NULL);
665 * set *r_string to NULL
668 *r_string = NULL;
690 if (p == NULL) {