Home
last modified time | relevance | path

Searched refs:tif (Results 1 – 25 of 42) sorted by relevance

12

/third_party/ltp/testcases/kernel/device-drivers/agp/user_space/
Dtagp_ki.c48 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/
Dtmod_ki.c48 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/
Dtmod.c98 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/
Dtbase_ki.c48 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/
Dtusb_ki.c57 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/libwebsockets/lib/misc/fts/
Dtrie.c397 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/
Dtiffdec.c40 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/
Dtiffdec.c40 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/
Dtusb.c189 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/
Dtagp.c127 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/
Dtbase.c242 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/boost/libs/graph/doc/figs/
DMakefile8 .SUFFIXES: .fig .gif .tif .jpeg
13 .fig.tif:
14 fig2dev -L tiff $*.fig > $*.tif
34 TIFF = $(FIG:.fig=.tif)
42 /bin/rm -f *.gif *.tif *.jpg
/third_party/skia/gm/
Dbigtileimagefilter.cpp72 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/flutter/skia/gm/
Dbigtileimagefilter.cpp72 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/
Duri.all.min.js.map1tif (sets.length > 1) {\n\t\tsets[0] = sets[0].slice(0, -1);\n\t\tconst xl = sets.length - 1;\n\t\…
Duri.all.js.map1tif (!options.tolerant && (!uuidComponents.uuid || !uuidComponents.uuid.match(UUID))) {\n\t\t\tuui…
/third_party/mindspore/tests/ut/data/mindrecord/testCBGData/data/
Dimage_raw_meta.data2 …, 3], "size": 45407, "resolution": {"width": 390, "heigth": 412}, "type": "tif", "dataset_id": 5, …
4 {"entity_instances":[1, 2, 3], "resolution": {"width": 331, "heigth": 472}, "type": "tif", "dataset…
7 …2, 3], "size": 62252, "resolution": {"width": 274, "heigth": 89}, "type": "tif", "dataset_id": 2, …
/third_party/node/test/fixtures/source-map/
Dwebpack.js.map1tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\…
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/
DREADME46 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/boost/libs/gil/doc/html/_sources/
Dio.rst.txt57 std::string filename( "image.tif" );
94 std::string filename( "image.tif" );
129 ifstream in( "test.tif", ios::binary );
149 string filename( "out.tif" );
270 …ader = make_scanline_reader( "C:/boost/libs/gil/test/extension/io/images/tiff/test.tif", tag_t() );
/third_party/boost/libs/gil/doc/
Dio.rst57 std::string filename( "image.tif" );
94 std::string filename( "image.tif" );
129 ifstream in( "test.tif", ios::binary );
149 string filename( "out.tif" );
270 …ader = make_scanline_reader( "C:/boost/libs/gil/test/extension/io/images/tiff/test.tif", tag_t() );
/third_party/selinux/libsepol/cil/src/
Dcil_write_ast.c614 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()
Dcil.c2431 void cil_tunif_init(struct cil_tunableif **tif) in cil_tunif_init() argument
2433 *tif = cil_malloc(sizeof(**tif)); in cil_tunif_init()
2435 (*tif)->str_expr = NULL; in cil_tunif_init()
2436 (*tif)->datum_expr = NULL; in cil_tunif_init()
/third_party/boost/
D.gitattributes24 *.tif binary svneol=unset#image/tiff
/third_party/selinux/libsepol/cil/test/unit/
Dtest_cil_resolve_ast.c6831 …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 …]

12