/art/runtime/ |
class_loader_utils.h | 71 Visitor fn, 96 if (!fn(element, &ret_value)) { 114 Visitor fn, 141 if (!fn(cp_dex_file, /* out */ &ret_value)) { 157 Visitor fn) 159 auto helper = [&fn](const art::DexFile* dex_file, void** ret) 167 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]
|
test_shelve.py | 11 fn = "shelftemp" + os.extsep + "db"
variable in class: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 class:TestShelveBase 121 x= shelve.open(self.fn+str(self.counter), **self._args)
129 for f in glob.glob(self.fn+"*"): [all...] |
/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]
|
test_shelve.py | 11 fn = "shelftemp" + os.extsep + "db" variable in class: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 class:TestShelveBase 121 x= shelve.open(self.fn+str(self.counter), **self._args) 129 for f in glob.glob(self.fn+"*") [all...] |
/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/bcc/tests/python/ |
test_clang.py | 41 fn = b.load_func("handle_packet", BPF.SCHED_CLS) 54 fn = b.load_func("handle_packet", BPF.SCHED_CLS) 66 fn = b.load_func("count_sched", BPF.KPROBE) 77 fn = b.load_func("count_foo", BPF.KPROBE) 89 fn = b.load_func("count_tcp", BPF.KPROBE) 101 fn = b.load_func("test", BPF.KPROBE) 119 fn = b.load_func("count_tcp", BPF.KPROBE) 137 fn = b.load_func("count_tcp", BPF.KPROBE) 169 fn = b.load_func("foo", BPF.KPROBE) 249 fn = b.load_func("do_request", BPF.KPROBE [all...] |
/device/linaro/poplar/wifi/wifi_hal/ |
wifi_hal.cpp | 158 wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn) 160 if (fn == NULL) { 163 fn->wifi_initialize = wifi_initialize; 164 fn->wifi_wait_for_driver_ready = wifi_wait_for_driver_ready; 165 fn->wifi_cleanup = wifi_cleanup; 166 fn->wifi_event_loop = wifi_event_loop; 167 fn->wifi_get_supported_feature_set = wifi_get_supported_feature_set; 168 fn->wifi_get_concurrency_matrix = wifi_get_concurrency_matrix; 169 fn->wifi_set_scanning_mac_oui = wifi_set_scanning_mac_oui; 170 fn->wifi_get_ifaces = wifi_get_ifaces [all...] |
/external/tensorflow/tensorflow/python/eager/ |
def_function_test.py | 92 def fn(x): function in function:DefFunctionTest.testNoVariables 95 self.assertAllEqual(fn(constant_op.constant(4.0)), 8.0) 100 def fn(x): function in function:DefFunctionTest.testFailIfVariablesAreCreatedMoreThanOnce 104 fn(1.0) 110 def fn(x): function in function:DefFunctionTest.testFailIfVariablesAreCreatedMoreThanOnceNoWeakRef 115 fn(1.0) 122 def fn(x): function in function:DefFunctionTest.testCorrectVariableCreation 127 self.assertAllEqual(fn(constant_op.constant(1.0)), 2.0) 128 self.assertAllEqual(fn(constant_op.constant(3.0)), 6.0) 135 def fn(x) function in function:DefFunctionTest.testFunctionInitializer 147 def fn(x): function in function:DefFunctionTest.testFunctionInitializationFunction 164 def fn(x): function in function:DefFunctionTest.testVariableInitializerNotConstant 177 def fn(x): function in function:DefFunctionTest.testLegacyGraphModeVariables 193 def fn(x): function in function:DefFunctionTest.testLegacyGraphModeVariablesNonTrivialInitializer 212 def fn(x): function in function:DefFunctionTest.testLegacyGraphModeInputDependentInitializerFails [all...] |
/external/python/cpython2/Mac/BuildScript/ |
build-installer.py | 70 def grepValue(fn, variable): 77 for ln in open(fn, 'r'): 101 fn = os.path.join(SRCDIR, 'Include', 'patchlevel.h') 102 for ln in open(fn): 489 def fileContents(fn): 493 return open(fn, 'r').read() [all...] |
/external/python/cpython3/Mac/BuildScript/ |
build-installer.py | 75 def grepValue(fn, variable): 82 for ln in open(fn, 'r'): 106 fn = os.path.join(SRCDIR, 'Include', 'patchlevel.h') 107 for ln in open(fn): 493 def fileContents(fn): 497 return open(fn, 'r').read() [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
dis.py | 206 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") [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
dis.py | 206 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") [all...] |
/external/llvm/bindings/go/llvm/ |
ir_test.go | 26 fn := AddFunction(mod, "foo", ftyp) 28 fn.AddFunctionAttr(attr) 29 newattr := fn.FunctionAttr() 39 fn.RemoveFunctionAttr(attr) 40 newattr = fn.FunctionAttr()
|
/external/python/cpython2/Lib/ |
dis.py | 206 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" [all...] |
/external/python/cpython2/Modules/_ctypes/libffi_osx/x86/ |
x86-ffi_darwin.c | 180 unsigned, unsigned, unsigned *, void (*fn)()); 184 unsigned, unsigned, unsigned *, void (*fn)()); 188 void ffi_call(ffi_cif *cif, void (*fn)(), void *rvalue, void **avalue) 211 fn); 216 ecif.rvalue, fn); 390 unsigned, unsigned *, void (*fn)()); 395 unsigned, unsigned *, void (*fn)()); 399 ffi_raw_call(ffi_cif *cif, void (*fn)(), void *rvalue, ffi_raw *fake_avalue) 423 ecif.rvalue, fn); 428 ecif.rvalue, fn); [all...] |
/external/python/cpython2/Tools/scripts/ |
patchcheck.py | 209 python_files = [fn for fn in file_paths if fn.endswith('.py')] 210 c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))] 211 doc_files = [fn for fn in file_paths if fn.startswith('Doc') and 212 fn.endswith(('.rst', '.inc')) [all...] |
/external/python/cpython3/Modules/_ctypes/libffi_osx/x86/ |
x86-ffi_darwin.c | 180 unsigned, unsigned, unsigned *, void (*fn)()); 184 unsigned, unsigned, unsigned *, void (*fn)()); 188 void ffi_call(ffi_cif *cif, void (*fn)(), void *rvalue, void **avalue) 211 fn); 216 ecif.rvalue, fn); 390 unsigned, unsigned *, void (*fn)()); 395 unsigned, unsigned *, void (*fn)()); 399 ffi_raw_call(ffi_cif *cif, void (*fn)(), void *rvalue, ffi_raw *fake_avalue) 423 ecif.rvalue, fn); 428 ecif.rvalue, fn); [all...] |
/external/u-boot/drivers/remoteproc/ |
rproc-uclass.c | 22 * @fn: check function to call per match, if this function returns fail, 30 static int for_each_remoteproc_device(int (*fn) (struct udevice *dev, 45 ret = fn(dev, uc_pdata, data); 337 int (*fn)(struct udevice *dev); 358 fn = ops->start; 363 fn = ops->stop; 367 fn = ops->reset; 371 fn = ops->is_running; 375 fn = ops->ping; 384 if (fn) [all...] |
/external/u-boot/lib/ |
of_live.c | 96 char *fn; local 98 fn = (char *)np + sizeof(*np); 99 np->full_name = fn; 103 strcpy(fn, dad->full_name); 105 if ((strlen(fn) + l + 1) != allocl) { 107 pathp, (int)strlen(fn), l, 111 fn += strlen(fn); 113 *(fn++) = '/'; 115 memcpy(fn, pathp, l) [all...] |
/bionic/tests/ |
wchar_test.cpp | 437 void TestSingleWcsToInt(WcsToIntFn<T> fn, const wchar_t* str, int base, 440 ASSERT_EQ(expected_value, fn(str, &p, base)); 445 void TestWcsToInt(WcsToIntFn<T> fn) { 446 TestSingleWcsToInt(fn, L"123", 10, static_cast<T>(123), 3); 447 TestSingleWcsToInt(fn, L"123", 0, static_cast<T>(123), 3); 448 TestSingleWcsToInt(fn, L"123#", 10, static_cast<T>(123), 3); 449 TestSingleWcsToInt(fn, L"01000", 8, static_cast<T>(512), 5); 450 TestSingleWcsToInt(fn, L"01000", 0, static_cast<T>(512), 5); 451 TestSingleWcsToInt(fn, L" 123 45", 0, static_cast<T>(123), 6); 452 TestSingleWcsToInt(fn, L" -123", 0, static_cast<T>(-123), 6) [all...] |
/external/mesa3d/src/gallium/auxiliary/hud/ |
hud_nic.c | 99 get_nic_bytes(const char *fn, uint64_t *bytes) 101 if (get_file_value(fn, bytes) < 0) 291 char fn[256]; local 292 snprintf(fn, sizeof(fn), "%s/wireless", dirbase); 293 if (stat(fn, &stat_buf) == 0) 305 char fn[256]; local 306 snprintf(fn, sizeof(fn), "%s/wireless", dirbase); 307 if (stat(fn, &stat_buf) == 0) [all...] |