Lines Matching defs:str
418 char *str;
431 line->str = (char *)calloc(newmax, 1);
438 str = (char *)realloc(line->str, newmax);
439 if (str == NULL) {
440 free(line->str);
441 line->str = NULL;
444 line->str = str;
447 if (line->str == NULL) {
454 (void) strlcat(line->str, toprint, line->alloc);
456 (void) strlcat(line->str, sep, line->alloc);
480 char *str;
516 str = __s_api_strValue(ptr, i, NS_DOOR_FMT);
517 if (str == NULL)
519 if (__print2buf(configinfo, str, DOORLINESEP)) {
525 free(str);
528 free(str);
536 * The flatten configuration data configinfo->str is cloned
540 * configinfo->str & configinfo->len are reused to save info of
546 if (configinfo->str) {
550 free(configinfo->str);
551 configinfo->str = NULL;
564 (void) memcpy(cout->config_str, configinfo->str,
566 free(configinfo->str);
567 configinfo->str = (char *)cout;
580 char *str;
642 str = __s_api_strValue(ptr, i, NS_LDIF_FMT);
643 if (str == NULL)
656 (void) fprintf(fp, "%s\n", str);
657 free(str);
681 char *str;
757 str = __s_api_strValue(ptr, i, NS_FILE_FMT);
758 if (str == NULL)
760 if (fprintf(fp, "%s\n", str) < 0) {
768 free(str);
929 (void) __ns_ldap_setParamValue(ptr, index, buffer.str,
932 free(buffer.str);
987 free(buffer.str);
1078 char *str;
1117 str = __s_api_strValue(ptr, i, NS_FILE_FMT);
1118 if (str == NULL)
1122 (void) fprintf(stdout, "%s\n", str);
1123 free(str);