/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...] |
/external/annotation-tools/asmx/test/conform/org/objectweb/asm/tree/ |
UnitTest.java | 30 FieldInsnNode fn = new FieldInsnNode(GETSTATIC, "owner", "name", "I"); local 31 fn.setOpcode(PUTSTATIC); 32 assertEquals(fn.getOpcode(), PUTSTATIC); 33 assertEquals(fn.getType(), AbstractInsnNode.FIELD_INSN);
|
/bionic/libc/system_properties/ |
system_properties.cpp | 353 static void fn(const prop_info* pi, void* ptr) { function in struct:find_nth 358 Foreach(find_nth::fn, &state);
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
e_rem_pio2l.h | 65 long double z,w,t,r,fn; local 77 /* Use a specialized rint() to get fn. Assume round-to-nearest. */ 78 fn = x*invpio2+0x1.8p112; 79 fn = fn-0x1.8p112; 81 n = i64rint(fn); 83 n = fn; 85 r = x-fn*pio2_1; 86 w = fn*pio2_1t; /* 1st round good to 180 bit */ 97 w = fn*pio2_2; [all...] |
k_expl.h | 235 * "huge" is anything that would make fn*L1 inexact (|x| > ~2**17*ln2). 241 double dr, fn, r2; local 245 /* Use a specialized rint() to get fn. Assume round-to-nearest. */ 249 fn = (double)x * INV_L + 0x1.8p52 - 0x1.8p52; 251 n = irint(fn); 253 n = (int)fn; 258 r1 = x - fn * L1; 259 r2 = fn * -L2;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
_functoolsmodule.c | 94 PyObject *fn;
member in struct:__anon4377 127 pto->fn = func;
154 Py_XDECREF(pto->fn);
167 assert (PyCallable_Check(pto->fn));
201 ret = PyObject_Call(pto->fn, argappl, kwappl);
210 Py_VISIT(pto->fn);
223 {"func", T_OBJECT, OFF(fn), READONLY,
283 return Py_BuildValue("O(O)(OOOO)", Py_TYPE(pto), pto->fn, pto->fn,
291 PyObject *fn, *fnargs, *kw, *dict; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_functoolsmodule.c | 94 PyObject *fn;
member in struct:__anon4687 127 pto->fn = func;
158 Py_XDECREF(pto->fn);
171 assert (PyCallable_Check(pto->fn));
205 ret = PyObject_Call(pto->fn, argappl, kwappl);
214 Py_VISIT(pto->fn);
227 {"func", T_OBJECT, OFF(fn), READONLY,
287 return Py_BuildValue("O(O)(OOOO)", Py_TYPE(pto), pto->fn, pto->fn,
295 PyObject *fn, *fnargs, *kw, *dict; local [all...] |
/external/clang/test/Modules/Inputs/ |
cxx-templates-common.h | 57 template<typename T> void fn() {} function in namespace:hidden_specializations
|
/external/clang/test/SemaCXX/ |
cxx0x-defaulted-functions.cpp | 3 void fn() = default; // expected-error {{only special member}} 5 void fn() = default; // expected-error {{only special member}} 206 int fn() { function in namespace:PR27941
|
decl-expr-ambiguity.cpp | 76 void fn(int(C)) { } // void fn(int(*fp)(C c)) { } expected-note{{candidate function}} function 77 // not: void fn(int C); 81 fn(1); // expected-error {{no matching function}} 82 fn(g); // OK
|
/external/clang/utils/VtableTest/ |
gen.cc | 155 int fn = old_func + random() % FUNCSPACING + 1; local 156 funcs[i] = fn; 161 || !base_present[ret_type][ret_types[s][fn]]) 162 if (ret_types[s][fn]) { 164 ret_types[s][fn], fn); 165 ret_type = ret_types[s][fn]; 169 printf(" // Wow found one for s%d for fun%d.\n", s, fn); 170 ret_types[s][fn] = ret_type; 176 g(fn); g("(char *t) { mix(\"vfn this offset\", (char *)this - t); mix(\"vfn uuid\", "); g(++uuid) [all...] |
/external/e2fsprogs/lib/et/ |
error_message.c | 232 char *dstr, *fn, *tmp; local 249 fn = safe_getenv("COMERR_DEBUG_FILE"); 250 if (fn) 251 debug_f = fopen(fn, "a");
|
/external/guava/guava/src/com/google/common/cache/ |
LongAdder.java | 56 final long fn(long v, long x) { return v + x; } method in class:LongAdder
|
/external/libcxx/test/std/utilities/function.objects/func.invoke/ |
invoke.pass.cpp | 221 typedef TestClass Fn; 222 Fn cl(42); 224 test_b34<int const&>(static_cast<Fn const&>(cl)); 225 test_b34<int volatile&>(static_cast<Fn volatile&>(cl)); 226 test_b34<int const volatile&>(static_cast<Fn const volatile &>(cl)); 228 test_b34<int&&>(static_cast<Fn &&>(cl)); 229 test_b34<int const&&>(static_cast<Fn const&&>(cl)); 230 test_b34<int volatile&&>(static_cast<Fn volatile&&>(cl)); 231 test_b34<int const volatile&&>(static_cast<Fn const volatile&&>(cl)); 234 typedef DerivedFromTestClass Fn; 285 FooType& fn = foo; local 289 FooType* fn = foo; local [all...] |
/external/libese/third_party/NXPNFC_P61_JCOP_Kit/src/ |
JcopOsDownload.cpp | 74 static const char fn [] = "JcopOsDwnld::getJcopOsFileInfo"; local 100 static const char fn [] = "JcopOsDwnld::initialize"; local 102 ALOGD ("%s: enter", fn); 106 ALOGD("%s: insufficient resources, file not present", fn); 120 ALOGD("%s: Memory allocation for IChannel is failed", fn); 130 ALOGD("%s: Memory allocation for SendBuf is failed", fn); 136 ALOGD("%s: Memory allocation failed", fn); 141 ALOGD ("%s: exit", fn); 155 static const char fn [] = "JcopOsDwnld::finalize"; local 156 ALOGD ("%s: enter", fn); 187 static const char fn [] = "JcopOsDwnld::JcopOs_Download"; local 223 static const char fn[] = "JcopOsDwnld::JcopOs_update_seq_handler"; local 266 static const char fn [] = "JcopOsDwnld::TriggerApdu"; local 329 static const char fn [] = "JcopOsDwnld::GetInfo"; local 425 static const char fn [] = "JcopOsDwnld::load_JcopOS_image"; local 572 static const char fn [] = "JcopOsDwnld::GetJcopOsState"; local 644 static const char fn [] = "JcopOsDwnld::SetJcopOsState"; local [all...] |
/external/libffi/src/microblaze/ |
ffi.c | 31 unsigned int, unsigned int, unsigned int*, void (*fn)(void), 151 void ffi_call(ffi_cif* cif, void (*fn)(void), void* rvalue, void** avalue) 169 ecif.rvalue, fn, cif->rtype->type, cif->rtype->size); 284 unsigned long fn = 0; local 294 fn = (unsigned long)ffi_closure_SYSV; 296 /* load r11 (temp) with fn */ 297 /* imm fn(upper) */ 298 tramp[0] = 0xb0000000 | ((fn >> 16) & 0xffff); 299 /* addik r11, r0, fn(lower) */ 300 tramp[1] = 0x31600000 | (fn & 0xffff) [all...] |
/external/mesa3d/src/gallium/auxiliary/hud/ |
hud_cpufreq.c | 80 get_file_value(const char *fn, uint64_t *KHz) 82 FILE *fh = fopen(fn, "r"); 84 fprintf(stderr, "%s error: %s\n", fn, strerror(errno)); 165 add_object(const char *name, const char *fn, int objmode, int cpu_index) 170 strcpy(cfi->sysfs_filename, fn); 188 char fn[128]; local 220 snprintf(fn, sizeof(fn), "%s/cpufreq/scaling_cur_freq", basename); 221 if (stat(fn, &stat_buf) < 0) 227 snprintf(fn, sizeof(fn), "%s/cpufreq/scaling_min_freq", basename) [all...] |
/external/nos/host/android/hals/keymaster/ |
import_wrapped_key.cpp | 409 const parse_asn1_fn fn; member in struct:android::hardware::keymaster::tag_parser_entry 440 if (entry->fn(&authorizationList, entry->tag, request)
|
/external/oj-libjdwp/make/src/classes/build/tools/jdwpgen/ |
Main.java | 56 String fn = args[++i]; local 58 doc = new PrintWriter(new FileWriter(fn)); 60 jdi = new PrintWriter(new FileWriter(fn)); 62 include = new PrintWriter(new FileWriter(fn));
|
/external/python/cpython2/Modules/_ctypes/libffi/src/microblaze/ |
ffi.c | 31 unsigned int, unsigned int, unsigned int*, void (*fn)(void), 151 void ffi_call(ffi_cif* cif, void (*fn)(void), void* rvalue, void** avalue) 169 ecif.rvalue, fn, cif->rtype->type, cif->rtype->size); 284 unsigned long fn = 0; local 294 fn = (unsigned long)ffi_closure_SYSV; 296 /* load r11 (temp) with fn */ 297 /* imm fn(upper) */ 298 tramp[0] = 0xb0000000 | ((fn >> 16) & 0xffff); 299 /* addik r11, r0, fn(lower) */ 300 tramp[1] = 0x31600000 | (fn & 0xffff) [all...] |
/external/python/cpython2/Modules/ |
_functoolsmodule.c | 94 PyObject *fn; member in struct:__anon32708 127 pto->fn = func; 149 Py_XDECREF(pto->fn); 162 assert (PyCallable_Check(pto->fn)); 197 ret = PyObject_Call(pto->fn, argappl, kwappl); 206 Py_VISIT(pto->fn); 219 {"func", T_OBJECT, OFF(fn), READONLY, 279 return Py_BuildValue("O(O)(OOOO)", Py_TYPE(pto), pto->fn, pto->fn, 287 PyObject *fn, *fnargs, *kw, *dict local [all...] |
/external/python/cpython3/Lib/test/ |
test_shelve.py | 44 fn = "shelftemp.db" variable in class:TestCase 47 for f in glob.glob(self.fn+"*"): 66 s = shelve.open(self.fn, protocol=0) 74 s = shelve.open(self.fn, protocol=1) 82 s = shelve.open(self.fn, protocol=2) 172 fn = "shelftemp.db" variable in class:TestShelveBase 185 x= shelve.open(self.fn+str(self.counter), **self._args) 193 for f in glob.glob(self.fn+"*"):
|
/external/python/cpython3/Modules/_ctypes/libffi/src/microblaze/ |
ffi.c | 31 unsigned int, unsigned int, unsigned int*, void (*fn)(void), 151 void ffi_call(ffi_cif* cif, void (*fn)(void), void* rvalue, void** avalue) 169 ecif.rvalue, fn, cif->rtype->type, cif->rtype->size); 284 unsigned long fn = 0; local 294 fn = (unsigned long)ffi_closure_SYSV; 296 /* load r11 (temp) with fn */ 297 /* imm fn(upper) */ 298 tramp[0] = 0xb0000000 | ((fn >> 16) & 0xffff); 299 /* addik r11, r0, fn(lower) */ 300 tramp[1] = 0x31600000 | (fn & 0xffff) [all...] |
/external/skia/gm/ |
readpixels.cpp | 97 SkColorSpaceTransferFn fn; local 98 fn.fA = 1.f; fn.fB = 0.f; fn.fC = 0.f; fn.fD = 0.f; fn.fE = 0.f; fn.fF = 0.f; fn.fG = 1.8f; 99 return SkColorSpace::MakeRGB(fn, toXYZD50);
|
/external/skqp/gm/ |
readpixels.cpp | 96 SkColorSpaceTransferFn fn; local 97 fn.fA = 1.f; fn.fB = 0.f; fn.fC = 0.f; fn.fD = 0.f; fn.fE = 0.f; fn.fF = 0.f; fn.fG = 1.8f; 98 return SkColorSpace::MakeRGB(fn, toXYZD50);
|