/external/python/cpython2/Tools/scripts/ |
mailerdaemon.py | 167 files = filter(lambda fn, pat=pat: pat.match(fn) is not None, os.listdir('.')) 170 for fn in files: 172 fp = open(fn) 175 print '%s\t%-40s\t'%(fn, sender[1]), 182 os.rename(fn, ','+fn) 183 ## os.unlink(fn) 204 errorfirst[e] = '%s (%s)' % (fn, date) 207 errorlast[e] = '%s (%s)' % (fn, date [all...] |
/external/python/cpython3/Tools/scripts/ |
mailerdaemon.py | 175 files = list(filter(lambda fn, pat=pat: pat.match(fn) is not None, os.listdir('.'))) 178 for fn in files: 180 fp = open(fn) 183 print('%s\t%-40s\t'%(fn, sender[1]), end=' ') 190 os.rename(fn, ','+fn) 191 ## os.unlink(fn) 212 errorfirst[e] = '%s (%s)' % (fn, date) 215 errorlast[e] = '%s (%s)' % (fn, date [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
kullback_leibler_test.py | 97 def _testIndirectRegistration(self, fn): 133 self.assertEqual("sub1-1", fn(sub1, sub1)) 134 self.assertEqual("sub1-2", fn(sub1, sub2)) 135 self.assertEqual("sub2-1", fn(sub2, sub1)) 136 self.assertEqual("sub1-1", fn(sub11, sub11)) 137 self.assertEqual("sub1-1", fn(sub11, sub1)) 138 self.assertEqual("sub1-2", fn(sub11, sub2)) 139 self.assertEqual("sub1-1", fn(sub11, sub1)) 140 self.assertEqual("sub1-2", fn(sub11, sub2)) 141 self.assertEqual("sub2-1", fn(sub2, sub11) [all...] |
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
Striped64.java | 217 * @param fn the update function, or null for add (this convention 221 final void longAccumulate(long x, LongBinaryOperator fn, 256 (fn == null) ? v + x : fn.applyAsLong(v, x))) 288 (fn == null) ? v + x : fn.applyAsLong(v, x))) 293 private static long apply(DoubleBinaryOperator fn, long v, double x) { 295 d = (fn == null) ? d + x : fn.applyAsDouble(d, x); 305 final void doubleAccumulate(double x, DoubleBinaryOperator fn, [all...] |
/art/runtime/ |
class_loader_utils.h | 61 Visitor fn, 86 if (!fn(element, &ret_value)) { 105 Visitor fn, 132 if (!fn(cp_dex_file, /* out */ &ret_value)) { 148 Visitor fn) 150 auto helper = [&fn](const art::DexFile* dex_file, void** ATTRIBUTE_UNUSED) 152 return fn(dex_file);
|
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/ |
key.c | 139 if (key->fn) { 141 fp = fopen(key->fn, "r"); 149 ERROR("Cannot load key from %s\n", key->fn); 153 WARN("Cannot open file %s\n", key->fn); 168 if (key->fn) { 169 fp = fopen(key->fn, "w"); 176 ERROR("Cannot create file %s\n", key->fn);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test___all__.py | 51 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]
|
/external/libffi/src/moxie/ |
ffi.c | 123 void (*fn)(void)); 126 void (*fn)(void), 150 cif->flags, ecif.rvalue, fn); 252 unsigned long fn = (long) ffi_closure_eabi; local 258 fn = (unsigned long) ffi_closure_eabi; 264 tramp[4] = fn >> 16; 265 tramp[5] = fn & 0xffff;
|
/external/python/cpython2/Lib/test/ |
test___all__.py | 51 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]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/moxie/ |
ffi.c | 123 void (*fn)(void)); 126 void (*fn)(void), 150 cif->flags, ecif.rvalue, fn); 252 unsigned long fn = (long) ffi_closure_eabi; local 258 fn = (unsigned long) ffi_closure_eabi; 264 tramp[4] = fn >> 16; 265 tramp[5] = fn & 0xffff;
|
/external/python/cpython3/Lib/test/ |
test___all__.py | 50 for fn in sorted(os.listdir(basedir)): 51 path = os.path.join(basedir, fn) 55 yield pkg_init, modpath + fn 56 for p, m in self.walk_modules(path, modpath + fn + "."): 59 if not fn.endswith('.py') or fn == '__init__.py': 61 yield path, modpath + fn[:-3]
|
/external/python/cpython3/Modules/_ctypes/libffi/src/moxie/ |
ffi.c | 123 void (*fn)(void)); 126 void (*fn)(void), 150 cif->flags, ecif.rvalue, fn); 252 unsigned long fn = (long) ffi_closure_eabi; local 258 fn = (unsigned long) ffi_closure_eabi; 264 tramp[4] = fn >> 16; 265 tramp[5] = fn & 0xffff;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test___all__.py | 51 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]
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test___all__.py | 51 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]
|
/prebuilts/go/darwin-x86/misc/cgo/testcshared/ |
main4.c | 77 void (*fn)(void); 124 fn = (void(*)(void))dlsym(handle, "RunGoroutines"); 125 if (fn == NULL) { 134 fn(); 201 fn = (void (*)(void))dlsym(handle, "TestSEGV"); 202 if (fn == NULL) { 211 fn();
|
/prebuilts/go/linux-x86/misc/cgo/testcshared/ |
main4.c | 77 void (*fn)(void); 124 fn = (void(*)(void))dlsym(handle, "RunGoroutines"); 125 if (fn == NULL) { 134 fn(); 201 fn = (void (*)(void))dlsym(handle, "TestSEGV"); 202 if (fn == NULL) { 211 fn();
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test___all__.py | 51 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]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test___all__.py | 51 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]
|
/external/valgrind/callgrind/ |
fn.c | 234 obj = (obj_node*) CLG_MALLOC("cl.fn.non.1", sizeof(obj_node)); 235 obj->name = di ? VG_(strdup)( "cl.fn.non.2", 293 file_node* file = (file_node*) CLG_MALLOC("cl.fn.nfn.1", 295 file->name = VG_(strdup)("cl.fn.nfn.2", filename); 344 fn_node* fn = (fn_node*) CLG_MALLOC("cl.fn.nfnnd.1", local 346 fn->name = VG_(strdup)("cl.fn.nfnnd.2", fnname); 349 fn->number = CLG_(stat).distinct_fns; 350 fn->last_cxt = 0 420 fn_node *fn = get_fn_node_infile(file, fnname); local 493 fn_node* fn; local [all...] |
/external/valgrind/memcheck/tests/ |
wrap6.c | 172 soak up lots of int registers. And the orig fn uses TRASH_IREGS to 191 OrigFn fn; local 192 VALGRIND_GET_ORIG_FN(fn); 195 CALL_FN_W_v(r, fn); 197 CALL_FN_v_v(fn); 218 OrigFn fn; local 219 VALGRIND_GET_ORIG_FN(fn); 222 CALL_FN_W_W(r, fn, a1); 224 CALL_FN_v_W(fn, a1); 246 OrigFn fn; local 275 OrigFn fn; local 306 OrigFn fn; local 337 OrigFn fn; local 369 OrigFn fn; local 404 OrigFn fn; local 441 OrigFn fn; local 479 OrigFn fn; local 518 OrigFn fn; local 558 OrigFn fn; local 599 OrigFn fn; local [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
inl.go | 42 func fnpkg(fn *Node) *types.Pkg { 43 if fn.IsMethod() { 45 rcvr := fn.Type.Recv().Type 51 Fatalf("receiver with no sym: [%v] %L (%v)", fn.Sym, fn, rcvr) 57 return fn.Sym.Pkg 62 func typecheckinl(fn *Node) { 63 lno := setlineno(fn) 69 pkg := fnpkg(fn) 76 fmt.Printf("typecheck import [%v] %L { %#v }\n", fn.Sym, fn, fn.Func.Inl [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
inl.go | 42 func fnpkg(fn *Node) *types.Pkg { 43 if fn.IsMethod() { 45 rcvr := fn.Type.Recv().Type 51 Fatalf("receiver with no sym: [%v] %L (%v)", fn.Sym, fn, rcvr) 57 return fn.Sym.Pkg 62 func typecheckinl(fn *Node) { 63 lno := setlineno(fn) 69 pkg := fnpkg(fn) 76 fmt.Printf("typecheck import [%v] %L { %#v }\n", fn.Sym, fn, fn.Func.Inl [all...] |
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
wifi_hal.cpp | 155 wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn) 157 if (fn == NULL) { 160 fn->wifi_initialize = wifi_initialize; 161 fn->wifi_wait_for_driver_ready = wifi_wait_for_driver_ready; 162 fn->wifi_cleanup = wifi_cleanup; 163 fn->wifi_event_loop = wifi_event_loop; 164 fn->wifi_get_supported_feature_set = wifi_get_supported_feature_set; 165 fn->wifi_get_concurrency_matrix = wifi_get_concurrency_matrix; 166 fn->wifi_set_scanning_mac_oui = wifi_set_scanning_mac_oui; 167 fn->wifi_get_ifaces = wifi_get_ifaces [all...] |
/bionic/tests/ |
dlfcn_test.cpp | 208 int (*fn)(void); 209 fn = reinterpret_cast<int (*)(void)>(sym); 210 EXPECT_EQ(4, fn()); 384 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "relo_test_get_answer")); local 385 ASSERT_TRUE(fn != nullptr) << dlerror(); 386 ASSERT_EQ(1, fn()); 418 fn_t fn, fn2; local 419 fn = reinterpret_cast<fn_t>(dlsym(RTLD_DEFAULT, "check_order_dlsym_get_answer")); 420 ASSERT_TRUE(fn != nullptr) << dlerror(); 424 ASSERT_EQ(42, fn()); 471 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_get_answer")); local 498 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_get_answer")); local 536 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_grandchild_get_answer")); local 582 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_nephew_get_answer")); local 609 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle2, "check_order_reloc_get_answer")); local 657 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "check_order_reloc_root_get_answer")); local 1227 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); local 1237 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); local 1247 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); local 1257 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "get_function_version")); local 1267 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "versioned_function")); local 1279 fn_t fn = reinterpret_cast<fn_t>(dlvsym(handle, "versioned_function", "nonversion")); local 1285 fn_t fn = reinterpret_cast<fn_t>(dlvsym(handle, "versioned_function", "TESTLIB_V2")); local 1308 dlopen_b_fn fn = (dlopen_b_fn)dlsym(handle, "dlopen_b"); local 1323 dlopen_b_fn fn = (dlopen_b_fn)dlsym(handle, "dlopen_b"); local [all...] |
/external/v8/src/arm64/ |
macro-assembler-arm64-inl.h | 294 #define DEFINE_FUNCTION(FN, REGTYPE, REG, OP) \ 295 void MacroAssembler::FN(const REGTYPE REG, const MemOperand& addr) { \ 303 #define DEFINE_FUNCTION(FN, REGTYPE, REG, REG2, OP) \ 304 void MacroAssembler::FN(const REGTYPE REG, const REGTYPE REG2, \ 312 #define DECLARE_FUNCTION(FN, OP) \ 313 void MacroAssembler::FN(const Register& rt, const Register& rn) { \ 320 #define DECLARE_FUNCTION(FN, OP) \ 321 void MacroAssembler::FN(const Register& rs, const Register& rt, \ 558 void MacroAssembler::Fabs(const FPRegister& fd, const FPRegister& fn) { 560 fabs(fd, fn); [all...] |