Home
last modified time | relevance | path

Searched refs:ftype (Results 1 – 25 of 49) sorted by relevance

12

/external/libcxx/utils/google-benchmark/tools/gbench/
Dutil.py62 ftype = IT_Invalid
69 ftype = IT_Executable
71 ftype = IT_JSON
74 return ftype, err_msg
83 ftype, msg = classify_input_file(filename)
84 if ftype == IT_Invalid:
87 return ftype
158 ftype = check_input_file(filename)
159 if ftype == IT_JSON:
161 elif ftype == IT_Executable:
/external/google-benchmark/tools/gbench/
Dutil.py62 ftype = IT_Invalid
69 ftype = IT_Executable
71 ftype = IT_JSON
74 return ftype, err_msg
83 ftype, msg = classify_input_file(filename)
84 if ftype == IT_Invalid:
87 return ftype
158 ftype = check_input_file(filename)
159 if ftype == IT_JSON:
161 elif ftype == IT_Executable:
/external/python/cpython2/Lib/
Dtoaiff.py90 ftype = sndhdr.whathdr(fname)
91 if ftype:
92 ftype = ftype[0] # All we're interested in
100 if ftype == 'aiff':
102 if ftype is None or not ftype in table:
103 raise error, '%s: unsupported audio file type %r' % (filename, ftype)
107 sts = table[ftype].copy(fname, temp)
/external/python/cpython2/Lib/plat-irix6/
Dtorgb.py85 ftype = imghdr.what(fname)
93 if ftype == 'rgb':
95 if ftype is None or not table.has_key(ftype):
96 raise error, '%s: unsupported image file type %r' % (filename, ftype)
99 sts = table[ftype].copy(fname, temp)
/external/python/cpython2/Lib/plat-irix5/
Dtorgb.py85 ftype = imghdr.what(fname)
93 if ftype == 'rgb':
95 if ftype is None or not table.has_key(ftype):
96 raise error, '%s: unsupported image file type %r' % (filename, ftype)
99 sts = table[ftype].copy(fname, temp)
/external/u-boot/tools/binman/
Dcbfs_util.py225 def __init__(self, name, ftype, data, cbfs_offset, compress=COMPRESS_NONE): argument
231 self.ftype = ftype
330 if self.ftype == TYPE_STAGE:
332 elif self.ftype == TYPE_RAW:
334 elif self.ftype == TYPE_EMPTY:
337 raise ValueError('Unknown file type %#x\n' % self.ftype)
357 if self.ftype == TYPE_STAGE:
363 elif self.ftype == TYPE_RAW:
374 elif self.ftype == TYPE_EMPTY:
377 raise ValueError('Unknown type %#x when writing\n' % self.ftype)
[all …]
Dcbfs_util_test.py107 def _check_uboot(self, cbfs, ftype=cbfs_util.TYPE_RAW, offset=0x38, argument
128 self.assertEqual(ftype, cfile.ftype)
150 self.assertEqual(cbfs_util.TYPE_RAW, cfile.ftype)
260 cfile.ftype = 0xff
279 magic, size, ftype, attr, offset = struct.unpack(
283 ftype = 0xff
285 newdata += struct.pack(cbfs_util.FILE_HEADER_FORMAT, magic, size, ftype,
544 self.assertEqual(cfile.ftype, cbfs_util.TYPE_RAW)
553 self.assertEqual(cfile.ftype, cbfs_util.TYPE_RAW)
580 self._check_uboot(cbfs, ftype=cbfs_util.TYPE_RAW, offset=0x40,
[all …]
/external/f2fs-tools/fsck/
Dfsck.c343 static int __check_inode_mode(u32 nid, enum FILE_TYPE ftype, u16 mode) in __check_inode_mode() argument
345 if (ftype >= F2FS_FT_MAX) in __check_inode_mode()
356 if (S_ISLNK(mode) && ftype != F2FS_FT_SYMLINK) in __check_inode_mode()
358 if (S_ISREG(mode) && ftype != F2FS_FT_REG_FILE) in __check_inode_mode()
360 if (S_ISDIR(mode) && ftype != F2FS_FT_DIR) in __check_inode_mode()
362 if (S_ISCHR(mode) && ftype != F2FS_FT_CHRDEV) in __check_inode_mode()
364 if (S_ISBLK(mode) && ftype != F2FS_FT_BLKDEV) in __check_inode_mode()
366 if (S_ISFIFO(mode) && ftype != F2FS_FT_FIFO) in __check_inode_mode()
368 if (S_ISSOCK(mode) && ftype != F2FS_FT_SOCK) in __check_inode_mode()
373 nid, ftype, mode); in __check_inode_mode()
[all …]
/external/selinux/gui/
DfcontextPage.py175 ftype = store.get_value(iter, FTYPE_COL)
177 …tatusoutput("semanage fcontext -d -f '%s' '%s'" % (seobject.file_type_str_to_option[ftype], fspec))
193 ftype = list_model.get_value(it, 0)
195 …context -a -t %s -r %s -f '%s' '%s'" % (type, mls, seobject.file_type_str_to_option[ftype], fspec))
203 self.store.set_value(iter, FTYPE_COL, ftype)
212 ftype = list_model.get_value(iter, 0)
214 …context -m -t %s -r %s -f '%s' '%s'" % (type, mls, seobject.file_type_str_to_option[ftype], fspec))
222 self.store.set_value(iter, FTYPE_COL, ftype)
/external/clang/test/CodeGen/
Dblocks.c30 typedef double ftype(double); typedef
33 ftype ^test2 = ^ftype {
/external/clang/test/CodeGenCXX/
Dlinkage.cpp124 typedef S(*ftype)(); in g() typedef
125 return reinterpret_cast<void *>(f<ftype>); in g()
141 typedef S(*ftype)(I * x); in g() typedef
142 return reinterpret_cast<void *>(f<ftype>); in g()
/external/python/cffi/cffi/
Dmodel.py431 ftype = self.fldtypes[i]
433 if isinstance(ftype, ArrayType) and ftype.length == '...':
435 BItemType = ftype.item.get_cached_btype(ffi, finishlist)
441 ftype = ftype.resolve_length(nlen)
442 self.fldtypes = (self.fldtypes[:i] + (ftype,) +
445 BFieldType = ftype.get_cached_btype(ffi, finishlist)
446 if isinstance(ftype, ArrayType) and ftype.length is None:
Dvengine_gen.py274 for fname, ftype, fbitsize, fqual in tp.enumfields():
275 if (isinstance(ftype, model.PrimitiveType)
276 and ftype.is_integer_type()) or fbitsize >= 0:
283 ftype.get_c_name('*tmp', 'field %r'%fname, quals=fqual),
295 for fname, ftype, fbitsize, fqual in tp.enumfields():
299 if isinstance(ftype, model.ArrayType) and ftype.length is None:
300 prnt(' 0, /* %s */' % ftype._get_c_name())
357 for fname, ftype, fbitsize, fqual in tp.enumfields():
363 BField = ffi._get_cached_btype(ftype)
Dvengine_cpy.py478 for fname, ftype, fbitsize, fqual in tp.enumfields():
479 if (isinstance(ftype, model.PrimitiveType)
480 and ftype.is_integer_type()) or fbitsize >= 0:
487 ftype.get_c_name('*tmp', 'field %r'%fname, quals=fqual),
499 for fname, ftype, fbitsize, fqual in tp.enumfields():
503 if isinstance(ftype, model.ArrayType) and ftype.length is None:
504 prnt(' 0, /* %s */' % ftype._get_c_name())
563 for fname, ftype, fbitsize, fqual in tp.enumfields():
569 BField = ffi._get_cached_btype(ftype)
/external/python/cpython2/Lib/test/
Dtest_bsddb185.py34 ftype = whichdb.whichdb(dbfile)
35 self.assertNotEqual(ftype, "bsddb185")
/external/openssh/
Dmux.c520 format_forward(u_int ftype, struct Forward *fwd) in format_forward() argument
524 switch (ftype) { in format_forward()
550 fatal("%s: unknown forward type %u", __func__, ftype); in format_forward()
667 u_int ftype; in process_mux_open_fwd() local
674 if (buffer_get_int_ret(&ftype, m) != 0 || in process_mux_open_fwd()
707 (fwd_desc = format_forward(ftype, &fwd))); in process_mux_open_fwd()
709 if (ftype != MUX_FWD_LOCAL && ftype != MUX_FWD_REMOTE && in process_mux_open_fwd()
710 ftype != MUX_FWD_DYNAMIC) { in process_mux_open_fwd()
711 logit("%s: invalid forwarding type %u", __func__, ftype); in process_mux_open_fwd()
720 if (ftype == MUX_FWD_DYNAMIC && fwd.listen_path) { in process_mux_open_fwd()
[all …]
/external/clang/test/SemaTemplate/
Dinstantiate-function-2.cpp39 typedef void ftype(int); typedef
42 ftype f;
/external/u-boot/tools/dtoc/
Ddtb_platdata.py88 def get_value(ftype, value): argument
100 if ftype == fdt.TYPE_INT:
102 elif ftype == fdt.TYPE_BYTE:
104 elif ftype == fdt.TYPE_STRING:
106 elif ftype == fdt.TYPE_BOOL:
108 elif ftype == fdt.TYPE_INT64:
/external/curl/tests/
Ddirectories.pm202 my $ftype = $file{'type'} ? $file{'type'} : "-";
215 push(@contentlist, "$ftype$fperm $fhlink $fuser $fgroup $fsize $ftime $file{'name'}$eol");
/external/v8/src/flags/
Dflag-definitions.h33 #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ argument
35 #define FLAG_READONLY(ftype, ctype, nam, def, cmt) \ argument
42 #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ argument
45 #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ argument
53 #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ argument
59 #define FLAG_FULL(ftype, ctype, nam, def, cmt) \ argument
60 {Flag::TYPE_##ftype, #nam, &FLAG_##nam, &FLAGDEFAULT_##nam, cmt, false},
61 #define FLAG_ALIAS(ftype, ctype, alias, nam) \ argument
62 {Flag::TYPE_##ftype, #alias, &FLAG_##nam, &FLAGDEFAULT_##nam, \
95 #define FLAG_FULL(ftype, ctype, nam, def, cmt) argument
[all …]
/external/vulkan-headers/registry/
Dreg.py788 def generateFeature(self, fname, ftype, dictionary): argument
793 self.gen.logMsg('diag', 'generateFeature: generating', ftype, fname)
803 self.gen.logMsg('diag', 'Skipping', ftype, fname, '(not required)')
806 self.gen.logMsg('diag', 'Skipping', ftype, fname, '(already declared)')
825 if ftype == 'type':
927 elif ftype == 'command':
938 elif ftype == 'enum':
946 self.gen.logMsg('diag', 'Emitting', ftype, 'decl for', fname)
949 self.gen.logMsg('diag', 'Skipping', ftype, fname,
/external/angle/third_party/vulkan-headers/src/registry/
Dreg.py819 def generateFeature(self, fname, ftype, dictionary): argument
830 self.gen.logMsg('diag', 'generateFeature: generating', ftype, fname)
840 self.gen.logMsg('diag', 'Skipping', ftype, fname, '(not required)')
843 self.gen.logMsg('diag', 'Skipping', ftype, fname, '(already declared)')
862 if ftype == 'type':
964 elif ftype == 'command':
975 elif ftype == 'enum':
983 self.gen.logMsg('diag', 'Emitting', ftype, 'decl for', fname)
986 self.gen.logMsg('diag', 'Skipping', ftype, fname,
/external/mesa3d/src/compiler/nir/
Dnir_gather_xfb_info.c249 const struct glsl_type *ftype = glsl_get_struct_field(itype, f); in nir_gather_xfb_info_with_varyings() local
251 location += glsl_count_attribute_slots(ftype, false); in nir_gather_xfb_info_with_varyings()
257 &location, &offset, ftype, false); in nir_gather_xfb_info_with_varyings()
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/cfg80211_tx_mlme_mgmt/
Dformat13 print fmt: "netdev:%s(%d), ftype:0x%.2x", REC->name, REC->ifindex, __le16_to_cpup((__le16 *)__get_d…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/cfg80211_rx_mlme_mgmt/
Dformat13 print fmt: "netdev:%s(%d), ftype:0x%.2x", REC->name, REC->ifindex, __le16_to_cpup((__le16 *)__get_d…

12