Home
last modified time | relevance | path

Searched refs:fi (Results 1 – 25 of 1229) sorted by relevance

12345678910>>...50

/external/python/cpython2/Lib/test/
Dtest_fileinput.py86 fi = FileInput(files=(t1, t2, t3, t4), bufsize=bs)
87 lines = list(fi)
88 fi.close()
92 self.assertEqual(fi.lineno(), 31)
93 self.assertEqual(fi.filename(), t4)
97 fi = FileInput(files=(t1, t2, t3, t4), bufsize=bs)
100 s = fi.readline()
101 self.assertEqual(fi.filename(), t2)
102 self.assertEqual(fi.lineno(), 21)
103 self.assertEqual(fi.filelineno(), 6)
[all …]
/external/toybox/toys/pending/
Dlsof.c51 struct file_info *fi = data; in print_info() local
58 if (TT.sought_files[i].st_dev==fi->st_dev) in print_info()
59 if (TT.sought_files[i].st_ino==fi->st_ino) break; in print_info()
65 if (fi->pi.pid != TT.last_shown_pid) in print_info()
66 printf("%d\n", TT.last_shown_pid = fi->pi.pid); in print_info()
76 fi->pi.cmd, fi->pi.pid, getusername(fi->pi.uid), in print_info()
77 fi->fd, fi->rw, fi->locks, fi->type, fi->device, fi->size_off, in print_info()
78 fi->node, fi->name); in print_info()
88 static void fill_flags(struct file_info *fi) in fill_flags() argument
94 snprintf(toybuf, sizeof(toybuf), "/proc/%d/fdinfo/%s", fi->pi.pid, fi->fd); in fill_flags()
[all …]
/external/python/cpython3/Lib/test/
Dtest_fileinput.py110 fi = FileInput(files=(t1, t2, t3, t4), bufsize=bs)
111 lines = list(fi)
112 fi.close()
116 self.assertEqual(fi.lineno(), 31)
117 self.assertEqual(fi.filename(), t4)
121 fi = FileInput(files=(t1, t2, t3, t4), bufsize=bs)
124 s = fi.readline()
125 self.assertEqual(fi.filename(), t2)
126 self.assertEqual(fi.lineno(), 21)
127 self.assertEqual(fi.filelineno(), 6)
[all …]
Dtest_funcattrs.py25 self.fi = F()
55 self.assertIn('known_attr', dir(self.fi.a), "set attribute on function "
109 self.assertEqual(self.fi.a.__name__, 'a')
110 self.cannot_set_attr(self.fi.a, "__name__", 'a', AttributeError)
193 self.assertEqual(self.fi.a.__self__.__class__, self.F)
194 self.cannot_set_attr(self.fi.a, "__class__", self.F, TypeError)
197 self.assertEqual(self.fi.a.__func__, self.F.a)
198 self.cannot_set_attr(self.fi.a, "__func__", self.F.a, AttributeError)
201 self.assertEqual(self.fi.a.__self__, self.fi)
202 self.cannot_set_attr(self.fi.a, "__self__", self.fi, AttributeError)
[all …]
/external/freetype/src/type1/
Dt1afm.c41 AFM_FontInfo fi ) in T1_Done_Metrics() argument
43 FT_FREE( fi->KernPairs ); in T1_Done_Metrics()
44 fi->NumKernPair = 0; in T1_Done_Metrics()
46 FT_FREE( fi->TrackKerns ); in T1_Done_Metrics()
47 fi->NumTrackKern = 0; in T1_Done_Metrics()
49 FT_FREE( fi ); in T1_Done_Metrics()
111 AFM_FontInfo fi ) in T1_Read_PFM() argument
157 fi->NumKernPair = FT_PEEK_USHORT_LE( p ); in T1_Read_PFM()
159 if ( p + 4 * fi->NumKernPair > limit ) in T1_Read_PFM()
166 if ( fi->NumKernPair == 0 ) in T1_Read_PFM()
[all …]
/external/freetype/src/tools/
Dtest_afm.c10 void dump_fontinfo( AFM_FontInfo fi ) in dump_fontinfo() argument
16 ( fi->IsCIDFont ) ? "" : "non-" ); in dump_fontinfo()
18 printf( "FontBBox: %.2f %.2f %.2f %.2f\n", fi->FontBBox.xMin / 65536., in dump_fontinfo()
19 fi->FontBBox.yMin / 65536., in dump_fontinfo()
20 fi->FontBBox.xMax / 65536., in dump_fontinfo()
21 fi->FontBBox.yMax / 65536. ); in dump_fontinfo()
22 printf( "Ascender: %.2f\n", fi->Ascender / 65536. ); in dump_fontinfo()
23 printf( "Descender: %.2f\n\n", fi->Descender / 65536. ); in dump_fontinfo()
25 if ( fi->NumTrackKern ) in dump_fontinfo()
27 fi->NumTrackKern ); in dump_fontinfo()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMMachineFunctionInfo.h156 bool isGPRCalleeSavedArea1Frame(int fi) const { in isGPRCalleeSavedArea1Frame() argument
157 if (fi < 0 || fi >= (int)GPRCS1Frames.size()) in isGPRCalleeSavedArea1Frame()
159 return GPRCS1Frames[fi]; in isGPRCalleeSavedArea1Frame()
161 bool isGPRCalleeSavedArea2Frame(int fi) const { in isGPRCalleeSavedArea2Frame() argument
162 if (fi < 0 || fi >= (int)GPRCS2Frames.size()) in isGPRCalleeSavedArea2Frame()
164 return GPRCS2Frames[fi]; in isGPRCalleeSavedArea2Frame()
166 bool isDPRCalleeSavedAreaFrame(int fi) const { in isDPRCalleeSavedAreaFrame() argument
167 if (fi < 0 || fi >= (int)DPRCSFrames.size()) in isDPRCalleeSavedAreaFrame()
169 return DPRCSFrames[fi]; in isDPRCalleeSavedAreaFrame()
172 void addGPRCalleeSavedArea1Frame(int fi) { in addGPRCalleeSavedArea1Frame() argument
[all …]
/external/dexmaker/dexmaker-mockito-inline/src/main/jni/dexmakerjvmtiagent/
Dagent.cc382 lir::Instruction* fi = *(c.instructions.begin()); in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine() local
392 addInstr(c, fi, OP_CONST_STRING, {v0, c.Alloc<String>(id, id->orig_index)}); in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine()
393 addInstr(c, fi, OP_MOVE_OBJECT_FROM16, {v1, thiz}); in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine()
394 addCall(b, c, fi, OP_INVOKE_STATIC, dispatcherT, "get", dispatcherT, in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine()
396 addInstr(c, fi, OP_MOVE_RESULT_OBJECT, {v2}); in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine()
397 addInstr(c, fi, OP_IF_EQZ, {v2, originalMethod}); in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine()
398 addCall(b, c, fi, OP_INVOKE_VIRTUAL, dispatcherT, "isMock", booleanScalarT, {objectT}, in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine()
400 addInstr(c, fi, OP_MOVE_RESULT, {v2}); in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine()
401 addInstr(c, fi, OP_IF_EQZ, {v2, originalMethod}); in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine()
402 addInstr(c, fi, OP_MOVE_OBJECT_FROM16, {v0, c.Alloc<VReg>(thisReg + 1)}); in Java_com_android_dx_mockito_inline_ClassTransformer_nativeRedefine()
[all …]
/external/lzma/CPP/7zip/UI/Common/
DEnumDirItems.cpp25 const NFind::CFileInfo &fi) in AddDirFileInfo() argument
28 di.Size = fi.Size; in AddDirFileInfo()
29 di.CTime = fi.CTime; in AddDirFileInfo()
30 di.ATime = fi.ATime; in AddDirFileInfo()
31 di.MTime = fi.MTime; in AddDirFileInfo()
32 di.Attrib = fi.Attrib; in AddDirFileInfo()
33 di.IsAltStream = fi.IsAltStream; in AddDirFileInfo()
37 di.Name = fs2us(fi.Name); in AddDirFileInfo()
43 if (fi.IsDir()) in AddDirFileInfo()
45 else if (fi.IsAltStream) in AddDirFileInfo()
[all …]
DArchiveName.cpp14 UString CreateArchiveName(const NFind::CFileInfo &fi, bool keepName) in CreateArchiveName() argument
16 FString resultName = fi.Name; in CreateArchiveName()
17 if (!fi.IsDir() && !keepName) in CreateArchiveName()
47 NFind::CFileInfo fi; in CreateArchiveName2() local
48 if (fi.Find(dirPrefix)) in CreateArchiveName2()
49 resultName = fi.Name; in CreateArchiveName2()
56 NFind::CFileInfo fi; in CreateArchiveName2() local
57 if (fi.Find(path)) in CreateArchiveName2()
59 resultName = fi.Name; in CreateArchiveName2()
60 if (!fi.IsDir() && !keepName) in CreateArchiveName2()
/external/e2fsprogs/tests/
Drun_e2fsck3 fi
6 fi
10 fi
14 fi
18 fi
22 fi
30 fi
31 fi
39 fi
40 fi
[all …]
/external/lzma/CPP/Windows/
DFileFind.cpp67 #define WIN_FD_TO_MY_FI(fi, fd) \ argument
68 fi.Attrib = fd.dwFileAttributes; \
69 fi.CTime = fd.ftCreationTime; \
70 fi.ATime = fd.ftLastAccessTime; \
71 fi.MTime = fd.ftLastWriteTime; \
72 fi.Size = (((UInt64)fd.nFileSizeHigh) << 32) + fd.nFileSizeLow; \
73 fi.IsAltStream = false; \
74 fi.IsDevice = false;
84 static void Convert_WIN32_FIND_DATA_to_FileInfo(const WIN32_FIND_DATAW &fd, CFileInfo &fi) in Convert_WIN32_FIND_DATA_to_FileInfo() argument
86 WIN_FD_TO_MY_FI(fi, fd); in Convert_WIN32_FIND_DATA_to_FileInfo()
[all …]
/external/libxml2/
Dconfigure.ac25 fi
32 fi
39 fi
40 fi
41 fi
42 fi
88 fi
163 fi
199 fi
207 fi
[all …]
/external/e2fsprogs/tests/f_collapse_extent_tree/
Dscript3 fi
6 fi
10 fi
14 fi
18 fi
22 fi
30 fi
31 fi
39 fi
40 fi
[all …]
/external/e2fsprogs/tests/f_extent_too_deep/
Dscript3 fi
6 fi
10 fi
14 fi
18 fi
22 fi
30 fi
31 fi
39 fi
40 fi
[all …]
/external/e2fsprogs/tests/f_compress_extent_tree_level/
Dscript3 fi
6 fi
10 fi
14 fi
18 fi
22 fi
30 fi
31 fi
39 fi
40 fi
[all …]
/external/e2fsprogs/tests/f_convert_bmap/
Dscript3 fi
6 fi
10 fi
14 fi
18 fi
22 fi
30 fi
31 fi
39 fi
40 fi
[all …]
/external/e2fsprogs/tests/f_convert_bmap_and_extent/
Dscript3 fi
6 fi
10 fi
14 fi
18 fi
22 fi
30 fi
31 fi
39 fi
40 fi
[all …]
/external/harfbuzz_ng/
Dconfigure.ac67 fi
104 fi
107 fi
124 fi
127 fi
135 fi
141 fi
155 fi
158 fi
161 fi
[all …]
/external/ImageMagick/
Dconfigure.ac64 fi
142 fi
146 fi
150 fi
165 fi
169 fi
173 fi
204 fi
208 fi
314 fi
[all …]
/external/valgrind/none/tests/solaris/
Dproc_auxv_multiple.c15 int read_entry(int fi, auxv_t *out) in read_entry() argument
23 r = read(fi, ptr, toread); in read_entry()
45 int fi[2] = {-1, -1}; in main() local
50 if ((fi[0] = open("/proc/self/auxv", O_RDONLY)) == -1) { in main()
57 if (read_entry(fi[0], &vector[0][i])) in main()
61 if ((fi[1] = open("/proc/self/auxv", O_RDONLY)) == -1) { in main()
68 if (read_entry(fi[0], &vector[0][i])) in main()
73 if (read_entry(fi[1], &vector[1][i])) in main()
86 if (fi[i] >= 0) in main()
87 close(fi[i]); in main()
/external/jemalloc/
Dconfigure.ac18 fi
60 fi
73 fi
76 fi
104 fi
111 fi
133 fi
145 fi
169 fi
181 fi
[all …]
/external/libvncserver/
Dconfigure.ac22 fi
44 fi
47 fi
60 fi
68 fi
85 fi
97 fi
98 fi
123 fi
124 fi
[all …]
/external/linux-kselftest/android/patches/
D0013-ANDROID-build-vm-tests.patch32 - fi
35 - fi
50 - fi
54 - fi
62 - fi
66 -fi
80 -fi
95 -fi
108 -fi
123 -fi
[all …]
/external/freetype/src/psaux/
Dafmparse.c590 AFM_FontInfo fi = parser->FontInfo; in afm_parse_track_kern() local
604 fi->NumTrackKern = (FT_UInt)tmp; in afm_parse_track_kern()
606 if ( fi->NumTrackKern ) in afm_parse_track_kern()
612 if ( FT_QNEW_ARRAY( fi->TrackKerns, fi->NumTrackKern ) ) in afm_parse_track_kern()
626 if ( n >= (int)fi->NumTrackKern ) in afm_parse_track_kern()
629 tk = fi->TrackKerns + n; in afm_parse_track_kern()
650 fi->NumTrackKern = (FT_UInt)( n + 1 ); in afm_parse_track_kern()
694 AFM_FontInfo fi = parser->FontInfo; in afm_parse_kern_pairs() local
708 fi->NumKernPair = (FT_UInt)tmp; in afm_parse_kern_pairs()
710 if ( fi->NumKernPair ) in afm_parse_kern_pairs()
[all …]

12345678910>>...50