Lines Matching refs:result

204     struct file_st *result = NULL;  in win32_splitter()  local
214 result = OPENSSL_zalloc(sizeof(*result)); in win32_splitter()
215 if (result == NULL) in win32_splitter()
225 result->node = start; in win32_splitter()
234 OPENSSL_free(result); in win32_splitter()
237 result->device = start; in win32_splitter()
238 result->devicelen = (int)(filename - start); in win32_splitter()
241 result->dir = start; in win32_splitter()
246 result->nodelen = (int)(filename - start); in win32_splitter()
249 result->dir = start; in win32_splitter()
253 result->dir = start; in win32_splitter()
254 result->dirlen = (int)(filename - start); in win32_splitter()
258 result->dirlen += (int)(filename - start); in win32_splitter()
264 result->nodelen = (int)(filename - start); in win32_splitter()
269 result->dir = start; in win32_splitter()
270 result->dirlen = 0; in win32_splitter()
272 result->dirlen += (int)(filename - start); in win32_splitter()
274 result->file = start; in win32_splitter()
275 result->filelen = (int)(filename - start); in win32_splitter()
287 if (!result->nodelen) in win32_splitter()
288 result->node = NULL; in win32_splitter()
289 if (!result->devicelen) in win32_splitter()
290 result->device = NULL; in win32_splitter()
291 if (!result->dirlen) in win32_splitter()
292 result->dir = NULL; in win32_splitter()
293 if (!result->filelen) in win32_splitter()
294 result->file = NULL; in win32_splitter()
296 return result; in win32_splitter()
302 char *result = NULL; in win32_joiner() local
331 result = OPENSSL_malloc(len + 1); in win32_joiner()
332 if (result == NULL) in win32_joiner()
336 strcpy(&result[offset], "\\\\"); in win32_joiner()
338 strncpy(&result[offset], file_split->node, file_split->nodelen); in win32_joiner()
341 result[offset] = '\\'; in win32_joiner()
345 strncpy(&result[offset], file_split->device, file_split->devicelen); in win32_joiner()
347 result[offset] = ':'; in win32_joiner()
358 strncpy(&result[offset], start, end - start); in win32_joiner()
360 result[offset] = '\\'; in win32_joiner()
371 strncpy(&result[offset], start, end - start); in win32_joiner()
373 result[offset] = '\\'; in win32_joiner()
377 strncpy(&result[offset], file_split->file, file_split->filelen); in win32_joiner()
379 result[offset] = '\0'; in win32_joiner()
380 return result; in win32_joiner()