Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 114) 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/generic/goldfish/wifi/wifi_hal/
Dwifi_hal.cpp373 wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn* fn) in init_wifi_vendor_hal_func_table() argument
375 if (fn == NULL) { in init_wifi_vendor_hal_func_table()
378 fn->wifi_initialize = wifi_initialize; in init_wifi_vendor_hal_func_table()
379 fn->wifi_cleanup = wifi_cleanup; in init_wifi_vendor_hal_func_table()
380 fn->wifi_event_loop = wifi_event_loop; in init_wifi_vendor_hal_func_table()
381 fn->wifi_get_supported_feature_set = wifi_get_supported_feature_set; in init_wifi_vendor_hal_func_table()
383 fn->wifi_get_ifaces = wifi_get_ifaces; in init_wifi_vendor_hal_func_table()
384 fn->wifi_get_iface_name = wifi_get_iface_name; in init_wifi_vendor_hal_func_table()
385 fn->wifi_get_link_stats = wifi_get_link_stats; in init_wifi_vendor_hal_func_table()
386 fn->wifi_set_link_stats = wifi_set_link_stats; in init_wifi_vendor_hal_func_table()
[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/arm-trusted-firmware/services/spd/trusty/
Dsmcall.h19 #define SMC_NR(entity, fn, fastcall, smc64) \ argument
23 ((fn) & 0xFFFF) \
26 #define SMC_FASTCALL_NR(entity, fn) SMC_NR((entity), (fn), 1, 0) argument
27 #define SMC_FASTCALL64_NR(entity, fn) SMC_NR((entity), (fn), 1, 1) argument
28 #define SMC_YIELDCALL_NR(entity, fn) SMC_NR((entity), (fn), 0, 0) argument
29 #define SMC_YIELDCALL64_NR(entity, fn) SMC_NR((entity), (fn), 0, 1) argument
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/tbbr/
Dtbb_cert.c23 .fn = NULL,
37 .fn = NULL,
52 .fn = NULL,
66 .fn = NULL,
80 .fn = NULL,
94 .fn = NULL,
108 .fn = NULL,
122 .fn = NULL,
138 .fn = NULL,
152 .fn = NULL,
[all …]
/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/poplar/wifi/wifi_hal/
Dwifi_hal.cpp158 wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn) in init_wifi_vendor_hal_func_table() argument
160 if (fn == NULL) { in init_wifi_vendor_hal_func_table()
163 fn->wifi_initialize = wifi_initialize; in init_wifi_vendor_hal_func_table()
164 fn->wifi_wait_for_driver_ready = wifi_wait_for_driver_ready; in init_wifi_vendor_hal_func_table()
165 fn->wifi_cleanup = wifi_cleanup; in init_wifi_vendor_hal_func_table()
166 fn->wifi_event_loop = wifi_event_loop; in init_wifi_vendor_hal_func_table()
167 fn->wifi_get_supported_feature_set = wifi_get_supported_feature_set; in init_wifi_vendor_hal_func_table()
168 fn->wifi_get_concurrency_matrix = wifi_get_concurrency_matrix; in init_wifi_vendor_hal_func_table()
169 fn->wifi_set_scanning_mac_oui = wifi_set_scanning_mac_oui; in init_wifi_vendor_hal_func_table()
170 fn->wifi_get_ifaces = wifi_get_ifaces; in init_wifi_vendor_hal_func_table()
[all …]
/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.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/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.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/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/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.10/Lib/
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")
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 …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
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")
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 …]

12345