/external/skqp/include/private/ |
SkOnce.h | 24 template <typename Fn, typename... Args> 25 void operator()(Fn&& fn, Args&&... args) { 32 // If it looks like no one has started calling fn(), try to claim that job. 36 // Great! We'll run fn() then notify the other threads by releasing Done into fState. 37 fn(std::forward<Args>(args)...); 41 // Some other thread is calling fn().
|
/external/skqp/tests/ |
TLSTest.cpp | 34 template <typename Fn> 35 static void test_threads(Fn fn) { 39 thread = std::thread(fn);
|
/external/strace/tests/ |
clone_parent.c | 50 # define clone(fn, child_stack, flags, arg) \ 51 __clone2(fn, child_stack, child_stack_size, flags, arg)
|
/external/strace/tests-m32/ |
clone_parent.c | 50 # define clone(fn, child_stack, flags, arg) \ 51 __clone2(fn, child_stack, child_stack_size, flags, arg)
|
/external/strace/tests-mx32/ |
clone_parent.c | 50 # define clone(fn, child_stack, flags, arg) \ 51 __clone2(fn, child_stack, child_stack_size, flags, arg)
|
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/ |
analysis.ml | 23 let fn = define_function "valid_fn" fty m in var 24 let at_entry = builder_at_end context (entry_block fn) in 34 if not (verify_function fn) then bomb "valid function failed verification!"; 46 if verify_function fn then bomb "invalid function passed verification!";
|
/external/v8/src/crankshaft/arm64/ |
delayed-masm-arm64-inl.h | 32 void DelayedMasm::Fmov(FPRegister fd, FPRegister fn) { 34 __ Fmov(fd, fn);
|
/frameworks/minikin/tests/perftests/ |
main.cpp | 26 const char* fn = "/system/usr/icu/" U_ICUDATA_NAME ".dat"; local 27 int fd = open(fn, O_RDONLY);
|
/prebuilts/go/darwin-x86/src/net/ |
main_unix_test.go | 32 for _, fn := range extraTestHookInstallers { 33 fn() 45 for _, fn := range extraTestHookUninstallers { 46 fn()
|
/prebuilts/go/darwin-x86/src/runtime/ |
iface_test.go | 282 fn func() 284 {name: "E8", fn: func() { e = eight8 }}, // any byte-sized value does not allocate 285 {name: "E16", fn: func() { e = zero16 }}, // zero values do not allocate 286 {name: "E32", fn: func() { e = zero32 }}, 287 {name: "E64", fn: func() { e = zero64 }}, 288 {name: "Estr", fn: func() { e = zerostr }}, 289 {name: "Eslice", fn: func() { e = zeroslice }}, 290 {name: "Econstflt", fn: func() { e = 99.0 }}, // constants do not allocate 291 {name: "Econststr", fn: func() { e = "change" }}, 292 {name: "I8", fn: func() { i1 = eight8I }} [all...] |
syscall_windows.go | 43 func compileCallback(fn eface, cleanstack bool) (code uintptr) { 44 if fn._type == nil || (fn._type.kind&kindMask) != kindFunc { 47 ft := (*functype)(unsafe.Pointer(fn._type)) 68 if cbs.ctxt[i].gobody == fn.data && cbs.ctxt[i].isCleanstack() == cleanstack { 77 c.gobody = fn.data 101 c.fn = getLoadLibraryEx() 115 c.fn = getLoadLibrary() 134 c.fn = getLoadLibrary() 151 c.fn = getGetProcAddress( [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug123.go | 9 func fn(i int) int {
|
/prebuilts/go/linux-x86/src/net/ |
main_unix_test.go | 32 for _, fn := range extraTestHookInstallers { 33 fn() 45 for _, fn := range extraTestHookUninstallers { 46 fn()
|
/prebuilts/go/linux-x86/src/runtime/ |
iface_test.go | 282 fn func() 284 {name: "E8", fn: func() { e = eight8 }}, // any byte-sized value does not allocate 285 {name: "E16", fn: func() { e = zero16 }}, // zero values do not allocate 286 {name: "E32", fn: func() { e = zero32 }}, 287 {name: "E64", fn: func() { e = zero64 }}, 288 {name: "Estr", fn: func() { e = zerostr }}, 289 {name: "Eslice", fn: func() { e = zeroslice }}, 290 {name: "Econstflt", fn: func() { e = 99.0 }}, // constants do not allocate 291 {name: "Econststr", fn: func() { e = "change" }}, 292 {name: "I8", fn: func() { i1 = eight8I }} [all...] |
syscall_windows.go | 43 func compileCallback(fn eface, cleanstack bool) (code uintptr) { 44 if fn._type == nil || (fn._type.kind&kindMask) != kindFunc { 47 ft := (*functype)(unsafe.Pointer(fn._type)) 68 if cbs.ctxt[i].gobody == fn.data && cbs.ctxt[i].isCleanstack() == cleanstack { 77 c.gobody = fn.data 101 c.fn = getLoadLibraryEx() 115 c.fn = getLoadLibrary() 134 c.fn = getLoadLibrary() 151 c.fn = getGetProcAddress( [all...] |
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug123.go | 9 func fn(i int) int {
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/i386/ |
tlsd.d | 8 0+000 <fn>: 13 5: e8 00 00 00 00 [ ]*call a <fn\+0xa> 19 18: e8 fc ff ff ff [ ]*call 19 <fn\+0x19> 23 23: e8 fc ff ff ff [ ]*call 24 <fn\+0x24>
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mmix/ |
basep-6.d | 13 2: R_MMIX_BASE_PLUS_OFFSET fn
|
/toolchain/binutils/binutils-2.27/libiberty/ |
xatexit.c | 11 @deftypefun int xatexit (void (*@var{fn}) (void)) 63 /* Register function FN to be run by xexit. 67 xatexit (void (*fn) (void)) 84 p->fns[p->ind++] = fn;
|
/packages/apps/Nfc/nci/jni/ |
RouteDataSet.cpp | 160 static const char fn[] = "RouteDataSet::import"; local 161 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: enter", fn); 172 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("%s: fail parse", fn); 178 LOG(ERROR) << StringPrintf("%s: fail root element", fn); 182 << StringPrintf("%s: root=%s", fn, node1->name); 192 << StringPrintf("%s: found SecElemSelectedRoutes", fn); 206 << StringPrintf("%s: found DefaultRoutes", fn); 227 << StringPrintf("%s: exit; return=%u", fn, retval); 242 static const char fn[] = "RouteDataSet::saveToFile"; local 252 LOG(ERROR) << StringPrintf("%s: fail to open file", fn); 453 static const char fn[] = "RouteDataSet::deleteFile"; local 492 static const char fn[] = "RouteDataSet::printDiagnostic"; local [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
compile.go | 70 p.fn(f) 144 fn func(*Func) 333 {name: "early phielim", fn: phielim}, 334 {name: "early copyelim", fn: copyelim}, 335 {name: "early deadcode", fn: deadcode}, // remove generated dead code to avoid doing pointless work during opt 336 {name: "short circuit", fn: shortcircuit}, 337 {name: "decompose user", fn: decomposeUser, required: true}, 338 {name: "opt", fn: opt, required: true}, // TODO: split required rules and optimizing rules 339 {name: "zero arg cse", fn: zcse, required: true}, // required to merge OpSB values 340 {name: "opt deadcode", fn: deadcode, required: true}, // remove any blocks orphaned during op [all...] |
/prebuilts/go/darwin-x86/src/compress/lzw/ |
writer_test.go | 26 func testFile(t *testing.T, fn string, order Order, litWidth int) { 28 golden, err := os.Open(fn) 30 t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err) 36 raw, err := os.Open(fn) 38 t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err) 53 t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err0) 58 t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err1) 73 t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err0) 77 t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err1) 81 t.Errorf("%s (order=%d litWidth=%d): length mismatch %d != %d", fn, order, litWidth, len(b1), len(b0) [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/ |
compile.go | 70 p.fn(f) 144 fn func(*Func) 333 {name: "early phielim", fn: phielim}, 334 {name: "early copyelim", fn: copyelim}, 335 {name: "early deadcode", fn: deadcode}, // remove generated dead code to avoid doing pointless work during opt 336 {name: "short circuit", fn: shortcircuit}, 337 {name: "decompose user", fn: decomposeUser, required: true}, 338 {name: "opt", fn: opt, required: true}, // TODO: split required rules and optimizing rules 339 {name: "zero arg cse", fn: zcse, required: true}, // required to merge OpSB values 340 {name: "opt deadcode", fn: deadcode, required: true}, // remove any blocks orphaned during op [all...] |
/prebuilts/go/linux-x86/src/compress/lzw/ |
writer_test.go | 26 func testFile(t *testing.T, fn string, order Order, litWidth int) { 28 golden, err := os.Open(fn) 30 t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err) 36 raw, err := os.Open(fn) 38 t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err) 53 t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err0) 58 t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err1) 73 t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err0) 77 t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err1) 81 t.Errorf("%s (order=%d litWidth=%d): length mismatch %d != %d", fn, order, litWidth, len(b1), len(b0) [all...] |
/bionic/libc/arch-mips/bionic/ |
__bionic_clone.S | 33 // pid_t __bionic_clone(int flags, void* child_stack, pid_t* parent_tid, void* tls, pid_t* child_tid, int (*fn)(void*), void* arg); 41 lw $t0,20($sp) # fn 43 sw $t0,0($a1) # fn 60 lw $a0,0($sp) # fn
|