Home
last modified time | relevance | path

Searched refs:fn (Results 1 - 25 of 1498) sorted by relevance

12345678910>>...60

/third_party/skia/third_party/externals/spirv-tools/test/opt/dominator_tree/
H A Dgenerated.cpp44 void check_dominance(const DominatorAnalysisBase& dom_tree, const Function* fn, in check_dominance() argument
48 EXPECT_TRUE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_dominance()
49 spvtest::GetBasicBlock(fn, y))); in check_dominance()
62 const Function* fn, uint32_t x, uint32_t y) { in check_no_dominance()
65 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
66 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
68 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
69 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
72 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
73 spvtest::GetBasicBlock(fn, in check_no_dominance()
61 check_no_dominance(const DominatorAnalysisBase& dom_tree, const Function* fn, uint32_t x, uint32_t y) check_no_dominance() argument
116 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
282 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
403 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
600 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
731 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
835 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/dominator_tree/
H A Dgenerated.cpp44 void check_dominance(const DominatorAnalysisBase& dom_tree, const Function* fn, in check_dominance() argument
48 EXPECT_TRUE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_dominance()
49 spvtest::GetBasicBlock(fn, y))); in check_dominance()
62 const Function* fn, uint32_t x, uint32_t y) { in check_no_dominance()
65 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
66 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
68 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
69 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
72 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
73 spvtest::GetBasicBlock(fn, in check_no_dominance()
61 check_no_dominance(const DominatorAnalysisBase& dom_tree, const Function* fn, uint32_t x, uint32_t y) check_no_dominance() argument
116 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
282 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
403 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
600 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
731 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
835 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
[all...]
/third_party/spirv-tools/test/opt/dominator_tree/
H A Dgenerated.cpp43 void check_dominance(const DominatorAnalysisBase& dom_tree, const Function* fn, in check_dominance() argument
47 EXPECT_TRUE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_dominance()
48 spvtest::GetBasicBlock(fn, y))); in check_dominance()
61 const Function* fn, uint32_t x, uint32_t y) { in check_no_dominance()
64 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
65 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
67 EXPECT_FALSE(dom_tree.StrictlyDominates(spvtest::GetBasicBlock(fn, x), in check_no_dominance()
68 spvtest::GetBasicBlock(fn, y))); in check_no_dominance()
71 EXPECT_FALSE(dom_tree.Dominates(spvtest::GetBasicBlock(fn, y), in check_no_dominance()
72 spvtest::GetBasicBlock(fn, in check_no_dominance()
60 check_no_dominance(const DominatorAnalysisBase& dom_tree, const Function* fn, uint32_t x, uint32_t y) check_no_dominance() argument
115 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
281 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
402 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
599 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
730 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
834 const Function* fn = spvtest::GetFunction(module, 1); TEST_F() local
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dsparse-llvm.c24 LLVMValueRef fn; member
369 static LLVMValueRef pseudo_to_value(struct function *fn, struct symbol *ctype, pseudo_t pseudo) in pseudo_to_value() argument
378 result = get_sym_value(fn->module, pseudo->sym); in pseudo_to_value()
384 result = LLVMGetParam(fn->fn, pseudo->nr - 1); in pseudo_to_value()
403 static LLVMValueRef pseudo_to_rvalue(struct function *fn, struct symbol *ctype, pseudo_t pseudo) in pseudo_to_rvalue() argument
405 LLVMValueRef val = pseudo_to_value(fn, ctype, pseudo); in pseudo_to_rvalue()
410 return LLVMBuildBitCast(fn->builder, val, dtype, name); in pseudo_to_rvalue()
413 static LLVMValueRef value_to_ivalue(struct function *fn, struct symbol *ctype, LLVMValueRef val) in value_to_ivalue() argument
420 val = LLVMBuildPtrToInt(fn in value_to_ivalue()
428 value_to_pvalue(struct function *fn, struct symbol *ctype, LLVMValueRef val) value_to_pvalue() argument
447 adjust_type(struct function *fn, struct symbol *ctype, LLVMValueRef val) adjust_type() argument
460 get_operand(struct function *fn, struct symbol *ctype, pseudo_t pseudo) get_operand() argument
471 get_ioperand(struct function *fn, struct symbol *ctype, pseudo_t pseudo) get_ioperand() argument
534 output_op_binary(struct function *fn, struct instruction *insn) output_op_binary() argument
619 output_op_compare(struct function *fn, struct instruction *insn) output_op_compare() argument
672 output_op_ret(struct function *fn, struct instruction *insn) output_op_ret() argument
683 calc_memop_addr(struct function *fn, struct instruction *insn) calc_memop_addr() argument
705 output_op_load(struct function *fn, struct instruction *insn) output_op_load() argument
719 output_op_store(struct function *fn, struct instruction *insn) output_op_store() argument
731 bool_value(struct function *fn, LLVMValueRef value) bool_value() argument
739 output_op_cbr(struct function *fn, struct instruction *br) output_op_cbr() argument
749 output_op_br(struct function *fn, struct instruction *br) output_op_br() argument
754 output_op_sel(struct function *fn, struct instruction *insn) output_op_sel() argument
769 output_op_switch(struct function *fn, struct instruction *insn) output_op_switch() argument
797 output_op_call(struct function *fn, struct instruction *insn) output_op_call() argument
827 output_op_phisrc(struct function *fn, struct instruction *insn) output_op_phisrc() argument
832 output_op_phi(struct function *fn, struct instruction *insn) output_op_phi() argument
839 output_op_ptrcast(struct function *fn, struct instruction *insn) output_op_ptrcast() argument
877 output_op_cast(struct function *fn, struct instruction *insn, LLVMOpcode op) output_op_cast() argument
911 output_op_fpcast(struct function *fn, struct instruction *insn) output_op_fpcast() argument
938 output_op_label(struct function *fn, struct instruction *insn) output_op_label() argument
943 output_op_setval(struct function *fn, struct instruction *insn) output_op_setval() argument
959 output_op_setfval(struct function *fn, struct instruction *insn) output_op_setfval() argument
968 output_insn(struct function *fn, struct instruction *insn) output_insn() argument
1103 output_bb(struct function *fn, struct basic_block *bb) output_bb() argument
[all...]
/third_party/musl/src/math/
H A Dscalb.c13 * scalb(x, fn) is provide for
21 double scalb(double x, double fn) in scalb() argument
23 if (isnan(x) || isnan(fn)) in scalb()
24 return x*fn; in scalb()
25 if (!isfinite(fn)) { in scalb()
26 if (fn > 0.0) in scalb()
27 return x*fn; in scalb()
29 return x/(-fn); in scalb()
31 if (rint(fn) != fn) retur in scalb()
[all...]
H A Dscalbf.c19 float scalbf(float x, float fn) in scalbf() argument
21 if (isnan(x) || isnan(fn)) return x*fn; in scalbf()
22 if (!isfinite(fn)) { in scalbf()
23 if (fn > 0.0f) in scalbf()
24 return x*fn; in scalbf()
26 return x/(-fn); in scalbf()
28 if (rintf(fn) != fn) return (fn in scalbf()
[all...]
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dscalb.c13 * scalb(x, fn) is provide for
21 double scalb(double x, double fn) in scalb() argument
23 if (isnan(x) || isnan(fn)) in scalb()
24 return x*fn; in scalb()
25 if (!isfinite(fn)) { in scalb()
26 if (fn > 0.0) in scalb()
27 return x*fn; in scalb()
29 return x/(-fn); in scalb()
31 if (rint(fn) != fn) retur in scalb()
[all...]
H A Dscalbf.c19 float scalbf(float x, float fn) in scalbf() argument
21 if (isnan(x) || isnan(fn)) return x*fn; in scalbf()
22 if (!isfinite(fn)) { in scalbf()
23 if (fn > 0.0f) in scalbf()
24 return x*fn; in scalbf()
26 return x/(-fn); in scalbf()
28 if (rintf(fn) != fn) return (fn in scalbf()
[all...]
/third_party/node/test/parallel/
H A Dtest-util-promisify.js28 function fn() {}
31 fn[promisify.custom] = promisifedFn;
32 assert.strictEqual(promisify(fn), promisifedFn);
33 assert.strictEqual(promisify(promisify(fn)), promisifedFn);
37 function fn() {}
44 fn[kCustomPromisifiedSymbol] = promisifiedFn;
47 assert.strictEqual(promisify(fn), promisifiedFn);
48 assert.strictEqual(promisify(promisify(fn)), promisifiedFn);
52 function fn() {}
53 fn[promisif
64 function fn(callback) { global() function
[all...]
H A Dtest-net-connect-options-port.js65 for (const fn of hintOptBlocks) {
66 assert.throws(fn, {
141 for (const fn of portArgFunctions) {
142 assert.throws(fn, assertErr, `${fn.name}(${port})`);
150 for (const fn of portHostArgFunctions) {
151 assert.throws(fn, assertErr, `${fn.name}(${port}, 'localhost')`);
157 for (const fn of portOptFunctions) {
158 assert.throws(fn, assertEr
[all...]
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dmodule.h67 int (*fn)(void); in _module_run()
68 fn = arg; in _module_run()
69 if (fn == NULL) { in _module_run()
73 int ret = fn(); in _module_run()
79 #define module_init(fn) \
80 SYSINIT(fn, SI_SUB_OFED_MODINIT, SI_ORDER_FIRST, _module_run, (fn))
82 #define module_exit(fn) \
83 SYSUNINIT(fn, SI_SUB_OFED_MODINIT, SI_ORDER_SECOND, _module_run, (fn))
[all...]
/third_party/python/Lib/lib2to3/tests/
H A Dpytree_idempotency.py30 fn = "example.py"
31 tree = dr.parse_file(fn, debug=True)
32 if not diff(fn, tree):
44 fn = mod.__file__
45 if fn.endswith(".pyc"):
46 fn = fn[:-1]
47 if not fn.endswith(".py"):
49 print("Parsing", fn, file=sys.stderr)
50 tree = dr.parse_file(fn, debu
[all...]
/third_party/ffmpeg/libavfilter/
H A Dblend_modes.c90 #define fn(NAME, EXPR) \ macro
116 fn(addition, FFMIN(MAX, A + B))
117 fn(grainmerge, CLIP(A + B - HALF))
118 fn(average, (A + B) / 2)
119 fn(subtract, FFMAX(0, A - B))
120 fn(multiply, MULTIPLY(1, A, B))
121 fn(multiply128,CLIP((A - HALF) * B / MDIV + HALF))
122 fn(negation, MAX - FFABS(MAX - A - B))
123 fn(extremity, FFABS(MAX - A - B))
124 fn(differenc
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/
H A Dldso_dlclose_test.cpp31 void* fn = dlsym(handle, "DlopenCommon"); in HWTEST_F() local
32 ASSERT_NE(fn, nullptr); in HWTEST_F()
37 fn = dlsym(RTLD_DEFAULT, "DlopenCommon"); in HWTEST_F()
38 EXPECT_TRUE(fn == nullptr); in HWTEST_F()
43 FuncTypeBool fn = reinterpret_cast<FuncTypeBool>(dlsym(handle, symbolName)); in CloseTestFunc() local
44 if (!fn) { in CloseTestFunc()
47 fn(isFinalizeFlag); in CloseTestFunc()
105 FuncTypeVoid fn = nullptr; in HWTEST_F() local
109 fn = reinterpret_cast<FuncTypeVoid>(dlsym(RTLD_DEFAULT, "dlclose_test_a")); in HWTEST_F()
110 ASSERT_NE(fn, nullpt in HWTEST_F()
[all...]
H A Dldso_dlopen_test.cpp36 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlsym(handle, "RelocationTest")); in HWTEST_F() local
37 ASSERT_NE(fn, nullptr); in HWTEST_F()
38 EXPECT_EQ(EXPECT_RETURN_VALUE_15, fn()); in HWTEST_F()
58 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlsym(RTLD_DEFAULT, "LoadOrderTest01")); in HWTEST_F() local
59 ASSERT_NE(fn, nullptr); in HWTEST_F()
60 EXPECT_EQ(EXPECT_RETURN_VALUE_3, fn()); in HWTEST_F()
61 fn = reinterpret_cast<FuncTypeRetInt>(dlsym(RTLD_DEFAULT, "LoadOrderTest02")); in HWTEST_F()
62 ASSERT_NE(fn, nullptr); in HWTEST_F()
63 EXPECT_EQ(EXPECT_RETURN_VALUE_12, fn()); in HWTEST_F()
85 FuncTypeRetInt fn in HWTEST_F() local
108 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlsym(handle, "DlopenTest005")); HWTEST_F() local
129 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlsym(handle, "DlopenTestDependency")); HWTEST_F() local
178 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlsym(handle, "DlopenOrderTest003")); HWTEST_F() local
195 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlsym(handle, "RelocationTest")); HWTEST_F() local
217 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlsym(RTLD_DEFAULT, "RelocationTest")); HWTEST_F() local
252 FuncTypeBool fn = reinterpret_cast<FuncTypeBool>(dlsym(handle, "DlopenNodeleteSetIsClosedPtr")); HWTEST_F() local
329 void* fn = dlsym(handle, "Dlopen005"); HWTEST_F() local
344 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlsym(handle, "DlopenTestImpl005")); HWTEST_F() local
361 void* fn = dlsym(handle, "DlopenCommon"); HWTEST_F() local
388 void* fn = dlsym(handle, "DlopenCommon"); HWTEST_F() local
446 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlsym(RTLD_DEFAULT, "RelocationTest")); HWTEST_F() local
[all...]
H A Dldso_dlsym_test.cpp42 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlsym(handle, "GetAnswer")); in HWTEST_F() local
43 ASSERT_NE(fn, nullptr); in HWTEST_F()
44 EXPECT_EQ(fn(), EXPECT_RETURN_VALUE_23); in HWTEST_F()
131 void* fn = dlsym(handle, "GetAnswer"); in HWTEST_F() local
132 EXPECT_EQ(fn, nullptr); in HWTEST_F()
134 fn = dlsym(handle, "DlsymGetNumBySelf"); in HWTEST_F()
135 EXPECT_EQ(fn, nullptr); in HWTEST_F()
148 void* fn = dlsym(RTLD_NEXT, "printf"); in HWTEST_F() local
149 EXPECT_TRUE(fn != nullptr); in HWTEST_F()
159 void* fn in HWTEST_F() local
170 void* fn = dlsym(RTLD_DEFAULT, "printf"); HWTEST_F() local
181 void* fn = dlsym(RTLD_NEXT, "UNDEFINED_SYMBOL"); HWTEST_F() local
195 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlsym(handle, "DlsymWeakUndefined")); HWTEST_F() local
211 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlsym(handle, "WeakFunc")); HWTEST_F() local
334 FuncTypeRetInt fn = reinterpret_cast<FuncTypeRetInt>(dlvsym(handle, "DlsymVersion", "NullVersion")); HWTEST_F() local
[all...]
/third_party/pulseaudio/src/
H A Ddepmod.py23 for fn in sys.argv[1:]:
24 f = os.popen("nm '%s'" % fn, "r")
26 imported_symbols[fn] = []
38 sys.stderr.write("CONFLICT: %s defined in both '%s' and '%s'.\n" % (sym_name, fn, exported_symbols[sym_name]))
40 exported_symbols[sym_name] = fn
43 imported_symbols[fn].append(sym_name)
50 for fn in imported_symbols:
51 dependencies[fn] = []
53 for sym in imported_symbols[fn]:
55 if exported_symbols[sym] not in dependencies[fn]
[all...]
/third_party/node/test/node-api/test_null_init/
H A Dtest_null_init.c11 #define NAPI_C_CTOR(fn) \
12 static void NAPI_CDECL fn(void); \
14 struct fn##_ { \
15 fn##_() { fn(); } \
16 } fn##_v_; \
18 static void NAPI_CDECL fn(void)
21 // The NAPI_C_CTOR macro defines a function fn that is called during CRT
27 #define NAPI_C_CTOR(fn) \
28 static void NAPI_CDECL fn(voi
[all...]
/third_party/typescript/tests/baselines/reference/
H A DtypeofObjectInference.js4 function decorateA<O extends any>(fn: (first: {value: typeof val}) => O) {
5 return (): O => fn({value: val})
9 function decorateB<O extends any>(fn: (first: typeof val) => O) {
10 return (): O => fn(val)
14 function decorateC<O extends any>(fn: (first: {value: number}) => O) {
15 return (): O => fn({value: val})
20 function decorateD<O extends any>(fn: (first: First) => O) {
21 return (): O => fn({value: val})
27 function decorateA(fn) {
28 return function () { return fn({ valu
[all...]
H A DassignmentCompatability_checking-apply-member-off-of-function-interface.js20 function fn(c: Applicable) { } function
23 fn('');
24 fn(['']);
25 fn(4);
26 fn({});
30 fn(a => { });
45 function fn(c) { }
47 fn('');
48 fn(['']);
49 fn(
[all...]
H A DassignmentCompatability_checking-call-member-off-of-function-interface.js20 function fn(c: Callable) { } function
23 fn('');
24 fn(['']);
25 fn(4);
26 fn({});
30 fn(a => { });
45 function fn(c) { }
47 fn('');
48 fn(['']);
49 fn(
[all...]
/third_party/node/benchmark/buffers/
H A Dbuffer-write.js77 const fn = `write${type}`;
79 if (!/\d/.test(fn))
80 benchSpecialInt(buff, fn, n);
81 else if (/BigU?Int/.test(fn))
82 benchBigInt(buff, fn, BigInt(n));
83 else if (/Int/.test(fn))
84 benchInt(buff, fn, n);
86 benchFloat(buff, fn, n);
89 function benchBigInt(buff, fn, n) {
90 const m = mod[fn];
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dpid.c51 static pid_t read_pid(const char *fn, int fd) { in read_pid() argument
56 pa_assert(fn); in read_pid()
60 pa_log_warn("Failed to read PID file '%s': %s", fn, pa_cstrerror(errno)); in read_pid()
72 pa_log_warn("Failed to parse PID file '%s'", fn); in read_pid()
80 static int open_pid_file(const char *fn, int mode) { in open_pid_file() argument
83 pa_assert(fn); in open_pid_file()
88 if ((fd = pa_open_cloexec(fn, mode in open_pid_file()
95 pa_log_warn("Failed to open PID file '%s': %s", fn, pa_cstrerror(errno)); in open_pid_file()
104 pa_log_warn("Failed to fstat() PID file '%s': %s", fn, pa_cstrerror(errno)); in open_pid_file()
116 pa_log_warn("Failed to close file '%s': %s", fn, pa_cstrerro in open_pid_file()
191 char *fn; global() local
266 char *fn; global() local
335 char *fn; global() local
[all...]
H A Dauthkey.c71 /* Load an authentication cookie from file fn and store it in data. If
73 static int load(const char *fn, bool create, void *data, size_t length) { in load() argument
79 pa_assert(fn); in load()
84 pa_make_secure_parent_dir(fn, pa_in_system_mode() ? 0755U : 0700U, -1, -1, false); in load()
86 if ((fd = pa_open_cloexec(fn, (create ? O_RDWR|O_CREAT : O_RDONLY)|O_BINARY, S_IRUSR|S_IWUSR)) < 0) { in load()
88 if (!create || errno != EACCES || (fd = open(fn, O_RDONLY|O_BINARY)) < 0) { in load()
89 pa_log_warn("Failed to open cookie file '%s': %s", fn, pa_cstrerror(errno)); in load()
98 pa_log("Failed to read cookie file '%s': %s", fn, pa_cstrerror(errno)); in load()
103 pa_log_debug("Got %d bytes from cookie file '%s', expected %d", (int) r, fn, (int) length); in load()
134 static int normalize_path(const char *fn, cha argument
145 pa_authkey_load(const char *fn, bool create, void *data, size_t length) pa_authkey_load() argument
165 pa_authkey_save(const char *fn, const void *data, size_t length) pa_authkey_save() argument
[all...]
/third_party/skia/tests/
H A DColorSpaceTest.cpp133 skcms_TransferFunction fn; in DEF_TEST() local
134 fn.a = 1.0f; in DEF_TEST()
135 fn.b = 0.0f; in DEF_TEST()
136 fn.c = 1.0f; in DEF_TEST()
137 fn.d = 0.5f; in DEF_TEST()
138 fn.e = 0.0f; in DEF_TEST()
139 fn.f = 0.0f; in DEF_TEST()
140 fn.g = 1.0f; in DEF_TEST()
146 test_serialize(r, SkColorSpace::MakeRGB(fn, toXYZ), false); in DEF_TEST()
166 skcms_TransferFunction fn; in DEF_TEST() local
295 skcms_TransferFunction fn; DEF_TEST() local
312 skcms_TransferFunction fn; DEF_TEST() local
340 skcms_TransferFunction fn; DEF_TEST() local
[all...]

Completed in 10 milliseconds

12345678910>>...60