Home
last modified time | relevance | path

Searched refs:finfo (Results 1 – 25 of 152) sorted by relevance

1234567

/third_party/toybox/toys/pending/
Dfsck.c164 static int to_be_ignored(struct f_sys_info *finfo) in to_be_ignored() argument
168 if (!finfo->passno) return 1; //Ignore with pass num = 0 in to_be_ignored()
173 if (!strcmp(TT.arr_type[i], finfo->type)) ret = 0; in to_be_ignored()
176 if (hasmntopt((const struct mntent *)finfo, TT.arr_type[i])) return 1; in to_be_ignored()
178 if (!hasmntopt((const struct mntent *)finfo, TT.arr_type[i])) return 1; in to_be_ignored()
182 if (ignore_type(finfo->type)) return 1; in to_be_ignored()
188 static void do_fsck(struct f_sys_info *finfo) in do_fsck() argument
196 if (strcmp(finfo->type, "auto")) type = finfo->type; in do_fsck()
210 args[i] = finfo->device; in do_fsck()
215 finfo->mountpt ? finfo->mountpt : finfo->device); in do_fsck()
[all …]
/third_party/exfatprogs/mkfs/
Dmkfs.c26 struct exfat_mkfs_info finfo; variable
59 pbsx->fat_offset = cpu_to_le32(finfo.fat_byte_off / bd->sector_size); in exfat_setup_boot_sector()
60 pbsx->fat_length = cpu_to_le32(finfo.fat_byte_len / bd->sector_size); in exfat_setup_boot_sector()
61 pbsx->clu_offset = cpu_to_le32(finfo.clu_byte_off / bd->sector_size); in exfat_setup_boot_sector()
62 pbsx->clu_count = cpu_to_le32(finfo.total_clu_cnt); in exfat_setup_boot_sector()
63 pbsx->root_cluster = cpu_to_le32(finfo.root_start_clu); in exfat_setup_boot_sector()
64 pbsx->vol_serial = cpu_to_le32(finfo.volume_serial); in exfat_setup_boot_sector()
238 off_t fat_entry_offset = finfo.fat_byte_off + (offset * sizeof(__le32)); in write_fat_entry()
292 finfo.bitmap_byte_len); in exfat_create_fat_table()
297 clu = write_fat_entries(ui, bd->dev_fd, clu + 1, finfo.ut_byte_len); in exfat_create_fat_table()
[all …]
/third_party/curl/tests/libtest/
Dlib576.c35 long chunk_bgn(const struct curl_fileinfo *finfo, void *ptr, int remains) in chunk_bgn() argument
42 printf("Filename: %s\n", finfo->filename); in chunk_bgn()
43 if(finfo->strings.perm) { in chunk_bgn()
44 printf("Permissions: %s", finfo->strings.perm); in chunk_bgn()
45 if(finfo->flags & CURLFINFOFLAG_KNOWN_PERM) in chunk_bgn()
46 printf(" (parsed => %o)", finfo->perm); in chunk_bgn()
49 printf("Size: %ldB\n", (long)finfo->size); in chunk_bgn()
50 if(finfo->strings.user) in chunk_bgn()
51 printf("User: %s\n", finfo->strings.user); in chunk_bgn()
52 if(finfo->strings.group) in chunk_bgn()
[all …]
/third_party/skia/modules/skottie/src/layers/
DTextLayer.cpp256 fFonts.foreach([&](const SkString& name, FontInfo* finfo) { in resolveNativeTypefaces() argument
257 SkASSERT(finfo); in resolveNativeTypefaces()
259 if (finfo->fTypeface) { in resolveNativeTypefaces()
271 finfo->fTypeface = fResourceProvider->loadTypeface(name.c_str(), finfo->fPath.c_str()); in resolveNativeTypefaces()
275 if (!finfo->fTypeface) { in resolveNativeTypefaces()
276 finfo->fTypeface = fmgr->makeFromData( in resolveNativeTypefaces()
277 fResourceProvider->loadFont(name.c_str(), finfo->fPath.c_str())); in resolveNativeTypefaces()
280 if (!finfo->fTypeface) { in resolveNativeTypefaces()
281 finfo->fTypeface.reset(fmgr->matchFamilyStyle(finfo->fFamily.c_str(), in resolveNativeTypefaces()
282 FontStyle(this, finfo->fStyle.c_str()))); in resolveNativeTypefaces()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-info.h63 const GstAudioFormatInfo *finfo; member
79 #define GST_AUDIO_INFO_IS_VALID(i) ((i)->finfo != NULL && (i)->rate > 0 && (i)->channels …
81 #define GST_AUDIO_INFO_FORMAT(i) (GST_AUDIO_FORMAT_INFO_FORMAT((i)->finfo))
82 #define GST_AUDIO_INFO_NAME(i) (GST_AUDIO_FORMAT_INFO_NAME((i)->finfo))
83 #define GST_AUDIO_INFO_WIDTH(i) (GST_AUDIO_FORMAT_INFO_WIDTH((i)->finfo))
84 #define GST_AUDIO_INFO_DEPTH(i) (GST_AUDIO_FORMAT_INFO_DEPTH((i)->finfo))
87 #define GST_AUDIO_INFO_IS_INTEGER(i) (GST_AUDIO_FORMAT_INFO_IS_INTEGER((i)->finfo))
88 #define GST_AUDIO_INFO_IS_FLOAT(i) (GST_AUDIO_FORMAT_INFO_IS_FLOAT((i)->finfo))
89 #define GST_AUDIO_INFO_IS_SIGNED(i) (GST_AUDIO_FORMAT_INFO_IS_SIGNED((i)->finfo))
91 #define GST_AUDIO_INFO_ENDIANNESS(i) (GST_AUDIO_FORMAT_INFO_ENDIANNESS((i)->finfo))
[all …]
Daudio-info.c115 info->finfo = gst_audio_format_get_info (GST_AUDIO_FORMAT_UNKNOWN); in gst_audio_info_init()
134 const GstAudioFormatInfo *finfo; in gst_audio_info_set_format() local
143 finfo = gst_audio_format_get_info (format); in gst_audio_info_set_format()
147 info->finfo = finfo; in gst_audio_info_set_format()
150 info->bpf = (finfo->width * channels) / 8; in gst_audio_info_set_format()
363 g_return_val_if_fail (info->finfo != NULL, NULL); in gst_audio_info_to_caps()
364 g_return_val_if_fail (info->finfo->format != GST_AUDIO_FORMAT_UNKNOWN, NULL); in gst_audio_info_to_caps()
366 format = gst_audio_format_to_string (info->finfo->format); in gst_audio_info_to_caps()
536 if (info->finfo == NULL || other->finfo == NULL) in gst_audio_info_is_equal()
Daudio-converter.c177 const GstAudioFormatInfo *finfo; member
210 chain->finfo = gst_audio_format_get_info (convert->current_format); in audio_chain_new()
211 chain->stride = (chain->finfo->width * chain->inc) / 8; in audio_chain_new()
474 convert->in.finfo->unpack_func (convert->in.finfo, in do_unpack()
481 gst_audio_format_info_fill_silence (chain->finfo, tmp[i], in do_unpack()
713 same_format = in->finfo->format == out->finfo->format; in chain_unpack()
717 if (same_format && is_intermediate_format (in->finfo->format)) { in chain_unpack()
718 convert->current_format = in->finfo->format; in chain_unpack()
720 convert->current_format = in->finfo->unpack_format; in chain_unpack()
725 convert->in_default = convert->current_format == in->finfo->format; in chain_unpack()
[all …]
Daudio-format.c377 const GstAudioFormatInfo *finfo = &formats[i]; in gst_audio_format_build_integer() local
380 if (!GST_AUDIO_FORMAT_INFO_IS_INTEGER (finfo)) in gst_audio_format_build_integer()
384 if (width != GST_AUDIO_FORMAT_INFO_WIDTH (finfo)) in gst_audio_format_build_integer()
386 if (depth != GST_AUDIO_FORMAT_INFO_DEPTH (finfo)) in gst_audio_format_build_integer()
390 e = GST_AUDIO_FORMAT_INFO_ENDIANNESS (finfo); in gst_audio_format_build_integer()
395 if ((sign && !GST_AUDIO_FORMAT_INFO_IS_SIGNED (finfo)) || in gst_audio_format_build_integer()
396 (!sign && GST_AUDIO_FORMAT_INFO_IS_SIGNED (finfo))) in gst_audio_format_build_integer()
399 return GST_AUDIO_FORMAT_INFO_FORMAT (finfo); in gst_audio_format_build_integer()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-info.h314 const GstVideoFormatInfo *finfo; member
352 #define GST_VIDEO_INFO_FORMAT(i) (GST_VIDEO_FORMAT_INFO_FORMAT((i)->finfo))
353 #define GST_VIDEO_INFO_NAME(i) (GST_VIDEO_FORMAT_INFO_NAME((i)->finfo))
354 #define GST_VIDEO_INFO_IS_YUV(i) (GST_VIDEO_FORMAT_INFO_IS_YUV((i)->finfo))
355 #define GST_VIDEO_INFO_IS_RGB(i) (GST_VIDEO_FORMAT_INFO_IS_RGB((i)->finfo))
356 #define GST_VIDEO_INFO_IS_GRAY(i) (GST_VIDEO_FORMAT_INFO_IS_GRAY((i)->finfo))
357 #define GST_VIDEO_INFO_HAS_ALPHA(i) (GST_VIDEO_FORMAT_INFO_HAS_ALPHA((i)->finfo))
396 #define GST_VIDEO_INFO_N_PLANES(i) (GST_VIDEO_FORMAT_INFO_N_PLANES((i)->finfo))
416 #define GST_VIDEO_INFO_N_COMPONENTS(i) GST_VIDEO_FORMAT_INFO_N_COMPONENTS((i)->finfo)
417 #define GST_VIDEO_INFO_COMP_DEPTH(i,c) GST_VIDEO_FORMAT_INFO_DEPTH((i)->finfo,(c))
[all …]
Dvideo-frame.c78 g_return_val_if_fail (info->finfo != NULL, FALSE); in gst_video_frame_map_id()
91 g_return_val_if_fail (info->finfo->format == meta->format, FALSE); in gst_video_frame_map_id()
94 g_return_val_if_fail (info->finfo->n_planes == meta->n_planes, FALSE); in gst_video_frame_map_id()
96 frame->info.finfo = gst_video_format_get_info (meta->format); in gst_video_frame_map_id()
125 for (i = 0; i < info->finfo->n_planes; i++) { in gst_video_frame_map_id()
270 for (i = 0; i < frame->info.finfo->n_planes; i++) { in gst_video_frame_unmap()
300 const GstVideoFormatInfo *finfo; in gst_video_frame_copy_plane() local
312 g_return_val_if_fail (dinfo->finfo->format == sinfo->finfo->format, FALSE); in gst_video_frame_copy_plane()
314 finfo = dinfo->finfo; in gst_video_frame_copy_plane()
318 g_return_val_if_fail (finfo->n_planes > plane, FALSE); in gst_video_frame_copy_plane()
[all …]
Dvideo-info.c131 info->finfo = gst_video_format_get_info (GST_VIDEO_FORMAT_UNKNOWN); in gst_video_info_init()
165 const GstVideoFormatInfo *finfo = info->finfo; in set_default_colorimetry() local
167 if (GST_VIDEO_FORMAT_INFO_IS_YUV (finfo)) { in set_default_colorimetry()
175 } else if (GST_VIDEO_FORMAT_INFO_IS_GRAY (finfo)) { in set_default_colorimetry()
177 } else if (GST_VIDEO_FORMAT_INFO_IS_RGB (finfo)) { in set_default_colorimetry()
187 const GstVideoFormatInfo *finfo = info->finfo; in validate_colorimetry() local
189 if (!GST_VIDEO_FORMAT_INFO_IS_RGB (finfo) && in validate_colorimetry()
193 finfo->name); in validate_colorimetry()
197 if (GST_VIDEO_FORMAT_INFO_IS_YUV (finfo) && in validate_colorimetry()
200 finfo->name); in validate_colorimetry()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/
Dgstv4l2format.c75 extrapolate_stride (const GstVideoFormatInfo * finfo, gint plane, gint stride) in extrapolate_stride() argument
79 switch (finfo->format) { in extrapolate_stride()
89 GST_VIDEO_FORMAT_INFO_SCALE_WIDTH (finfo, plane, stride); in extrapolate_stride()
92 estride = GST_VIDEO_FORMAT_INFO_SCALE_WIDTH (finfo, plane, stride); in extrapolate_stride()
102 const GstVideoFormatInfo *finfo = info->finfo; in set_stride() local
104 if (GST_VIDEO_FORMAT_INFO_IS_TILED (finfo)) { in set_stride()
107 ws = GST_VIDEO_FORMAT_INFO_TILE_WS (finfo); in set_stride()
108 hs = GST_VIDEO_FORMAT_INFO_TILE_HS (finfo); in set_stride()
110 padded_height = GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (finfo, plane, in set_stride()
155 stride = extrapolate_stride (out_info->finfo, plane, in gst_v4l2_format_to_video_info()
[all …]
/third_party/curl/docs/examples/
Dftp-wildcard.c35 static long file_is_coming(struct curl_fileinfo *finfo,
96 static long file_is_coming(struct curl_fileinfo *finfo, in file_is_coming() argument
100 printf("%3d %40s %10luB ", remains, finfo->filename, in file_is_coming()
101 (unsigned long)finfo->size); in file_is_coming()
103 switch(finfo->filetype) { in file_is_coming()
115 if(finfo->filetype == CURLFILETYPE_FILE) { in file_is_coming()
117 if(finfo->size > 50) { in file_is_coming()
122 data->output = fopen(finfo->filename, "wb"); in file_is_coming()
/third_party/curl/lib/
Dftplistparser.c319 struct curl_fileinfo *finfo = &infop->info; in ftp_pl_insert_finfo() local
323 finfo->filename = str + parser->offsets.filename; in ftp_pl_insert_finfo()
324 finfo->strings.group = parser->offsets.group ? in ftp_pl_insert_finfo()
326 finfo->strings.perm = parser->offsets.perm ? in ftp_pl_insert_finfo()
328 finfo->strings.target = parser->offsets.symlink_target ? in ftp_pl_insert_finfo()
330 finfo->strings.time = str + parser->offsets.time; in ftp_pl_insert_finfo()
331 finfo->strings.user = parser->offsets.user ? in ftp_pl_insert_finfo()
342 finfo->filename) == 0) { in ftp_pl_insert_finfo()
344 if((finfo->filetype == CURLFILETYPE_SYMLINK) && finfo->strings.target && in ftp_pl_insert_finfo()
345 (strstr(finfo->strings.target, " -> "))) { in ftp_pl_insert_finfo()
[all …]
Dfileinfo.c38 void Curl_fileinfo_cleanup(struct fileinfo *finfo) in Curl_fileinfo_cleanup() argument
40 if(!finfo) in Curl_fileinfo_cleanup()
43 Curl_dyn_free(&finfo->buf); in Curl_fileinfo_cleanup()
44 free(finfo); in Curl_fileinfo_cleanup()
/third_party/python/Lib/
Dbinhex.py60 finfo = FInfo()
65 finfo.Type = 'TEXT'
70 return file, finfo, dsize, 0
161 name, finfo, dlen, rlen = name_finfo_dlen_rlen
172 if finfo is None:
173 finfo = FInfo()
176 self._writeinfo(name, finfo)
183 def _writeinfo(self, name, finfo): argument
188 tp, cr = finfo.Type, finfo.Creator
196 d3 = struct.pack('>h', finfo.Flags)
[all …]
/third_party/gstreamer/gstplugins_bad/ext/wayland/
Dwlshmallocator.c149 gst_wl_shm_extrapolate_stride (const GstVideoFormatInfo * finfo, gint plane, in gst_wl_shm_extrapolate_stride() argument
154 switch (finfo->format) { in gst_wl_shm_extrapolate_stride()
162 GST_VIDEO_FORMAT_INFO_SCALE_WIDTH (finfo, plane, stride); in gst_wl_shm_extrapolate_stride()
165 estride = GST_VIDEO_FORMAT_INFO_SCALE_WIDTH (finfo, plane, stride); in gst_wl_shm_extrapolate_stride()
186 estride = gst_wl_shm_extrapolate_stride (vinfo->finfo, i, base_stride); in gst_wl_shm_validate_video_info()
197 estride * GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (vinfo->finfo, i, height); in gst_wl_shm_validate_video_info()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Ddescriptions.c452 const GstVideoFormatInfo *finfo; in format_info_get_desc() local
461 finfo = gst_video_format_get_info (format); in format_info_get_desc()
463 if (GST_VIDEO_FORMAT_INFO_IS_GRAY (finfo)) { in format_info_get_desc()
465 } else if (GST_VIDEO_FORMAT_INFO_IS_YUV (finfo)) { in format_info_get_desc()
469 w_sub = GST_VIDEO_FORMAT_INFO_W_SUB (finfo, 1); in format_info_get_desc()
470 h_sub = GST_VIDEO_FORMAT_INFO_H_SUB (finfo, 1); in format_info_get_desc()
484 n_semi = GST_VIDEO_FORMAT_INFO_HAS_ALPHA (finfo) ? 3 : 2; in format_info_get_desc()
486 if (GST_VIDEO_FORMAT_INFO_N_PLANES (finfo) == 1) { in format_info_get_desc()
488 } else if (GST_VIDEO_FORMAT_INFO_N_PLANES (finfo) == n_semi) { in format_info_get_desc()
493 } else if (GST_VIDEO_FORMAT_INFO_IS_RGB (finfo)) { in format_info_get_desc()
[all …]
/third_party/gstreamer/gstplugins_good/ext/libcaca/
Dgstcacatv.c141 bpp = 8 * info.finfo->pixel_stride[0]; in gst_cacatv_setcaps()
143 red_mask = 0xff << (8 * info.finfo->poffset[GST_VIDEO_COMP_R]); in gst_cacatv_setcaps()
144 green_mask = 0xff << (8 * info.finfo->poffset[GST_VIDEO_COMP_G]); in gst_cacatv_setcaps()
145 blue_mask = 0xff << (8 * info.finfo->poffset[GST_VIDEO_COMP_B]); in gst_cacatv_setcaps()
152 bpp = 8 * info.finfo->pixel_stride[0]; in gst_cacatv_setcaps()
154 red_mask = 0xff << (8 * info.finfo->poffset[GST_VIDEO_COMP_R]); in gst_cacatv_setcaps()
155 green_mask = 0xff << (8 * info.finfo->poffset[GST_VIDEO_COMP_G]); in gst_cacatv_setcaps()
156 blue_mask = 0xff << (8 * info.finfo->poffset[GST_VIDEO_COMP_B]); in gst_cacatv_setcaps()
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkcolorconvert.c58 const GstVideoFormatInfo *finfo = gst_video_format_get_info (format); in get_rgb_format_swizzle_order() local
61 g_return_if_fail (finfo->flags & GST_VIDEO_FORMAT_FLAG_RGB in get_rgb_format_swizzle_order()
64 for (i = 0; i < finfo->n_components; i++) { in get_rgb_format_swizzle_order()
65 swizzle[c_i++] = finfo->poffset[i]; in get_rgb_format_swizzle_order()
76 for (i = finfo->n_components; i < GST_VIDEO_MAX_COMPONENTS; i++) { in get_rgb_format_swizzle_order()
86 const GstVulkanFormatInfo *finfo = gst_vulkan_format_get_info (format); in get_vulkan_rgb_format_swizzle_order() local
89 g_return_if_fail (finfo->flags & GST_VULKAN_FORMAT_FLAG_RGB); in get_vulkan_rgb_format_swizzle_order()
90 g_return_if_fail (finfo->n_components <= swizzle_count); in get_vulkan_rgb_format_swizzle_order()
92 for (i = 0; i < finfo->n_components; i++) { in get_vulkan_rgb_format_swizzle_order()
93 swizzle[i] = offset + finfo->poffset[i]; in get_vulkan_rgb_format_swizzle_order()
[all …]
Dvkviewconvert.c79 const GstVideoFormatInfo *finfo = gst_video_format_get_info (format); in get_rgb_format_swizzle_order() local
82 g_return_if_fail (finfo->flags & GST_VIDEO_FORMAT_FLAG_RGB in get_rgb_format_swizzle_order()
85 for (i = 0; i < finfo->n_components; i++) { in get_rgb_format_swizzle_order()
86 swizzle[c_i++] = finfo->poffset[i]; in get_rgb_format_swizzle_order()
97 for (i = finfo->n_components; i < GST_VIDEO_MAX_COMPONENTS; i++) { in get_rgb_format_swizzle_order()
107 const GstVulkanFormatInfo *finfo = gst_vulkan_format_get_info (format); in get_vulkan_rgb_format_swizzle_order() local
110 g_return_if_fail (finfo->flags & GST_VULKAN_FORMAT_FLAG_RGB); in get_vulkan_rgb_format_swizzle_order()
111 g_return_if_fail (finfo->n_components <= swizzle_count); in get_vulkan_rgb_format_swizzle_order()
113 for (i = 0; i < finfo->n_components; i++) { in get_vulkan_rgb_format_swizzle_order()
114 swizzle[i] = offset + finfo->poffset[i]; in get_vulkan_rgb_format_swizzle_order()
[all …]
/third_party/ltp/testcases/kernel/fs/doio/
Diogen.c956 struct dioattr finfo; in get_file_info() local
1018 if (fcntl(fd, F_DIOINFO, &finfo) != -1) { in get_file_info()
1019 rec->f_riou = finfo.d_miniosz; in get_file_info()
1080 struct dioattr finfo; in create_file() local
1220 if (fcntl(fd, F_DIOINFO, &finfo) == -1) { in create_file()
1243 nb = nbytes - finfo.d_miniosz; in create_file()
1244 nb = nb - nb % finfo.d_miniosz; in create_file()
1254 nb, nbytes, (long long)finfo.d_miniosz); in create_file()
1259 b = buf = malloc(finfo.d_miniosz + finfo.d_mem); in create_file()
1261 if (((long)buf % finfo.d_mem != 0)) { in create_file()
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dvideocrop.c293 const GstVideoFormatInfo *finfo; in check_1x1_buffer() local
301 finfo = info.finfo; in check_1x1_buffer()
306 if (GST_VIDEO_FORMAT_INFO_BITS (finfo) == 8) in check_1x1_buffer()
318 GST_DEBUG ("W: %d", GST_VIDEO_FORMAT_INFO_W_SUB (finfo, i)); in check_1x1_buffer()
319 GST_DEBUG ("H: %d", GST_VIDEO_FORMAT_INFO_H_SUB (finfo, i)); in check_1x1_buffer()
321 if (GST_VIDEO_FORMAT_INFO_W_SUB (finfo, in check_1x1_buffer()
324 if (GST_VIDEO_FORMAT_INFO_H_SUB (finfo, in check_1x1_buffer()
328 if (GST_VIDEO_FORMAT_INFO_BITS (finfo) == 8) { in check_1x1_buffer()
330 } else if (GST_VIDEO_FORMAT_INFO_BITS (finfo) == 16) { in check_1x1_buffer()
334 if (GST_VIDEO_FORMAT_INFO_IS_LE (finfo)) in check_1x1_buffer()
[all …]
/third_party/gstreamer/gstplugins_good/gst/rtp/
DgstrtpL8depay.c174 info->finfo = gst_audio_format_get_info (GST_AUDIO_FORMAT_U8); in gst_rtp_L8_depay_setcaps()
177 info->bpf = (info->finfo->width / 8) * channels; in gst_rtp_L8_depay_setcaps()
241 rtpL8depay->info.finfo->format, rtpL8depay->info.channels, in gst_rtp_L8_depay_process()
DgstrtpL24depay.c173 info->finfo = gst_audio_format_get_info (GST_AUDIO_FORMAT_S24BE); in gst_rtp_L24_depay_setcaps()
176 info->bpf = (info->finfo->width / 8) * channels; in gst_rtp_L24_depay_setcaps()
241 rtpL24depay->info.finfo->format, rtpL24depay->info.channels, in gst_rtp_L24_depay_process()

1234567