/external/python/cpython3/Mac/BuildScript/ |
build-installer.py | 64 def grepValue(fn, variable): 71 for ln in open(fn, 'r'): 95 fn = os.path.join(SRCDIR, 'Include', 'patchlevel.h') 96 for ln in open(fn): 515 def fileContents(fn): 519 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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
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/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/Lib/test/ |
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_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 | 158 python_files = [fn for fn in file_paths if fn.endswith('.py')] 159 c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))] 160 doc_files = [fn for fn in file_paths if fn.startswith('Doc') and 161 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/python/cpython3/Tools/scripts/ |
patchcheck.py | 169 python_files = [fn for fn in file_paths if fn.endswith('.py')] 170 c_files = [fn for fn in file_paths if fn.endswith(('.c', '.h'))] 171 doc_files = [fn for fn in file_paths if fn.startswith('Doc') and 172 fn.endswith(('.rst', '.inc')) [all...] |
/external/tensorflow/tensorflow/contrib/framework/python/ops/ |
critical_section_test.py | 41 def fn(a, b): function in function:CriticalSectionTest.testCreateCriticalSection 49 r = [cs.execute(fn, 1.0, 2.0) for _ in range(num_concurrent)] 79 def fn(a, b): function in function:CriticalSectionTest.testCreateCriticalSectionRaw 86 def execute(fn, *args): 87 output_args = fn.definition.signature.output_arg 90 arguments=list(args) + fn.captured_inputs, 91 f=fn, 96 r = [execute(fn, 1.0, 2.0)[0] for _ in range(num_concurrent)] 115 def fn(x): function in function:CriticalSectionTest.testRecursiveCriticalSectionAccessIsIllegal 120 cs.execute(fn, 1.0 [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
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...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
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...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
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...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
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...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
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...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
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...] |
/bionic/tests/ |
wchar_test.cpp | 415 void TestSingleWcsToInt(WcsToIntFn<T> fn, const wchar_t* str, int base, 418 ASSERT_EQ(expected_value, fn(str, &p, base)); 423 void TestWcsToInt(WcsToIntFn<T> fn) { 424 TestSingleWcsToInt(fn, L"123", 10, static_cast<T>(123), 3); 425 TestSingleWcsToInt(fn, L"123", 0, static_cast<T>(123), 3); 426 TestSingleWcsToInt(fn, L"123#", 10, static_cast<T>(123), 3); 427 TestSingleWcsToInt(fn, L"01000", 8, static_cast<T>(512), 5); 428 TestSingleWcsToInt(fn, L"01000", 0, static_cast<T>(512), 5); 429 TestSingleWcsToInt(fn, L" 123 45", 0, static_cast<T>(123), 6); 430 TestSingleWcsToInt(fn, L" -123", 0, static_cast<T>(-123), 6) [all...] |
stdlib_test.cpp | 421 static void CheckStrToFloat(T fn(const char* s, char** end)) { function 424 EXPECT_PRED_FORMAT2(pred, 9.0, fn("9.0", nullptr)); 425 EXPECT_PRED_FORMAT2(pred, 9.0, fn("0.9e1", nullptr)); 426 EXPECT_PRED_FORMAT2(pred, 9.0, fn("0x1.2p3", nullptr)); 430 EXPECT_PRED_FORMAT2(pred, 9.0, fn(s, &p)); 433 EXPECT_TRUE(isnan(fn("+nan", nullptr))); 434 EXPECT_TRUE(isnan(fn("nan", nullptr))); 435 EXPECT_TRUE(isnan(fn("-nan", nullptr))); 437 EXPECT_TRUE(isnan(fn("+nan(0xff)", nullptr))); 438 EXPECT_TRUE(isnan(fn("nan(0xff)", nullptr))) 709 static void CheckStrToInt(T fn(const char* s, char** end, int base)) { function [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...] |
/external/python/cpython3/Lib/ |
pkgutil.py | 154 for fn in filenames: 155 modname = inspect.getmodulename(fn) 159 path = os.path.join(importer.path, fn) 162 if not modname and os.path.isdir(path) and '.' not in fn: 163 modname = fn 169 for fn in dircontents: 170 subname = inspect.getmodulename(fn) 237 for fn in filenames: 238 modname = inspect.getmodulename(fn) 242 path = os.path.join(self.path, fn) [all...] |
/external/python/cpython2/Mac/BuildScript/ |
build-installer.py | 64 def grepValue(fn, variable): 71 for ln in open(fn, 'r'): 95 fn = os.path.join(SRCDIR, 'Include', 'patchlevel.h') 96 for ln in open(fn): 543 def fileContents(fn): 547 return open(fn, 'r').read() [all...] |