/third_party/ltp/testcases/kernel/device-drivers/agp/user_space/ |
D | tagp_ki.c | 48 tagp_interface_t tif; in ki_generic() local 53 tif.in_len = 0; in ki_generic() 54 tif.in_data = 0; in ki_generic() 55 tif.out_len = 0; in ki_generic() 56 tif.out_data = 0; in ki_generic() 57 tif.out_rc = 0; in ki_generic() 62 rc = ioctl(fd, flag, &tif); in ki_generic() 67 if (tif.out_rc) { in ki_generic() 69 return tif.out_rc; in ki_generic() 77 tagp_interface_t tif; [all …]
|
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/ |
D | tmod_ki.c | 48 tmod_interface_t tif; in ki_generic() local 53 tif.in_len = 0; in ki_generic() 54 tif.in_data = 0; in ki_generic() 55 tif.out_len = 0; in ki_generic() 56 tif.out_data = 0; in ki_generic() 57 tif.out_rc = 0; in ki_generic() 62 rc = ioctl(fd, flag, &tif); in ki_generic() 67 if (tif.out_rc) { in ki_generic() 69 return tif.out_rc; in ki_generic() 77 tmod_interface_t tif; [all …]
|
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/ |
D | tmod.c | 98 tmod_interface_t tif; in tmod_ioctl() local 116 if (copy_from_user(&tif, (void *)l, sizeof(tif))) { in tmod_ioctl() 124 if (tif.in_len > 0) { in tmod_ioctl() 125 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tmod_ioctl() 130 rc = copy_from_user(inparms, tif.in_data, tif.in_len); in tmod_ioctl() 136 if (tif.out_len > 0) { in tmod_ioctl() 137 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tmod_ioctl() 166 tif.out_rc = rc; in tmod_ioctl() 176 if (copy_to_user(tif.out_data, outparms, tif.out_len)) { in tmod_ioctl() 183 if (copy_to_user((void *)l, &tif, sizeof(tif))) { in tmod_ioctl()
|
/third_party/ltp/testcases/kernel/device-drivers/base/user_base/ |
D | tbase_ki.c | 48 tmod_interface_t tif; in ki_generic() local 53 tif.in_len = 0; in ki_generic() 54 tif.in_data = 0; in ki_generic() 55 tif.out_len = 0; in ki_generic() 56 tif.out_data = 0; in ki_generic() 57 tif.out_rc = 0; in ki_generic() 62 rc = ioctl(fd, flag, &tif); in ki_generic() 67 if (tif.out_rc) in ki_generic() 68 return tif.out_rc; in ki_generic()
|
/third_party/ltp/testcases/kernel/device-drivers/usb/user_usb/ |
D | tusb_ki.c | 57 tusb_interface_t tif; in ki_generic() local 62 tif.in_len = 0; in ki_generic() 63 tif.in_data = 0; in ki_generic() 64 tif.out_len = 0; in ki_generic() 65 tif.out_data = 0; in ki_generic() 66 tif.out_rc = 0; in ki_generic() 71 rc = ioctl(fd, flag, &tif); in ki_generic() 76 if (tif.out_rc) { in ki_generic() 78 return tif.out_rc; in ki_generic()
|
/third_party/cups-filters/cupsfilters/ |
D | image-tiff.c | 43 TIFF *tif; /* TIFF file */ in _cupsImageReadTIFF() local 87 if ((tif = TIFFFdOpen(fileno(fp), "", "r")) == NULL) in _cupsImageReadTIFF() 94 if (!TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, &width)) in _cupsImageReadTIFF() 97 TIFFClose(tif); in _cupsImageReadTIFF() 102 if (!TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &height)) in _cupsImageReadTIFF() 105 TIFFClose(tif); in _cupsImageReadTIFF() 110 if (!TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &photometric)) in _cupsImageReadTIFF() 113 TIFFClose(tif); in _cupsImageReadTIFF() 118 if (!TIFFGetField(tif, TIFFTAG_COMPRESSION, &compression)) in _cupsImageReadTIFF() 121 TIFFClose(tif); in _cupsImageReadTIFF() [all …]
|
/third_party/libwebsockets/lib/misc/fts/ |
D | trie.c | 397 struct lws_fts_instance_file *tif; in finalize_per_input() local 427 tif = t->tif_list; in finalize_per_input() 428 while (tif) { in finalize_per_input() 431 spill((3 * MAX_VLI) + tif->count, 0); in finalize_per_input() 433 temp = tif->owner->ofs_last_inst_file; in finalize_per_input() 434 if (tif->total) in finalize_per_input() 435 tif->owner->ofs_last_inst_file = t->c + (unsigned int)bp; in finalize_per_input() 441 bp += wq32(&buf[bp], tif->file_index); in finalize_per_input() 442 bp += wq32(&buf[bp], tif->total); in finalize_per_input() 445 tif->owner->inst_file_list = NULL; in finalize_per_input() [all …]
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
D | tiffdec.c | 40 static int ExtractMetadataFromTIFF(TIFF* const tif, Metadata* const metadata) { in ExtractMetadataFromTIFF() argument 51 if (TIFFGetField(tif, kTIFFMetadataMap[i].tag, &tag_data_len, &tag_data) && in ExtractMetadataFromTIFF() 63 if (TIFFGetField(tif, TIFFTAG_EXIFIFD, &exif_ifd_offset)) { in ExtractMetadataFromTIFF() 158 TIFF* tif; in ReadTIFF() local 173 tif = TIFFClientOpen("Memory", "r", &my_data, in ReadTIFF() 176 if (tif == NULL) { in ReadTIFF() 181 dircount = TIFFNumberOfDirectories(tif); in ReadTIFF() 187 if (!TIFFGetFieldDefaulted(tif, TIFFTAG_SAMPLESPERPIXEL, &samples_per_px)) { in ReadTIFF() 193 if (!(TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, &image_width) && in ReadTIFF() 194 TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &image_height))) { in ReadTIFF() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/imageio/ |
D | tiffdec.c | 40 static int ExtractMetadataFromTIFF(TIFF* const tif, Metadata* const metadata) { in ExtractMetadataFromTIFF() argument 51 if (TIFFGetField(tif, kTIFFMetadataMap[i].tag, &tag_data_len, &tag_data) && in ExtractMetadataFromTIFF() 63 if (TIFFGetField(tif, TIFFTAG_EXIFIFD, &exif_ifd_offset)) { in ExtractMetadataFromTIFF() 158 TIFF* tif; in ReadTIFF() local 172 tif = TIFFClientOpen("Memory", "r", &my_data, in ReadTIFF() 175 if (tif == NULL) { in ReadTIFF() 180 dircount = TIFFNumberOfDirectories(tif); in ReadTIFF() 186 if (!TIFFGetFieldDefaulted(tif, TIFFTAG_SAMPLESPERPIXEL, &samples_per_px)) { in ReadTIFF() 192 if (!(TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, &width) && in ReadTIFF() 193 TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &height))) { in ReadTIFF() [all …]
|
/third_party/ltp/testcases/kernel/device-drivers/usb/tusb/ |
D | tusb.c | 189 tusb_interface_t tif; in tusb_ioctl() local 199 if (copy_from_user(&tif, (void *)l, sizeof(tif))) { in tusb_ioctl() 207 if (tif.in_len > 0) { in tusb_ioctl() 208 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tusb_ioctl() 213 rc = copy_from_user(inparms, tif.in_data, tif.in_len); in tusb_ioctl() 219 if (tif.out_len > 0) { in tusb_ioctl() 220 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tusb_ioctl() 258 tif.out_rc = rc; in tusb_ioctl() 263 if (copy_to_user(tif.out_data, outparms, tif.out_len)) { in tusb_ioctl() 270 if (copy_to_user((void *)l, &tif, sizeof(tif))) { in tusb_ioctl()
|
/third_party/ltp/testcases/kernel/device-drivers/agp/kernel_space/ |
D | tagp.c | 127 tagp_interface_t tif; in tagp_ioctl() local 145 if (copy_from_user(&tif, (void *)l, sizeof(tif))) { in tagp_ioctl() 153 if (tif.in_len > 0) { in tagp_ioctl() 154 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tagp_ioctl() 159 rc = copy_from_user(inparms, tif.in_data, tif.in_len); in tagp_ioctl() 165 if (tif.out_len > 0) { in tagp_ioctl() 166 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tagp_ioctl() 249 tif.out_rc = rc; in tagp_ioctl() 259 if (copy_to_user(tif.out_data, outparms, tif.out_len)) { in tagp_ioctl() 266 if (copy_to_user((void *)l, &tif, sizeof(tif))) { in tagp_ioctl()
|
/third_party/ltp/testcases/kernel/device-drivers/base/tbase/ |
D | tbase.c | 242 tmod_interface_t tif; in tbase_ioctl() local 260 if (copy_from_user(&tif, (void *)l, sizeof(tif))) { in tbase_ioctl() 268 if (tif.in_len > 0) { in tbase_ioctl() 269 inparms = (caddr_t *) kmalloc(tif.in_len, GFP_KERNEL); in tbase_ioctl() 274 rc = copy_from_user(inparms, tif.in_data, tif.in_len); in tbase_ioctl() 280 if (tif.out_len > 0) { in tbase_ioctl() 281 outparms = (caddr_t *) kmalloc(tif.out_len, GFP_KERNEL); in tbase_ioctl() 370 tif.out_rc = rc; in tbase_ioctl() 380 if (copy_to_user(tif.out_data, outparms, tif.out_len)) { in tbase_ioctl() 388 if (copy_to_user((void *)l, &tif, sizeof(tif))) { in tbase_ioctl()
|
/third_party/flutter/skia/gm/ |
D | bigtileimagefilter.cpp | 72 sk_sp<SkImageFilter> tif(SkImageFilters::Tile( in onDraw() local 76 p.setImageFilter(std::move(tif)); in onDraw() 87 sk_sp<SkImageFilter> tif(SkImageFilters::Tile( in onDraw() local 92 p2.setImageFilter(std::move(tif)); in onDraw()
|
/third_party/skia/gm/ |
D | bigtileimagefilter.cpp | 72 sk_sp<SkImageFilter> tif(SkImageFilters::Tile( in onDraw() local 76 p.setImageFilter(std::move(tif)); in onDraw() 87 sk_sp<SkImageFilter> tif(SkImageFilters::Tile( in onDraw() local 92 p2.setImageFilter(std::move(tif)); in onDraw()
|
/third_party/node/deps/npm/node_modules/uri-js/dist/es5/ |
D | uri.all.min.js.map | 1 …tif (sets.length > 1) {\n\t\tsets[0] = sets[0].slice(0, -1);\n\t\tconst xl = sets.length - 1;\n\t\…
|
D | uri.all.js.map | 1 …tif (!options.tolerant && (!uuidComponents.uuid || !uuidComponents.uuid.match(UUID))) {\n\t\t\tuui…
|
/third_party/node/test/fixtures/source-map/ |
D | webpack.js.map | 1 …tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\…
|
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/ |
D | README | 46 setup the tif pointer. Use the examples I just mentioned 49 or a copy_to_user before moving on. The tif pointer 74 and ioctl flags in tmod.h, along with the tif structure.
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_write_ast.c | 614 struct cil_tunableif *tif = node->data; in cil_write_ast_node() local 616 if (tif->datum_expr) in cil_write_ast_node() 617 write_expr(out, tif->datum_expr); in cil_write_ast_node() 619 write_expr(out, tif->str_expr); in cil_write_ast_node()
|
D | cil.c | 2440 void cil_tunif_init(struct cil_tunableif **tif) in cil_tunif_init() argument 2442 *tif = cil_malloc(sizeof(**tif)); in cil_tunif_init() 2444 (*tif)->str_expr = NULL; in cil_tunif_init() 2445 (*tif)->datum_expr = NULL; in cil_tunif_init()
|
D | cil_build_ast.c | 2946 struct cil_tunableif *tif = NULL; in cil_gen_tunif() local 2959 cil_tunif_init(&tif); in cil_gen_tunif() 2961 rc = cil_gen_expr(parse_current->next, CIL_TUNABLE, &tif->str_expr); in cil_gen_tunif() 2977 ast_node->data = tif; in cil_gen_tunif() 2983 cil_destroy_tunif(tif); in cil_gen_tunif() 2987 void cil_destroy_tunif(struct cil_tunableif *tif) in cil_destroy_tunif() argument 2989 if (tif == NULL) { in cil_destroy_tunif() 2993 cil_list_destroy(&tif->str_expr, CIL_TRUE); in cil_destroy_tunif() 2994 cil_list_destroy(&tif->datum_expr, CIL_FALSE); in cil_destroy_tunif() 2996 free(tif); in cil_destroy_tunif()
|
D | cil_build_ast.h | 134 void cil_destroy_tunif(struct cil_tunableif *tif);
|
D | cil_internal.h | 1037 void cil_tunif_init(struct cil_tunableif **tif);
|
D | cil_resolve_ast.c | 3412 struct cil_tunableif *tif = (struct cil_tunableif*)current->data; in cil_resolve_tunif() local 3422 rc = cil_resolve_expr(CIL_TUNABLEIF, tif->str_expr, &tif->datum_expr, current, extra_args); in cil_resolve_tunif() 3427 result = __cil_evaluate_tunable_expr(tif->datum_expr->head); in cil_resolve_tunif()
|
/third_party/selinux/libsepol/cil/test/unit/ |
D | test_cil_resolve_ast.c | 6831 …struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->… in test_cil_resolve_expr_stack_tunables() local 6833 …int rc = cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next, ar… in test_cil_resolve_expr_stack_tunables() 7026 …struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->… in test_cil_evaluate_expr_stack_and() local 7028 cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next, args); in test_cil_evaluate_expr_stack_and() 7029 int rc = cil_evaluate_expr_stack(tif->expr_stack, &result); in test_cil_evaluate_expr_stack_and() 7053 …struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->… in test_cil_evaluate_expr_stack_not() local 7055 cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next, args); in test_cil_evaluate_expr_stack_not() 7056 int rc = cil_evaluate_expr_stack(tif->expr_stack, &result); in test_cil_evaluate_expr_stack_not() 7080 …struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->… in test_cil_evaluate_expr_stack_or() local 7082 cil_resolve_expr_stack(tif->expr_stack, test_db->ast->root->cl_head->next->next->next, args); in test_cil_evaluate_expr_stack_or() [all …]
|