Lines Matching refs:strdat
406 get_string_count(char *strdat, int length) in get_string_count() argument
413 for (lastnull = &strdat[length - 1], nullptr = strchr(strdat, '\0'); in get_string_count()
844 char *strdat; in process_charstring_data() local
852 strdat = malloc(retval + 1); in process_charstring_data()
853 if (strdat != NULL) { in process_charstring_data()
854 (void) memcpy(strdat, pdata, retval); in process_charstring_data()
855 strdat[retval] = '\0'; in process_charstring_data()
859 strdat = malloc(retval); in process_charstring_data()
860 if (strdat != NULL) in process_charstring_data()
861 (void) memcpy(strdat, pdata, retval); in process_charstring_data()
863 if (strdat == NULL) in process_charstring_data()
869 strcount = get_string_count(strdat, retval); in process_charstring_data()
872 strdat, strcount); in process_charstring_data()
874 free(strdat); in process_charstring_data()
880 strlen(strdat) + 1, pname, NULL, in process_charstring_data()
883 free(strdat); in process_charstring_data()
887 strdat, NULL); in process_charstring_data()
890 free(strdat); in process_charstring_data()