Lines Matching refs:result
151 number. The result of calling this function with STRING set to
157 char *result;
165 result = malloc (n+1);
166 if (result)
168 n = WideCharToMultiByte (CP_UTF8, 0, string, -1, result, n, NULL, NULL);
171 free (result);
172 result = NULL;
175 return result;
182 number. The result of calling this function with STRING set to
188 wchar_t *result;
194 result = malloc ((n+1) * sizeof *result);
195 if (result)
197 n = MultiByteToWideChar (CP_UTF8, 0, string, -1, result, n);
200 free (result);
201 result = NULL;
205 return result;
213 char *result, *p;
226 result = malloc (nbytes + strlen (SLDIR) + 1);
227 if (result)
230 result, nbytes, NULL, NULL);
233 free (result);
234 result = NULL;
238 p = strrchr (result, '\\');
258 p = strrchr (result, '\\');
262 strcat (result, SLDIR);
268 result = malloc (10 + strlen (SLDIR) + 1);
269 if (result)
271 strcpy (result, "c:\\gnupg");
272 strcat (result, SLDIR);
276 return result;