/external/ltp/testcases/kernel/device-drivers/agp/user_space/ |
tagp_ki.c | 22 * calls. Each function will need to setup the tif structure 26 * use tif structure for passing params between user 29 * the ki_generic function below. the tif structure makes 48 tagp_interface_t tif; local 53 tif.in_len = 0; 54 tif.in_data = 0; 55 tif.out_len = 0; 56 tif.out_data = 0; 57 tif.out_rc = 0; 62 rc = ioctl(fd, flag, &tif); [all...] |
/external/ltp/testcases/kernel/device-drivers/base/user_base/ |
tbase_ki.c | 22 * calls. Each function will need to setup the tif structure 26 * use tif structure for passing params between user 29 * the ki_generic function below. the tif structure makes 48 tmod_interface_t tif; local 53 tif.in_len = 0; 54 tif.in_data = 0; 55 tif.out_len = 0; 56 tif.out_data = 0; 57 tif.out_rc = 0; 62 rc = ioctl(fd, flag, &tif); [all...] |
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/ |
tmod_ki.c | 22 * calls. Each function will need to setup the tif structure 26 * use tif structure for passing params between user 29 * the ki_generic function below. the tif structure makes 48 tmod_interface_t tif; local 53 tif.in_len = 0; 54 tif.in_data = 0; 55 tif.out_len = 0; 56 tif.out_data = 0; 57 tif.out_rc = 0; 62 rc = ioctl(fd, flag, &tif); [all...] |
/external/ltp/testcases/kernel/device-drivers/usb/user_usb/ |
tusb_ki.c | 22 * and kernel calls. Each function will need to setup the tif 26 * use tif structure for passing params between user 50 * tif in_data and out_data values 57 tusb_interface_t tif; local 62 tif.in_len = 0; 63 tif.in_data = 0; 64 tif.out_len = 0; 65 tif.out_data = 0; 66 tif.out_rc = 0; 71 rc = ioctl(fd, flag, &tif); [all...] |
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/ |
tmod.c | 98 tmod_interface_t tif; local 111 * between user and kernel space, using the tif 116 if (copy_from_user(&tif, (void *)l, sizeof(tif))) { 124 if (tif.in_len > 0) { 125 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); 130 rc = copy_from_user(inparms, tif.in_data, tif.in_len); 136 if (tif.out_len > 0) { 137 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL) [all...] |
/external/ltp/testcases/kernel/device-drivers/usb/tusb/ |
tusb.c | 189 tusb_interface_t tif; local 199 if (copy_from_user(&tif, (void *)l, sizeof(tif))) { 207 if (tif.in_len > 0) { 208 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); 213 rc = copy_from_user(inparms, tif.in_data, tif.in_len); 219 if (tif.out_len > 0) { 220 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); 258 tif.out_rc = rc [all...] |
/external/pdfium/third_party/libtiff/ |
tif_open.c | 86 TIFF *tif; local 119 tif = (TIFF *)_TIFFmalloc((tmsize_t)(sizeof (TIFF) + strlen(name) + 1)); 120 if (tif == NULL) { 124 _TIFFmemset(tif, 0, sizeof (*tif)); 125 tif->tif_name = (char *)tif + sizeof (TIFF); 126 strcpy(tif->tif_name, name); 127 tif->tif_mode = m &~ (O_CREAT|O_TRUNC); 128 tif->tif_curdir = (uint16) -1; /* non-existent directory * [all...] |
tif_getimage.c | 77 TIFFRGBAImageOK(TIFF* tif, char emsg[1024]) 79 TIFFDirectory* td = &tif->tif_dir; 83 if (!tif->tif_decodestatus) { 104 if (!TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &photometric)) { 156 TIFFGetFieldDefaulted(tif, TIFFTAG_INKSET, &inkset); 257 isCCITTCompression(TIFF* tif) 260 TIFFGetField(tif, TIFFTAG_COMPRESSION, &compress); 268 TIFFRGBAImageBegin(TIFFRGBAImage* img, TIFF* tif, int stop, char emsg[1024]) 278 if( !TIFFRGBAImageOK(tif, emsg) ) 296 img->tif = tif 625 TIFF* tif = img->tif; local 772 TIFF* tif = img->tif; local 954 TIFF* tif = img->tif; local 1042 TIFF* tif = img->tif; local [all...] |
tiffio.h | 200 TIFF* tif; /* image handle */ member in struct:_TIFFRGBAImage 345 extern void TIFFCleanup(TIFF* tif); 346 extern void TIFFClose(TIFF* tif); 347 extern int TIFFFlush(TIFF* tif); 348 extern int TIFFFlushData(TIFF* tif); 349 extern int TIFFGetField(TIFF* tif, uint32 tag, ...); 350 extern int TIFFVGetField(TIFF* tif, uint32 tag, va_list ap); 351 extern int TIFFGetFieldDefaulted(TIFF* tif, uint32 tag, ...); 352 extern int TIFFVGetFieldDefaulted(TIFF* tif, uint32 tag, va_list ap); 353 extern int TIFFReadDirectory(TIFF* tif); [all...] |
tif_jpeg.c | 47 int TIFFFillStrip(TIFF* tif, uint32 strip); 48 int TIFFFillTile(TIFF* tif, uint32 tile); 49 int TIFFReInitJPEG_12( TIFF *tif, int scheme, int is_encode ); 163 TIFF* tif; /* back link needed by some code */ member in struct:__anon31502 188 #define JState(tif) ((JPEGState*)(tif)->tif_data) 190 static int JPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); 191 static int JPEGDecodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); 192 static int JPEGEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); 193 static int JPEGEncodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) 404 TIFF* tif = sp->tif; local 414 TIFF* tif = sp->tif; local 442 TIFF* tif = sp->tif; local 534 TIFF* tif = sp->tif; local 687 TIFF* tif; member in struct:JPEGFixupTagsSubsamplingData [all...] |
tif_ojpeg.c | 255 TIFF* tif; member in struct:__anon31509 349 static int OJPEGVGetField(TIFF* tif, uint32 tag, va_list ap); 350 static int OJPEGVSetField(TIFF* tif, uint32 tag, va_list ap); 351 static void OJPEGPrintDir(TIFF* tif, FILE* fd, long flags); 353 static int OJPEGFixupTags(TIFF* tif); 354 static int OJPEGSetupDecode(TIFF* tif); 355 static int OJPEGPreDecode(TIFF* tif, uint16 s); 356 static int OJPEGPreDecodeSkipRaw(TIFF* tif); 357 static int OJPEGPreDecodeSkipScanlines(TIFF* tif); 358 static int OJPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) 2517 TIFF* tif=(TIFF*)cinfo->client_data; local 2534 TIFF* tif=(TIFF*)cinfo->client_data; local 2547 TIFF* tif=(TIFF*)cinfo->client_data; local [all...] |
/external/ltp/testcases/kernel/device-drivers/agp/kernel_space/ |
tagp.c | 127 tagp_interface_t tif; local 140 * between user and kernel space, using the tif 145 if (copy_from_user(&tif, (void *)l, sizeof(tif))) { 153 if (tif.in_len > 0) { 154 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); 159 rc = copy_from_user(inparms, tif.in_data, tif.in_len); 165 if (tif.out_len > 0) { 166 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL) [all...] |
/external/ltp/testcases/kernel/device-drivers/base/tbase/ |
tbase.c | 242 tmod_interface_t tif; local 255 * between user and kernel space, using the tif 260 if (copy_from_user(&tif, (void *)l, sizeof(tif))) { 268 if (tif.in_len > 0) { 269 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); 274 rc = copy_from_user(inparms, tif.in_data, tif.in_len); 280 if (tif.out_len > 0) { 281 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL) [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_tiff.cpp | 57 m_description = "TIFF Files (*.tiff;*.tif)"; 115 TIFF* tif = (TIFF*)m_tif; local 116 TIFFClose( tif ); 135 TIFF* tif = TIFFOpen( m_filename, "r" ); local 137 if( tif ) 140 m_tif = tif; 142 if( TIFFRGBAImageOK( tif, errmsg ) && 143 TIFFGetField( tif, TIFFTAG_IMAGEWIDTH, &width ) && 144 TIFFGetField( tif, TIFFTAG_IMAGELENGTH, &height ) && 145 TIFFGetField( tif, TIFFTAG_PHOTOMETRIC, &photometric ) && 174 TIFF* tif = (TIFF*)m_tif; local [all...] |
/external/pdfium/core/fxcodec/codec/ |
ccodec_tiffmodule.cpp | 177 TIFF* tif = TIFFClientOpen("Tiff Image", mode, (thandle_t)context, tiff_read, local 180 if (tif) { 181 tif->tif_fd = (int)(intptr_t)context; 183 return tif;
|
/external/selinux/libsepol/cil/src/ |
cil_tree.c | 1035 struct cil_tunableif *tif = node->data; local 1039 cil_tree_print_expr(tif->datum_expr, tif->str_expr); [all...] |
cil_build_ast.c | 2924 struct cil_tunableif *tif = NULL; local [all...] |
cil_resolve_ast.c | 3293 struct cil_tunableif *tif = (struct cil_tunableif*)current->data; local [all...] |
/external/selinux/libsepol/cil/test/unit/ |
test_cil_resolve_ast.c | 6831 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7026 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7053 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7080 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7107 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7134 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7161 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7189 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->next->data; local 7217 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->next->data; local [all...] |