Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 106) sorted by relevance

12345

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
Drrcs.py41 for fn in files:
43 func(x, copts, fn)
45 print "%s: %s" % (fn, msg)
47 def checkin(x, copts, fn): argument
48 f = open(fn)
51 new = not x.isvalid(fn)
52 if not new and same(x, copts, fn, data):
53 print "%s: unchanged since last checkin" % fn
55 print "Checking in", fn, "..."
57 messages = x.put(fn, data, message)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
Dpytree_idempotency.py28 fn = "example.py"
29 tree = dr.parse_file(fn, debug=True)
30 if not diff(fn, tree):
42 fn = mod.__file__
43 if fn.endswith(".pyc"):
44 fn = fn[:-1]
45 if not fn.endswith(".py"):
47 print >>sys.stderr, "Parsing", fn
48 tree = dr.parse_file(fn, debug=True)
49 if diff(fn, tree):
[all …]
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/
Dtbb_cert.c43 .fn = NULL,
50 .fn = NULL,
57 .fn = NULL,
64 .fn = NULL,
71 .fn = NULL,
78 .fn = NULL,
85 .fn = NULL,
92 .fn = NULL,
99 .fn = NULL,
106 .fn = NULL,
Dkey.c87 if (key->fn) { in key_load()
89 fp = fopen(key->fn, "r"); in key_load()
97 ERROR("Cannot read key from %s\n", key->fn); in key_load()
100 ERROR("Cannot open file %s\n", key->fn); in key_load()
116 if (key->fn) { in key_store()
117 fp = fopen(key->fn, "w"); in key_store()
124 ERROR("Cannot create file %s\n", key->fn); in key_store()
Dmain.c57 #define CHECK_NULL(v, fn) \ argument
59 v = fn; \
232 if (keys[ROT_KEY].fn == NULL) { in check_cmd_params()
237 if (keys[TRUSTED_WORLD_KEY].fn == NULL) { in check_cmd_params()
242 if (keys[NON_TRUSTED_WORLD_KEY].fn == NULL) { in check_cmd_params()
247 if (keys[BL31_KEY].fn == NULL) { in check_cmd_params()
252 if (keys[BL33_KEY].fn == NULL) { in check_cmd_params()
257 if (bl30_present && (keys[BL30_KEY].fn == NULL)) { in check_cmd_params()
262 if (bl32_present && (keys[BL32_KEY].fn == NULL)) { in check_cmd_params()
322 certs[BL2_CERT].fn = strdup(optarg); in main()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dsvneol.py36 def propfiles(root, fn): argument
37 default = os.path.join(root, ".svn", "props", fn+".svn-work")
45 return [os.path.join(root, ".svn", "prop-base", fn+".svn-base"),
46 os.path.join(root, ".svn", "props", fn+".svn-work")]
49 def proplist(root, fn): argument
52 for path in propfiles(root, fn):
87 for fn in files:
88 if possible_text_file(fn):
89 if 'svn:eol-style' not in proplist(root, fn):
90 path = os.path.join(root, fn)
Dserve.py15 fn = os.path.join(path, environ['PATH_INFO'][1:])
16 if '.' not in fn.split(os.path.sep)[-1]:
17 fn = os.path.join(fn, 'index.html')
18 type = mimetypes.guess_type(fn)[0]
20 if os.path.exists(fn):
22 return util.FileWrapper(open(fn))
Dobjgraph.py75 fn, name, type = s[r1a:r1b], s[r3a:r3b], s[r2a:r2b]
77 store(def2file, name, fn)
78 store(file2def, fn, name)
80 store(file2undef, fn, name)
81 store(undef2file, name, fn)
83 print fn + ':' + name + ': unknown type ' + type
119 for fn in callers:
120 if fn <> lastfn:
121 print '\t' + fn
122 lastfn = fn
Dpatchcheck.py135 python_files = [fn for fn in file_paths if fn.endswith('.py')]
136 c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))]
137 doc_files = [fn for fn in file_paths if fn.startswith('Doc')]
Dmailerdaemon.py166 files = filter(lambda fn, pat=pat: pat.match(fn) is not None, os.listdir('.'))
169 for fn in files:
171 fp = open(fn)
174 print '%s\t%-40s\t'%(fn, sender[1]),
181 os.rename(fn, ','+fn)
203 errorfirst[e] = '%s (%s)' % (fn, date)
206 errorlast[e] = '%s (%s)' % (fn, date)
211 os.rename(fn, ','+fn)
Dfinddiv.py78 fn = os.path.join(dir, name)
79 if os.path.normcase(fn).endswith(".py") or os.path.isdir(fn):
80 files.append(fn)
83 for fn in files:
84 x = process(fn, listnames)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_socketserver.py77 for fn in self.test_files:
79 os.remove(fn)
93 fn = tempfile.mktemp(prefix='unix_socket.', dir=dir)
98 if fn[1] == ':':
99 fn = fn[2:]
100 if fn[0] in (os.sep, os.altsep):
101 fn = fn[1:]
103 fn = fn.replace(os.sep, os.altsep)
105 fn = fn.replace(os.altsep, os.sep)
106 self.test_files.append(fn)
[all …]
Dtest_shelve.py11 fn = "shelftemp" + os.extsep + "db" variable in TestCase
30 s = shelve.open(self.fn, protocol=0)
35 for f in glob.glob(self.fn+"*"):
40 s = shelve.open(self.fn, protocol=1)
45 for f in glob.glob(self.fn+"*"):
50 s = shelve.open(self.fn, protocol=2)
55 for f in glob.glob(self.fn+"*"):
108 fn = "shelftemp.db" variable in TestShelveBase
121 x= shelve.open(self.fn+str(self.counter), **self._args)
129 for f in glob.glob(self.fn+"*"):
Dtest___all__.py51 for fn in sorted(os.listdir(basedir)):
52 path = os.path.join(basedir, fn)
56 yield pkg_init, modpath + fn
57 for p, m in self.walk_modules(path, modpath + fn + "."):
60 if not fn.endswith('.py') or fn == '__init__.py':
62 yield path, modpath + fn[:-3]
/device/linaro/bootloader/edk2/StdLib/LibC/Math/
De_rem_pio2.c78 double z,w,t,r,fn; in __ieee754_rem_pio2() local
116 fn = (double)n; in __ieee754_rem_pio2()
117 r = t-fn*pio2_1; in __ieee754_rem_pio2()
118 w = fn*pio2_1t; /* 1st round good to 85 bit */ in __ieee754_rem_pio2()
129 w = fn*pio2_2; in __ieee754_rem_pio2()
131 w = fn*pio2_2t-((t-r)-w); in __ieee754_rem_pio2()
137 w = fn*pio2_3; in __ieee754_rem_pio2()
139 w = fn*pio2_3t-((t-r)-w); in __ieee754_rem_pio2()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_functoolsmodule.c94 PyObject *fn; member
127 pto->fn = func; in partial_new()
158 Py_XDECREF(pto->fn); in partial_dealloc()
171 assert (PyCallable_Check(pto->fn)); in partial_call()
205 ret = PyObject_Call(pto->fn, argappl, kwappl); in partial_call()
214 Py_VISIT(pto->fn); in partial_traverse()
227 {"func", T_OBJECT, OFF(fn), READONLY,
287 return Py_BuildValue("O(O)(OOOO)", Py_TYPE(pto), pto->fn, pto->fn, in partial_reduce()
295 PyObject *fn, *fnargs, *kw, *dict; in partial_setstate() local
297 &fn, &fnargs, &kw, &dict)) in partial_setstate()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_functoolsmodule.c94 PyObject *fn; member
127 pto->fn = func; in partial_new()
154 Py_XDECREF(pto->fn); in partial_dealloc()
167 assert (PyCallable_Check(pto->fn)); in partial_call()
201 ret = PyObject_Call(pto->fn, argappl, kwappl); in partial_call()
210 Py_VISIT(pto->fn); in partial_traverse()
223 {"func", T_OBJECT, OFF(fn), READONLY,
283 return Py_BuildValue("O(O)(OOOO)", Py_TYPE(pto), pto->fn, pto->fn, in partial_reduce()
291 PyObject *fn, *fnargs, *kw, *dict; in partial_setstate() local
293 &fn, &fnargs, &kw, &dict)) in partial_setstate()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
D__init__.py11 for fn in os.listdir(here):
12 if fn.startswith("test") and fn.endswith(".py"):
13 modname = "unittest.test." + fn[:-3]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
D__init__.py26 for fn in os.listdir(here):
27 if fn.startswith("test") and fn.endswith(".py"):
28 modname = "distutils.tests." + fn[:-3]
/device/google/contexthub/firmware/lib/libm/
Def_rem_pio2.c105 float z,w,t,r,fn; local
142 fn = (float)n;
143 r = t-fn*pio2_1;
144 w = fn*pio2_1t; /* 1st round good to 40 bit */
155 w = fn*pio2_2;
157 w = fn*pio2_2t-((t-r)-w);
163 w = fn*pio2_3;
165 w = fn*pio2_3t-((t-r)-w);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpkgutil.py201 for fn in filenames:
202 modname = inspect.getmodulename(fn)
206 path = os.path.join(self.path, fn)
209 if not modname and os.path.isdir(path) and '.' not in fn:
210 modname = fn
211 for fn in os.listdir(path):
212 subname = inspect.getmodulename(fn)
330 for fn in dirlist:
331 if not fn.startswith(_prefix):
334 fn = fn[plen:].split(os.sep)
[all …]
Ddis.py206 fn = sys.argv[1]
207 if not fn or fn == "-":
208 fn = None
210 fn = None
211 if fn is None:
214 f = open(fn)
216 if fn is not None:
219 fn = "<stdin>"
220 code = compile(source, fn, "exec")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dpkgutil.py204 for fn in filenames:
205 modname = inspect.getmodulename(fn)
209 path = os.path.join(self.path, fn)
212 if not modname and os.path.isdir(path) and '.' not in fn:
213 modname = fn
219 for fn in dircontents:
220 subname = inspect.getmodulename(fn)
338 for fn in dirlist:
339 if not fn.startswith(_prefix):
342 fn = fn[plen:].split(os.sep)
[all …]
Ddis.py206 fn = sys.argv[1]
207 if not fn or fn == "-":
208 fn = None
210 fn = None
211 if fn is None:
214 f = open(fn)
216 if fn is not None:
219 fn = "<stdin>"
220 code = compile(source, fn, "exec")
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
Dmd_var.h43 #define FDESC_FUNC(fn) (((struct ia64_fdesc *) fn)->func) argument
44 #define FDESC_GP(fn) (((struct ia64_fdesc *) fn)->gp) argument

12345