Home
last modified time | relevance | path

Searched refs:genfile (Results 1 – 2 of 2) sorted by relevance

/external/libmtp/examples/
Dsendfile.c53 LIBMTP_file_t *genfile; in sendfile_function() local
71 genfile = LIBMTP_new_file_t(); in sendfile_function()
72 genfile->filesize = filesize; in sendfile_function()
73 genfile->filename = strdup(filename); in sendfile_function()
74 genfile->filetype = find_filetype (filename); in sendfile_function()
75 genfile->parent_id = parent_id; in sendfile_function()
76 genfile->storage_id = 0; in sendfile_function()
79 ret = LIBMTP_Send_File_From_File(device, from_path, genfile, progress, NULL); in sendfile_function()
87 printf("New file ID: %d\n", genfile->item_id); in sendfile_function()
90 LIBMTP_destroy_file_t(genfile); in sendfile_function()
/external/ltp/testcases/network/
Dgenerate.sh63 genfile() { function
75 genfile bin.sm bin.med
76 genfile bin.med bin.lg
77 genfile bin.lg bin.jmb