/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
sortperf.py | 22 fn = os.path.join(td, "rr%06d" % n) 24 fp = open(fn, "rb") 30 fp = open(fn, "wb") 37 os.unlink(fn) 41 print "can't write", fn, ":", msg
|
test_ntpath.py | 8 def tester(fn, wantResult): 9 fn = fn.replace("\\", "\\\\") 10 gotResult = eval(fn) 13 %(str(fn), str(wantResult), str(gotResult))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
sortperf.py | 22 fn = os.path.join(td, "rr%06d" % n) 24 fp = open(fn, "rb") 30 fp = open(fn, "wb") 37 os.unlink(fn) 41 print "can't write", fn, ":", msg
|
test_ntpath.py | 8 def tester(fn, wantResult): 9 fn = fn.replace("\\", "\\\\") 10 gotResult = eval(fn) 13 %(str(fn), str(wantResult), str(gotResult))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
sortperf.py | 22 fn = os.path.join(td, "rr%06d" % n) 24 fp = open(fn, "rb") 30 fp = open(fn, "wb") 37 os.unlink(fn) 41 print "can't write", fn, ":", msg
|
test_ntpath.py | 8 def tester(fn, wantResult): 9 fn = fn.replace("\\", "\\\\") 10 gotResult = eval(fn) 13 %(str(fn), str(wantResult), str(gotResult))
|
/external/compiler-rt/lib/profile/ |
GCDAProfiling.c | 94 writeout_fn fn; member in struct:writeout_fn_node 107 flush_fn fn; member in struct:flush_fn_node 501 void llvm_register_writeout_function(writeout_fn fn) { 503 new_node->fn = fn; 518 curr->fn(); 533 void llvm_register_flush_function(flush_fn fn) { 535 new_node->fn = fn; 550 curr->fn(); [all...] |
/external/python/cpython3/Lib/test/libregrtest/ |
save_env.py | 227 return sorted(fn + ('/' if os.path.isdir(fn) else '') 228 for fn in os.listdir()) 230 fn = support.TESTFN 231 if fn not in saved_value and (fn + '/') not in saved_value: 232 if os.path.isfile(fn): 233 support.unlink(fn) 234 elif os.path.isdir(fn): 235 support.rmtree(fn) [all...] |
/external/python/futures/concurrent/futures/ |
process.py | 89 def __init__(self, future, fn, args, kwargs): 91 self.fn = fn 102 def __init__(self, work_id, fn, args, kwargs): 104 self.fn = fn 128 r = call_item.fn(*call_item.args, **call_item.kwargs) 166 work_item.fn, 328 def submit(self, fn, *args, **kwargs): 334 w = _WorkItem(f, fn, args, kwargs [all...] |
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
bootstrap.js | 135 $.fn.alert = function (option) { 144 $.fn.alert.Constructor = Alert 184 this.options = $.extend({}, $.fn.button.defaults, options) 220 $.fn.button = function (option) { 231 $.fn.button.defaults = { 235 $.fn.button.Constructor = Button 384 $.fn.carousel = function (option) { 388 , options = $.extend({}, $.fn.carousel.defaults, typeof option == 'object' && option) 396 $.fn.carousel.defaults = { 401 $.fn.carousel.Constructor = Carouse [all...] |
/external/blktrace/ |
blkiomon.c | 68 char *fn; member in struct:output 110 if (!debug.fn) 134 if (!debug.fn) 239 if (!binary.fn) 249 fprintf(stderr, "blkiomon: could not write to %s\n", binary.fn); 251 binary.fn = NULL; 433 if (!drvdata.fn) 445 fprintf(stderr, "blkiomon: could not write to %s\n", drvdata.fn); 447 drvdata.fn = NULL; 530 if (!out->fn) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/iobench/ |
iobench.py | 24 def text_open(fn, mode, encoding=None):
26 return open(fn, mode, encoding=encoding or TEXT_ENCODING)
28 return open(fn, mode)
320 run_test_family(read_tests, "t", binary_files, lambda fn: open(fn, "rb"))
325 run_test_family(read_tests, "b", text_files, lambda fn: text_open(fn, "r"))
334 lambda fn: open(os.devnull, "wb"), make_test_source)
343 lambda fn: text_open(os.devnull, "w"), make_test_source)
352 lambda fn: open(fn, "r+b"), make_test_source) [all...] |
/external/libffi/src/sparc/ |
ffi.c | 373 unsigned, unsigned *, void (*fn)(void)); 376 unsigned, unsigned *, void (*fn)(void)); 383 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) 427 unsigned long f = (unsigned long)fn; 430 call_struct[2] = 0x03000000 | f >> 10; /* sethi %hi(fn), %g1 */ 431 call_struct[3] = 0x9fc06000 | (f & 0x3ff); /* jmp %g1+%lo(fn), %o7 */ 454 cif->flags, rvalue, fn); 460 cif->flags, rvalue, fn); 467 cif->flags, rval, fn); 496 unsigned long fn; local [all...] |
/external/libmicrohttpd/src/examples/ |
demo.c | 517 char fn[PATH_MAX]; local 532 snprintf (fn, sizeof (fn), 537 (void) mkdir (fn); 539 (void) mkdir (fn, S_IRWXU); 542 snprintf (fn, sizeof (fn), 547 for (i=strlen (fn)-1;i>=0;i--) 548 if (! isprint ((int) fn[i])) 549 fn[i] = '_' [all...] |
demo_https.c | 518 char fn[PATH_MAX]; local 533 snprintf (fn, sizeof (fn), 538 (void) mkdir (fn); 540 (void) mkdir (fn, S_IRWXU); 543 snprintf (fn, sizeof (fn), 548 for (i=strlen (fn)-1;i>=0;i--) 549 if (! isprint ((int) fn[i])) 550 fn[i] = '_' [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_print.cpp | 571 if (op == OP_CALL && asFlow()->target.fn) { 573 asFlow()->target.fn->getName(), 574 asFlow()->target.fn->getLabel()); 699 PrintPass::visit(Function *fn) 703 INFO("\n%s:%i (", fn->getName(), fn->getLabel()); 705 if (!fn->outs.empty()) 707 for (std::deque<ValueRef>::iterator it = fn->outs.begin(); 708 it != fn->outs.end(); 714 if (!fn->ins.empty() [all...] |
/external/python/cpython2/Modules/_ctypes/libffi/src/sparc/ |
ffi.c | 373 unsigned, unsigned *, void (*fn)(void)); 376 unsigned, unsigned *, void (*fn)(void)); 383 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) 427 unsigned long f = (unsigned long)fn; 430 call_struct[2] = 0x03000000 | f >> 10; /* sethi %hi(fn), %g1 */ 431 call_struct[3] = 0x9fc06000 | (f & 0x3ff); /* jmp %g1+%lo(fn), %o7 */ 454 cif->flags, rvalue, fn); 460 cif->flags, rvalue, fn); 467 cif->flags, rval, fn); 496 unsigned long fn; local [all...] |
/external/python/cpython2/Tools/iobench/ |
iobench.py | 24 def text_open(fn, mode, encoding=None): 26 return open(fn, mode, encoding=encoding or TEXT_ENCODING) 28 return open(fn, mode) 320 run_test_family(read_tests, "t", binary_files, lambda fn: open(fn, "rb")) 325 run_test_family(read_tests, "b", text_files, lambda fn: text_open(fn, "r")) 334 lambda fn: open(os.devnull, "wb"), make_test_source) 343 lambda fn: text_open(os.devnull, "w"), make_test_source) 352 lambda fn: open(fn, "r+b"), make_test_source [all...] |
/external/python/cpython3/Modules/_ctypes/libffi/src/sparc/ |
ffi.c | 373 unsigned, unsigned *, void (*fn)(void)); 376 unsigned, unsigned *, void (*fn)(void)); 383 void ffi_call(ffi_cif *cif, void (*fn)(void), void *rvalue, void **avalue) 427 unsigned long f = (unsigned long)fn; 430 call_struct[2] = 0x03000000 | f >> 10; /* sethi %hi(fn), %g1 */ 431 call_struct[3] = 0x9fc06000 | (f & 0x3ff); /* jmp %g1+%lo(fn), %o7 */ 454 cif->flags, rvalue, fn); 460 cif->flags, rvalue, fn); 467 cif->flags, rval, fn); 496 unsigned long fn; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
pkgutil.py | 204 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/ |
pkgutil.py | 201 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...] |
/external/python/cpython2/Lib/ |
pkgutil.py | 204 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...] |
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/ |
reader_dataset_ops_test.py | 53 fn = os.path.join(self.get_temp_dir(), "text_line.%d.txt" % i) 54 filenames.append(fn) 65 with open(fn, "wb") as f: 68 with gzip.GzipFile(fn, "wb") as f: 72 with open(fn, "wb") as f: 122 fn = os.path.join(self.get_temp_dir(), "fixed_length_record.%d.txt" % i) 123 filenames.append(fn) 124 with open(fn, "wb") as f: 180 fn = os.path.join(self.get_temp_dir(), "tf_record.%d.txt" % i) 181 filenames.append(fn) [all...] |
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
rev_block_lib.py | 82 # stop_gradients required on fn inputs to prevent infinite recursion into this 141 def _scope_wrap(fn, scope): 143 @functools.wraps(fn) 146 return fn(*args, **kwargs) 175 f = [_scope_wrap(fn, "revlayer_%d/f" % i) for i, fn in enumerate(f)] 176 g = [_scope_wrap(fn, "revlayer_%d/g" % i) for i, fn in enumerate(g)] 221 """Custom gradient fn for a block of reversible residual layers.""" 408 def recompute_grad(fn) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
pkgutil.py | 204 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...] |