Lines Matching refs:str
31 psf_store_string (SF_PRIVATE *psf, int str_type, const char *str)
36 if (str == NULL)
39 str_len = strlen (str) ;
92 { if (strstr (str, PACKAGE_NAME) == NULL)
97 if (strlen (str) == 0)
100 snprintf (new_str, sizeof (new_str), "%s (%s-%s)", str, PACKAGE_NAME, PACKAGE_VERSION) ;
103 snprintf (new_str, sizeof (new_str), "%s", str) ;
105 str = new_str ;
126 str_len = strlen (str) + 1 ;
146 memcpy (psf->strings.storage + psf->strings.storage_used, str, str_len) ;
160 psf_set_string (SF_PRIVATE *psf, int str_type, const char *str)
164 return psf_store_string (psf, str_type, str) ;