/external/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/OCaml/ |
analysis.ml | 26 let fn = define_function "valid_fn" fty m in var 27 let at_entry = builder_at_end context (entry_block fn) in 37 if not (verify_function fn) then bomb "valid function failed verification!"; 49 if verify_function fn then bomb "invalid function passed verification!";
|
ipo.ml | 42 let fn = define_function "fn" fty m in var 44 ignore (build_ret (const_int i8_type 4) (builder_at_end context (entry_block fn))); 46 ignore (build_ret (build_call fn [| |] "" b) b);
|
scalar_opts.ml | 41 let fn = define_function "fn" fty m in var 42 ignore (build_ret_void (builder_at_end context (entry_block fn))); 83 ++ PassManager.run_function fn
|
/external/syzkaller/prog/ |
export_test.go | 59 func testEachTarget(t *testing.T, fn func(t *testing.T, target *Target)) { 65 fn(t, target) 70 func testEachTargetRandom(t *testing.T, fn func(t *testing.T, target *Target, rs rand.Source, iters int)) { 84 fn(t, target, rs, iters)
|
/external/tensorflow/tensorflow/python/distribute/ |
one_device_strategy.py | 98 def _experimental_run_steps_on_iterator(self, fn, iterator, iterations, 106 """A wrapper around `fn` to create the while loop body.""" 108 fn_result = fn(ctx, iterator.get_next()) 113 # We capture the control_flow_context at this point, before we run `fn` 141 def _call_for_each_replica(self, fn, args, kwargs): 144 return fn(*args, **kwargs) 150 def _update(self, var, fn, args, kwargs, group): 152 # except _update() passes `var` as the first argument to `fn()`. 153 return self._update_non_slot(var, fn, (var,) + tuple(args), kwargs, group) 155 def _update_non_slot(self, colocate_with, fn, args, kwargs, group) [all...] |
/external/tensorflow/tensorflow/python/eager/ |
lift_to_graph_test.py | 36 def fn(): function in function:LiftToGraphTest.testCaptureOrdering 39 concrete_fn = fn.get_concrete_function()
|
tape_test.py | 66 def fn(x, y): function in function:TapeTest.testMultiOutput 74 da, db = backprop.gradients_function(fn, [0, 1])(a, b) 131 def fn(x, y): function in function:TapeTest.testTwoOutputs 137 da, db = backprop.gradients_function(fn, [0, 1])(a, b) 150 def fn(x, y): function in function:TapeTest.testGcTwoOutputs 156 grad, = backprop.gradients_function(fn, [0])(logits, labels) 161 def fn(x): function in function:TapeTest.testTfTensor 165 g, = backprop.gradients_function(fn, [0])(t)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
template_mirrored_strategy_test.py | 34 def fn(): function in function:TemplateMirroredStrategyTest.test_merge_call 42 temp = template.make_template("my_template", fn)
|
/external/u-boot/arch/x86/cpu/baytrail/ |
early_uart.c | 10 #define PCI_DEV_CONFIG(segbus, dev, fn) ( \ 13 (((fn) & 0x07) << 12))
|
/external/u-boot/arch/x86/cpu/braswell/ |
early_uart.c | 9 #define PCI_DEV_CONFIG(segbus, dev, fn) ( \ 12 (((fn) & 0x07) << 12))
|
/external/u-boot/test/fs/ |
fat-noncontig-test.sh | 97 fn=${mnt}/keep-${sects}.img 98 dd if=${fill} of=${fn} bs=512 count=${sects} >/dev/null 2>&1 99 fn=${mnt}/remove-${sects}.img 100 dd if=${fill} of=${fn} bs=512 count=${sects} >/dev/null 2>&1
|
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/ |
executionengine.ml | 24 let fn = 29 let b = builder_at_end (global_context ()) (entry_block fn) in 31 fn 34 let fn = define_function "plus" (function_type i32_type [| i32_type; 36 let b = builder_at_end (global_context ()) (entry_block fn) in 37 let add = build_add (param fn 0) (param fn 1) "sum" b in
|
/external/syzkaller/vendor/golang.org/x/oauth2/ |
transport.go | 55 fn: func() { t.setModReq(req, nil) }, 110 fn func() 128 if fn := r.fn; fn != nil { 129 fn() 130 r.fn = nil
|
/bionic/libc/bionic/ |
vdso.cpp | 38 __libc_globals->vdso[VDSO_CLOCK_GETTIME].fn); 47 __libc_globals->vdso[VDSO_CLOCK_GETRES].fn); 56 __libc_globals->vdso[VDSO_GETTIMEOFDAY].fn); 64 auto vdso_time = reinterpret_cast<decltype(&time)>(__libc_globals->vdso[VDSO_TIME].fn); 135 vdso[j].fn = reinterpret_cast<void*>(vdso_addr + symtab[i].st_value);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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/python/cpython2/Lib/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
|
/external/python/cpython3/Lib/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)
|
/external/skia/infra/bots/recipe_modules/run/ |
api.py | 35 def run_once(self, fn, *args, **kwargs): 36 if not fn.__name__ in self._already_ran: 37 self._already_ran[fn.__name__] = fn(*args, **kwargs) 38 return self._already_ran[fn.__name__]
|
/external/skqp/infra/bots/recipe_modules/run/ |
api.py | 35 def run_once(self, fn, *args, **kwargs): 36 if not fn.__name__ in self._already_ran: 37 self._already_ran[fn.__name__] = fn(*args, **kwargs) 38 return self._already_ran[fn.__name__]
|
/external/tensorflow/tensorflow/python/grappler/ |
datasets_test.py | 135 def _testTransformation(self, fn): 150 dataset = fn(dataset, test_case['tensor'], test_case['shape']) 163 def fn(dataset, tensor, shape): function in function:GrapplerTest.testConcatenate 167 self._testTransformation(fn) 171 def fn(dataset, tensor, shape): function in function:GrapplerTest.testPrefetch 175 self._testTransformation(fn) 179 def fn(dataset, tensor, shape): function in function:GrapplerTest.testRepeat 183 self._testTransformation(fn) 187 def fn(dataset, tensor, shape): function in function:GrapplerTest.testShuffle 191 self._testTransformation(fn) 195 def fn(dataset, tensor, shape): function in function:GrapplerTest.testCache 203 def fn(dataset, tensor, shape): function in function:GrapplerTest.testTake 211 def fn(dataset, tensor, shape): function in function:GrapplerTest.testSkip 219 def fn(dataset, tensor, shape): function in function:GrapplerTest.testShard 227 def fn(dataset, tensor, shape): function in function:GrapplerTest.testFilter [all...] |
/external/tensorflow/tensorflow/python/keras/ |
constraints_test.py | 46 fn = keras.constraints.get(name) 48 assert fn.__class__ == ref_fn.__class__ 49 config = keras.constraints.serialize(fn) 50 fn = keras.constraints.deserialize(config) 51 assert fn.__class__ == ref_fn.__class__
|
/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 | 220 return sorted(fn + ('/' if os.path.isdir(fn) else '') 221 for fn in os.listdir()) 223 fn = support.TESTFN 224 if fn not in saved_value and (fn + '/') not in saved_value: 225 if os.path.isfile(fn): 226 support.unlink(fn) 227 elif os.path.isdir(fn): 228 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...] |